FS#21228 - [texlive-core] Document compile problem
Attached to Project:
Arch Linux
Opened by Alexander (Alex123) - Wednesday, 13 October 2010, 02:13 GMT
Last edited by Allan McRae (Allan) - Saturday, 14 July 2012, 05:47 GMT
Opened by Alexander (Alex123) - Wednesday, 13 October 2010, 02:13 GMT
Last edited by Allan McRae (Allan) - Saturday, 14 July 2012, 05:47 GMT
|
Details
Description:
Additional info: * TeX Live 2010.1 end of log file: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Package: nameref 2010/04/30 v2.40 Cross-referencing by name of section (/usr/share/texmf-dist/tex/latex/oberdiek/refcount.sty Package: refcount 2008/08/11 v3.1 Data extraction from references (HO) ) (/usr/share/texmf-dist/tex/generic/oberdiek/gettitlestring.sty Package: gettitlestring 2009/12/18 v1.3 Cleanup title references (HO) ) \c@section@level=\count188 ) LaTeX Info: Redefining \ref on input line 62. LaTeX Info: Redefining \pageref on input line 62. LaTeX Info: Redefining \nameref on input line 62. Package hyperref Warning: Rerun to get /PageLabels entry. LaTeX Font Info: Font shape `EU1/PTSansCaption(0)/m/n' will be (Font) scaled to size 9.85144pt on input line 67. Runaway text? Scale=MatchLowercase, Mapping=tex-text,Script=Cyrillic,Scale=MatchLow\ETC. ! TeX capacity exceeded, sorry [main memory size=3000000]. <argument> ...ex-text,Scale=MatchLowercase, M\ETC. l.67 \maketitle{ } If you really absolutely need more capacity, you can ask a wizard to enlarge me. Here is how much of TeX's memory you used: 17315 strings out of 494535 285750 string characters out of 3161609 3000001 words of memory out of 3000000 20311 multiletter control sequences out of 15000+200000 4146 words of font info for 41 fonts, out of 3000000 for 9000 669 hyphenation exceptions out of 8191 216i,1n,393p,833b,2021s stack positions out of 5000i,500n,10000p,200000b,50000s No pages of output. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ my document: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ \documentclass[ unicode, 12pt, oneside, russian, a4paper, draft, ]{scrartcl} \KOMAoptions{DIV=11} \usepackage[cm-default]{fontspec} \defaultfontfeatures{Scale=MatchLowercase, Mapping=tex-text} \usepackage{xunicode, xltxtra} \usepackage{polyglossia} \setdefaultlanguage[spelling=modern]{russian} \setotherlanguage{english} \setmainfont{PT Sans} \setsansfont{PT Sans Caption} \setmonofont{DejaVu Sans Mono} \usepackage{color} \definecolor{SteelBlue}{rgb}{0.274509803922, 0.509803921569, 0.705882352941} \definecolor{ForestGreen}{rgb}{0.133333333333, 0.545098039216, 0.133333333333} \definecolor{Grey10}{rgb}{0.1, 0.1, 0.1} \definecolor{Grey20}{rgb}{0.2, 0.2, 0.2} \definecolor{Grey30}{rgb}{0.3, 0.3, 0.3} \definecolor{Grey40}{rgb}{0.4, 0.4, 0.4} \definecolor{Grey50}{rgb}{0.5, 0.5, 0.5} \definecolor{Grey60}{rgb}{0.6, 0.6, 0.6} \definecolor{Grey70}{rgb}{0.7, 0.7, 0.7} \definecolor{Grey80}{rgb}{0.8, 0.8, 0.8} \definecolor{Grey90}{rgb}{0.9, 0.9, 0.9} \usepackage[ colorlinks=true, linkcolor=ForestGreen, citecolor=ForestGreen, urlcolor=SteelBlue, xetex, unicode=true, bookmarks=false, final=true, ]{hyperref} \parindent=1.7em \usepackage{indentfirst} \usepackage[shortcuts]{extdash} \frenchspacing \exhyphenpenalty=10000 \clubpenalty=10000 \widowpenalty=10000 \tolerance=2000 \righthyphenmin=2 \setcounter{tocdepth}{2} \renewcommand{\labelitemi}{---} \begin{document} \title{Заголовок} \author{Автор} \date{28 апреля 2010} \maketitle{} Слово. \end{document} Steps to reproduce: run: xelatex 1.tex |
This task depends upon
I think there is some incompatibility between fontspec and polyglossia, the following file is a minimal example that triggers an infinite loop in xetex:
\documentclass{article}
\usepackage{polyglossia}
\defaultfontfeatures{Scale=MatchLowercase, Mapping=tex-text}
\setdefaultlanguage{russian}
\setmainfont{DejaVu Sans}
\begin{document}
\title{title}
\maketitle
\end{document}
It may be related to http://tug.org/pipermail/xetex/2010-October/018895.html
Yes, with
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\documentclass{article}
\usepackage{polyglossia}
\defaultfontfeatures{Scale=MatchLowercase, Mapping=tex-text}
\setdefaultlanguage{russian}
\setmainfont{DejaVu Sans}
\begin{document}
\title{title}
\maketitle
\end{document}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Runaway definition?
->
! TeX capacity exceeded, sorry [main memory size=3000000].
\XKV@ch@cksanitize ...def #2{\the \XKV@tempa@toks
}\@onelevel@sanitize #2\@e...
l.9 \end{document}
~~~~~~~~~~~~~~~~~~~~~~
But there is no problem with
~~~~~~~~~~~~~~~~~~~~~~~~~~
\documentclass{article}
\usepackage{polyglossia}
\setmainfont{DejaVu Sans}
\defaultfontfeatures{Scale=MatchLowercase, Mapping=tex-text}
\setdefaultlanguage[spelling=modern]{russian}
\begin{document}
\title{title}
\maketitle{}
слово
\end{document}
~~~~~~~~~~~~~~~~~~~~~~~~~~
I think it is XeTeX problem