On 2015-11-16, Kornel Benko wrote:

> we have now 107 failed testcases left.

> 469:export/doc/attic/it_Customization_pdf5_systemF
> 474:export/doc/attic/it_UserGuide_dvi3_systemF
> 479:export/doc/attic/it_UserGuide_pdf4_systemF
> 502:export/doc/attic/sk_UserGuide_pdf4_texF

Files in the attic with changed settings 
(i.e. could be ERT, package incompatiblity, ...)

I'd just revert and mark attic as "fragile" (suspended).


> 737:export/doc/es/EmbeddedObjects_dvi3_texF
> 742:export/doc/es/EmbeddedObjects_pdf4_texF
> 744:export/doc/es/EmbeddedObjects_pdf5_texF

The (first) error is from an index entry using a non-ASCII char.

BTW: Export with Xe/LuaTeX: EmbeddedObjects uses many packages and is
therefore prone to incompatiblities.

> 743:export/doc/es/EmbeddedObjects_pdf4_systemF

Missing character: There is no ^^@ in font [lmroman12-regular]:mapping=tex-text

Uses lmodern.sty.

In our docs, there are actually 75 instances of

\usepackage{ifpdf} % part of the hyperref bundle
\ifpdf % if pdflatex is used

 % set fonts for nicer pdf view
 \IfFileExists{lmodern.sty}{\usepackage{lmodern}}{}

\fi % end if pdflatex is used

which could be changed to

\usepackage{ifpdf} % part of the hyperref bundle
\ifpdf % if pdflatex or lualatex or xelatex is used
\@ifpackageloaded{fontspec}{}{% LModern is default with fontspec
 % set fonts for nicer pdf view
 \IfFileExists{lmodern.sty}{\usepackage{lmodern}}{}
}
\fi % end if pdflatex or lualatex or xelatex is used

or even simpler

% avoid bitmap fonts if possible
\@ifpackageloaded{fontspec}{}{% LModern is default with fontspec
 \IfFileExists{lmodern.sty}{\usepackage{lmodern}}{}
}

+1 simpler

This would also use Latin Modern, if the output format is DVI or PDF.

+1 avoiding the long first compilation run caused by the bitmap font
   generation.
+1 better look.

Another option would be to replace this preamble code by selecting a 
vector font that is required to be installed with every TeX and also
available in T1 font encoding, e.g. "Palatino".



Fixing this "lmodern.sty" loading (i.e. use of 8-bit fonts overwriting the
nonTeXFonts setting) may also cure many of the following.



> 809:export/doc/es/UserGuide_dvi3_texF
> 814:export/doc/es/UserGuide_pdf4_texF
> 816:export/doc/es/UserGuide_pdf5_texF
> 817:export/doc/es/UserGuide_pdf5_systemF
> 850:export/doc/fr/Additional_pdf4_texF
> 853:export/doc/fr/Additional_pdf5_systemF
> 865:export/doc/fr/Customization_pdf5_systemF
> 899:export/doc/fr/EmbeddedObjects_pdf4_systemF
> 970:export/doc/fr/UserGuide_pdf4_texF
> 973:export/doc/fr/UserGuide_pdf5_systemF
> 1245:export/doc/nb/Intro_pdf5_systemF
> 1333:export/doc/ru/Intro_dvi3_texF
> 1338:export/doc/ru/Intro_pdf4_texF
> 1340:export/doc/ru/Intro_pdf5_texF
> 1345:export/doc/ru/Tutorial_dvi3_texF
> 1350:export/doc/ru/Tutorial_pdf4_texF
> 1352:export/doc/ru/Tutorial_pdf5_texF
> 1365:export/doc/sk/Intro_pdf5_systemF
> 1568:export/examples/PDF-comment_pdf5_texF
> 1609:export/examples/aas_sample_dvi3_texF
> 1610:export/examples/aas_sample_dvi3_systemF
> 1616:export/examples/aas_sample_pdf5_texF
> 1617:export/examples/aas_sample_pdf5_systemF
> 1621:export/examples/achemso_dvi3_texF
> 1628:export/examples/achemso_pdf5_texF
> 1726:export/examples/europeCV_dvi3_texF
> 1727:export/examples/europeCV_dvi3_systemF
> 1733:export/examples/europeCV_pdf5_texF
> 1734:export/examples/europeCV_pdf5_systemF
> 1808:export/examples/linguistics_dvi3_systemF
> 1813:export/examples/linguistics_pdf4_systemF
> 1815:export/examples/linguistics_pdf5_systemF
> 1840:export/examples/modernCV_dvi3_texF
> 1841:export/examples/modernCV_dvi3_systemF
> 1845:export/examples/modernCV_pdf4_texF
> 1846:export/examples/modernCV_pdf4_systemF
> 1847:export/examples/modernCV_pdf5_texF
> 1848:export/examples/modernCV_pdf5_systemF
> 1896:export/examples/seminar_pdf
> 1897:export/examples/seminar_pdf2
> 1898:export/examples/seminar_pdf3
> 1899:export/examples/seminar_pdf4_texF
> 1902:export/examples/seminar_pdf5_systemF
> 2548:export/examples/de/PDF-comment_dvi3_texF
> 2549:export/examples/de/PDF-comment_dvi3_systemF
> 2555:export/examples/de/PDF-comment_pdf5_texF
> 2725:export/examples/es/europeCV_dvi3_texF
> 2726:export/examples/es/europeCV_dvi3_systemF
> 2732:export/examples/es/europeCV_pdf5_texF
> 2733:export/examples/es/europeCV_pdf5_systemF
> 2742:export/examples/es/linguistics_pdf4_texF
> 2749:export/examples/es/modernCV_dvi3_texF
> 2750:export/examples/es/modernCV_dvi3_systemF
> 2756:export/examples/es/modernCV_pdf5_texF
> 2757:export/examples/es/modernCV_pdf5_systemF
> 2814:export/examples/fa/splash_dvi
> 2817:export/examples/fa/splash_pdf
> 2818:export/examples/fa/splash_pdf2
> 2819:export/examples/fa/splash_pdf3
> 2820:export/examples/fa/splash_pdf4_texF
> 2821:export/examples/fa/splash_pdf4_systemF
> 2871:export/examples/fr/Foils_pdf5_systemF
> 2899:export/examples/fr/PDF-comment_dvi3_texF
> 2900:export/examples/fr/PDF-comment_dvi3_systemF
> 2906:export/examples/fr/PDF-comment_pdf5_texF
> 2955:export/examples/fr/seminar_dvi
> 2958:export/examples/fr/seminar_pdf
> 2959:export/examples/fr/seminar_pdf2
> 2960:export/examples/fr/seminar_pdf3
> 2961:export/examples/fr/seminar_pdf4_texF
> 2964:export/examples/fr/seminar_pdf5_systemF

Try these again after fixing the "lmodern.sty" preamble problem.

> 3072:export/examples/he/splash_pdf5_systemF

Try a system-font with Hebrew?

> 3247:export/examples/ko/splash_dvi3_texF
> 3252:export/examples/ko/splash_pdf4_texF
> 3254:export/examples/ko/splash_pdf5_texF

Korean? I don't expect this to work with Xe/Lua and TeXfonts.

> 3343:export/examples/ru/splash_dvi3_texF
> 3348:export/examples/ru/splash_pdf4_texF
> 3350:export/examples/ru/splash_pdf5_texF
> 3439:export/examples/uk/splash_dvi3_texF
> 3444:export/examples/uk/splash_pdf4_texF
> 3446:export/examples/uk/splash_pdf5_texF

I'll see to this later.

> 3500:export/templates/AGUTeX_dvi3_systemF
> 3505:export/templates/AGUTeX_pdf4_systemF
> 3507:export/templates/AGUTeX_pdf5_systemF

???

> 3559:export/templates/IEEEtran-Conference_dvi3_texF
> 3566:export/templates/IEEEtran-Conference_pdf5_texF
> 3583:export/templates/IEEEtran-TransMag_dvi3_texF
> 3590:export/templates/IEEEtran-TransMag_pdf5_texF

Wrong encoding: the "experts only" option:

lib/templates/IEEEtran-Conference.lyx:16:\inputencoding default

writes in a mix of language dependent 8-bit encodings but does not
load inputenc nor add the encoding switch commands with language changes.

This is most probably caused by importing a tex file that does not use
inputenc, however it is very unsafe in LyX and should be avoided.

Other instances:

lib/examples/aas_sample.lyx:18:\inputencoding default
lib/examples/Foils.lyx:16:\inputencoding default
lib/examples/noweb2lyx.lyx:24:\inputencoding default
lib/examples/amsart-test.lyx:17:\inputencoding default
lib/examples/landslide.lyx:11:\inputencoding default
lib/examples/docbook_article.lyx:11:\inputencoding default
lib/examples/sweave.lyx:26:\inputencoding default
lib/examples/simplecv.lyx:32:\inputencoding default
lib/examples/Literate.lyx:14:\inputencoding default
lib/examples/amsbook-test.lyx:17:\inputencoding default
lib/examples/ja/splash.lyx:11:\inputencoding default
lib/templates/kluwer.lyx:11:\inputencoding default
lib/templates/slides.lyx:20:\inputencoding default
lib/templates/attic/latex8.lyx:10:\inputencoding default
lib/templates/IEEEtran-TransMag.lyx:17:\inputencoding default
lib/templates/ACM-sigplan.lyx:12:\inputencoding default
lib/templates/aastex.lyx:16:\inputencoding default
lib/templates/IEEEtran-CompSoc.lyx:17:\inputencoding default
lib/templates/IEEEtran-Journal.lyx:16:\inputencoding default
lib/templates/hollywood.lyx:11:\inputencoding default
lib/doc/id/Intro.lyx:46:\inputencoding default



> 3630:export/templates/IUCr-article_dvi
> 3631:export/templates/IUCr-article_dvi3_texF
> 3632:export/templates/IUCr-article_dvi3_systemF
> 3633:export/templates/IUCr-article_pdf
> 3634:export/templates/IUCr-article_pdf2
> 3635:export/templates/IUCr-article_pdf3
> 3636:export/templates/IUCr-article_pdf4_texF
> 3638:export/templates/IUCr-article_pdf5_texF
> 3639:export/templates/IUCr-article_pdf5_systemF

Do you have the required (non-standard) LaTeX document class installed?

> 3784:export/templates/es_beamer-conference-ornate-20min_pdf4_texF
> 3880:export/templates/kluwer_pdf5_systemF

Dunno.


Günter

Reply via email to