]> git.lyx.org Git - features.git/commitdiff
The acmart package requires pdflatex, XeTeX or LuaTeX.
authorGünter Milde <milde@lyx.org>
Wed, 16 Jan 2019 21:42:08 +0000 (22:42 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 12:39:56 +0000 (14:39 +0200)
The acmart package requires pdflatex (with 8-bit fonts)
or xe/luatex with non-TeX fonts to give the expected output.

development/autotests/invertedTests
development/autotests/unreliableTests
lib/templates/acmart.lyx

index b478a9faadc15a576219971a5b9a80eb3668d9e8..4c5b599981709734fd56d0151f2417e10485db77 100644 (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
index 3d04fb7983fd0df7978f7ae656d20c1e32affcf0..2e89bb4288495d9feaab60cf1734eb83aacbbb58 100644 (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
index cf4e3d3ad21f1000ca43b5c2682a560fcb1b7cb9..376c9d49652fc089a1aed5887834ba8c139941d9 100644 (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