Re: Lualatex problem

Joseph Wright <[email protected]>
Newsgroups gmane.comp.tex.miktex
Message-ID <[email protected]>
On 11/10/2015 09:31, Bohdan Kłos wrote:
> After the last upgrade of Miktex (10/10/2015), Lualatex does not work. 
> 
> My input file:
> 
>  
> 
> \documentclass{article} 
> 
> \usepackage{luaotfload} 
> 
> \usepackage{luatex,luatextra,lualatex-math} 
> 
> \setmainfont{Cambria} 
> 
> \usepackage{polyglossia}\setdefaultlanguage{polish} 
> 
> \ifluatex\usepackage{unicode-math} 
> 
> \setmathfont[math-style=TeX]{Cambria Math} 
> 
> \usepackage{microtype}
> 
> \usepackage[unicode]{hyperref}
> 
> \begin{document}
> 
> Hello 
> 
> \end{document}
> 
>  
> 
>  
> 
> And the output:
> 
>  
> 
> This is LuaTeX, Version beta-0.80.0 (MiKTeX 2.9 64-bit) (rev 5238) 
> 
> (./LuaLatexText.tex
> 
> LaTeX2e <2015/10/01> patch level 1
> 
> Babel <3.9m> and hyphenation patterns for 4 languages loaded.
> 
> ("C:/Program Files/MiKTeX 2.9/tex/latex/base/article.cls"
> 
> Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
> 
> ("C:/Program Files/MiKTeX 2.9/tex/latex/base/size10.clo"))
> 
> ("C:/Program Files/MiKTeX 2.9/tex/luatex/luaotfload/luaotfload.sty"
> 
> ("C:/Program Files/MiKTeX 2.9/tex/luatex/luatexbase/luatexbase.sty"
> 
> ("C:/Program Files/MiKTeX 2.9/tex/luatex/ctablestack/ctablestack.sty"))(using ca
> 
> che: C:/Users/MainUser/AppData/Local/MiKTeX/2.9/luatex-cache/generic)
> 
> Lua-only attribute luaotfload@kernpair = 1
> 
> Lua-only attribute luaotfload@ligacomp = 2
> 
> Lua-only attribute luaotfload@markbase = 3
> 
> Lua-only attribute luaotfload@markmark = 4
> 
> Lua-only attribute luaotfload@markdone = 5
> 
> Lua-only attribute luaotfload@cursbase = 6
> 
> Lua-only attribute luaotfload@curscurs = 7
> 
> Lua-only attribute luaotfload@cursdone = 8
> 
> Lua-only attribute luaotfload@state = 9
> 
> luaotfload | main : fontloader loaded in 0.016 seconds
> 
> Inserting `luaotfload.node_processor' at position 1 in `pre_linebreak_filter'.
> 
> Inserting `luaotfload.node_processor' at position 1 in `hpack_filter'.
> 
> Inserting `luaotfload.find_vf_file' at position 1 in `find_vf_file'.
> 
> Inserting `luaotfload.define_font' at position 1 in `define_font'.
> 
> Inserting `luaotfload.aux.set_sscale_dimens' at position 1 in `luaotfload.patch_
> 
> font'.
> 
> Inserting `luaotfload.aux.patch_cambria_domh' at position 2 in `luaotfload.patch
> 
> _font'.
> 
> Inserting `luaotfload.aux.set_capheight' at position 3 in `luaotfload.patch_font
> 
> '.
> 
> Inserting `luaotfload.rewrite_fontname' at position 4 in `luaotfload.patch_font'
> 
> .) ("C:/Program Files/MiKTeX 2.9/tex/generic/oberdiek/luatex.sty"
> 
> ("C:/Program Files/MiKTeX 2.9/tex/generic/oberdiek/infwarerr.sty")
> 
> ("C:/Program Files/MiKTeX 2.9/tex/generic/oberdiek/ifluatex.sty")
> 
> ("C:/Program Files/MiKTeX 2.9/tex/latex/misc/etex.sty")
> 
>  
> 
> ! LaTeX Error: Command \newattribute already defined.
> 
> Or name \end... illegal, see p.192 of the manual.
> 
>  
> 
> See the LaTeX manual or LaTeX Companion for explanation.
> 
> Type H <return> for immediate help.
> 
> ... 
> 
> l.373 }
> 
> I suspect luatexbase issue. Can you confirm the problem? 
> 
>  
> 
> Regards,
> 
> Bohdan Kłos

You are loading lots of packages manually that are really there for
low-level support. As such, changes that have been arranging in user
packages are not having an effect. Simply removing "luatex" from your
list of packages will fix the issue (though you should not be loading
luaotfload manually either).

Joseph


------------------------------------------------------------------------------
_______________________________________________
Q: How can I leave the mailing list?
A: See http://docs.miktex.org/faq/support.html#leavingml
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.