Comments (2)
Moving here as comments in PRs not so easy to reference later if fixed in a separate PR
Currently rolling back luatex prior to 2015 gives
! Undefined control sequence.
\@ifundefined ...e \expandafter \ifx \lastnamedcs
as unprefixed luatex commands are undefined by the rollback.
We could do
for _,i in pairs(tex.extraprimitives("luatex")) do
if not string.match(i,"^U") then
if not (string.match(i, "^luatex") or i == "lastnamedcs") then
%^^^^^^^^^^^
so that \lastnamedcs
which is used within latexrelease.sty
is left defined.
or we could define it under a custom name and then arrange to use that name for all engines within latexrelease (but that seems unnecessarily complicated) or we could remove the whole
local i
local t = { }
for _,i in pairs(tex.extraprimitives("luatex")) do
if not string.match(i,"^U") then
if not string.match(i, "^luatex") then
table.insert(t,i)
end
else
if string.match(i,"^Uchar$") then
table.insert(t,i)
end
end
end
for _,i in pairs(t) do
tex.print(
"\noexpand\\let\noexpand\\" .. i
.. "\noexpand\\undefined"
)
end
block so leave luatex primitives with both prefixed and unprefixed names in the rollback.
I suspect this last version is most likely to lead to a successful emulation if just the format is rolled back but used in a current tex system with current packages expecting luatex names.
In particular for graphics
the first change allows latexrelease to load but then the package errors as
! Undefined control sequence.
l.28 \ifnum\outputmode
If the whole block is removed so \outputmode
is defined then this progresses further
The suggested graphics.sty change of using
\DeclareRelease{}{1994-06-01}{graphics-2017-06-25.sty}
Then works with the current lualatex but fails on all engines with -dev as you get
Runaway argument?
"example-image.pdf" \edef \Gin@ext {\Gin@sepdefault \filename@ext }\ifx \ETC
as kernel utf8 filename normalisation it's expecting a catcode 12 .pdf
but the rolled back package is using a catcode 11.
but I haven't traced fully yet.
from latex2e.
actually I think the runaway error is just an artefact of my tests,
from latex2e.
Related Issues (20)
- fpeval expands past its argument HOT 2
- New command: \__kernel_set_arg_to_keyvalue:Nnn HOT 4
- amsmath: `{align}` inherits line-depth of above `{gather}`, results in incorrect vertical placement tags HOT 3
- `\disable@package@load` ready to be used by third-party classes? HOT 1
- \if@reversemargin wrongly documented in source code HOT 1
- expansion of key-value package options differ on the first and second call HOT 2
- \IfInstanceExistTF unavailable in 2024-06-01 pre-release 1 HOT 9
- Adding a .dir-locals.el to the project root directory HOT 5
- \afterpage from afterpage package broken with recent distribution HOT 3
- Changes in horizontal spacing in some equations HOT 3
- CamelCase or Pascal case? HOT 3
- array package exhibits a surprising spacing difference when math cells end in explicit spaces
- `flushright` isn't right in rtl paragraphs HOT 19
- Loading `textcomp` turns `LaTeX Info` messages into `Package textcomp Info` messages HOT 22
- \textcircled and TS1 missing circle. HOT 2
- \resizebox* mentioned but unexplained in grfguide? HOT 6
- Error in multicolumn environment with footnotes per page HOT 1
- Incorrect numbering and positioning of footnotes with multicols environment. HOT 5
- \overrightarrow and \overleftarrow paragraph start + documentation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from latex2e.