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 #11455 "Unable to process argument!" with multiple 1.6.x roundtrips
export/templates/IEEEtran-Journal_lyx16 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 Sublabel: ert
# Export failures due to "raw" LaTeX use in ERT or preamble code # 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: # Seminar export with LaTeX fails in latest TeXLive:
export/examples/(|fr/)seminar_(dvi|pdf).* export/examples/(|fr/)seminar_(dvi|pdf).*
# `acmart` requires PDF-latex in TeXLive < 2018 # `acmart` calls "libertine" as default font.
# * Missing page number in DVI -> ignoredTests wrong output # With TeXLive < 18, this clashes with LyX setting up 8-bit TeX fonts
# * First page not displayed in Postscript # PDF (luatex) and PDF (xetex) (compilation error or wrong fonts).
# ("evince" viewer hangs and displays # "Loading...") # See also #9744 allow parallel configuration of TeX and non-TeX fonts.
# * "PDF (ps2pdf)": `ps2pdf` fails as result of the problem with Postscript export/templates/acmart_pdf[45]_texF
export/templates/acmart_dvi.*
#export/templates/acmart_ps # not tested by ctest autotests
export/templates/acmart_pdf
Sublabel: wrong_output Sublabel: wrong_output
@ -109,19 +106,13 @@ export/export/mixing_inTitle_layouts_(pdf|dvi).*
export/doc/es/Customization_dvi3_systemF export/doc/es/Customization_dvi3_systemF
export/examples/(|es/)(europe|modern)CV_dvi3_systemF export/examples/(|es/)(europe|modern)CV_dvi3_systemF
# original problem fixed but run-together words in Russian # original problem fixed but run-together words in Russian
#9637 textgreek and textcyr depend on font-encoding, not input encoding #9637 textgreek and textcyr depend on font-encoding, not input encoding
export/export/latex/ru-accent-ascii_pdf2 export/export/latex/ru-accent-ascii_pdf2
# `acmart` requires PDFlatex:
#9744 allow parallel configuration of TeX and non-TeX fonts # * Missing page number in DVI, Postscript, and PDF (ps2pdf)
# parallel configuration implemented ([2fc430d5aede/lyxgit] 11/09/15), # * "PDF (ps2pdf)" fails (problem with Postscript) in TeXLive < 2018
# use case for new setting value useNonTeXFonts == "automatic" export/templates/acmart_dvi.*
# The font package "libertine" sets up "non-TeX fonts" if Xe/LuaTeX #export/templates/acmart_ps # not tested by ctest autotests
# is detected: export/templates/acmart_pdf
# * 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

View File

@ -1,5 +1,5 @@
#LyX 2.3 created this file. For more info see http://www.lyx.org/ #LyX 2.4 created this file. For more info see https://www.lyx.org/
\lyxformat 544 \lyxformat 566
\begin_document \begin_document
\begin_header \begin_header
\save_transient_properties true \save_transient_properties true
@ -28,7 +28,7 @@ PackageOptions algorithm2e ruled
\language english \language english
\language_package auto \language_package auto
\inputencoding auto \inputencoding auto
\fontencoding global \fontencoding auto
\font_roman "default" "default" \font_roman "default" "default"
\font_sans "default" "default" \font_sans "default" "default"
\font_typewriter "default" "default" \font_typewriter "default" "default"
@ -42,10 +42,12 @@ PackageOptions algorithm2e ruled
\use_microtype false \use_microtype false
\use_dash_ligatures true \use_dash_ligatures true
\graphics default \graphics default
\default_output_format default \default_output_format pdf2
\output_sync 0 \output_sync 0
\bibtex_command default \bibtex_command default
\index_command default \index_command default
\float_placement class
\float_alignment class
\paperfontsize default \paperfontsize default
\spacing single \spacing single
\use_hyperref false \use_hyperref false
@ -95,6 +97,21 @@ PackageOptions algorithm2e ruled
\begin_body \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_layout In Preamble
\begin_inset Note Note \begin_inset Note Note
status open status open
@ -518,6 +535,7 @@ reference "tab:one"
\begin_layout Standard \begin_layout Standard
\begin_inset Float algorithm \begin_inset Float algorithm
placement t placement t
alignment document
wide false wide false
sideways false sideways false
status open status open
@ -824,6 +842,8 @@ Sieve of Eratosthenes.
\begin_layout Standard \begin_layout Standard
\begin_inset Float figure \begin_inset Float figure
placement document
alignment document
wide false wide false
sideways false sideways false
status open status open
@ -860,6 +880,8 @@ Figure.
\begin_layout Standard \begin_layout Standard
\begin_inset Float table \begin_inset Float table
placement document
alignment document
wide false wide false
sideways false sideways false
status open status open