-
Notifications
You must be signed in to change notification settings - Fork 951
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] The bidi package is loaded too early #232
Labels
Comments
28 tasks
daamien
added a commit
to daamien/pandoc-latex-template
that referenced
this issue
Mar 2, 2021
* move caption and mdframed packages before bidi * comment the second load of polyglossia * test case for the bidi (right-to-left) bug
daamien
added a commit
to daamien/pandoc-latex-template
that referenced
this issue
Mar 2, 2021
* move caption and mdframed packages before bidi * comment the second load of polyglossia * test case for the bidi (right-to-left) bug
daamien
added a commit
to daamien/pandoc-latex-template
that referenced
this issue
Mar 2, 2021
* move caption and mdframed packages before bidi * comment the second load of polyglossia * test case for the bidi (right-to-left) bug
See PR #231 with my changes |
This was referenced Mar 5, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi !
Thanks for this template, it is a very impressive piece of work.
I'm currently trying to use it for a document written in Persian with Right-to-Left (RTL) writing. The original document is located here:
https://github.com/OWASP/owasp-masvs/tree/master/Document-fa
I created a minimal example document.md containing this :
Note that I don't speak or read Persian myself so my knowledge on this topic is limited.
I am able to build successfully a pdf artefact using the default pandoc latex template like this:
However with eisvogel I get the following error:
After looking into the template I have found 3 problems:
The
caption
package is loaded afterbidi
(Line 601)https://github.com/Wandmalfarbe/pandoc-latex-template/blob/master/eisvogel.tex#L601
The
mdframed
package is loaded afterbidi
(Line 610)https://github.com/Wandmalfarbe/pandoc-latex-template/blob/master/eisvogel.tex#L610
The
polyglossia
package is loaded afterbidi
(Line 557 and it is also loaded before on line 434)https://github.com/Wandmalfarbe/pandoc-latex-template/blob/master/eisvogel.tex#L557
https://github.com/Wandmalfarbe/pandoc-latex-template/blob/master/eisvogel.tex#L434
The template seems to work with the following modifications:
Here's my working version of eisvogel:
https://github.com/daamien/pandoc-latex-template/blob/bug_bidi_persian/eisvogel.tex
Thanks again for your time, let me know how I can help fixing this...
EDIT: fixed links
The text was updated successfully, but these errors were encountered: