Comments (5)
It should not affect old documents, as all the current documents that use bidi
have to load packages before bidi
is loaded, and in that case the all the .def
files will be \input
'ed at the same order as they use to.
from bidi.
Thanks for the suggestion. This is quite tricky and it needs a lot of testing to make sure that it does not break anything since the bidi
package current approach has existed for at least 2 decades and I do not want to break anything for users.
From memory, I was in the past 10 years was thinking of doing something similar; at the time, the package hopatch
of Heiko Oberdiek existed and I experimented with it but from memory, it was not working in some cases (sadly, I can not remember those specific cases/examples).
Having said that, I willl look into this when I have time and will release an experimental version so people can test.
from bidi.
But my first suggestion wasn't considering catcodes:
\newcommand*\bidi@restore@catcode{}
\newcommand\bidi@isloaded[1]{
\@ifpackageloaded{#1}%
{\input{#1-xetex-bidi.def}}%
{\AddToHook{package/#1/after}{
\edef\bidi@restore@catcode{\catcode`\@=\the\catcode`\@}
\makeatletter
\input{#1-xetex-bidi.def}
\bidi@restore@catcode
}
}
}
from bidi.
It should not affect old documents, as all the current documents that use
bidi
have to load packages beforebidi
is loaded, and in that case the all the.def
files will be\input
'ed at the same order as they use to.
It is not that simple.
from bidi.
It is not that simple.
I know you are currently very busy, but if you can elaborate a little bit more, I'll be happy to learn how could that potentially affect already existing documents.
from bidi.
Related Issues (20)
- Spurious space after new commands footnotes HOT 2
- problem in tableofcontents, ball unnumbered HOT 1
- problem in tableofcontents, subsections numbered HOT 1
- Problem with long section title in table of contents, square HOT 1
- problem in caption name own line HOT 1
- problem font number in latinitems
- problem place navigation symbols for plain frame HOT 1
- problem in sidebar canvas
- Page numbering alignment in ToC, LoF, and LoT in presence of bidi and tocloft HOT 2
- Problem with `currfile` while using `xepersian` HOT 1
- lettrine-xetex-bidi.def outdated HOT 4
- Large banner in output is inappropriate HOT 6
- disable bidi's custom pdf properties
- robustifying \underline
- unnumbered part in article is not correctly aligned.
- fancyhdr is not patched correctly HOT 1
- \[ and \] should be robust when fleqn tag is used. HOT 1
- \leftline, \rightline and \centerline should be robust. HOT 1
- \XeTeX and \XeLaTeX "already defined"
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 bidi.