-
Notifications
You must be signed in to change notification settings - Fork 184
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
latex3 and unicode-math #98
Comments
Could you add a minimal example, ideally along with the log file it generates? |
@josephwright: from my
The issue is that |
Looks like Philipp Stephani (st_philipp@yahoo.de): I'll let him know. |
@phst Would you be able to look at this? |
I'll push a fix this evening (or just make a pull request, which I can integrate now). Would it be possible to have some continuous integration system to catch such errors before they go to production? |
Thanks for the fast response. We do test quite a bit, using our automated system, but not everything is covered. Moreover, this one is a 'breaking change' that we knew could be a bit tricky. I'd checked over TeX Live, but must have missed that this was in use: I would have let you know otherwise. |
(Sorry for the duplicate, it was not intentional.) The above suggestion to rewrite \lua_now:x is helpful in eliminating the error from the output pdf. The compiler is still not happy, however. This is the new log. This is LuaTeX, Version beta-0.70.2-2012062819 (TeX Live 2012) (format=lualatex 2012.7.10) 23 AUG 2012 15:48 (/user/local/texlive/2012/../texmf-local/tex/src/gs-article (/user/local/texlive/2012/texmf-dist/tex/latex/graphics/keyval.sty No configuration file glossary.cfg found (/user/local/texlive/2012/texmf-dist/tex/latex/latexconfig/color.cfg (/user/local/texlive/2012/texmf-dist/tex/latex/pdftex-def/pdftex.def (/user/local/texlive/2012/texmf-dist/tex/generic/oberdiek/infwarerr.sty (/user/local/texlive/2012/texmf-dist/tex/generic/oberdiek/ifluatex.sty (/user/local/texlive/2012/texmf-dist/tex/generic/oberdiek/luatex-loader.sty (/user/local/texlive/2012/texmf-dist/tex/latex/l3kernel/expl3.sty (/user/local/texlive/2012/texmf-dist/tex/generic/oberdiek/luatex.sty (/user/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3basics.sty (/user/local/texlive/2012/texmf-dist/tex/luatex/luatexbase/luatexbase-compa (/user/local/texlive/2012/texmf-dist/tex/luatex/luatexbase/luatexbase.loade (/user/local/texlive/2012/texmf-dist/tex/luatex/luatexbase/attr.lua)) (/user/local/texlive/2012/texmf-dist/tex/luatex/luatexbase/cctb.lua) (/user/local/texlive/2012/texmf-dist/tex/luatex/luatexbase/luatexbase-modut (/user/local/texlive/2012/texmf-dist/tex/luatex/luatexbase/modutils.lua)) (/user/local/texlive/2012/texmf-dist/tex/luatex/lualibs/lualibs-string.lua) Module luatexbase-mcb info: inserting 'fontspec.set_capheight' (/user/local/texlive/2012/texmf-dist/tex/latex/fontspec/fontspec-patches.st
(/user/local/texlive/2012/texmf-dist/tex/latex/euenc/eu2enc.def (/user/local/texlive/2012/texmf-dist/tex/latex/euenc/eu2lmr.fd (/user/local/texlive/2012/texmf-dist/tex/latex/tipa/t3enc.def (/user/local/texlive/2012/texmf-dist/tex/latex/euenc/eu2lmss.fd (/user/local/texlive/2012/texmf-dist/tex/latex/graphics/graphicx.sty (/user/local/texlive/2012/texmf-dist/tex/latex/graphics/graphics.sty (/user/local/texlive/2012/texmf-dist/tex/latex/graphics/trig.sty For additional information on amsmath, use the `?' option. (/user/local/texlive/2012/texmf-dist/tex/latex/amsmath/amsgen.sty (/user/local/texlive/2012/texmf-dist/tex/latex/unicode-math/unicode-math.st (/user/local/texlive/2012/texmf-dist/tex/generic/oberdiek/etexcmds.sty (/user/local/texlive/2012/texmf-dist/tex/latex/base/ts1enc.def (/user/local/texlive/2012/texmf-dist/tex/latex/unicode-math/unicode-math-lu Module luatexbase-mcb info: inserting 'unicode_math.set_sscale_dimens' (/user/local/texlive/2012/texmf-dist/tex/latex/unicode-math/unicode-math-ta LaTeX Font Info: Encoding LaTeX Font Info: Overwriting symbol font
(/user/local/texlive/2012/texmf-dist/tex/latex/tools/xspace.sty ("/user/local/texlive/2012/../texmf-local/tex/latex/fonts/ZapfH (1918-)/Zap (/user/local/texlive/2012/../texmf-local/tex/hyphens.tex) (/user/local/texlive/2012/texmf-dist/tex/latex/fmtcount/fmtcount.sty (/user/local/texlive/2012/texmf-dist/tex/latex/fmtcount/fc-english.def |
I don't see an issue in the above log file: could you post the relevant section. (My patch needs a bit more work to be fully-operational, but I've done that as a fork of lualatex-math which will hopefully get pulled across soon.) |
There are numerous blocks. The first one in the order is as follows: /user/local/texlive/2012/texmf-dist/tex/latex/tipa/t3cmr.fd) \lltxmath_set_mathchar:NN ...t(\int_eval:n {`#2})} \document ...ent @Firstofone @begindocumenthook ? |
Please post a minimal example LaTeX file that we can test: as it stands, I do not see this issue with a small test file I have. |
The following is the source code of the second block: \begin{center} \sc stands for small cups The first relevant block in the log is as follows: full \hbox (badness 6188) in paragraph at lines 66--67 ./regulation.tex:96: LuaTeX error <\directlua >:1: unexpected symbol near ' \box_set_ht:Nn #1#2->\box_ht:N #1__dim_eval:w #2 \glb@settings ... \endgroup \the \every@math@size The best approach to bugs is to have a good "trace" of it. My text begins with |
Each line of the tabular ends with a double symbol. For some reasons the website removed the second of two. |
We need a full minimal example, i.e one that starts |
The above source code takes lines 95--116. |
\setcounter{errorcontextlines}{999}% LaTeX [variables] \begin{document} [etc] |
My working minimal example is
Please add to this to demonstrate the issue. |
\documentclass{article} \usepackage{amsmath} \def\Url@FormatString{% %\usepackage[partial=literal]{unicode-math} \setmathfont[ \begin{document} Here is a simple equation: \end{document} |
This is shorter... \documentclass{article} \begin{document} Here is a simple equation: \end{document} |
Both examples work with the fixed version of lualatex-math. |
Will look forward to it. |
@hdatma The problem you have is due to replacing |
Hello, The latest round (3--4 days ago) of latex3 on texlive stable broke unicode-math.
I have the following:
unicode-math:
revision: 27257
cat-version: 0.7a
cat-date: 2012-07-30 11:22:32 +0200
cat-license: lppl1.3
collection: collection-mathextra
expl3:
revision: 27257
cat-version: 0.7a
cat-date: 2012-07-30 11:22:32 +0200
cat-license: lppl1.3
collection: collection-mathextra
The error messages are as follows:
Can you fix it, please?
The text was updated successfully, but these errors were encountered: