Am Fri, 21 Aug 2020 18:50:37 +0200 schrieb Jürgen Spitzmüller <sp...@lyx.org>:
> Am Freitag, den 21.08.2020, 18:18 +0200 schrieb Kornel Benko: > > $ egrep cache Testing/.lyx/preferences > > \converter_cache_maxage 15552000 > > \use_converter_cache false > > > > But I suspect now differences in the used tex-files. > > The main difference (as I see it) is the definition of document class > > > > 1.) (hang) > > \documentclass[paper=a4,bahasam,basque,breton,austrian,afrikaans,bela > > rusian,dutch,bulgarian,hebrew,icelandic,interlingua,irish,albanian,bo > > snian,croatian,acadian,azerbaijani,catalan,czech,danish,bahasa,piedmo > > ntese,polish,portuges,romanian,romansh,russian,samin,scottish,serbian > > c,serbian,slovak,slovene,spanish,naustrian,brazil,swedish,turkish,tur > > kmen,ukrainian,uppersorbian,vietnamese,welsh,ngerman,nswissgerman,gre > > ek,magyar,mongolian,norsk,nynorsk,kurmanji,latin,latvian,lithuanian,l > > owersorbian,esperanto,estonian,farsi,finnish,french,friulan,german,ar > > abic,english]{scrartcl} > > 2.) (ok) > > \documentclass[paper=a4,basque,brazil,breton,bosnian,austrian,iceland > > ic,naustrian,romansh,turkmen,czech,kurmanji,azerbaijani,welsh,polish, > > slovak,russian,bahasa,lowersorbian,danish,swedish,nynorsk,latvian,tur > > kish,albanian,slovene,vietnamese,scottish,greek,magyar,ngerman,french > > ,piedmontese,esperanto,arabic,interlingua,portuges,croatian,samin,afr > > ikaans,farsi,bulgarian,ukrainian,friulan,dutch,uppersorbian,bahasam,g > > erman,spanish,irish,nswissgerman,lithuanian,catalan,serbian,hebrew,es > > tonian,mongolian,norsk,latin,finnish,serbianc,romanian,acadian,belaru > > sian,english]{scrartcl} > > Are these the only differences in the tex file? No, but others are only the sequence of defining some latex commands. > And does the first tex file also hang if you run pdflatex directly? Yes. > If not, could you send the problematic tex file? Attached. This version does hang. Switch the commented documentclass, and now the compilation does not hang. The included tex-file (not sent) is not important for this case. > > Questions: > > Why are the two not in the same order? > > No idea. IIRC languages are tracked by LyX in order of appearance. > > > Is the order important in any way? > > Possible. Maybe some conflicts in babel ldf loading order. > > Jürgen > > > Apparently it is, because the compilation now works. Kornel
\batchmode \makeatletter \def\input@path{{/usr/src/lyx/lyx-git/autotests/export/latex/languages/}} \makeatother %\documentclass[paper=a4,basque,brazil,breton,bosnian,austrian,icelandic,naustrian,romansh,turkmen,czech,kurmanji,azerbaijani,welsh,polish,slovak,russian,bahasa,lowersorbian,danish,swedish,nynorsk,latvian,turkish,albanian,slovene,vietnamese,scottish,greek,magyar,ngerman,french,piedmontese,esperanto,arabic,interlingua,portuges,croatian,samin,afrikaans,farsi,bulgarian,ukrainian,friulan,dutch,uppersorbian,bahasam,german,spanish,irish,nswissgerman,lithuanian,catalan,serbian,hebrew,estonian,mongolian,norsk,latin,finnish,serbianc,romanian,acadian,belarusian,english]{scrartcl} \documentclass[paper=a4,bahasam,basque,breton,austrian,afrikaans,belarusian,dutch,bulgarian,hebrew,icelandic,interlingua,irish,albanian,bosnian,croatian,acadian,azerbaijani,catalan,czech,danish,bahasa,piedmontese,polish,portuges,romanian,romansh,russian,samin,scottish,serbianc,serbian,slovak,slovene,spanish,naustrian,brazil,swedish,turkish,turkmen,ukrainian,uppersorbian,vietnamese,welsh,ngerman,nswissgerman,greek,magyar,mongolian,norsk,nynorsk,kurmanji,latin,latvian,lithuanian,lowersorbian,esperanto,estonian,farsi,finnish,french,friulan,german,arabic,english]{scrartcl} \usepackage{libertineRoman} \usepackage{biolinum} \usepackage[L7x,LFE,LAE,LGR,T5,T2A,HE8,T1]{fontenc} \usepackage{textcomp} \usepackage[cp1251,cp1255,cp1256,iso-8859-7,koi8-r,koi8-u,latin10,latin2,latin3,latin4,latin5,latin7,utf8,latin9]{inputenc} \usepackage{color} \makeatletter \IfFileExists{he8david.fd}{% \providecommand{\HeblatexEncoding}{HE8} \providecommand{\HeblatexEncodingFile}{he8enc}% }{} \providecommand{\l@chapter}{\relax} \makeatother \usepackage{babel} \makeatletter \addto\extrasbasque{\bbl@deactivate{~}} \DeclareTextCommand{\textschwa}{T1}{\cyrschwa\bbl@allowhyphens} \DeclareTextCommand{\textSchwa}{T1}{\CYRSCHWA\bbl@allowhyphens} % fix albanian: restore \th as LATIN LETTER THORN \@ifl@aded{def}{t1enc}{\DeclareTextSymbol{\th}{T1}{254}}{} % arabic + hyperref redefines \noboundary as local textcommand \let\orig@noboundary\noboundary \DeclareTextCommandDefault{\noboundary}{\orig@noboundary} % work around too simple test for article-like classes in arabicore.sty \ifdefined\chapter\else \def\thesection{\protect\if@rl\protect\I{\number\c@section}% \protect\else\protect\textLR{\number\c@section}% \protect\fi} \def\thesubsection{\protect\if@rl\protect\I{\number\c@subsection.\number\c@section}% \protect\else\protect\textLR{\number\c@section.\number\c@subsection}% \protect\fi}% \def\thetable{\protect\if@rl\protect\I{\number\c@table}% \protect\else\protect\textLR{\number\c@table}% \protect\fi}% \def\thefigure{\protect\if@rl\protect\I{\number\c@figure}% \protect\else\protect\textLR{\number\c@figure}% \protect\fi}% \fi \DeclareTextSymbol{\guillemotright}{LFE}{62} \DeclareTextSymbol{\guillemotleft}{LFE}{60} \addto\shorthandsspanish{\spanishdeactivate{~<>}} % restore \coyright definition corrupted by l7xenc.def \DeclareRobustCommand{\copyright}{% \ifmmode{\nfss@text{\textcopyright}}\else\textcopyright\fi} \addto\noextraslithuanian{\latintext} \addto\extrasestonian{\bbl@deactivate{~}} \makeatother \usepackage{enumitem} \usepackage{setspace} \usepackage[pdftex,unicode=true,pdfusetitle, bookmarks=false, breaklinks=false,pdfborder={0 0 0},pdfborderstyle={},backref=section,colorlinks=true] {hyperref} \makeatletter %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands. \pdfpageheight\paperheight \pdfpagewidth\paperwidth %% custom text accent \LyxTextAccent[<rise value (length)>]{<accent>}{<base>} \newcommand*{\LyxTextAccent}[3][0ex]{% \hmode@bgroup\ooalign{\null#3\crcr\hidewidth \raise#1\hbox{#2}\hidewidth}\egroup} %% select a font size smaller than the current font size: \newcommand{\LyxAccentSize}[1][\sf@size]{% \check@mathfonts\fontsize#1\z@\math@fontsfalse\selectfont } \ProvideTextCommandDefault{\textcommabelow}[1]{%% \LyxTextAccent[-.31ex]{\LyxAccentSize,}{#1}} %% letter schwa missing in Latin fonts, use Cyrillic schwa \DeclareTextSymbolDefault{\CYRSCHWA}{T2A} \DeclareTextSymbolDefault{\cyrschwa}{T2A} \ProvideTextCommandDefault{\textSchwa}{\CYRSCHWA} \ProvideTextCommandDefault{\textschwa}{\cyrschwa} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands. \newlength{\lyxlabelwidth} % auxiliary length % labeling-like list based on enumitem's description list with % mandatory second argument (label-pattern): \newenvironment{elabeling}[2][]% {\settowidth{\lyxlabelwidth}{#2} \begin{description}[font=\normalfont,style=sameline, leftmargin=\lyxlabelwidth,#1]} {\end{description}} \newenvironment{lyxcode} {\par\begin{list}{}{ \setlength{\rightmargin}{\leftmargin} \setlength{\listparindent}{0pt}% needed for AMS classes \raggedright \setlength{\itemsep}{0pt} \setlength{\parsep}{0pt} \normalfont\ttfamily}% \item[]} {\end{list}} \makeatother \begin{document} \title{Languages supported by LyX.} \maketitle \noindent With language examples that work with \emph{Babel} and input encoding ``auto-legacy'', i.e. each language uses its own default legacy input encoding. \begin{quote} \textbf{Bug} (in LyX or LaTeX?): If a language change happens in an environment (e.g. a Quote), the input encoding ``utf8'' is not properly switched back after leaving the environment: the \textbackslash inputencodingname is back to the encoding used before, but charcters in the ``high-bit'' range produce utf8-errors (see ``nested-inputenc\_auto-legacy.lyx''). \end{quote} \input{1_usr_src_lyx_lyx-git_autotests_export_latex_languages_supported-languages.tex} \end{document}
pgpUpqyaxdeMK.pgp
Description: Digitale Signatur von OpenPGP
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel