The acmart package requires pdflatex, XeTeX or LuaTeX.

The acmart package requires pdflatex (with 8-bit fonts)
or xe/luatex with non-TeX fonts to give the expected output.
This commit is contained in:
Günter Milde 2019-01-16 22:42:08 +01:00
parent b9041328a0
commit 5d5bb53887
3 changed files with 37 additions and 36 deletions

View File

@ -171,18 +171,6 @@ export/export/latex/luainputenc-utf8_pdf5_systemF
#11455 "Unable to process argument!" with multiple 1.6.x roundtrips
export/templates/IEEEtran-Journal_lyx16
#9744 allow parallel configuration of TeX and non-TeX fonts
# parallel configuration implemented ([2fc430d5aede/lyxgit] 11/09/15),
# use case for new setting value useNonTeXFonts == "automatic"
# The font package "libertine" sets up "non-TeX fonts" if Xe/LuaTeX
# is detected:
# The "acmart" document class calls "libertine" as default font:
# * With pdf5 (LuaTeX), this clashes with LyX setting up 8-bit TeX fonts
# * with pdf4 (XeTeX) this does not clash but
selects CM fonts with different metrics -> unreliableTests wrong output.
export/templates/acmart_pdf5_texF
# ==============================================================
Sublabel: ert
# Export failures due to "raw" LaTeX use in ERT or preamble code

View File

@ -61,14 +61,11 @@ export/export/latex/cp858_pdf2
# Seminar export with LaTeX fails in latest TeXLive:
export/examples/(|fr/)seminar_(dvi|pdf).*
# `acmart` requires PDF-latex in TeXLive < 2018
# * Missing page number in DVI -> ignoredTests wrong output
# * First page not displayed in Postscript
# ("evince" viewer hangs and displays # "Loading...")
# * "PDF (ps2pdf)": `ps2pdf` fails as result of the problem with Postscript
export/templates/acmart_dvi.*
#export/templates/acmart_ps # not tested by ctest autotests
export/templates/acmart_pdf
# `acmart` calls "libertine" as default font.
# With TeXLive < 18, this clashes with LyX setting up 8-bit TeX fonts
# PDF (luatex) and PDF (xetex) (compilation error or wrong fonts).
# See also #9744 allow parallel configuration of TeX and non-TeX fonts.
export/templates/acmart_pdf[45]_texF
Sublabel: wrong_output
@ -109,19 +106,13 @@ export/export/mixing_inTitle_layouts_(pdf|dvi).*
export/doc/es/Customization_dvi3_systemF
export/examples/(|es/)(europe|modern)CV_dvi3_systemF
# original problem fixed but run-together words in Russian
#9637 textgreek and textcyr depend on font-encoding, not input encoding
export/export/latex/ru-accent-ascii_pdf2
#9744 allow parallel configuration of TeX and non-TeX fonts
# parallel configuration implemented ([2fc430d5aede/lyxgit] 11/09/15),
# use case for new setting value useNonTeXFonts == "automatic"
# The font package "libertine" sets up "non-TeX fonts" if Xe/LuaTeX
# is detected:
# * With pdf5 (LuaTeX), this clashes with LyX setting up 8-bit TeX fonts
# * with pdf4 (XeTeX) this does not clash but
selects fonts with different metrics -> unreliableTests wrong output.
# The "acmart" document class calls "libertine" as default font:
export/templates/acmart_pdf4_texF
# `acmart` requires PDFlatex:
# * Missing page number in DVI, Postscript, and PDF (ps2pdf)
# * "PDF (ps2pdf)" fails (problem with Postscript) in TeXLive < 2018
export/templates/acmart_dvi.*
#export/templates/acmart_ps # not tested by ctest autotests
export/templates/acmart_pdf

View File

@ -1,5 +1,5 @@
#LyX 2.3 created this file. For more info see http://www.lyx.org/
\lyxformat 544
#LyX 2.4 created this file. For more info see https://www.lyx.org/
\lyxformat 566
\begin_document
\begin_header
\save_transient_properties true
@ -28,7 +28,7 @@ PackageOptions algorithm2e ruled
\language english
\language_package auto
\inputencoding auto
\fontencoding global
\fontencoding auto
\font_roman "default" "default"
\font_sans "default" "default"
\font_typewriter "default" "default"
@ -42,10 +42,12 @@ PackageOptions algorithm2e ruled
\use_microtype false
\use_dash_ligatures true
\graphics default
\default_output_format default
\default_output_format pdf2
\output_sync 0
\bibtex_command default
\index_command default
\float_placement class
\float_alignment class
\paperfontsize default
\spacing single
\use_hyperref false
@ -95,6 +97,21 @@ PackageOptions algorithm2e ruled
\begin_body
\begin_layout Standard
\begin_inset Note Note
status open
\begin_layout Plain Layout
For correct output, compile with pdflatex.
Alternatively set Document>Settings>Fonts>use non-TeX fonts and compile
with XeTeX or LuaTeX.
\end_layout
\end_inset
\end_layout
\begin_layout In Preamble
\begin_inset Note Note
status open
@ -518,6 +535,7 @@ reference "tab:one"
\begin_layout Standard
\begin_inset Float algorithm
placement t
alignment document
wide false
sideways false
status open
@ -824,6 +842,8 @@ Sieve of Eratosthenes.
\begin_layout Standard
\begin_inset Float figure
placement document
alignment document
wide false
sideways false
status open
@ -860,6 +880,8 @@ Figure.
\begin_layout Standard
\begin_inset Float table
placement document
alignment document
wide false
sideways false
status open