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)
- xfrac package broken by LaTeX 2024-06-01 HOT 3
- Definition of paper sizes HOT 5
- tabularx no longer distributes space equally among X columns HOT 6
- Update README.md and manifest.txt
- Update ltlists.dtx doc HOT 2
- longtable v4.20 breaks the ltcaption package HOT 11
- Missing spaces in array 'Illegal pream' message HOT 3
- missing character warnings from \xetex \showhyphens HOT 3
- Firstaid for cleveref: not necessarily fully expandable \thepage and a proper German abbreviation for section HOT 4
- TS1 fd file input every run with Unicode engines
- `multicol` documentation: dubious statements about `\sloppy` HOT 1
- rollback error HOT 5
- longtable : provide a non breakable \hline HOT 8
- theorem and cleveref HOT 3
- \NewDocumentEnvironment: existence check without space trimming HOT 1
- Hook `enddocument/info` is written twice if rolled back HOT 3
- eliminating ".tex" file special case in kpathsea HOT 12
- Size and hash of historic version of a package HOT 5
- ltkeys: Omitting `=` while defining a key throws low level error HOT 12
- Hooks to set attributes for different parts of the page. 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.