From: Günter Milde Date: Fri, 17 May 2019 12:03:28 +0000 (+0200) Subject: ctests: sort dedicated test samples X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=1fac21c88d44420be534576f94d322c2a1a8e208;p=features.git ctests: sort dedicated test samples --- diff --git a/autotests/export/latex/001-4-latin-OT1.lyx b/autotests/export/latex/001-4-latin-OT1.lyx deleted file mode 100644 index 1a99945f2f..0000000000 --- a/autotests/export/latex/001-4-latin-OT1.lyx +++ /dev/null @@ -1,623 +0,0 @@ -#LyX 2.3 created this file. For more info see http://www.lyx.org/ -\lyxformat 523 -\begin_document -\begin_header -\save_transient_properties true -\origin unavailable -\textclass article -\begin_preamble -\usepackage{wasysym} % provides \DH, \dh, \Thorn, \thorn -\ProvideTextCommandDefault{\TH}{\Thorn} -\ProvideTextCommandDefault{\th}{\thorn} - -\DeclareTextAccentDefault{\k}{T1} -\DeclareTextSymbolDefault{\NG}{T1} -\DeclareTextSymbolDefault{\ng}{T1} -%\DeclareTextSymbolDefault{\DH}{T1} -%\DeclareTextSymbolDefault{\dh}{T1} -%\DeclareTextSymbolDefault{\TH}{T1} -%\DeclareTextSymbolDefault{\th}{T1} -%\DeclareTextSymbolDefault{}{T1} -\end_preamble -\use_default_options false -\maintain_unincluded_children false -\language english -\language_package default -\inputencoding utf8 -\fontencoding default -\font_roman "default" "default" -\font_sans "default" "default" -\font_typewriter "default" "default" -\font_math "auto" "auto" -\font_default_family default -\use_non_tex_fonts false -\font_sc false -\font_osf false -\font_sf_scale 100 100 -\font_tt_scale 100 100 -\use_microtype false -\graphics default -\default_output_format pdf2 -\output_sync 0 -\bibtex_command default -\index_command default -\paperfontsize default -\spacing single -\use_hyperref false -\papersize default -\use_geometry false -\use_package amsmath 1 -\use_package amssymb 1 -\use_package cancel 1 -\use_package esint 1 -\use_package mathdots 0 -\use_package mathtools 1 -\use_package mhchem 1 -\use_package stackrel 1 -\use_package stmaryrd 1 -\use_package undertilde 1 -\cite_engine basic -\cite_engine_type default -\biblio_style plain -\use_bibtopic false -\use_indices false -\paperorientation portrait -\suppress_date false -\justification true -\use_refstyle 0 -\branch na -\selected 0 -\filename_suffix 0 -\color #faf0e6 -\end_branch -\index Index -\shortcut idx -\color #008000 -\end_index -\secnumdepth 3 -\tocdepth 3 -\paragraph_separation skip -\defskip medskip -\quotes_style english -\dynamic_quotes 0 -\papercolumns 1 -\papersides 1 -\paperpagestyle default -\tracking_changes false -\output_changes false -\html_math_output 0 -\html_css_as_file 0 -\html_be_strict false -\end_header - -\begin_body - -\begin_layout Subsection* -1) Basic Latin -\end_layout - -\begin_layout Labeling -\labelwidthstring 00.00.0000 -\begin_inset space ~ -\end_inset - - 0 1 2 3 4 5 6 7 8 9 A B C D E F -\end_layout - -\begin_layout Labeling -\labelwidthstring 00.00.0000 -20 ! " # $ % & ' ( ) * + , - . - / -\end_layout - -\begin_layout Labeling -\labelwidthstring 00.00.0000 -30 0 1 2 3 4 5 6 7 8 9 : ; < = > ? -\end_layout - -\begin_layout Labeling -\labelwidthstring 00.00.0000 -40 @ A B C D E F G H I J K L M N O -\end_layout - -\begin_layout Labeling -\labelwidthstring 00.00.0000 -50 P Q R S T U V W X Y Z [ -\backslash - ] ^ _ -\end_layout - -\begin_layout Labeling -\labelwidthstring 00.00.0000 -60 ` a b c d e f g h i j k l m n o -\end_layout - -\begin_layout Labeling -\labelwidthstring 00.00.0000 -70 p q r s t u v w x y z { | } ~ -\end_layout - -\begin_layout Subsection* -\paragraph_spacing single -2) Latin Extended -\end_layout - -\begin_layout Standard -Makros -\backslash -DH, -\backslash -dh, -\backslash -DJ, -\backslash -dj, -\backslash -NG, -\backslash -ng, -\backslash -TH, -\backslash -th not available in the OT1 font encoding. -\end_layout - -\begin_layout Standard -Accent makro -\backslash -k not available in the OT1 font encoding. -\end_layout - -\begin_layout Labeling -\labelwidthstring 00.00.0000 -A0   ¡ ¢ £ ¤ Â¥ ¦ § ¨ © ª « ¬ ­ ® ¯ -\end_layout - -\begin_layout Labeling -\labelwidthstring 00.00.0000 -B0 ° ± ² ³ ´ µ ¶ · ¸ ¹ º » ¼ ½ ¾ ¿ -\end_layout - -\begin_layout Labeling -\labelwidthstring 00.00.0000 -C0 À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï -\end_layout - -\begin_layout Labeling -\labelwidthstring 00.00.0000 -D0 Ð Ñ Ò Ó Ô Õ Ö × Ø Ù Ú Û Ü Ý Þ ß -\end_layout - -\begin_layout Labeling -\labelwidthstring 00.00.0000 -E0 à á â ã ä Ã¥ æ ç è é ê ë ì í î ï -\end_layout - -\begin_layout Labeling -\labelwidthstring 00.00.0000 -F0 ð ñ ò ó ô õ ö ÷ ø ù ú û ü ý þ ÿ -\end_layout - -\begin_layout Subsection* -3) Latin Extended-A -\end_layout - -\begin_layout Labeling -\labelwidthstring 00.00.0000 -100 Ā ā Ă ă Ą ą Ć ć Ĉ ĉ Ċ ċ Č č Ď ď -\end_layout - -\begin_layout Labeling -\labelwidthstring 00.00.0000 -110 Đ đ Ē ē Ĕ ĕ Ė ė Ę ę Ě ě Ĝ ĝ Ğ ğ -\end_layout - -\begin_layout Labeling -\labelwidthstring 00.00.0000 -120 Ä  Ä¡ Ä¢ Ä£ Ĥ Ä¥ -\begin_inset Branch na -inverted 0 -status collapsed - -\begin_layout Standard -Ħ -\end_layout - -\end_inset - - ħ Ĩ Ä© Ī Ä« Ĭ Ä­ Ä® į -\end_layout - -\begin_layout Labeling -\labelwidthstring 00.00.0000 -130 Ä° ı IJ ij Ä´ ĵ Ķ Ä· -\begin_inset Branch na -inverted 0 -status collapsed - -\begin_layout Standard -ĸ -\end_layout - -\end_inset - - Ĺ ĺ Ä» ļ Ľ ľ -\begin_inset Branch na -inverted 0 -status collapsed - -\begin_layout Standard -Ä¿ -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Labeling -\labelwidthstring 00.00.0000 -140 -\begin_inset Branch na -inverted 0 -status collapsed - -\begin_layout Standard -ŀ -\end_layout - -\end_inset - - Ł ł Ń ń Ņ ņ Ň ň ʼn Ŋ ŋ Ō ō Ŏ ŏ -\end_layout - -\begin_layout Labeling -\labelwidthstring 00.00.0000 -150 Ő ő Œ œ Ŕ ŕ Ŗ ŗ Ř ř Ś ś Ŝ ŝ Ş ş -\end_layout - -\begin_layout Labeling -\labelwidthstring 00.00.0000 -160 Å  Å¡ Å¢ Å£ Ť Å¥ -\begin_inset Branch na -inverted 0 -status collapsed - -\begin_layout Standard -Ŧ ŧ -\end_layout - -\end_inset - - Ũ Å© Ū Å« Ŭ Å­ Å® ů -\end_layout - -\begin_layout Labeling -\labelwidthstring 00.00.0000 -170 Å° ű Ų ų Å´ ŵ Ŷ Å· Ÿ Ź ź Å» ż Ž ž -\begin_inset Branch na -inverted 0 -status collapsed - -\begin_layout Standard -Å¿ -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Subsection* -4) Latin Extended-B -\end_layout - -\begin_layout Labeling -\labelwidthstring 00.00.0000 -180 ƀ -\begin_inset Branch na -inverted 0 -status collapsed - -\begin_layout Standard -Ɓ Ƃ ƃ Ƅ ƅ Ɔ Ƈ -\end_layout - -\end_inset - -ƈ -\begin_inset Branch na -inverted 0 -status collapsed - -\begin_layout Standard -Ɖ Ɗ Ƌ ƌ ƍ Ǝ Ə -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Labeling -\labelwidthstring 00.00.0000 -190 -\begin_inset Branch na -inverted 0 -status collapsed - -\begin_layout Standard -Ɛ Ƒ -\end_layout - -\end_inset - - ƒ -\begin_inset Branch na -inverted 0 -status collapsed - -\begin_layout Standard -Ɠ Ɣ ƕ Ɩ Ɨ Ƙ ƙ ƚ ƛ Ɯ Ɲ ƞ Ɵ -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Labeling -\labelwidthstring 00.00.0000 -1A0 -\begin_inset Branch na -inverted 0 -status collapsed - -\begin_layout Standard -Æ  Æ¡ Æ¢ Æ£ Ƥ Æ¥ Ʀ Ƨ ƨ Æ© ƪ Æ« Ƭ Æ­ Æ® Ư -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Labeling -\labelwidthstring 00.00.0000 -1B0 -\begin_inset Branch na -inverted 0 -status collapsed - -\begin_layout Standard -Æ° Ʊ Ʋ Ƴ Æ´ Ƶ ƶ Æ· Ƹ ƹ ƺ -\end_layout - -\end_inset - - Æ» -\begin_inset Branch na -inverted 0 -status collapsed - -\begin_layout Standard -Ƽ ƽ -\end_layout - -\end_inset - - ƾ Æ¿ -\end_layout - -\begin_layout Labeling -\labelwidthstring 00.00.0000 -1C0 ǀ ǁ ǂ ǃ -\begin_inset Branch na -inverted 0 -status collapsed - -\begin_layout Standard -DŽ Dž dž LJ Lj lj NJ Nj nj -\end_layout - -\end_inset - -Ǎ ǎ Ǐ -\end_layout - -\begin_layout Labeling -\labelwidthstring 00.00.0000 -1D0 ǐ Ǒ ǒ Ǔ ǔ -\begin_inset Branch na -inverted 0 -status collapsed - -\begin_layout Standard -Ǖ ǖ Ǘ ǘ Ǚ ǚ Ǜ ǜ ǝ Ǟ ǟ -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Labeling -\labelwidthstring 00.00.0000 -1E0 -\begin_inset Branch na -inverted 0 -status collapsed - -\begin_layout Standard -Ç  Ç¡ -\end_layout - -\end_inset - - Ç¢ Ç£ -\begin_inset Branch na -inverted 0 -status collapsed - -\begin_layout Standard -Ǥ Ç¥ -\end_layout - -\end_inset - - Ǧ ǧ Ǩ Ç© Ǫ Ç« -\begin_inset Branch na -inverted 0 -status collapsed - -\begin_layout Standard -Ǭ Ç­ Ç® ǯ -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Labeling -\labelwidthstring 00.00.0000 -1F0 Ç° -\begin_inset Branch na -inverted 0 -status collapsed - -\begin_layout Standard -DZ Dz dz -\end_layout - -\end_inset - - Ç´ ǵ -\begin_inset Branch na -inverted 0 -status collapsed - -\begin_layout Standard -Ƕ Ç· -\end_layout - -\end_inset - - Ǹ ǹ -\begin_inset Branch na -inverted 0 -status collapsed - -\begin_layout Standard -Ǻ Ç» -\end_layout - -\end_inset - - Ǽ ǽ Ǿ Ç¿ -\end_layout - -\begin_layout Labeling -\labelwidthstring 00.00.0000 -200 Ȁ ȁ Ȃ ȃ Ȅ ȅ Ȇ ȇ Ȉ ȉ Ȋ ȋ Ȍ ȍ Ȏ ȏ -\end_layout - -\begin_layout Labeling -\labelwidthstring 00.00.0000 -210 Ȑ ȑ Ȓ ȓ Ȕ ȕ Ȗ ȗ Ș ș Ț ț -\begin_inset Branch na -inverted 0 -status collapsed - -\begin_layout Standard -Ȝ ȝ -\end_layout - -\end_inset - - Ȟ ȟ -\end_layout - -\begin_layout Labeling -\labelwidthstring 00.00.0000 -220 -\begin_inset Branch na -inverted 0 -status collapsed - -\begin_layout Standard -È  È¡ È¢ È£ Ȥ È¥ -\end_layout - -\end_inset - - Ȧ ȧ Ȩ È© -\begin_inset Branch na -inverted 0 -status collapsed - -\begin_layout Standard -Ȫ È« Ȭ È­ -\end_layout - -\end_inset - - È® ȯ -\end_layout - -\begin_layout Labeling -\labelwidthstring 00.00.0000 -230 -\begin_inset Branch na -inverted 0 -status collapsed - -\begin_layout Standard -È° ȱ -\end_layout - -\end_inset - - Ȳ ȳ -\begin_inset Branch na -inverted 0 -status collapsed - -\begin_layout Standard -È´ -\end_layout - -\end_inset - - ȵ ȶ È· ȸ ȹ -\begin_inset Branch na -inverted 0 -status collapsed - -\begin_layout Standard -Ⱥ È» ȼ Ƚ Ⱦ È¿ -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Labeling -\labelwidthstring 00.00.0000 -240 -\begin_inset Branch na -inverted 0 -status collapsed - -\begin_layout Standard -ɀ Ɂ ɂ Ƀ Ʉ Ʌ Ɇ ɇ Ɉ ɉ Ɋ ɋ Ɍ ɍ Ɏ ɏ -\end_layout - -\end_inset - - -\end_layout - -\end_body -\end_document diff --git a/autotests/export/latex/11532-misplaced-inputenc-switch.lyx b/autotests/export/latex/11532-misplaced-inputenc-switch.lyx deleted file mode 100644 index 9462c6c54b..0000000000 --- a/autotests/export/latex/11532-misplaced-inputenc-switch.lyx +++ /dev/null @@ -1,219 +0,0 @@ -#LyX 2.4 created this file. For more info see https://www.lyx.org/ -\lyxformat 569 -\begin_document -\begin_header -\save_transient_properties true -\origin unavailable -\textclass article -\use_default_options false -\maintain_unincluded_children false -\language english -\language_package default -\inputencoding auto -\fontencoding auto -\font_roman "lmodern" "DejaVu Serif" -\font_sans "default" "DejaVu Sans" -\font_typewriter "default" "DejaVu Sans Mono" -\font_math "auto" "auto" -\font_default_family default -\use_non_tex_fonts false -\font_sc false -\font_osf false -\font_sf_scale 100 100 -\font_tt_scale 100 100 -\use_microtype false -\use_dash_ligatures true -\graphics 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 -\pdf_bookmarks false -\pdf_bookmarksnumbered false -\pdf_bookmarksopen false -\pdf_bookmarksopenlevel 1 -\pdf_breaklinks false -\pdf_pdfborder true -\pdf_colorlinks true -\pdf_backref section -\pdf_pdfusetitle true -\papersize a4paper -\use_geometry false -\use_package amsmath 1 -\use_package amssymb 1 -\use_package cancel 1 -\use_package esint 1 -\use_package mathdots 1 -\use_package mathtools 1 -\use_package mhchem 1 -\use_package stackrel 1 -\use_package stmaryrd 1 -\use_package undertilde 1 -\cite_engine basic -\cite_engine_type default -\biblio_style plain -\use_bibtopic false -\use_indices false -\paperorientation portrait -\suppress_date false -\justification true -\use_refstyle 0 -\use_minted 0 -\index Stichwortverzeichnis -\shortcut idx -\color #008000 -\end_index -\secnumdepth 3 -\tocdepth 3 -\paragraph_separation indent -\paragraph_indentation default -\is_math_indent 0 -\math_numbering_side default -\quotes_style english -\dynamic_quotes 0 -\papercolumns 1 -\papersides 1 -\paperpagestyle default -\tablestyle default -\tracking_changes false -\output_changes false -\html_math_output 0 -\html_css_as_file 0 -\html_be_strict false -\end_header - -\begin_body - -\begin_layout Standard -\begin_inset CommandInset href -LatexCommand href -name "LyX-Bug #11532" -target "https://www.lyx.org/trac/ticket/11532" -literal "false" - -\end_inset - -: Sometimes, an inputencoding switch is limited to a group by LaTeX but - LyX does not take this into account and subsequent non-ASCII characters - fail. -\end_layout - -\begin_layout Subsection* -Example -\end_layout - -\begin_layout Standard -Paragraph in Cyrillic followed by -\emph on -Description -\emph default - list: -\end_layout - -\begin_layout Standard - -\emph on -\lang bulgarian -Бъ̀лгарският езѝк -\emph default - е индоевропейски език от групата на южнославянските езици. -\end_layout - -\begin_layout Description -term -\begin_inset space ~ -\end_inset - -with -\begin_inset space ~ -\end_inset - -inputenc -\begin_inset space ~ -\end_inset - -latin9 Definition: LyX assumes input encoding latin9, but for LaTeX it is - again cp1251! -\end_layout - -\begin_deeper -\begin_layout Standard -Da kommt größter Mist raus! cp1251 misses ð and Þ -\end_layout - -\begin_layout Standard -If a new language in a nested paragraph uses the same inputencoding as the - current language, there is still no switch: -\emph on -\lang icelandic -Íslenska -\emph default - er talað og ritað á Íslandi. -\end_layout - -\end_deeper -\begin_layout Standard -After the list, the inputencoding is set accordingly: -\end_layout - -\begin_layout Standard -latin9 supports ð and Þ. -\end_layout - -\begin_layout Subsection* -Example 2 -\end_layout - -\begin_layout Standard -Paragraph in Cyrillic followed by -\emph on -Labeling -\emph default - list: -\end_layout - -\begin_layout Standard - -\emph on -\lang bulgarian -Бъ̀лгарският езѝк -\emph default - е индоевропейски език. -\end_layout - -\begin_layout Labeling -\labelwidthstring 00.00.0000 -term LyX assumes inputencoding latin9, but for LaTeX it is again cp1251! -\end_layout - -\begin_deeper -\begin_layout Standard -Da kommt größter Mist raus! cp1251 misses ð and Þ -\end_layout - -\begin_layout Standard -If a new language in a nested paragraph uses the same inputencoding as the - current language, there is still no switch: -\emph on -\lang icelandic -Íslenska -\emph default - er talað og ritað á Íslandi. -\end_layout - -\end_deeper -\begin_layout Standard -After the list, the inputencoding is set accordingly: -\end_layout - -\begin_layout Standard -latin9 supports ð and Þ. -\end_layout - -\end_body -\end_document diff --git a/autotests/export/latex/6197-polish-amssymb.lyx b/autotests/export/latex/6197-polish-amssymb.lyx deleted file mode 100644 index 31ac474c05..0000000000 --- a/autotests/export/latex/6197-polish-amssymb.lyx +++ /dev/null @@ -1,125 +0,0 @@ -#LyX 2.4 created this file. For more info see https://www.lyx.org/ -\lyxformat 567 -\begin_document -\begin_header -\save_transient_properties true -\origin unavailable -\textclass article -\use_default_options true -\maintain_unincluded_children false -\language polish -\language_package default -\inputencoding auto -\fontencoding auto -\font_roman "lmodern" "default" -\font_sans "default" "default" -\font_typewriter "default" "default" -\font_math "auto" "auto" -\font_default_family default -\use_non_tex_fonts false -\font_sc false -\font_osf false -\font_sf_scale 100 100 -\font_tt_scale 100 100 -\use_microtype false -\use_dash_ligatures true -\graphics default -\default_output_format pdf -\output_sync 0 -\bibtex_command default -\index_command default -\float_placement class -\float_alignment class -\paperfontsize default -\spacing single -\use_hyperref false -\papersize default -\use_geometry false -\use_package amsmath 1 -\use_package amssymb 2 -\use_package cancel 1 -\use_package esint 1 -\use_package mathdots 1 -\use_package mathtools 1 -\use_package mhchem 1 -\use_package stackrel 1 -\use_package stmaryrd 1 -\use_package undertilde 1 -\cite_engine basic -\cite_engine_type default -\biblio_style plain -\use_bibtopic false -\use_indices false -\paperorientation portrait -\suppress_date false -\justification true -\use_refstyle 1 -\use_minted 0 -\index Index -\shortcut idx -\color #008000 -\end_index -\secnumdepth 3 -\tocdepth 3 -\paragraph_separation indent -\paragraph_indentation default -\is_math_indent 0 -\math_numbering_side default -\quotes_style polish -\dynamic_quotes 0 -\papercolumns 1 -\papersides 1 -\paperpagestyle default -\tracking_changes false -\output_changes false -\html_math_output 0 -\html_css_as_file 0 -\html_be_strict false -\end_header - -\begin_body - -\begin_layout Standard -Test for bug #6197: -\begin_inset Quotes pld -\end_inset - -amssymb -\begin_inset Quotes prd -\end_inset - - with Polish babel. -\end_layout - -\begin_layout Standard -The mathematical symbol 0x22D8 VERY MUCH LESS-THAN must be written as -\backslash -llless -\begin_inset Formula $\llless$ -\end_inset - - because Polish babel re-defines -\backslash -lll as character 0x142 LATIN SMALL LETTER L WITH STROKE: -\begin_inset Formula $\lll$ -\end_inset - - = ł. -\end_layout - -\begin_layout Standard -The toolbar button [ -\begin_inset Formula $\llless$ -\end_inset - -] inserts -\backslash -lll which becomes -\begin_inset Formula $\lll$ -\end_inset - -. -\end_layout - -\end_body -\end_document diff --git a/autotests/export/latex/LongestLabelWithUnderscore.lyx b/autotests/export/latex/LongestLabelWithUnderscore.lyx deleted file mode 100644 index 9c1ffad105..0000000000 --- a/autotests/export/latex/LongestLabelWithUnderscore.lyx +++ /dev/null @@ -1,150 +0,0 @@ -#LyX 2.3 created this file. For more info see http://www.lyx.org/ -\lyxformat 512 -\begin_document -\begin_header -\save_transient_properties true -\origin unavailable -\textclass article -\begin_preamble - -\end_preamble -\use_default_options false -\maintain_unincluded_children false -\language english -\language_package default -\inputencoding auto -\fontencoding global -\font_roman "default" "default" -\font_sans "default" "default" -\font_typewriter "default" "default" -\font_math "auto" "auto" -\font_default_family default -\use_non_tex_fonts true -\font_sc false -\font_osf false -\font_sf_scale 100 100 -\font_tt_scale 100 100 -\use_microtype false -\graphics default -\default_output_format pdf5 -\output_sync 0 -\bibtex_command default -\index_command default -\paperfontsize default -\spacing single -\use_hyperref false -\papersize a4paper -\use_geometry false -\use_package amsmath 0 -\use_package amssymb 0 -\use_package cancel 0 -\use_package esint 0 -\use_package mathdots 0 -\use_package mathtools 0 -\use_package mhchem 0 -\use_package stackrel 0 -\use_package stmaryrd 0 -\use_package undertilde 0 -\cite_engine basic -\cite_engine_type default -\biblio_style plain -\use_bibtopic false -\use_indices false -\paperorientation portrait -\suppress_date false -\justification false -\use_refstyle 0 -\index Register -\shortcut idx -\color #008000 -\end_index -\paperwidth 22cm -\paperheight 11cm -\leftmargin 1cm -\topmargin 0cm -\rightmargin 1cm -\bottommargin 0cm -\secnumdepth 3 -\tocdepth 3 -\paragraph_separation skip -\defskip medskip -\quotes_language english -\papercolumns 1 -\papersides 1 -\paperpagestyle empty -\tracking_changes false -\output_changes false -\html_math_output 0 -\html_css_as_file 0 -\html_be_strict false -\end_header - -\begin_body - -\begin_layout Standard -The -\begin_inset Quotes eld -\end_inset - -longest label -\begin_inset Quotes erd -\end_inset - - marker in a labeling environment must be valid LaTeX (just like ERT). -\end_layout - -\begin_layout Standard -This means that setting the longest label to a string containing an underscore - (or another special character like -\family typewriter - -\backslash -]$%#^ -\family default -...) leads to an uncompilable document (except for valid LaTeX constructs like - -\family typewriter -$ -\backslash -sin^2 x_i$ -\family default -). - -\end_layout - -\begin_layout Labeling -\labelwidthstring Longest_Label_With_Underscore -\noindent -Label content. -\end_layout - -\begin_layout Labeling -\labelwidthstring Longest_Label_With_Underscore -\noindent -This labeling list has the longest label set to -\begin_inset Quotes eld -\end_inset - -Longest_Label_With_Underscore -\begin_inset Quotes erd -\end_inset - -. - (See Edit>Paragraph>Settings...Longest label) -\end_layout - -\begin_layout Labeling -\labelwidthstring Longest_Label_With_Underscore -It fails with -\begin_inset Quotes eld -\end_inset - -Missing $ inserted. -\begin_inset Quotes erd -\end_inset - - -\end_layout - -\end_body -\end_document diff --git a/autotests/export/latex/TableErrorIfSlovakTextInserted.lyx b/autotests/export/latex/TableErrorIfSlovakTextInserted.lyx deleted file mode 100644 index 90060e8d1d..0000000000 --- a/autotests/export/latex/TableErrorIfSlovakTextInserted.lyx +++ /dev/null @@ -1,209 +0,0 @@ -#LyX 2.3 created this file. For more info see http://www.lyx.org/ -\lyxformat 512 -\begin_document -\begin_header -\save_transient_properties true -\origin unavailable -\textclass article -\use_default_options false -\maintain_unincluded_children false -\language english -\language_package default -\inputencoding iso8859-15 -\fontencoding global -\font_roman "lmodern" "default" -\font_sans "lmss" "default" -\font_typewriter "lmtt" "default" -\font_math "auto" "auto" -\font_default_family default -\use_non_tex_fonts false -\font_sc false -\font_osf false -\font_sf_scale 100 100 -\font_tt_scale 100 100 -\use_microtype false -\graphics default -\default_output_format default -\output_sync 0 -\bibtex_command default -\index_command default -\paperfontsize default -\spacing single -\use_hyperref false -\pdf_title "LyX's Development manual" -\pdf_author "LyX Team" -\pdf_subject "LyX's development documentation" -\pdf_keywords "LyX, Documentation, Development" -\pdf_bookmarks true -\pdf_bookmarksnumbered true -\pdf_bookmarksopen true -\pdf_bookmarksopenlevel 1 -\pdf_breaklinks false -\pdf_pdfborder false -\pdf_colorlinks true -\pdf_backref false -\pdf_pdfusetitle false -\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false" -\papersize a4paper -\use_geometry false -\use_package amsmath 1 -\use_package amssymb 1 -\use_package cancel 0 -\use_package esint 0 -\use_package mathdots 1 -\use_package mathtools 0 -\use_package mhchem 1 -\use_package stackrel 0 -\use_package stmaryrd 0 -\use_package undertilde 0 -\cite_engine basic -\cite_engine_type default -\biblio_style plain -\use_bibtopic false -\use_indices false -\paperorientation portrait -\suppress_date false -\justification false -\use_refstyle 0 -\notefontcolor #0000ff -\branch slovak -\selected 1 -\filename_suffix 0 -\color #faf0e6 -\end_branch -\branch czech -\selected 0 -\filename_suffix 0 -\color #faf0e6 -\end_branch -\index Index -\shortcut idx -\color #008000 -\end_index -\secnumdepth 4 -\tocdepth 4 -\paragraph_separation indent -\paragraph_indentation default -\quotes_language english -\papercolumns 1 -\papersides 1 -\paperpagestyle plain -\tracking_changes false -\output_changes false -\html_math_output 0 -\html_css_as_file 0 -\html_be_strict true -\end_header - -\begin_body - -\begin_layout Standard -Remove this inserted Slovak text -\begin_inset Branch slovak -inverted 0 -status open - -\begin_layout Standard - -\lang slovak -slovenský text -\lang english - -\end_layout - -\end_inset - - and this document is compilable. - -\lang ngerman -Deutscher Text -\lang english - is non-problematic. -\begin_inset Branch czech -inverted 0 -status open - -\begin_layout Standard - -\lang czech -Czesky text -\lang english - -\end_layout - -\end_inset - -triggers the error, too. - But not Polish, Upper Sorbian, Baltic languages, Spanish ... - -\lang polish -text. -\end_layout - -\begin_layout Standard -\begin_inset Tabular - - - - - - -\begin_inset Text - -\begin_layout Plain Layout -- -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout --- -\end_layout - -\end_inset - - - - -\begin_inset Text - -\begin_layout Plain Layout -- -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout - -\end_layout - -\end_inset - - - - -\end_inset - - -\end_layout - -\begin_layout Standard -This is the minimal table example. - Removing a line or column makes it compilable again. - Also setting the language of the table to Slovak helps. -\end_layout - -\begin_layout Standard -Encoding switches are not to blame. - Rather an incompatibility of array or multirow packages with Babels slovak.ldf - and czech.ldf. -\end_layout - -\end_body -\end_document diff --git a/autotests/export/latex/bug9871-slovak-ascii-preambleencoding.lyx b/autotests/export/latex/bug9871-slovak-ascii-preambleencoding.lyx deleted file mode 100644 index e5eda6d009..0000000000 --- a/autotests/export/latex/bug9871-slovak-ascii-preambleencoding.lyx +++ /dev/null @@ -1,139 +0,0 @@ -#LyX 2.4 created this file. For more info see https://www.lyx.org/ -\lyxformat 566 -\begin_document -\begin_header -\save_transient_properties true -\origin unavailable -\textclass scrartcl -\use_default_options false -\begin_modules -theorems-ams-bytype -\end_modules -\maintain_unincluded_children false -\language slovak -\language_package default -\inputencoding ascii -\fontencoding auto -\font_roman "default" "default" -\font_sans "default" "default" -\font_typewriter "default" "default" -\font_math "auto" "auto" -\font_default_family default -\use_non_tex_fonts false -\font_sc false -\font_osf false -\font_sf_scale 100 100 -\font_tt_scale 100 100 -\use_microtype false -\use_dash_ligatures false -\graphics 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 -\pdf_bookmarks false -\pdf_bookmarksnumbered false -\pdf_bookmarksopen false -\pdf_bookmarksopenlevel 1 -\pdf_breaklinks false -\pdf_pdfborder true -\pdf_colorlinks true -\pdf_backref section -\pdf_pdfusetitle true -\papersize a4paper -\use_geometry false -\use_package amsmath 1 -\use_package amssymb 1 -\use_package cancel 1 -\use_package esint 1 -\use_package mathdots 1 -\use_package mathtools 1 -\use_package mhchem 1 -\use_package stackrel 1 -\use_package stmaryrd 1 -\use_package undertilde 1 -\cite_engine basic -\cite_engine_type default -\biblio_style plain -\use_bibtopic false -\use_indices false -\paperorientation portrait -\suppress_date false -\justification true -\use_refstyle 0 -\use_minted 0 -\index Stichwortverzeichnis -\shortcut idx -\color #008000 -\end_index -\secnumdepth 3 -\tocdepth 3 -\paragraph_separation indent -\paragraph_indentation default -\is_math_indent 0 -\math_numbering_side default -\quotes_style german -\dynamic_quotes 0 -\papercolumns 1 -\papersides 1 -\paperpagestyle default -\tracking_changes false -\output_changes false -\html_math_output 0 -\html_css_as_file 0 -\html_be_strict false -\end_header - -\begin_body - -\begin_layout Standard -minimal test for bug #9871 -\end_layout - -\begin_layout Standard -The error pop-up blames -\backslash -listoflistings, but the Complete Log reveales that the problem is the -\end_layout - -\begin_layout LyX-Code -! Undefined control sequence. - -\end_layout - -\begin_layout LyX-Code - -\backslash -lstlistlistingname -> -\backslash -inputencoding -\end_layout - -\begin_layout Standard -which is inserted by LyX in the document preamble if a -\begin_inset Quotes gld -\end_inset - -list of listings -\begin_inset Quotes grd -\end_inset - - is present: -\end_layout - -\begin_layout Standard -\begin_inset CommandInset toc -LatexCommand lstlistoflistings - -\end_inset - - -\end_layout - -\end_body -\end_document diff --git a/autotests/export/latex/iconv-error-nomenclature.lyx b/autotests/export/latex/iconv-error-nomenclature.lyx deleted file mode 100644 index a9f7106a53..0000000000 --- a/autotests/export/latex/iconv-error-nomenclature.lyx +++ /dev/null @@ -1,149 +0,0 @@ -#LyX 2.3 created this file. For more info see http://www.lyx.org/ -\lyxformat 542 -\begin_document -\begin_header -\save_transient_properties true -\origin unavailable -\textclass article -\use_default_options true -\maintain_unincluded_children false -\language english -\language_package default -\inputencoding auto -\fontencoding global -\font_roman "lmodern" "default" -\font_sans "default" "default" -\font_typewriter "default" "default" -\font_math "auto" "auto" -\font_default_family default -\use_non_tex_fonts false -\font_sc false -\font_osf false -\font_sf_scale 100 100 -\font_tt_scale 100 100 -\use_microtype false -\use_dash_ligatures false -\graphics default -\default_output_format pdf2 -\output_sync 0 -\bibtex_command default -\index_command default -\paperfontsize default -\spacing single -\use_hyperref false -\papersize default -\use_geometry false -\use_package amsmath 1 -\use_package amssymb 1 -\use_package cancel 1 -\use_package esint 1 -\use_package mathdots 1 -\use_package mathtools 1 -\use_package mhchem 1 -\use_package stackrel 1 -\use_package stmaryrd 1 -\use_package undertilde 1 -\cite_engine basic -\cite_engine_type default -\biblio_style plain -\use_bibtopic false -\use_indices false -\paperorientation portrait -\suppress_date false -\justification false -\use_refstyle 1 -\branch mfe -\selected 0 -\filename_suffix 0 -\color #faf0e6 -\end_branch -\index Index -\shortcut idx -\color #008000 -\end_index -\secnumdepth 3 -\tocdepth 3 -\paragraph_separation indent -\paragraph_indentation default -\is_math_indent 0 -\math_number_before 0 -\quotes_style english -\dynamic_quotes 0 -\papercolumns 1 -\papersides 1 -\paperpagestyle default -\tracking_changes false -\output_changes false -\html_math_output 0 -\html_css_as_file 0 -\html_be_strict false -\end_header - -\begin_body - -\begin_layout Standard -Iconv reports an error during latex export if a -\begin_inset Quotes eld -\end_inset - -nomenclature inset -\begin_inset Quotes erd -\end_inset - - contains a character that cannot be encoded using -\begin_inset Quotes eld -\end_inset - - -\backslash -inputenc -\begin_inset Quotes erd -\end_inset - -. - -\end_layout - -\begin_layout Standard -Examples: -\end_layout - -\begin_layout Standard -\begin_inset CommandInset nomenclature -LatexCommand nomenclature -symbol "α" -description "Greek letter alpha." -literal "true" - -\end_inset - - (uncodable symbol) -\end_layout - -\begin_layout Standard -\begin_inset CommandInset nomenclature -LatexCommand nomenclature -symbol "s" -description "Latin σ" -literal "true" - -\end_inset - - (uncodable description) -\end_layout - -\begin_layout Standard -\begin_inset CommandInset nomenclature -LatexCommand nomenclature -prefix "σ" -symbol "s" -description "Latin s" -literal "true" - -\end_inset - - (uncodable sortkey). -\end_layout - -\end_body -\end_document diff --git a/autotests/export/latex/inputenc-luatex-utf8.lyx b/autotests/export/latex/inputenc-luatex-utf8.lyx new file mode 100644 index 0000000000..764fbc52bb --- /dev/null +++ b/autotests/export/latex/inputenc-luatex-utf8.lyx @@ -0,0 +1,457 @@ +#LyX 2.4 created this file. For more info see https://www.lyx.org/ +\lyxformat 573 +\begin_document +\begin_header +\save_transient_properties true +\origin unavailable +\textclass article +\begin_preamble + +\end_preamble +\use_default_options true +\begin_modules +logicalmkup +\end_modules +\maintain_unincluded_children false +\language english +\language_package default +\inputencoding utf8 +\fontencoding HE8,T1 +\font_roman "lmodern" "FreeSerif" +\font_sans "default" "FreeSans" +\font_typewriter "default" "FreeMono" +\font_math "auto" "auto" +\font_default_family default +\use_non_tex_fonts false +\font_sc false +\font_osf false +\font_sf_scale 100 100 +\font_tt_scale 100 100 +\use_microtype false +\use_dash_ligatures false +\graphics default +\default_output_format pdf5 +\output_sync 0 +\bibtex_command default +\index_command default +\float_placement class +\float_alignment class +\paperfontsize default +\spacing single +\use_hyperref false +\papersize default +\use_geometry false +\use_package amsmath 1 +\use_package amssymb 1 +\use_package cancel 1 +\use_package esint 1 +\use_package mathdots 1 +\use_package mathtools 1 +\use_package mhchem 1 +\use_package stackrel 1 +\use_package stmaryrd 1 +\use_package undertilde 1 +\cite_engine basic +\cite_engine_type default +\biblio_style plain +\use_bibtopic false +\use_indices false +\paperorientation portrait +\suppress_date false +\justification true +\use_refstyle 1 +\use_minted 0 +\branch na +\selected 0 +\filename_suffix 0 +\color #faf0e6 +\end_branch +\branch bisect +\selected 0 +\filename_suffix 0 +\color #faf0e6 +\end_branch +\index Index +\shortcut idx +\color #008000 +\end_index +\secnumdepth 3 +\tocdepth 3 +\paragraph_separation indent +\paragraph_indentation default +\is_math_indent 0 +\math_numbering_side default +\quotes_style english +\dynamic_quotes 0 +\papercolumns 1 +\papersides 1 +\paperpagestyle default +\tablestyle default +\tracking_changes false +\output_changes false +\html_math_output 0 +\html_css_as_file 0 +\html_be_strict false +\end_header + +\begin_body + +\begin_layout Standard +With option +\family typewriter + utf8 +\family default +, +\begin_inset Quotes eld +\end_inset + +luainputenc +\begin_inset Quotes erd +\end_inset + + must be loaded +\emph on +after +\emph default +symbol-providing packages that provide a font encoding in order to properly + set up Unicode support for the new characters. + For packages with built-in LyX support this regards only +\family typewriter +textcomp +\family default +and +\family typewriter + pmboxdraw. +\end_layout + +\begin_layout Standard +Otherwise, use of the characters fails with 8-bit fonts: up to code-point + 205, a wrong symbol is selected, characters with higher code-point lead + to +\begin_inset Quotes eld +\end_inset + +missing character +\begin_inset Quotes erd +\end_inset + + errors. +\end_layout + +\begin_layout Itemize +textcomp characters that come out wrong if textcomp is loaded after luainputenc + include ¼ ½. +\end_layout + +\begin_layout Itemize +characters missing without loading textcomp before luainputenc: ← ƒ ฿ +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/001-4-latin.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/005-7-ipa-modifiers-combining.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/008-greek-and-coptic.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/009-cyrillic.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/009-cyrillic_ru.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status open + +\begin_layout Plain Layout + + +\backslash +fontencoding{HE8} +\backslash +selectfont +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/012-hebrew_HE8.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status open + +\begin_layout Plain Layout + + +\backslash +fontencoding{T1} +\backslash +selectfont +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Note Note +status open + +\begin_layout Plain Layout +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/012-hebrew_he.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Plain Layout +Hebrew does not work with LuaTeX and TeX-fonts, because it loads +\emph on +inputenc +\emph default + if not already loaded. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/031-thai_th.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/065-67-phonetic-extensions.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/068-latin-extended-additional.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/069-greek-extended.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/070-72-general-punctuation-sub-super-currency.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/074-76-letterlike-numberforms-arrows.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/077-mathops.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/078-79-misc-technical-control-pics.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/081-enclosed-alphanumerics.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/082-84-box-drawing-blocks-geometric.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/084-misc-symbols.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/085-dingbats.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/087-90-misc-math-A-arrows-A-B.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/091-92-misc-math-B-supp-math-ops.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/125_152-modifiers-presentation.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/246-mathematical-alphanumeric.lyx" +literal "false" + +\end_inset + + +\end_layout + +\end_body +\end_document diff --git a/autotests/export/latex/inputenc-utf8-platex.lyx b/autotests/export/latex/inputenc-utf8-platex.lyx new file mode 100644 index 0000000000..42187bfe28 --- /dev/null +++ b/autotests/export/latex/inputenc-utf8-platex.lyx @@ -0,0 +1,442 @@ +#LyX 2.4 created this file. For more info see https://www.lyx.org/ +\lyxformat 574 +\begin_document +\begin_header +\save_transient_properties true +\origin unavailable +\textclass article +\begin_preamble + +\end_preamble +\use_default_options true +\maintain_unincluded_children false +\language japanese +\language_package default +\inputencoding utf8 +\fontencoding HE8,T1 +\font_roman "lmodern" "FreeSerif" +\font_sans "default" "FreeSans" +\font_typewriter "default" "FreeMono" +\font_math "auto" "auto" +\font_default_family default +\use_non_tex_fonts false +\font_sc false +\font_osf false +\font_sf_scale 100 100 +\font_tt_scale 100 100 +\use_microtype false +\use_dash_ligatures false +\graphics default +\default_output_format pdf +\output_sync 0 +\bibtex_command default +\index_command default +\float_placement class +\float_alignment class +\paperfontsize default +\spacing single +\use_hyperref false +\papersize default +\use_geometry false +\use_package amsmath 1 +\use_package amssymb 1 +\use_package cancel 1 +\use_package esint 1 +\use_package mathdots 1 +\use_package mathtools 1 +\use_package mhchem 1 +\use_package stackrel 1 +\use_package stmaryrd 1 +\use_package undertilde 1 +\cite_engine basic +\cite_engine_type default +\biblio_style plain +\use_bibtopic false +\use_indices false +\paperorientation portrait +\suppress_date false +\justification true +\use_refstyle 1 +\use_minted 0 +\branch na +\selected 0 +\filename_suffix 0 +\color #faf0e6 +\end_branch +\branch bisect +\selected 0 +\filename_suffix 0 +\color #faf0e6 +\end_branch +\index Index +\shortcut idx +\color #008000 +\end_index +\secnumdepth 3 +\tocdepth 3 +\paragraph_separation indent +\paragraph_indentation default +\is_math_indent 0 +\math_numbering_side default +\quotes_style english +\dynamic_quotes 0 +\papercolumns 1 +\papersides 1 +\paperpagestyle default +\tablestyle default +\tracking_changes false +\output_changes false +\html_math_output 0 +\html_css_as_file 0 +\html_be_strict false +\end_header + +\begin_body + +\begin_layout Section* +unicodesymbols and pLaTeX +\end_layout + +\begin_layout Standard +pLaTeX supports Japanese characters: 日本語(にほんご、にっぽんご[注 1])は、主に日本国内や日本人同士の間で使用されてい +る言語である。 +\end_layout + +\begin_layout Standard +Test LyX-supported Unicode characters with pLaTeX. +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/001-4-latin.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/005-7-ipa-modifiers-combining.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/008-greek-and-coptic.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/009-cyrillic.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/009-cyrillic_ru.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status open + +\begin_layout Plain Layout + + +\backslash +fontencoding{HE8} +\backslash +selectfont +\end_layout + +\end_inset + + +\begin_inset Note Note +status open + +\begin_layout Plain Layout +requires custom font encoding HE8,T1 +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/012-hebrew_HE8.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status open + +\begin_layout Plain Layout + + +\backslash +fontencoding{T1} +\backslash +selectfont +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Note Note +status open + +\begin_layout Plain Layout +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/012-hebrew_he.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Plain Layout +Hebrew does not work with XeTeX and TeX-fonts: +\end_layout + +\begin_layout Plain Layout +Error 256 (driver return code) generating output; file 012-hebrew_he_HE8.pdf + may not be valid. + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Note Note +status open + +\begin_layout Plain Layout +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/031-thai_th.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Plain Layout +Thai sets catcodes for characters in Latin-Supplement block leading to wrong + output there. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/065-67-phonetic-extensions.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/068-latin-extended-additional.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/069-greek-extended.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/070-72-general-punctuation-sub-super-currency.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/074-76-letterlike-numberforms-arrows.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/077-mathops.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/078-79-misc-technical-control-pics.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/081-enclosed-alphanumerics.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/082-84-box-drawing-blocks-geometric.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/084-misc-symbols.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/085-dingbats.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/087-90-misc-math-A-arrows-A-B.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/091-92-misc-math-B-supp-math-ops.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/125_152-modifiers-presentation.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/246-mathematical-alphanumeric.lyx" +literal "false" + +\end_inset + + +\end_layout + +\end_body +\end_document diff --git a/autotests/export/latex/inputenc-xetex-ascii.lyx b/autotests/export/latex/inputenc-xetex-ascii.lyx new file mode 100644 index 0000000000..9ed5333743 --- /dev/null +++ b/autotests/export/latex/inputenc-xetex-ascii.lyx @@ -0,0 +1,423 @@ +#LyX 2.4 created this file. For more info see https://www.lyx.org/ +\lyxformat 571 +\begin_document +\begin_header +\save_transient_properties true +\origin unavailable +\textclass article +\begin_preamble + +\end_preamble +\use_default_options true +\maintain_unincluded_children false +\language english +\language_package default +\inputencoding ascii +\fontencoding auto +\font_roman "lmodern" "FreeSerif" +\font_sans "default" "FreeSans" +\font_typewriter "default" "FreeMono" +\font_math "auto" "auto" +\font_default_family default +\use_non_tex_fonts false +\font_sc false +\font_osf false +\font_sf_scale 100 100 +\font_tt_scale 100 100 +\use_microtype false +\use_dash_ligatures false +\graphics default +\default_output_format pdf4 +\output_sync 0 +\bibtex_command default +\index_command default +\float_placement class +\float_alignment class +\paperfontsize default +\spacing single +\use_hyperref false +\papersize default +\use_geometry false +\use_package amsmath 1 +\use_package amssymb 1 +\use_package cancel 1 +\use_package esint 1 +\use_package mathdots 1 +\use_package mathtools 1 +\use_package mhchem 1 +\use_package stackrel 1 +\use_package stmaryrd 1 +\use_package undertilde 1 +\cite_engine basic +\cite_engine_type default +\biblio_style plain +\use_bibtopic false +\use_indices false +\paperorientation portrait +\suppress_date false +\justification true +\use_refstyle 1 +\use_minted 0 +\branch na +\selected 0 +\filename_suffix 0 +\color #faf0e6 +\end_branch +\branch bisect +\selected 0 +\filename_suffix 0 +\color #faf0e6 +\end_branch +\index Index +\shortcut idx +\color #008000 +\end_index +\secnumdepth 3 +\tocdepth 3 +\paragraph_separation indent +\paragraph_indentation default +\is_math_indent 0 +\math_numbering_side default +\quotes_style english +\dynamic_quotes 0 +\papercolumns 1 +\papersides 1 +\paperpagestyle default +\tablestyle default +\tracking_changes false +\output_changes false +\html_math_output 0 +\html_css_as_file 0 +\html_be_strict false +\end_header + +\begin_body + +\begin_layout Standard +\begin_inset Note Note +status open + +\begin_layout Plain Layout +This ERT fails with +\begin_inset Quotes eld +\end_inset + +ascii +\begin_inset Quotes erd +\end_inset + + but works with +\begin_inset Quotes eld +\end_inset + +utf8 +\begin_inset Quotes erd +\end_inset + +: +\begin_inset ERT +status open + +\begin_layout Plain Layout + +LyXen ist schön. +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/001-4-latin.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/005-7-ipa-modifiers-combining.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/008-greek-and-coptic.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/009-cyrillic.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/009-cyrillic_ru.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Note Note +status open + +\begin_layout Plain Layout +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/012-hebrew_he.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Plain Layout +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/012-hebrew_he_HE8.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Plain Layout +Hebrew does not work with XeTeX and TeX-fonts: +\end_layout + +\begin_layout Plain Layout +Error 256 (driver return code) generating output; file 012-hebrew_he_HE8.pdf + may not be valid. + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Note Note +status open + +\begin_layout Plain Layout +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/031-thai_th.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Plain Layout +Thai sets catcodes for characters in Latin-Supplement block leading to wrong + output there. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/065-67-phonetic-extensions.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/068-latin-extended-additional.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/069-greek-extended.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/070-72-general-punctuation-sub-super-currency.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/074-76-letterlike-numberforms-arrows.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/077-mathops.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/078-79-misc-technical-control-pics.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/081-enclosed-alphanumerics.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/082-84-box-drawing-blocks-geometric.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/084-misc-symbols.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/085-dingbats.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/087-90-misc-math-A-arrows-A-B.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/091-92-misc-math-B-supp-math-ops.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/125_152-modifiers-presentation.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/246-mathematical-alphanumeric.lyx" +literal "false" + +\end_inset + + +\end_layout + +\end_body +\end_document diff --git a/autotests/export/latex/inputenc-xetex-utf8-expl3-bug.lyx b/autotests/export/latex/inputenc-xetex-utf8-expl3-bug.lyx new file mode 100644 index 0000000000..65a9395fe3 --- /dev/null +++ b/autotests/export/latex/inputenc-xetex-utf8-expl3-bug.lyx @@ -0,0 +1,216 @@ +#LyX 2.4 created this file. For more info see https://www.lyx.org/ +\lyxformat 574 +\begin_document +\begin_header +\save_transient_properties true +\origin unavailable +\textclass article +\begin_preamble + +\end_preamble +\use_default_options true +\maintain_unincluded_children false +\language english +\language_package default +\inputencoding utf8 +\fontencoding auto +\font_roman "lmodern" "FreeSerif" +\font_sans "default" "FreeSans" +\font_typewriter "default" "FreeMono" +\font_math "auto" "auto" +\font_default_family default +\use_non_tex_fonts false +\font_sc false +\font_osf false +\font_sf_scale 100 100 +\font_tt_scale 100 100 +\use_microtype false +\use_dash_ligatures false +\graphics default +\default_output_format pdf4 +\output_sync 0 +\bibtex_command default +\index_command default +\float_placement class +\float_alignment class +\paperfontsize default +\spacing single +\use_hyperref false +\papersize default +\use_geometry false +\use_package amsmath 1 +\use_package amssymb 1 +\use_package cancel 1 +\use_package esint 1 +\use_package mathdots 1 +\use_package mathtools 1 +\use_package mhchem 1 +\use_package stackrel 1 +\use_package stmaryrd 1 +\use_package undertilde 1 +\cite_engine basic +\cite_engine_type default +\biblio_style plain +\use_bibtopic false +\use_indices false +\paperorientation portrait +\suppress_date false +\justification true +\use_refstyle 1 +\use_minted 0 +\branch na +\selected 0 +\filename_suffix 0 +\color #faf0e6 +\end_branch +\branch bisect +\selected 0 +\filename_suffix 0 +\color #faf0e6 +\end_branch +\index Index +\shortcut idx +\color #008000 +\end_index +\secnumdepth 3 +\tocdepth 3 +\paragraph_separation indent +\paragraph_indentation default +\is_math_indent 0 +\math_numbering_side default +\quotes_style english +\dynamic_quotes 0 +\papercolumns 1 +\papersides 1 +\paperpagestyle default +\tablestyle default +\tracking_changes false +\output_changes false +\html_math_output 0 +\html_css_as_file 0 +\html_be_strict false +\end_header + +\begin_body + +\begin_layout Standard +XeTeX works with 8-bit fonts for +\begin_inset Quotes eld +\end_inset + +utf8 +\begin_inset Quotes erd +\end_inset + + and +\begin_inset Quotes eld +\end_inset + +ascii +\begin_inset Quotes erd +\end_inset + + input encodings. + There are, however, a number of incompatibilities, because the combination + XeTeX+TeX-fonts is rarely used and some packages wrongly test for XeTeX + instead of fontenc. +\end_layout + +\begin_layout Standard +This ERT fails with +\begin_inset Quotes eld +\end_inset + +ascii +\begin_inset Quotes erd +\end_inset + + but works with +\begin_inset Quotes eld +\end_inset + +utf8 +\begin_inset Quotes erd +\end_inset + +: +\begin_inset ERT +status open + +\begin_layout Plain Layout + +LyXen ist schön. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Note Note +status open + +\begin_layout Plain Layout +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/012-hebrew_he.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Plain Layout +Hebrew does not work with XeTeX and TeX-fonts: +\end_layout + +\begin_layout Plain Layout +Error 256 (driver return code) generating output; file 012-hebrew_he_HE8.pdf + may not be valid. + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Compilation errors under TeXLive-19 with XeTeX, TeX-fonts, inputenc utf8, + and expl3.sty (TL 17 works). +\end_layout + +\begin_layout Standard +required by xfrac.sty: +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/074-76-letterlike-numberforms-arrows.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +required by menukeys.sty: +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/078-79-misc-technical-control-pics.lyx" +literal "false" + +\end_inset + + +\end_layout + +\end_body +\end_document diff --git a/autotests/export/latex/inputenc-xetex-utf8.lyx b/autotests/export/latex/inputenc-xetex-utf8.lyx new file mode 100644 index 0000000000..b48ee657bd --- /dev/null +++ b/autotests/export/latex/inputenc-xetex-utf8.lyx @@ -0,0 +1,487 @@ +#LyX 2.4 created this file. For more info see https://www.lyx.org/ +\lyxformat 573 +\begin_document +\begin_header +\save_transient_properties true +\origin unavailable +\textclass article +\begin_preamble + +\end_preamble +\use_default_options true +\maintain_unincluded_children false +\language english +\language_package default +\inputencoding utf8 +\fontencoding HE8,T1 +\font_roman "lmodern" "FreeSerif" +\font_sans "default" "FreeSans" +\font_typewriter "default" "FreeMono" +\font_math "auto" "auto" +\font_default_family default +\use_non_tex_fonts false +\font_sc false +\font_osf false +\font_sf_scale 100 100 +\font_tt_scale 100 100 +\use_microtype false +\use_dash_ligatures false +\graphics default +\default_output_format pdf4 +\output_sync 0 +\bibtex_command default +\index_command default +\float_placement class +\float_alignment class +\paperfontsize default +\spacing single +\use_hyperref false +\papersize default +\use_geometry false +\use_package amsmath 1 +\use_package amssymb 1 +\use_package cancel 1 +\use_package esint 1 +\use_package mathdots 1 +\use_package mathtools 1 +\use_package mhchem 1 +\use_package stackrel 1 +\use_package stmaryrd 1 +\use_package undertilde 1 +\cite_engine basic +\cite_engine_type default +\biblio_style plain +\use_bibtopic false +\use_indices false +\paperorientation portrait +\suppress_date false +\justification true +\use_refstyle 1 +\use_minted 0 +\branch na +\selected 0 +\filename_suffix 0 +\color #faf0e6 +\end_branch +\branch bisect +\selected 0 +\filename_suffix 0 +\color #faf0e6 +\end_branch +\index Index +\shortcut idx +\color #008000 +\end_index +\secnumdepth 3 +\tocdepth 3 +\paragraph_separation indent +\paragraph_indentation default +\is_math_indent 0 +\math_numbering_side default +\quotes_style english +\dynamic_quotes 0 +\papercolumns 1 +\papersides 1 +\paperpagestyle default +\tablestyle default +\tracking_changes false +\output_changes false +\html_math_output 0 +\html_css_as_file 0 +\html_be_strict false +\end_header + +\begin_body + +\begin_layout Standard +XeTeX works with 8-bit fonts for +\begin_inset Quotes eld +\end_inset + +utf8 +\begin_inset Quotes erd +\end_inset + + and +\begin_inset Quotes eld +\end_inset + +ascii +\begin_inset Quotes erd +\end_inset + + input encodings. + There are, however, a number of incompatibilities, because the combination + XeTeX+TeX-fonts is rarely used and some packages wrongly test for XeTeX + instead of fontenc. +\end_layout + +\begin_layout Standard +This ERT fails with +\begin_inset Quotes eld +\end_inset + +ascii +\begin_inset Quotes erd +\end_inset + + but works with +\begin_inset Quotes eld +\end_inset + +utf8 +\begin_inset Quotes erd +\end_inset + +: +\begin_inset ERT +status open + +\begin_layout Plain Layout + +LyXen ist schön. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/001-4-latin.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/005-7-ipa-modifiers-combining.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/008-greek-and-coptic.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/009-cyrillic.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/009-cyrillic_ru.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status open + +\begin_layout Plain Layout + + +\backslash +fontencoding{HE8} +\backslash +selectfont +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/012-hebrew_HE8.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status open + +\begin_layout Plain Layout + + +\backslash +fontencoding{T1} +\backslash +selectfont +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Note Note +status open + +\begin_layout Plain Layout +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/012-hebrew_he.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Plain Layout +Hebrew does not work with XeTeX and TeX-fonts: +\end_layout + +\begin_layout Plain Layout +Error 256 (driver return code) generating output; file 012-hebrew_he_HE8.pdf + may not be valid. + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/031-thai_th.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/065-67-phonetic-extensions.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/068-latin-extended-additional.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/069-greek-extended.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/070-72-general-punctuation-sub-super-currency.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Note Note +status open + +\begin_layout Plain Layout +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/074-76-letterlike-numberforms-arrows.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Plain Layout +Compilation errors with XeTeX, TeX-fonts, inputenc utf8, and expl3.sty (required + by xfrac.sty). +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/077-mathops.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Note Note +status open + +\begin_layout Plain Layout +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/078-79-misc-technical-control-pics.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Plain Layout +Compilation errors with XeTeX, TeX-fonts, inputenc utf8, and expl3.sty (required + by menukeys.sty). +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/081-enclosed-alphanumerics.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/082-84-box-drawing-blocks-geometric.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/084-misc-symbols.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/085-dingbats.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/087-90-misc-math-A-arrows-A-B.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/091-92-misc-math-B-supp-math-ops.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/125_152-modifiers-presentation.lyx" +literal "false" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "unicodesymbols/246-mathematical-alphanumeric.lyx" +literal "false" + +\end_inset + + +\end_layout + +\end_body +\end_document diff --git a/autotests/export/latex/language-in-tables.lyx b/autotests/export/latex/language-in-tables.lyx deleted file mode 100644 index f72dde0f81..0000000000 --- a/autotests/export/latex/language-in-tables.lyx +++ /dev/null @@ -1,383 +0,0 @@ -#LyX 2.4 created this file. For more info see https://www.lyx.org/ -\lyxformat 573 -\begin_document -\begin_header -\save_transient_properties true -\origin unavailable -\textclass article -\use_default_options true -\maintain_unincluded_children false -\language greek -\language_package default -\inputencoding auto-legacy -\fontencoding auto -\font_roman "default" "default" -\font_sans "default" "default" -\font_typewriter "default" "default" -\font_math "auto" "auto" -\font_default_family default -\use_non_tex_fonts false -\font_sc false -\font_osf false -\font_sf_scale 100 100 -\font_tt_scale 100 100 -\use_microtype false -\use_dash_ligatures true -\graphics 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 -\papersize default -\use_geometry false -\use_package amsmath 1 -\use_package amssymb 1 -\use_package cancel 1 -\use_package esint 1 -\use_package mathdots 1 -\use_package mathtools 1 -\use_package mhchem 1 -\use_package stackrel 1 -\use_package stmaryrd 1 -\use_package undertilde 1 -\cite_engine basic -\cite_engine_type default -\biblio_style plain -\use_bibtopic false -\use_indices false -\paperorientation portrait -\suppress_date false -\justification true -\use_refstyle 1 -\use_minted 0 -\index Index -\shortcut idx -\color #008000 -\end_index -\secnumdepth 3 -\tocdepth 3 -\paragraph_separation indent -\paragraph_indentation default -\is_math_indent 0 -\math_numbering_side default -\quotes_style french -\dynamic_quotes 0 -\papercolumns 1 -\papersides 1 -\paperpagestyle default -\tablestyle default -\tracking_changes false -\output_changes false -\html_math_output 0 -\html_css_as_file 0 -\html_be_strict false -\end_header - -\begin_body - -\begin_layout Subsection* - -\lang english -languages in tables and insets -\end_layout - -\begin_layout Standard - -\lang english -This Greek document with English text parts demonstrates some of the problems - with language inside tables and insets. -\end_layout - -\begin_layout Standard - -\lang english -Text not marked up as English will be written in Greek letters -\begin_inset Foot -status collapsed - -\begin_layout Plain Layout - -\lang english -unless non-TeX fonts are used -\end_layout - -\end_inset - - using the -\begin_inset Quotes fld -\end_inset - -LGR transliteration -\begin_inset Quotes frd -\end_inset - - (due to Greek letters at the place of Latin ones in the used TeX font), - eg. - -\lang greek - -\begin_inset Quotes fld -\end_inset - -logos -\lang english - -\begin_inset Quotes frd -\end_inset - -. -\end_layout - -\begin_layout Standard - -\lang english -However, this also happens for text in a table inside English parts -\begin_inset Tabular - - - - - - -\begin_inset Text - -\begin_layout Plain Layout -left -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -right column -\end_layout - -\end_inset - - - - -\end_inset - - -\end_layout - -\begin_layout Standard - -\lang english -unless the Language of the content is explicitely set to English -\begin_inset Tabular - - - - - - -\begin_inset Text - -\begin_layout Plain Layout - -\lang english -left -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout - -\lang english -right column -\end_layout - -\end_inset - - - - -\end_inset - -. -\end_layout - -\begin_layout Standard - -\lang english -The same problem is seen with footnote -\begin_inset Foot -status open - -\begin_layout Plain Layout -English text not marked up. -\end_layout - -\end_inset - - insets -\begin_inset Foot -status open - -\begin_layout Plain Layout - -\lang english -marked up English text -\end_layout - -\end_inset - - and marginal notes -\begin_inset Marginal -status open - -\begin_layout Plain Layout -English text not marked up -\end_layout - -\end_inset - - as well as -\begin_inset Note Greyedout -status open - -\begin_layout Plain Layout -greyed out text -\end_layout - -\end_inset - -. -\end_layout - -\begin_layout Standard - -\lang english -Date inset and filename inset use current language. - English: -\begin_inset Info -type "date" -arg "loclong" -\end_inset - -, Greek: -\lang greek - -\begin_inset Info -type "date" -arg "loclong" -\end_inset - - -\lang english -. - The source file is -\begin_inset Quotes fld -\end_inset - - -\begin_inset Info -type "buffer" -arg "name" -\end_inset - - -\begin_inset Quotes frd -\end_inset - - -\lang greek - -\begin_inset Foot -status collapsed - -\begin_layout Plain Layout - -\lang english -In Greek text it would be output as -\lang greek - -\begin_inset Quotes fld -\end_inset - - -\begin_inset Info -type "buffer" -arg "name" -\end_inset - - -\begin_inset Quotes frd -\end_inset - - -\lang english -, like any Latin words and abbreviations it must be set to a different language - to appear right. -\end_layout - -\end_inset - - -\lang english - . - So does a hyperlink to the -\begin_inset CommandInset href -LatexCommand href -name "LyX home" -target "http://www.lyx.org" -literal "false" - -\end_inset - - site. -\end_layout - -\begin_layout Standard - -\lang english -\begin_inset Float table -placement b -alignment document -wide false -sideways false -status open - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -\lang english -\begin_inset Caption Standard - -\begin_layout Plain Layout - -\lang english -Table float with Greek caption prefix in the GUI but English in the output. -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\end_inset - - -\end_layout - -\end_body -\end_document diff --git a/autotests/export/latex/languagenesting1.lyx b/autotests/export/latex/languagenesting1.lyx deleted file mode 100644 index 5b23029cd3..0000000000 --- a/autotests/export/latex/languagenesting1.lyx +++ /dev/null @@ -1,202 +0,0 @@ -#LyX 2.3 created this file. For more info see http://www.lyx.org/ -\lyxformat 512 -\begin_document -\begin_header -\save_transient_properties true -\origin unavailable -\textclass scrbook -\options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading -\use_default_options false -\begin_modules -logicalmkup -theorems-ams -theorems-ams-extended -multicol -shapepar -\end_modules -\maintain_unincluded_children false -\begin_local_layout -Format 7 -InsetLayout CharStyle:MenuItem -LyxType charstyle -LabelString menu -LatexType command -LatexName menuitem -Font -Family Sans -EndFont -Preamble -\newcommand*{\menuitem}[1]{{\sffamily #1}} -EndPreamble -End -\end_local_layout -\language ngerman -\language_package default -\inputencoding auto -\fontencoding global -\font_roman "default" "FreeSans" -\font_sans "default" "FreeSans" -\font_typewriter "default" "FreeSans" -\font_math "auto" "auto" -\font_default_family default -\use_non_tex_fonts true -\font_sc false -\font_osf false -\font_sf_scale 100 100 -\font_tt_scale 100 100 -\use_microtype false -\graphics default -\default_output_format pdf5 -\output_sync 0 -\bibtex_command default -\index_command default -\paperfontsize 12 -\spacing single -\use_hyperref true -\pdf_bookmarks true -\pdf_bookmarksnumbered true -\pdf_bookmarksopen false -\pdf_bookmarksopenlevel 1 -\pdf_breaklinks false -\pdf_pdfborder true -\pdf_colorlinks true -\pdf_backref false -\pdf_pdfusetitle false -\papersize a4paper -\use_geometry false -\use_package amsmath 1 -\use_package amssymb 1 -\use_package cancel 0 -\use_package esint 0 -\use_package mathdots 1 -\use_package mathtools 0 -\use_package mhchem 1 -\use_package stackrel 0 -\use_package stmaryrd 0 -\use_package undertilde 1 -\cite_engine basic -\cite_engine_type default -\biblio_style plain -\use_bibtopic false -\use_indices false -\paperorientation portrait -\suppress_date false -\justification true -\use_refstyle 0 -\notefontcolor #0000ff -\index Stichwortverzeichnis -\shortcut idx -\color #008000 -\end_index -\secnumdepth 3 -\tocdepth 3 -\paragraph_separation indent -\paragraph_indentation default -\quotes_language german -\papercolumns 1 -\papersides 2 -\paperpagestyle headings -\tracking_changes false -\output_changes false -\html_math_output 0 -\html_css_as_file 0 -\html_be_strict true -\end_header - -\begin_body - -\begin_layout Title -Erweiterte \SpecialChar LyX - Features -\end_layout - -\begin_layout Subtitle -Version 2.1.x -\end_layout - -\begin_layout Standard - -\lang english -The important parts are: -\end_layout - -\begin_layout Description - -\family sans -\lang english -NoWeb -\family default --> -\family sans -Program -\family default - with Flags set to -\end_layout - -\begin_layout Standard -geschrieben. -\end_layout - -\begin_layout Standard -\begin_inset Flex Multiple Columns -status open - -\begin_layout Plain Layout - -\size footnotesize -\lang english -\begin_inset Argument 1 -status open - -\begin_layout Plain Layout - -\lang english -3 -\end_layout - -\end_inset - -It can be imagined that my close intimacy. -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -Spalten innerhalb einer Spalte sind ebenfalls möglich: -\end_layout - -\begin_layout Standard -\begin_inset Flex Multiple Columns -status open - -\begin_layout Plain Layout - -\size footnotesize -\lang english -The Honourable Ronald Adair. -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -Fortgeschrittene Beispiele -\end_layout - -\begin_layout Nut - -\lang french -Lorem ipsum dolor sit. -\end_layout - -\begin_layout Standard -dann nur -\end_layout - -\end_body -\end_document diff --git a/autotests/export/latex/languagenesting2.lyx b/autotests/export/latex/languagenesting2.lyx deleted file mode 100644 index 956e5a7fad..0000000000 --- a/autotests/export/latex/languagenesting2.lyx +++ /dev/null @@ -1,1625 +0,0 @@ -#LyX 2.3 created this file. For more info see http://www.lyx.org/ -\lyxformat 512 -\begin_document -\begin_header -\save_transient_properties true -\origin unavailable -\textclass scrbook -\begin_preamble -% extra space for tables -\newcommand{\extratablespace}[1]{\noalign{\vskip#1}} -\end_preamble -\options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading -\use_default_options false -\begin_modules -logicalmkup -theorems-ams -theorems-ams-extended -multicol -shapepar -\end_modules -\maintain_unincluded_children false -\begin_local_layout -Format 49 -InsetLayout Flex:MenuItem -LyxType charstyle -LabelString menu -LatexType command -LatexName menuitem -Font -Family Sans -EndFont -Preamble -\newcommand*{\menuitem}[1]{{\sffamily #1}} -EndPreamble -ResetsFont true -End -\end_local_layout -\language ngerman -\language_package default -\inputencoding auto -\fontencoding global -\font_roman "default" "DejaVu Serif" -\font_sans "default" "DejaVu Sans" -\font_typewriter "default" "DejaVu Sans Mono" -\font_math "auto" "default" -\font_default_family default -\use_non_tex_fonts false -\font_sc false -\font_osf false -\font_sf_scale 100 100 -\font_tt_scale 100 100 -\use_microtype false -\graphics default -\default_output_format pdf5 -\output_sync 0 -\bibtex_command default -\index_command default -\paperfontsize 12 -\spacing single -\use_hyperref true -\pdf_bookmarks true -\pdf_bookmarksnumbered true -\pdf_bookmarksopen false -\pdf_bookmarksopenlevel 1 -\pdf_breaklinks false -\pdf_pdfborder true -\pdf_colorlinks true -\pdf_backref false -\pdf_pdfusetitle false -\papersize a4paper -\use_geometry false -\use_package amsmath 1 -\use_package amssymb 1 -\use_package cancel 0 -\use_package esint 0 -\use_package mathdots 1 -\use_package mathtools 0 -\use_package mhchem 1 -\use_package stackrel 0 -\use_package stmaryrd 0 -\use_package undertilde 1 -\cite_engine basic -\cite_engine_type default -\biblio_style plain -\use_bibtopic false -\use_indices false -\paperorientation portrait -\suppress_date false -\justification true -\use_refstyle 0 -\notefontcolor #0000ff -\index Stichwortverzeichnis -\shortcut idx -\color #008000 -\end_index -\secnumdepth 3 -\tocdepth 3 -\paragraph_separation indent -\paragraph_indentation default -\quotes_language german -\papercolumns 1 -\papersides 2 -\paperpagestyle headings -\tracking_changes false -\output_changes false -\html_math_output 0 -\html_css_as_file 0 -\html_be_strict true -\end_header - -\begin_body - -\begin_layout Title -Erweiterte \SpecialChar LyX - Features -\end_layout - -\begin_layout Subtitle -Version 2.2.x -\end_layout - -\begin_layout Author -vom \SpecialChar LyX --Team -\end_layout - -\begin_layout Standard -\begin_inset CommandInset toc -LatexCommand tableofcontents - -\end_inset - - -\end_layout - -\begin_layout Chapter -\SpecialChar LyX - und das World Wide Web -\end_layout - -\begin_layout Standard - -\lang english -\SpecialChar LyX - hndly formats. -\end_layout - -\begin_layout Section -Mathe-Ausgabe in XHTML -\end_layout - -\begin_layout Standard - -\lang english -\SpecialChar LyX - offers four choices for how math is rendered. - These have various advantages and disadvantages: -\end_layout - -\begin_layout Itemize - -\lang english -MathML -\begin_inset Newline newline -\end_inset - -MathML ifically fo. - -\end_layout - -\begin_layout Itemize - -\lang english -HTML -\begin_inset Newline newline -\end_inset - -As mentioned above, -\begin_inset Flex Code -status collapsed - -\begin_layout Plain Layout - -\lang english -elyxer -\end_layout - -\end_inset - - -\lang ngerman -outputs . - -\end_layout - -\begin_layout Standard - -\lang english -Oted under -\begin_inset Flex MenuItem -status collapsed - -\begin_layout Plain Layout - -\lang english -Document\SpecialChar menuseparator - -\lang french -Settings\SpecialChar menuseparator - -\lang ngerman -Output -\end_layout - -\end_inset - -. - By dmerefore. -\end_layout - -\begin_layout Chapter -Der \SpecialChar LyX --S -\lang french -erv -\lang ngerman -er -\end_layout - -\begin_layout Section -Einführung -\end_layout - -\begin_layout Standard - -\lang english -The `\SpecialChar LyX - server' almmands, -\begin_inset Quotes eld -\end_inset - -push -\begin_inset Quotes erd -\end_inset - - citations to \SpecialChar LyX -. -\end_layout - -\begin_layout Section - -\lang english -Normal communication -\end_layout - -\begin_layout Subsubsection* - -\lang english -External Packages (PDFSync and scrltx) -\end_layout - -\begin_layout Standard - -\lang english -The -\lang french -packages -\lang english - -\emph on -pdfsync -\emph default - and -\emph on -scrltx -\emph default - provide reverse s. -\end_layout - -\begin_layout LyX-Code - -\lang english -#!/bin/sh -\begin_inset Newline newline -\end_inset - -LYXPIPE="/path/to/lyxpipe" -\begin_inset Newline newline -\end_inset - -read TMP < "${LYXPIPE}".out || exit -\end_layout - -\begin_layout Standard - -\lang english -Forward search is, as the name implies,: -\end_layout - -\begin_layout Itemize -\noindent - -\lang english -\begin_inset Flex Code -status collapsed - -\begin_layout Plain Layout - -\lang english -$$n -\end_layout - -\end_inset - -: row number -\end_layout - -\begin_layout Itemize -\noindent - -\lang english -\begin_inset Flex Code -status collapsed - -\begin_layout Plain Layout - -\lang english -$$t -\end_layout - -\end_inset - -: name of the (temporary) exported .tex file (without path) -\end_layout - -\begin_layout Standard - -\lang english -Noctionality. - -\lang ngerman - a -\end_layout - -\begin_layout Chapter - -\lang french -Besondere -\lang ngerman - Dokumentklassen -\begin_inset Index idx -status collapsed - -\begin_layout Plain Layout -Dokumentklasse!besondere -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Section -Versionskontrolle -\begin_inset Index idx -status collapsed - -\begin_layout Plain Layout -Versionskontrolle -\end_layout - -\end_inset - - in \SpecialChar LyX - -\end_layout - -\begin_layout Standard -von -\noun on -Lars Gullik Bjønnes -\noun default -und -\noun on -Pavel Sanda -\end_layout - -\begin_layout Subsection -Einleitung -\end_layout - -\begin_layout Standard - -\lang english -Also ste Book -\begin_inset Foot -status collapsed - -\begin_layout Plain Layout - -\lang english -\begin_inset CommandInset href -LatexCommand href -target "http://svnbook.red-bean.com/" - -\end_inset - - -\end_layout - -\end_inset - -. - In -\lang french -theuld -\lang english - read -\begin_inset Quotes eld -\end_inset - -rcsintro -\begin_inset Quotes erd -\end_inset - - (a man file, read it with -\family typewriter -man rcsintro -\family default -). - This of RCS. -\family typewriter -,v -\family default -). -\end_layout - -\begin_layout Standard - -\lang english -Be \SpecialChar LyX -, you should -\family sans -View\SpecialChar menuseparator -Toolbars\SpecialChar menuseparator -Version -\begin_inset space ~ -\end_inset - -Control -\family default -. -\end_layout - -\begin_layout Subsection -RCS-Befehle in \SpecialChar LyX - -\end_layout - -\begin_layout Standard -Die folgetützten RCS-Befehle. -\family sans -Datei\SpecialChar menuseparator -Versionskontrolle -\family default -. -\end_layout - -\begin_layout Standard -Wennerungen -\end_layout - -\begin_layout Standard -RCS-Befehl: -\family typewriter -ci -q -u -m"" -\end_layout - -\begin_layout Subsubsection -Entwicklung anzeigen -\family sans -\series medium - -\begin_inset Index idx -status collapsed - -\begin_layout Plain Layout -Versionskontrolle!anzeigen -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -Da angezeigt. -\family typewriter -rlog -\family default - in einemtionen liefert -\family typewriter -man rlog -\family default -. -\end_layout - -\begin_layout Subsubsection - -\lang english -Revision info -\end_layout - -\begin_layout Standard - -\lang english -\SpecialChar LyX - sast commit. -\family typewriter -rlog -r -\family default -. - For other details see -\begin_inset CommandInset ref -LatexCommand ref -reference "subsec:VCS-Revision-Information" - -\end_inset - - for details. -\end_layout - -\begin_layout Subsection - -\lang english -CVS commands in \SpecialChar LyX - -\end_layout - -\begin_layout Standard - -\lang english -A subs in the -\family sans -File\SpecialChar menuseparator -Version -\begin_inset space ~ -\end_inset - -Control -\family default - submenu. - The version control syste plessible. -\end_layout - -\begin_layout Subsubsection - -\family sans -\lang english -Check Out Changes -\end_layout - -\begin_layout Subsubsection - -\family sans -\lang english -Show History -\end_layout - -\begin_layout Standard - -\lang english -Thment. - The output of -\family typewriter -cvs log "" -\family default - is shown in a browser. -\end_layout - -\begin_layout Subsection - -\lang english -SVN commands in \SpecialChar LyX - -\end_layout - -\begin_layout Subsubsection - -\lang english -\begin_inset CommandInset label -LatexCommand label -name "subsec:SVN-Repo-Update" - -\end_inset - -Update of the local directory checkout from repository -\end_layout - -\begin_layout Standard - -\lang english -All the commands above have one shortcomming - they deal with the current -\begin_inset Flex Code -status collapsed - -\begin_layout Plain Layout - -\lang english -.tex -\end_layout - -\end_inset - - files and so on administration becomes more complicated. -\begin_inset Foot -status collapsed - -\begin_layout Plain Layout - -\lang english - in the same directory or subdirectories of the document. - -\end_layout - -\end_inset - -. - -\end_layout - -\begin_layout Standard - -\lang english -re two different modes of file use in \SpecialChar LyX -: -\end_layout - -\begin_layout Itemize - -\lang english -Unls to check-out. - -\emph on -Check-out -\emph default - consists of updck. -\end_layout - -\begin_layout Itemize - -\lang english -Loce file. - -\emph on -Check-in -\emph default - consists of commiting changes and releasing write-lock. -\begin_inset Foot -status collapsed - -\begin_layout Plain Layout - -\lang english -Don't be puzzled by the fact that you will be asked for commit message anyway. -\end_layout - -\end_inset - - anased. -\end_layout - -\begin_layout Standard - -\lang english -SVN commands: -\end_layout - -\begin_layout Labeling -\labelwidthstring 00.00.0000 - -\lang english -Check-in: -\family typewriter - svn commit -q -m"" "" -\begin_inset Newline newline -\end_inset - -svn unlock "" -\end_layout - -\begin_layout Labeling -\labelwidthstring 00.00.0000 - -\lang english -Check-out: -\family typewriter -svn update "" -\begin_inset Newline newline -\end_inset - -svn lock "" -\end_layout - -\begin_layout Subsubsection - -\lang english -\begin_inset CommandInset label -LatexCommand label -name "subsec:VCS-Revision-Information" - -\end_inset - -Revision Information in Documents -\end_layout - -\begin_layout Standard - -\lang english -There are more possibilities how to activate revision information in our - document. -\end_layout - -\begin_layout Itemize - -\lang english -\SpecialChar LyX - supports directly: -\begin_inset Separator latexpar -\end_inset - - -\end_layout - -\begin_deeper -\begin_layout Itemize - -\lang english -tree revision information ( -\begin_inset Flex Code -status collapsed - -\begin_layout Plain Layout - -\lang english -vcs-tree-revision -\end_layout - -\end_inset - -). - The result is the output of the -\begin_inset Flex Code -status collapsed - -\begin_layout Plain Layout - -\lang english -svnversion -\end_layout - -\end_inset - - command, the following table gives you an idea, how to read the results. -\end_layout - -\begin_layout Standard -\align center - -\lang english -\begin_inset Tabular - - - - - - -\begin_inset Text - -\begin_layout Plain Layout - -\lang english -Output -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout - -\lang english -Meaning -\end_layout - -\end_inset - - - - -\begin_inset Text - -\begin_layout Plain Layout - -\lang english -4123:4168 -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout - -\lang french -mixeg copy -\end_layout - -\end_inset - - - - -\begin_inset Text - -\begin_layout Plain Layout - -\lang english -4123:4168MS -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout - -\lang english -mix working copy -\end_layout - -\end_inset - - - - -\end_inset - - -\end_layout - -\begin_layout Itemize - -\lang english -fing the output of -\begin_inset Flex Code -status collapsed - -\begin_layout Plain Layout - -\lang english -svn -\begin_inset space ~ -\end_inset - -info -\begin_inset space ~ -\end_inset - -–xml -\begin_inset space ~ -\end_inset - -file.lyx -\end_layout - -\end_inset - -. - Supported flags are: -\begin_inset Separator latexpar -\end_inset - - -\end_layout - -\begin_deeper -\begin_layout Itemize - -\lang english -version number of the last commit ( -\begin_inset Flex Code -status collapsed - -\begin_layout Plain Layout - -\lang english -vcs-revision -\end_layout - -\end_inset - -) -\end_layout - -\begin_layout Itemize - -\lang english -time of the last -\lang french -commit ( -\begin_inset Flex Code -status collapsed - -\begin_layout Plain Layout - -\lang french -vcs-time -\end_layout - -\end_inset - -) -\end_layout - -\end_deeper -\begin_layout Standard - -\lang english -You can obtain this info via InsetInfo (e.g. - -\begin_inset Flex Code -status collapsed - -\begin_layout Plain Layout - -\lang english -info-insert buffer vcs-date -\end_layout - -\end_inset - -). - Thoagment (i.e. - the -\begin_inset Flex Code -status collapsed - -\begin_layout Plain Layout - -\lang english -.svn -\end_layout - -\end_inset - - dirment). -\end_layout - -\end_deeper -\begin_layout Itemize - -\lang english -Another—a hacking one—possibility is to use svn keywords -\begin_inset Foot -status collapsed - -\begin_layout Plain Layout - -\lang english -http://svnbook.red-bean.com/en/1.4/svn.advanced.props.special.keywords.html -\end_layout - -\end_inset - -. - In short – you set file keywords property (e.g. - -\family sans -svn propset svn:keywords 'Rev' file.lyx -\family default -) and then paste keyword \SpecialChar TeX - code -\begin_inset Foot -status collapsed - -\begin_layout Plain Layout - -\lang english -This is an easy way how to ensure that \SpecialChar LyX - won't break the line in the middle - of keyword tag. -\end_layout - -\end_inset - - tag in yent (e.g. - -\begin_inset ERT -status open - -\begin_layout Plain Layout - -$Rev$ -\end_layout - -\end_inset - -). - Tber (e.g. - -\begin_inset ERT -status open - -\begin_layout Plain Layout - -$Rev: 59 $ -\end_layout - -\end_inset - -) aftore problems with this approach. -\begin_inset Formula $Rev$ -\end_inset - - become -\begin_inset Formula $Rev:59$ -\end_inset - - in yords like Id, Date, Author, etc. -\end_layout - -\begin_layout Subsection -\SpecialChar LyX - und Literarische Programmierung -\begin_inset Foot -status collapsed - -\begin_layout Plain Layout - -\noun on -HHa -\noun default -: Wahrscheinlich ist das Folgende nicht mehr aktuell, aber ich kenne NoWeb - nicht. -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -Um mit Nendig. -\end_layout - -\begin_layout Subsubsection -Erstellen von Dokumentation und Quellcode -\end_layout - -\begin_layout Paragraph - -\lang english -Using the noweb module -\end_layout - -\begin_layout Standard - -\lang english -I a new -\begin_inset Quotes eld -\end_inset - -noweb -\begin_inset Quotes erd -\end_inset - - module. - If Noweb is correctly installed, when your document. -\end_layout - -\begin_layout Paragraph -Die Eingabe von Programmcode -\end_layout - -\begin_layout Standard -In \SpecialChar LyX - verwenden Sie zur Eingabe von Programmcode den Umgebungstyp -\begin_inset Flex Noun -status collapsed - -\begin_layout Plain Layout -Chunk -\end_layout - -\end_inset - - -\family sans -. - -\family default - NoWeb schließt Chunks so ein: -\end_layout - -\begin_layout LyX-Code -<>= -\end_layout - -\begin_layout LyX-Code - Noch mehr Code -\end_layout - -\begin_layout LyX-Code - @ -\end_layout - -\begin_layout Standard -Dies ist eine Implementierung von -\family sans -build-script -\family default -, die Sie in einem Verzeichnis in Ihrem Pfad einfügen können: -\end_layout - -\begin_layout Standard -\begin_inset VSpace defskip -\end_inset - - -\end_layout - -\begin_layout Standard - -\family sans -#!/bin/sh -\end_layout - -\begin_layout Standard - -\family sans -# -\end_layout - -\begin_layout Standard - -\family sans -notangle -Rbuild-script $1 | env NOWEB_SOURCE=$1 NOWEB_OUTPUT_DIR=$2 sh -\end_layout - -\begin_layout Standard -\begin_inset VSpace defskip -\end_inset - - -\end_layout - -\begin_layout Standard - -\lang english -The nethe -\begin_inset Quotes gld -\end_inset - -Flags -\begin_inset Quotes grd -\end_inset - - which is to be set to -\begin_inset Newline newline -\end_inset - - -\begin_inset Quotes gld -\end_inset - - -\family typewriter -parselog=$$s/scripts/listerrors -\family default - -\begin_inset Quotes grd -\end_inset - -. -\begin_inset Newline newline -\end_inset - -This the -\begin_inset Quotes gld -\end_inset - -build-script -\begin_inset Quotes grd -\end_inset - - process through the -\begin_inset Quotes gld -\end_inset - -listerrors -\begin_inset Quotes grd -\end_inset - - program. -\end_layout - -\begin_layout Standard - -\lang english -Thectory, so the -\family typewriter -Noweb->Program -\family default - conversion may produce several files, and so most of these would then be -\end_layout - -\begin_layout Paragraph -Build-Befehle im Dokument -\end_layout - -\begin_layout Standard -Dallgemeinen sollten die BefePython, C und Perl geschrieben. -\end_layout - -\begin_layout Subsubsection -\SpecialChar LyX --Konfiguration -\end_layout - -\begin_layout Standard - -\lang english -Anfigured by the -\family sans -Tools\SpecialChar menuseparator -Preferences -\family default - panel in the -\begin_inset Quotes eld -\end_inset - -File Handling -\begin_inset Quotes erd -\end_inset - - tab. - The important parts are: -\end_layout - -\begin_layout Description - -\lang english -the -\begin_inset space ~ -\end_inset - - -\begin_inset Quotes eld -\end_inset - -NoWeb -\begin_inset Quotes erd -\end_inset - - -\begin_inset space ~ -\end_inset - -format Set re thee set up. - The -\family sans -GUI Name -\family default - is set to -\family typewriter -NoWeb -\family default -, the file extension is set to -\family typewriter -.nw -\family default -. - This the first step of the conversion process. -\end_layout - -\begin_layout Description - -\lang english -\begin_inset Quotes eld -\end_inset - - -\family typewriter -parselog=$$s/scripts/listerrors -\family default - -\begin_inset Quotes erd -\end_inset - -. -\end_layout - -\begin_layout Subsubsection -Erweiterungen zur Fehlersuche -\end_layout - -\begin_layout Standard -Um diese nnen, müssen Sie allerdings den \SpecialChar LyX --Server -\lang english -You le it in -\family sans -Preferences -\family default - (tab -\family sans -aths -\family default -) by ehe -\family sans -\SpecialChar LyX -server pipe -\family default - a path like -\begin_inset Newline newline -\end_inset - - -\begin_inset Quotes eld -\end_inset - - -\family typewriter -/home//.lyx/lyxpipe -\family default - -\begin_inset Quotes erd -\end_inset - - -\end_layout - -\begin_layout Standard - -\lang english -Reentation in the -\emph on -Customization Manual -\emph default - for rmation. -\end_layout - -\begin_layout Chapter -Spezielle Features -\end_layout - -\begin_layout Subsection -Grundlagen -\end_layout - -\begin_layout Standard -Möchte man 2 -\begin_inset space ~ -\end_inset - -Spalten im Text haben, verwendet man das Menü -\family sans -Einfügen\SpecialChar menuseparator -Benutzer\SpecialChar softhyphen -definierte -\begin_inset space ~ -\end_inset - -Einfügungen\SpecialChar menuseparator -Mehrere -\begin_inset space ~ -\end_inset - -Spalten -\family default - aneginnen sollen. -\begin_inset space ~ -\end_inset - -Spalten gedruckt werden soll, schregung. -\end_layout - -\begin_layout Standard -Hier ist ein Beispiel: -\end_layout - -\begin_layout Standard -\begin_inset Flex Multiple Columns -status open - -\begin_layout Plain Layout -\noindent - -\series bold -\size small -\lang english -The Adventure of the Empty House -\series default - -\begin_inset Newline newline -\end_inset - -by -\noun on -Sir Arthur Conan Doyle -\end_layout - -\begin_layout Plain Layout - -\size small -\lang english -It wawn upon the third of last month. -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -Sie könnÜbersichtlichkeit zuträglich sein. -\end_layout - -\begin_layout Standard -\begin_inset Newpage newpage -\end_inset - - -\end_layout - -\begin_layout Standard -man den Cursor in die Mehrfachspalten-Einfügung und verwendet das Menü -\family sans -Einfügen\SpecialChar menuseparator -Vorwort -\family default -. - Man schreügung. -\begin_inset Newline newline -\end_inset - -Ein Beispiel mit einem Vorwort: -\end_layout - -\begin_layout Standard -\begin_inset VSpace bigskip -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset Flex Multiple Columns -status open - -\begin_layout Plain Layout -\begin_inset Argument 2 -status open - -\begin_layout Plain Layout -Und die Geschichte geht weiter und weiter und weiter und weiter\SpecialChar ldots - -\end_layout - -\end_inset - - -\size small -\lang english -On the evening of the crime, he returned from the club exactly at ten. - no weapon of any sort was to be found in the room. -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Subsubsection -Spaltenabstand -\end_layout - -\begin_layout Subsubsection -Vertikale Linien -\end_layout - -\begin_layout Standard -\begin_inset ERT -status open - -\begin_layout Plain Layout - - -\backslash -setlength{ -\backslash -columnsep}{1cm} -\end_layout - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -columnseprulecolor}{ -\backslash -color{cyan}} -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset Flex Multiple Columns -status open - -\begin_layout Plain Layout - -\size small -\lang english -\begin_inset Quotes eld -\end_inset - -You're surprised to see me, sir, -\begin_inset Quotes erd -\end_inset - - said he, in a strange, croaking voice. -\end_layout - -\begin_layout Plain Layout - -\size small -\lang english -I ac sir. - Here's -\noun on -British -\begin_inset space ~ -\end_inset - -Birds -\noun default -, and -\noun on -Catullus -\noun default -, and -\noun on -The Holy War -\noun default -–a bargain, every one of them. - With five volumes you could just fill that gap on that second shelf. - It looks untidy, does it not, sir? -\begin_inset Quotes erd -\end_inset - - -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -setlength{ -\backslash -columnseprule}{0pt} -\end_layout - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -columnseprulecolor}{ -\backslash -normalcolor} -\end_layout - -\end_inset - - -\begin_inset Note Note -status collapsed - -\begin_layout Plain Layout -auf Voreinstellung zurücksetzen -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset Newpage newpage -\end_inset - - -\end_layout - -\end_body -\end_document diff --git a/autotests/export/latex/languagenesting_enumerate_and_lyxcode.lyx b/autotests/export/latex/languagenesting_enumerate_and_lyxcode.lyx deleted file mode 100644 index 51b885da2b..0000000000 --- a/autotests/export/latex/languagenesting_enumerate_and_lyxcode.lyx +++ /dev/null @@ -1,770 +0,0 @@ -#LyX 2.3 created this file. For more info see http://www.lyx.org/ -\lyxformat 512 -\begin_document -\begin_header -\save_transient_properties true -\origin unavailable -\textclass scrbook -\begin_preamble -% Präambel nicht verändern!!! -% -% Die Präambel stellt sicher, dass das Benutzerhandbuch korrekt -% in die Formate pdf, ps und dvi exportiert werden kann. -% Wenn Probleme beim Exportieren auftreten, können Sie sich -% an das LyX-Dokumentationsteam wenden. -% EMail: lyx-docs@lists.lyx.org - -% Setzt den Link für Spruenge zu Gleitabbildungen -% auf den Anfang des Gelitobjekts und nicht aufs Ende -\usepackage[figure]{hypcap} - -% Die Seiten des Inhaltsverzeichnisses werden römisch numeriert, -% ein PDF-Lesezeichen für das Inhaltsverzeichnis wird hinzugefügt -\let\myTOC\tableofcontents -\renewcommand\tableofcontents{% - \frontmatter - \pdfbookmark[1]{\contentsname}{} - \myTOC - \mainmatter } - -\@ifpackageloaded{babel}{ - % Linkfläche für Querverweise vergrößern und automatisch benennen, - \AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}} - \addto\extrasngerman{% - \renewcommand*{\equationautorefname}[1]{}% - \renewcommand{\sectionautorefname}{Kap.\negthinspace}% - \renewcommand{\subsectionautorefname}{Kap.\negthinspace}% - \renewcommand{\subsubsectionautorefname}{Kap.\negthinspace}% - } -}{} -\end_preamble -\options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading -\use_default_options false -\begin_modules -logicalmkup -\end_modules -\maintain_unincluded_children false -\language ngerman -\language_package default -\inputencoding auto -\fontencoding global -\font_roman "lmodern" "FreeSerif" -\font_sans "lmss" "default" -\font_typewriter "lmtt" "default" -\font_math "auto" "auto" -\font_default_family default -\use_non_tex_fonts true -\font_sc false -\font_osf false -\font_sf_scale 100 100 -\font_tt_scale 100 100 -\use_microtype false -\graphics default -\default_output_format pdf5 -\output_sync 0 -\bibtex_command default -\index_command default -\paperfontsize 12 -\spacing single -\use_hyperref true -\pdf_title "LyX-Anpassung: Möglichkeiten für fortgeschrittene Benutzer" -\pdf_author "LyX Team, deutsche Übersetzung: Peter Sütterlin, Leif Albers und Hartmut Haase" -\pdf_subject "LyX-Dokumentation, Anpassung" -\pdf_keywords "LyX, Dokumentation" -\pdf_bookmarks true -\pdf_bookmarksnumbered true -\pdf_bookmarksopen true -\pdf_bookmarksopenlevel 1 -\pdf_breaklinks false -\pdf_pdfborder false -\pdf_colorlinks true -\pdf_backref false -\pdf_pdfusetitle false -\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false" -\papersize default -\use_geometry false -\use_package amsmath 0 -\use_package amssymb 0 -\use_package cancel 0 -\use_package esint 0 -\use_package mathdots 0 -\use_package mathtools 0 -\use_package mhchem 0 -\use_package stackrel 0 -\use_package stmaryrd 0 -\use_package undertilde 0 -\cite_engine basic -\cite_engine_type default -\biblio_style plain -\use_bibtopic false -\use_indices false -\paperorientation portrait -\suppress_date false -\justification true -\use_refstyle 0 -\notefontcolor #0000ff -\branch OutDated -\selected 0 -\filename_suffix 0 -\color #faf0e6 -\end_branch -\index Stichwortverzeichnis -\shortcut idx -\color #008000 -\end_index -\secnumdepth 3 -\tocdepth 3 -\paragraph_separation indent -\paragraph_indentation default -\quotes_language german -\papercolumns 1 -\papersides 2 -\paperpagestyle headings -\tracking_changes false -\output_changes false -\html_math_output 0 -\html_css_as_file 0 -\html_be_strict false -\end_header - -\begin_body - -\begin_layout Title -\SpecialChar LyX --Anpassung: -\begin_inset Newline newline -\end_inset - -Möglichkeiten für fortgeschrittene Benutzer -\end_layout - -\begin_layout Enumerate -Das Layout für eine flexible Einfügung wird definiert. - In diesem Fall muss -\begin_inset Flex Code -status collapsed - -\begin_layout Plain Layout - -\end_layout - -\end_inset - - in der Form -\lang english - -\begin_inset Quotes gld -\end_inset - - -\begin_inset Flex Code -status collapsed - -\begin_layout Plain Layout -Flex: -\end_layout - -\end_inset - - -\begin_inset Quotes grd -\end_inset - - -\lang ngerman - sein, wobei -\lang english - -\begin_inset Flex Code -status collapsed - -\begin_layout Plain Layout -Name -\end_layout - -\end_inset - - -\lang ngerman - ein beliebiger gültiger Bezeichner sein kann, der in keiner anderen existierend -en Einfügung benutzt wird. - Der Bezeichner darf Leerzeichen enthalten, dann muss aber der komplette - Typ in Anführungszeichen gesetzt werden. - Beachten Sie, dass die Definition einer flexiblen Einfügung -\emph on -auch -\emph default - einen -\begin_inset Flex Code -status collapsed - -\begin_layout Plain Layout -LyXType -\end_layout - -\end_inset - --Eintrag enthalten muss, der festlegt welcher Einfügungstyp definiert wird. -\end_layout - -\begin_layout Enumerate - -\lang english -The layout for user specific branch is being defined. - In this case, -\begin_inset Flex Code -status collapsed - -\begin_layout Plain Layout - -\lang english - -\end_layout - -\end_inset - - must be of the form -\lang ngerman - -\begin_inset Quotes gld -\end_inset - - -\begin_inset Flex Code -status collapsed - -\begin_layout Plain Layout -Branch: -\end_layout - -\end_inset - - -\begin_inset Quotes grd -\end_inset - -, -\lang english -where -\begin_inset Flex Code -status collapsed - -\begin_layout Plain Layout - -\lang english -name -\end_layout - -\end_inset - - may be be any valid identifier of branch defined in user's document. - The identifier may include spaces, but in that case the whole thing must - be wrapped in quotes. - The main purpose of this feature is to allow \SpecialChar LaTeX - wrapping around specific - branches as user needs. -\end_layout - -\begin_layout Enumerate - -\lang english -The layout of a user (or class) specific caption is being defined. - In this case, -\begin_inset Flex Code -status collapsed - -\begin_layout Plain Layout - -\lang english - -\end_layout - -\end_inset - - must be of the form -\lang ngerman - -\begin_inset Quotes gld -\end_inset - - -\begin_inset Flex Code -status collapsed - -\begin_layout Plain Layout -Caption: -\end_layout - -\end_inset - - -\begin_inset Quotes grd -\end_inset - -, -\lang english -where -\begin_inset Flex Code -status collapsed - -\begin_layout Plain Layout - -\lang english -name -\end_layout - -\end_inset - - specifies the name of the caption as it appears in the menu. - Have a look at the standard caption ( -\begin_inset Flex Code -status collapsed - -\begin_layout Plain Layout - -\lang english -Caption:Standard -\end_layout - -\end_inset - -), the specific captions of the KOMA-Script classes ( -\begin_inset Flex Code -status collapsed - -\begin_layout Plain Layout - -\lang english -Caption:Above -\end_layout - -\end_inset - -, -\begin_inset Flex Code -status collapsed - -\begin_layout Plain Layout - -\lang english -Caption:Below -\end_layout - -\end_inset - -) oder das Modul -\family sans -Multilingual -\begin_inset space ~ -\end_inset - -Captions -\family default - ( -\begin_inset Flex Code -status collapsed - -\begin_layout Plain Layout - -\lang english -Caption:Bicaption -\end_layout - -\end_inset - -) for applications. -\end_layout - -\begin_layout Standard -Die -\begin_inset Flex Code -status collapsed - -\begin_layout Plain Layout -InsetLayout -\end_layout - -\end_inset - --Definition kann folgende Einträge enthalten: -\end_layout - -\begin_layout Description - -\end_layout - -\begin_layout Subsection - -\lang english -Paragraph styles -\end_layout - -\begin_layout Standard - -\lang english -The sort of XHTML \SpecialChar LyX - outputs for a paragraph depends upon whether we are dealing - with a normal paragraph, a command, or an environment, where this is itself - determined by the contents of the corresponding -\begin_inset Flex Code -status collapsed - -\begin_layout Plain Layout - -\lang english -\SpecialChar LaTeX -Type -\end_layout - -\end_inset - - tag. - -\end_layout - -\begin_layout Standard - -\lang english -For a command or normal paragraph, the output XHTML has the following form: -\end_layout - -\begin_layout LyX-Code - -\lang english - -\end_layout - -\begin_layout LyX-Code - -\lang english -Label -\end_layout - -\begin_layout LyX-Code - -\lang english -Contents of the paragraph. -\end_layout - -\begin_layout LyX-Code - -\lang english - -\end_layout - -\begin_layout Standard - -\lang english -The label tags are of course omitted if the paragraph does not have a label. -\end_layout - -\begin_layout Standard - -\lang english -For an environment that is not some sort of list, the XHTML takes this form: -\end_layout - -\begin_layout LyX-Code - -\lang english - -\end_layout - -\begin_layout LyX-Code - -\lang english -Environment LabelFirst paragraph. -\end_layout - -\begin_layout LyX-Code - -\lang english -Second paragraph. -\end_layout - -\begin_layout LyX-Code - -\lang english - -\end_layout - -\begin_layout Standard - -\lang english -Note that the label is output only for the first paragraph, as it should - be for a theorem, for example. - -\end_layout - -\begin_layout Standard - -\lang english -For a list, we have one of these forms: -\end_layout - -\begin_layout LyX-Code - -\lang english - -\end_layout - -\begin_layout LyX-Code - -\lang english -List LabelFirst item. -\end_layout - -\begin_layout LyX-Code - -\lang english -List LabelSecond item. -\end_layout - -\begin_layout LyX-Code - -\lang english - -\end_layout - -\begin_layout LyX-Code - -\end_layout - -\begin_layout LyX-Code - -\lang english - -\end_layout - -\begin_layout LyX-Code - -\lang english -List LabelFirst item. -\end_layout - -\begin_layout LyX-Code - -\lang english -List LabelSecond item. -\end_layout - -\begin_layout LyX-Code - -\lang english - -\end_layout - -\begin_layout Standard - -\lang english -Note the different orders of -\begin_inset Flex Code -status collapsed - -\begin_layout Plain Layout - -\lang english -labeltag -\end_layout - -\end_inset - - and -\begin_inset Flex Code -status collapsed - -\begin_layout Plain Layout - -\lang english -itemtag -\end_layout - -\end_inset - -. - -\end_layout - -\begin_layout Chapter -Namen von verfügbaren Farben für die Verwendung in Layout-Dateien -\begin_inset CommandInset label -LatexCommand label -name "chap:Namen-von-Farben" - -\end_inset - - -\end_layout - -\begin_layout Standard -Die hier aufgelisteten Farben sind die Standardfarben und die, die man in - den \SpecialChar LyX --Voreinstellungen festlegen kann. -\end_layout - -\begin_layout Description - -\lang english -none -\lang ngerman - Keine spezielle Farbe – entfernt Farbe oder setzt Farbe auf Voreinstellung -\end_layout - -\begin_layout Description - -\lang english -black -\end_layout - -\begin_layout Description - -\lang english -white -\end_layout - -\begin_layout Description - -\lang english -red -\end_layout - -\begin_layout Description - -\lang english -green -\end_layout - -\begin_layout Description - -\lang english -urllabel Label color for URL insets -\end_layout - -\begin_layout Description - -\lang english -urltext Color for URL inset text -\end_layout - -\end_body -\end_document diff --git a/autotests/export/latex/languagenesting_index_inset.lyx b/autotests/export/latex/languagenesting_index_inset.lyx deleted file mode 100644 index 039827d832..0000000000 --- a/autotests/export/latex/languagenesting_index_inset.lyx +++ /dev/null @@ -1,185 +0,0 @@ -#LyX 2.3 created this file. For more info see http://www.lyx.org/ -\lyxformat 512 -\begin_document -\begin_header -\save_transient_properties true -\origin unavailable -\textclass scrbook -\use_default_options false -\begin_modules -customHeadersFooters -enumitem -logicalmkup -\end_modules -\maintain_unincluded_children false -\language french -\language_package default -\inputencoding auto -\fontencoding global -\font_roman "lmodern" "default" -\font_sans "lmss" "default" -\font_typewriter "lmtt" "default" -\font_math "auto" "auto" -\font_default_family default -\use_non_tex_fonts true -\font_sc false -\font_osf false -\font_sf_scale 100 100 -\font_tt_scale 100 100 -\use_microtype false -\graphics default -\default_output_format pdf5 -\output_sync 0 -\bibtex_command bibtex -\index_command default -\paperfontsize 12 -\spacing single -\use_hyperref false -\pdf_title "Guide de l'utilisateur de LyX" -\pdf_author "L'équipe LyX, Traduction: Adrien Rebollo, Siegfried Meunier-Guttin-Cluzel et Jean-Pierre Chrétien" -\pdf_subject "LyX" -\pdf_keywords "LyX" -\pdf_bookmarks true -\pdf_bookmarksnumbered true -\pdf_bookmarksopen false -\pdf_bookmarksopenlevel 1 -\pdf_breaklinks false -\pdf_pdfborder false -\pdf_colorlinks true -\pdf_backref false -\pdf_pdfusetitle false -\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false" -\papersize default -\use_geometry false -\use_package amsmath 1 -\use_package amssymb 1 -\use_package cancel 0 -\use_package esint 1 -\use_package mathdots 1 -\use_package mathtools 0 -\use_package mhchem 1 -\use_package stackrel 0 -\use_package stmaryrd 0 -\use_package undertilde 0 -\cite_engine basic -\cite_engine_type default -\biblio_style plain -\use_bibtopic false -\use_indices false -\paperorientation portrait -\suppress_date false -\justification true -\use_refstyle 1 -\notefontcolor #0000ff -\branch Question -\selected 1 -\filename_suffix 0 -\color #00ff00 -\end_branch -\branch Réponse -\selected 0 -\filename_suffix 0 -\color #aa55ff -\end_branch -\index Index -\shortcut idx -\color #008000 -\end_index -\secnumdepth 3 -\tocdepth 2 -\paragraph_separation skip -\defskip medskip -\quotes_language french -\papercolumns 1 -\papersides 2 -\paperpagestyle default -\tracking_changes false -\output_changes false -\html_math_output 0 -\html_css_as_file 0 -\html_be_strict false -\end_header - -\begin_body - -\begin_layout Standard -\paragraph_spacing single -Verbatim -\begin_inset Index idx -status open - -\begin_layout Plain Layout - -\lang english -Verbatim -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -If the index inset contains English text but the rest of the document is - french, compilation fails with -\end_layout - -\begin_layout LyX-Code -! LaTeX Error: -\backslash -begin{otherlanguage} on input line 10 ended by -\backslash -end{theindex}. -\end_layout - -\begin_layout Standard -with language package Polyglossia while no error is shown with Babel. -\end_layout - -\begin_layout Standard -(Should we prevent language switches in index insets?) -\end_layout - -\begin_layout Standard -If the index inset is in a section heading, the error is cryptic: -\end_layout - -\begin_layout LyX-Code -! Undefined control sequence. - -\backslash -in@ #1#2-> -\backslash -begingroup -\backslash -def -\backslash -in@@ ##1#1{} -\backslash -toks@ -\backslash -expandafter { -\backslash -in@@ #2{}{}#1... - l.42 }} -\end_layout - -\begin_layout Standard -\begin_inset CommandInset nomencl_print -LatexCommand printnomenclature -set_width "auto" - -\end_inset - - -\begin_inset CommandInset index_print -LatexCommand printindex -type "idx" - -\end_inset - - -\end_layout - -\end_body -\end_document diff --git a/autotests/export/latex/languagenesting_tablecell.lyx b/autotests/export/latex/languagenesting_tablecell.lyx deleted file mode 100644 index 6ddd127cec..0000000000 --- a/autotests/export/latex/languagenesting_tablecell.lyx +++ /dev/null @@ -1,130 +0,0 @@ -#LyX 2.4 created this file. For more info see https://www.lyx.org/ -\lyxformat 573 -\begin_document -\begin_header -\save_transient_properties true -\origin unavailable -\textclass article -\use_default_options true -\maintain_unincluded_children false -\language british -\language_package default -\inputencoding utf8 -\fontencoding auto -\font_roman "default" "default" -\font_sans "default" "default" -\font_typewriter "default" "default" -\font_math "auto" "auto" -\font_default_family default -\use_non_tex_fonts false -\font_sc false -\font_osf false -\font_sf_scale 100 100 -\font_tt_scale 100 100 -\use_microtype false -\use_dash_ligatures false -\graphics 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 -\papersize default -\use_geometry false -\use_package amsmath 1 -\use_package amssymb 1 -\use_package cancel 1 -\use_package esint 1 -\use_package mathdots 1 -\use_package mathtools 1 -\use_package mhchem 1 -\use_package stackrel 1 -\use_package stmaryrd 1 -\use_package undertilde 1 -\cite_engine basic -\cite_engine_type default -\biblio_style plain -\use_bibtopic false -\use_indices false -\paperorientation portrait -\suppress_date false -\justification true -\use_refstyle 1 -\use_minted 0 -\index Index -\shortcut idx -\color #008000 -\end_index -\secnumdepth 3 -\tocdepth 3 -\paragraph_separation indent -\paragraph_indentation default -\is_math_indent 0 -\math_numbering_side default -\quotes_style british -\dynamic_quotes 0 -\papercolumns 1 -\papersides 1 -\paperpagestyle default -\tablestyle default -\tracking_changes false -\output_changes false -\html_math_output 0 -\html_css_as_file 0 -\html_be_strict false -\end_header - -\begin_body - -\begin_layout Standard -This document did not compile because of language nesting issues with the - two paragraphs in the second table column of fixed size with German text. -\end_layout - -\begin_layout Standard -\begin_inset Tabular - - - - - - -\begin_inset Text - -\begin_layout Plain Layout -English -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout - -\lang ngerman -Deutsch -\end_layout - -\begin_layout Plain Layout - -\lang ngerman -mit Zeilenumbruch -\end_layout - -\end_inset - - - - -\end_inset - - -\end_layout - -\end_body -\end_document diff --git a/autotests/export/latex/languages/en-sk-cz-babel-table-error.lyx b/autotests/export/latex/languages/en-sk-cz-babel-table-error.lyx new file mode 100644 index 0000000000..7b6c6b256d --- /dev/null +++ b/autotests/export/latex/languages/en-sk-cz-babel-table-error.lyx @@ -0,0 +1,217 @@ +#LyX 2.4 created this file. For more info see https://www.lyx.org/ +\lyxformat 574 +\begin_document +\begin_header +\save_transient_properties true +\origin unavailable +\textclass article +\use_default_options false +\maintain_unincluded_children false +\language english +\language_package default +\inputencoding iso8859-15 +\fontencoding auto +\font_roman "lmodern" "default" +\font_sans "lmss" "default" +\font_typewriter "lmtt" "default" +\font_math "auto" "auto" +\font_default_family default +\use_non_tex_fonts false +\font_sc false +\font_osf false +\font_sf_scale 100 100 +\font_tt_scale 100 100 +\use_microtype false +\use_dash_ligatures true +\graphics 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 +\pdf_title "LyX's Development manual" +\pdf_author "LyX Team" +\pdf_subject "LyX's development documentation" +\pdf_keywords "LyX, Documentation, Development" +\pdf_bookmarks true +\pdf_bookmarksnumbered true +\pdf_bookmarksopen true +\pdf_bookmarksopenlevel 1 +\pdf_breaklinks false +\pdf_pdfborder false +\pdf_colorlinks true +\pdf_backref false +\pdf_pdfusetitle false +\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false" +\papersize a4paper +\use_geometry false +\use_package amsmath 1 +\use_package amssymb 1 +\use_package cancel 0 +\use_package esint 0 +\use_package mathdots 1 +\use_package mathtools 0 +\use_package mhchem 1 +\use_package stackrel 0 +\use_package stmaryrd 0 +\use_package undertilde 0 +\cite_engine basic +\cite_engine_type default +\biblio_style plain +\use_bibtopic false +\use_indices false +\paperorientation portrait +\suppress_date false +\justification false +\use_refstyle 0 +\use_minted 0 +\notefontcolor #0000ff +\branch slovak +\selected 1 +\filename_suffix 0 +\color #faf0e6 +\end_branch +\branch czech +\selected 0 +\filename_suffix 0 +\color #faf0e6 +\end_branch +\index Index +\shortcut idx +\color #008000 +\end_index +\secnumdepth 4 +\tocdepth 4 +\paragraph_separation indent +\paragraph_indentation default +\is_math_indent 0 +\math_numbering_side default +\quotes_style english +\dynamic_quotes 0 +\papercolumns 1 +\papersides 1 +\paperpagestyle plain +\tablestyle default +\tracking_changes false +\output_changes false +\html_math_output 0 +\html_css_as_file 0 +\html_be_strict true +\end_header + +\begin_body + +\begin_layout Standard +Remove this inserted Slovak text +\begin_inset Branch slovak +inverted 0 +status open + +\begin_layout Standard + +\lang slovak +slovenský text +\lang english + +\end_layout + +\end_inset + + and this document is compilable. + +\lang ngerman +Deutscher Text +\lang english + is non-problematic. +\begin_inset Branch czech +inverted 0 +status open + +\begin_layout Standard + +\lang czech +Czesky text +\lang english + +\end_layout + +\end_inset + +triggers the error, too. + But not Polish, Upper Sorbian, Baltic languages, Spanish ... + +\lang polish +text. +\end_layout + +\begin_layout Standard +\begin_inset Tabular + + + + + + +\begin_inset Text + +\begin_layout Plain Layout +- +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +-- +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +- +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\begin_layout Standard +This is the minimal table example. + Removing a line or column makes it compilable again. + Also setting the language of the table to Slovak helps. +\end_layout + +\begin_layout Standard +Encoding switches are not to blame. + Rather an incompatibility of array or multirow packages with Babels slovak.ldf + and czech.ldf. +\end_layout + +\end_body +\end_document diff --git a/autotests/export/latex/languages/fa-OT1.lyx b/autotests/export/latex/languages/fa-OT1.lyx deleted file mode 100644 index 7ee516b6b5..0000000000 --- a/autotests/export/latex/languages/fa-OT1.lyx +++ /dev/null @@ -1,129 +0,0 @@ -#LyX 2.4 created this file. For more info see https://www.lyx.org/ -\lyxformat 566 -\begin_document -\begin_header -\save_transient_properties true -\origin unavailable -\textclass article -\use_default_options false -\maintain_unincluded_children false -\language farsi -\language_package default -\inputencoding utf8 -\fontencoding OT1 -\font_roman "default" "default" -\font_sans "default" "default" -\font_typewriter "default" "default" -\font_math "auto" "auto" -\font_default_family default -\use_non_tex_fonts false -\font_sc false -\font_osf false -\font_sf_scale 100 100 -\font_tt_scale 100 100 -\use_microtype false -\use_dash_ligatures false -\graphics default -\default_output_format pdf2 -\output_sync 0 -\bibtex_command default -\index_command default -\float_placement class -\float_alignment class -\paperfontsize default -\spacing onehalf -\use_hyperref false -\papersize default -\use_geometry false -\use_package amsmath 1 -\use_package amssymb 1 -\use_package cancel 1 -\use_package esint 1 -\use_package mathdots 1 -\use_package mathtools 1 -\use_package mhchem 1 -\use_package stackrel 1 -\use_package stmaryrd 1 -\use_package undertilde 1 -\cite_engine basic -\cite_engine_type default -\biblio_style plain -\use_bibtopic false -\use_indices false -\paperorientation portrait -\suppress_date false -\justification true -\use_refstyle 0 -\use_minted 0 -\index Index -\shortcut idx -\color #008000 -\end_index -\secnumdepth 3 -\tocdepth 3 -\paragraph_separation indent -\paragraph_indentation default -\is_math_indent 0 -\math_numbering_side default -\quotes_style swiss -\dynamic_quotes 0 -\papercolumns 1 -\papersides 1 -\paperpagestyle default -\tracking_changes false -\output_changes false -\html_math_output 0 -\html_css_as_file 0 -\html_be_strict false -\end_header - -\begin_body - -\begin_layout Standard -\SpecialChar LyX - مستنداتی عالی دارد—لطفا از آن استفاده کنید! از قسمت -\family sans -\lang english -Help -\lang farsi -\SpecialChar menuseparator - -\lang english -Introduction -\family default -\lang farsi - شروع کنید، که مستندات را به صورت خلاصه به شما معرفی می‌کند. -\end_layout - -\begin_layout Standard -\paragraph_spacing single - -\lang english -The farsi font-encoding -\begin_inset Quotes cld -\end_inset - -LAE -\begin_inset Quotes crd -\end_inset - - should be added to the fontenc arguments also with a custom font-encoding - (similar to LGR for Greek and T2A for Russian). -\end_layout - -\begin_layout Standard - -\lang english -(This document sets the fontencoding to -\begin_inset Quotes cld -\end_inset - -custom [OT1] -\begin_inset Quotes crd -\end_inset - - to avoid bitmap fonts with CM.) -\end_layout - -\end_body -\end_document diff --git a/autotests/export/latex/languages/supported-languages.lyx b/autotests/export/latex/languages/supported-languages.lyx index c9ef90f8a2..3d6d65a876 100644 --- a/autotests/export/latex/languages/supported-languages.lyx +++ b/autotests/export/latex/languages/supported-languages.lyx @@ -481,6 +481,27 @@ status open وجنوب السودان وإيران. \end_layout +\begin_layout Standard +\begin_inset Note Note +status open + +\begin_layout Plain Layout +Dummy paragraph to reset input-encoding with +\begin_inset Quotes eld +\end_inset + +auto-legacy +\begin_inset Quotes erd +\end_inset + +. +\end_layout + +\end_inset + + +\end_layout + \end_inset @@ -699,7 +720,7 @@ sının rəsmi dövlət dilidir. \begin_layout Labeling \labelwidthstring 00.00.0000 -Babel azerbaijani (nicht von LyX unterstützt) +Babel azerbaijani (not supported by LyX) \end_layout \begin_layout Labeling @@ -3022,6 +3043,29 @@ magyar nyelv a komi, a mari és a mordvin nyelvek. \end_layout +\begin_layout Standard + +\lang czech +\begin_inset Note Note +status open + +\begin_layout Plain Layout +Czech dummy paragraph to reset input-encoding with +\begin_inset Quotes eld +\end_inset + +auto-legacy +\begin_inset Quotes erd +\end_inset + +. +\end_layout + +\end_inset + + +\end_layout + \begin_layout Labeling \labelwidthstring 00.00.0000 Babel magyar @@ -4173,6 +4217,50 @@ status open \end_inset +\end_layout + +\begin_layout Standard + +\lang czech +\begin_inset Note Note +status open + +\begin_layout Plain Layout +Dummy paragraph to reset input-encoding with +\begin_inset Quotes eld +\end_inset + +auto-legacy +\begin_inset Quotes erd +\end_inset + +. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Note Note +status open + +\begin_layout Plain Layout +Dummy paragraph to reset input-encoding with +\begin_inset Quotes eld +\end_inset + +auto-legacy +\begin_inset Quotes erd +\end_inset + +. +\end_layout + +\end_inset + + \end_layout \begin_layout Labeling diff --git a/autotests/export/latex/languages/supported-languages_babel.lyx b/autotests/export/latex/languages/supported-languages_babel.lyx index 36faff0eb6..c0b37ba1e1 100644 --- a/autotests/export/latex/languages/supported-languages_babel.lyx +++ b/autotests/export/latex/languages/supported-languages_babel.lyx @@ -1,5 +1,5 @@ #LyX 2.4 created this file. For more info see https://www.lyx.org/ -\lyxformat 573 +\lyxformat 574 \begin_document \begin_header \save_transient_properties true @@ -9,6 +9,9 @@ \end_preamble \use_default_options false +\begin_modules +enumitem +\end_modules \maintain_unincluded_children false \language english \language_package auto diff --git a/autotests/export/latex/languages/supported-languages_babel_auto-legacy.lyx b/autotests/export/latex/languages/supported-languages_babel_auto-legacy.lyx index ed119e5520..1a85c241a5 100644 --- a/autotests/export/latex/languages/supported-languages_babel_auto-legacy.lyx +++ b/autotests/export/latex/languages/supported-languages_babel_auto-legacy.lyx @@ -1,5 +1,5 @@ #LyX 2.4 created this file. For more info see https://www.lyx.org/ -\lyxformat 573 +\lyxformat 574 \begin_document \begin_header \save_transient_properties true @@ -9,6 +9,9 @@ \end_preamble \use_default_options false +\begin_modules +enumitem +\end_modules \maintain_unincluded_children false \language english \language_package auto diff --git a/autotests/export/latex/languages/supported-languages_babel_non-tex.lyx b/autotests/export/latex/languages/supported-languages_babel_non-tex.lyx index 29dcf984be..07b7dfb87a 100644 --- a/autotests/export/latex/languages/supported-languages_babel_non-tex.lyx +++ b/autotests/export/latex/languages/supported-languages_babel_non-tex.lyx @@ -1,11 +1,14 @@ #LyX 2.4 created this file. For more info see https://www.lyx.org/ -\lyxformat 573 +\lyxformat 574 \begin_document \begin_header \save_transient_properties true \origin unavailable \textclass scrartcl \use_default_options false +\begin_modules +enumitem +\end_modules \maintain_unincluded_children false \language english \language_package auto diff --git a/autotests/export/latex/languages/supported-languages_polyglossia.lyx b/autotests/export/latex/languages/supported-languages_polyglossia.lyx index ba92bcdc66..8695a1dfde 100644 --- a/autotests/export/latex/languages/supported-languages_polyglossia.lyx +++ b/autotests/export/latex/languages/supported-languages_polyglossia.lyx @@ -1,5 +1,5 @@ #LyX 2.4 created this file. For more info see https://www.lyx.org/ -\lyxformat 573 +\lyxformat 574 \begin_document \begin_header \save_transient_properties true @@ -43,6 +43,9 @@ \fi \end_preamble \use_default_options false +\begin_modules +enumitem +\end_modules \maintain_unincluded_children false \language english \language_package auto diff --git a/autotests/export/latex/linebreak-bug.lyx b/autotests/export/latex/linebreak-bug.lyx deleted file mode 100644 index 124d92b2e8..0000000000 --- a/autotests/export/latex/linebreak-bug.lyx +++ /dev/null @@ -1,164 +0,0 @@ -#LyX 2.4 created this file. For more info see https://www.lyx.org/ -\lyxformat 573 -\begin_document -\begin_header -\save_transient_properties true -\origin unavailable -\textclass article -\use_default_options true -\maintain_unincluded_children false -\language english -\language_package default -\inputencoding utf8 -\fontencoding auto -\font_roman "lmodern" "default" -\font_sans "default" "default" -\font_typewriter "default" "default" -\font_math "auto" "auto" -\font_default_family default -\use_non_tex_fonts false -\font_sc false -\font_osf false -\font_sf_scale 100 100 -\font_tt_scale 100 100 -\use_microtype false -\use_dash_ligatures false -\graphics default -\default_output_format default -\output_sync 0 -\bibtex_command default -\index_command default -\float_placement class -\float_alignment class -\paperfontsize default -\spacing single -\use_hyperref false -\papersize default -\use_geometry false -\use_package amsmath 1 -\use_package amssymb 1 -\use_package cancel 1 -\use_package esint 1 -\use_package mathdots 1 -\use_package mathtools 1 -\use_package mhchem 1 -\use_package stackrel 1 -\use_package stmaryrd 1 -\use_package undertilde 1 -\cite_engine basic -\cite_engine_type default -\biblio_style plain -\use_bibtopic false -\use_indices false -\paperorientation portrait -\suppress_date false -\justification true -\use_refstyle 1 -\use_minted 0 -\index Index -\shortcut idx -\color #008000 -\end_index -\secnumdepth 3 -\tocdepth 3 -\paragraph_separation skip -\defskip medskip -\is_math_indent 0 -\math_numbering_side default -\quotes_style english -\dynamic_quotes 0 -\papercolumns 1 -\papersides 1 -\paperpagestyle default -\tablestyle default -\tracking_changes false -\output_changes false -\html_math_output 0 -\html_css_as_file 0 -\html_be_strict false -\end_header - -\begin_body - -\begin_layout Standard -#8085, Wrap rotated cells with linebreaks in varwidth -\end_layout - -\begin_layout Standard -\begin_inset Tabular - - - - - - - -\begin_inset Text - -\begin_layout Plain Layout -a -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -test -\begin_inset Newline newline -\end_inset - -test -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -e -\end_layout - -\end_inset - - - - -\begin_inset Text - -\begin_layout Plain Layout -b -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -c -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -d -\end_layout - -\end_inset - - - - -\end_inset - - -\end_layout - -\end_body -\end_document diff --git a/autotests/export/latex/luainputenc-utf8.lyx b/autotests/export/latex/luainputenc-utf8.lyx deleted file mode 100644 index 764fbc52bb..0000000000 --- a/autotests/export/latex/luainputenc-utf8.lyx +++ /dev/null @@ -1,457 +0,0 @@ -#LyX 2.4 created this file. For more info see https://www.lyx.org/ -\lyxformat 573 -\begin_document -\begin_header -\save_transient_properties true -\origin unavailable -\textclass article -\begin_preamble - -\end_preamble -\use_default_options true -\begin_modules -logicalmkup -\end_modules -\maintain_unincluded_children false -\language english -\language_package default -\inputencoding utf8 -\fontencoding HE8,T1 -\font_roman "lmodern" "FreeSerif" -\font_sans "default" "FreeSans" -\font_typewriter "default" "FreeMono" -\font_math "auto" "auto" -\font_default_family default -\use_non_tex_fonts false -\font_sc false -\font_osf false -\font_sf_scale 100 100 -\font_tt_scale 100 100 -\use_microtype false -\use_dash_ligatures false -\graphics default -\default_output_format pdf5 -\output_sync 0 -\bibtex_command default -\index_command default -\float_placement class -\float_alignment class -\paperfontsize default -\spacing single -\use_hyperref false -\papersize default -\use_geometry false -\use_package amsmath 1 -\use_package amssymb 1 -\use_package cancel 1 -\use_package esint 1 -\use_package mathdots 1 -\use_package mathtools 1 -\use_package mhchem 1 -\use_package stackrel 1 -\use_package stmaryrd 1 -\use_package undertilde 1 -\cite_engine basic -\cite_engine_type default -\biblio_style plain -\use_bibtopic false -\use_indices false -\paperorientation portrait -\suppress_date false -\justification true -\use_refstyle 1 -\use_minted 0 -\branch na -\selected 0 -\filename_suffix 0 -\color #faf0e6 -\end_branch -\branch bisect -\selected 0 -\filename_suffix 0 -\color #faf0e6 -\end_branch -\index Index -\shortcut idx -\color #008000 -\end_index -\secnumdepth 3 -\tocdepth 3 -\paragraph_separation indent -\paragraph_indentation default -\is_math_indent 0 -\math_numbering_side default -\quotes_style english -\dynamic_quotes 0 -\papercolumns 1 -\papersides 1 -\paperpagestyle default -\tablestyle default -\tracking_changes false -\output_changes false -\html_math_output 0 -\html_css_as_file 0 -\html_be_strict false -\end_header - -\begin_body - -\begin_layout Standard -With option -\family typewriter - utf8 -\family default -, -\begin_inset Quotes eld -\end_inset - -luainputenc -\begin_inset Quotes erd -\end_inset - - must be loaded -\emph on -after -\emph default -symbol-providing packages that provide a font encoding in order to properly - set up Unicode support for the new characters. - For packages with built-in LyX support this regards only -\family typewriter -textcomp -\family default -and -\family typewriter - pmboxdraw. -\end_layout - -\begin_layout Standard -Otherwise, use of the characters fails with 8-bit fonts: up to code-point - 205, a wrong symbol is selected, characters with higher code-point lead - to -\begin_inset Quotes eld -\end_inset - -missing character -\begin_inset Quotes erd -\end_inset - - errors. -\end_layout - -\begin_layout Itemize -textcomp characters that come out wrong if textcomp is loaded after luainputenc - include ¼ ½. -\end_layout - -\begin_layout Itemize -characters missing without loading textcomp before luainputenc: ← ƒ ฿ -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/001-4-latin.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/005-7-ipa-modifiers-combining.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/008-greek-and-coptic.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/009-cyrillic.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/009-cyrillic_ru.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset ERT -status open - -\begin_layout Plain Layout - - -\backslash -fontencoding{HE8} -\backslash -selectfont -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/012-hebrew_HE8.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset ERT -status open - -\begin_layout Plain Layout - - -\backslash -fontencoding{T1} -\backslash -selectfont -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset Note Note -status open - -\begin_layout Plain Layout -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/012-hebrew_he.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Plain Layout -Hebrew does not work with LuaTeX and TeX-fonts, because it loads -\emph on -inputenc -\emph default - if not already loaded. -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/031-thai_th.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/065-67-phonetic-extensions.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/068-latin-extended-additional.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/069-greek-extended.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/070-72-general-punctuation-sub-super-currency.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/074-76-letterlike-numberforms-arrows.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/077-mathops.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/078-79-misc-technical-control-pics.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/081-enclosed-alphanumerics.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/082-84-box-drawing-blocks-geometric.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/084-misc-symbols.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/085-dingbats.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/087-90-misc-math-A-arrows-A-B.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/091-92-misc-math-B-supp-math-ops.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/125_152-modifiers-presentation.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/246-mathematical-alphanumeric.lyx" -literal "false" - -\end_inset - - -\end_layout - -\end_body -\end_document diff --git a/autotests/export/latex/lyxbugs-resolved/11519-parent-with-other-inputenc.lyx b/autotests/export/latex/lyxbugs-resolved/11519-parent-with-other-inputenc.lyx new file mode 100644 index 0000000000..1b6872b425 --- /dev/null +++ b/autotests/export/latex/lyxbugs-resolved/11519-parent-with-other-inputenc.lyx @@ -0,0 +1,167 @@ +#LyX 2.4 created this file. For more info see https://www.lyx.org/ +\lyxformat 574 +\begin_document +\begin_header +\save_transient_properties true +\origin unavailable +\textclass article +\begin_preamble + +\end_preamble +\use_default_options true +\begin_modules +logicalmkup +\end_modules +\maintain_unincluded_children false +\language english +\language_package default +\inputencoding iso8859-15 +\fontencoding auto +\font_roman "lmodern" "FreeSerif" +\font_sans "default" "FreeSans" +\font_typewriter "default" "FreeMono" +\font_math "auto" "auto" +\font_default_family default +\use_non_tex_fonts false +\font_sc false +\font_osf false +\font_sf_scale 100 100 +\font_tt_scale 100 100 +\use_microtype false +\use_dash_ligatures false +\graphics 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 +\papersize default +\use_geometry false +\use_package amsmath 1 +\use_package amssymb 1 +\use_package cancel 1 +\use_package esint 1 +\use_package mathdots 1 +\use_package mathtools 1 +\use_package mhchem 1 +\use_package stackrel 1 +\use_package stmaryrd 1 +\use_package undertilde 1 +\cite_engine basic +\cite_engine_type default +\biblio_style plain +\use_bibtopic false +\use_indices false +\paperorientation portrait +\suppress_date false +\justification true +\use_refstyle 1 +\use_minted 0 +\branch na +\selected 0 +\filename_suffix 0 +\color #faf0e6 +\end_branch +\branch bisect +\selected 0 +\filename_suffix 0 +\color #faf0e6 +\end_branch +\index Index +\shortcut idx +\color #008000 +\end_index +\secnumdepth 3 +\tocdepth 3 +\paragraph_separation indent +\paragraph_indentation default +\is_math_indent 0 +\math_numbering_side default +\quotes_style english +\dynamic_quotes 0 +\papercolumns 1 +\papersides 1 +\paperpagestyle default +\tablestyle default +\tracking_changes false +\output_changes false +\html_math_output 0 +\html_css_as_file 0 +\html_be_strict false +\end_header + +\begin_body + +\begin_layout Subsection* +Bug #11519: Wrong input encoding when parent and child use different setting. +\end_layout + +\begin_layout Standard +When +\end_layout + +\begin_layout Itemize +\noindent +a parent document sets a global input encoding (i.e. + not +\family typewriter +auto +\family default + ( +\begin_inset Quotes eld +\end_inset + +language default +\begin_inset Quotes erd +\end_inset + +)) and +\end_layout + +\begin_layout Itemize +\noindent +the +\begin_inset Quotes eld +\end_inset + +inputencoding +\begin_inset Quotes erd +\end_inset + + setting for parent and child differ, +\end_layout + +\begin_layout Standard +\noindent +the parent loads the child document with wrong input encoding. +\end_layout + +\begin_layout Standard +Example: This document uses +\family typewriter +iso8859-15 +\family default +, the included child +\family typewriter + utf8 +\family default +. +\end_layout + +\begin_layout Standard +\begin_inset CommandInset include +LatexCommand input +filename "8085-table-rotate-linebreak.lyx" +literal "false" + +\end_inset + + +\end_layout + +\end_body +\end_document diff --git a/autotests/export/latex/lyxbugs-resolved/8085-table-rotate-linebreak.lyx b/autotests/export/latex/lyxbugs-resolved/8085-table-rotate-linebreak.lyx new file mode 100644 index 0000000000..4428176b43 --- /dev/null +++ b/autotests/export/latex/lyxbugs-resolved/8085-table-rotate-linebreak.lyx @@ -0,0 +1,164 @@ +#LyX 2.4 created this file. For more info see https://www.lyx.org/ +\lyxformat 574 +\begin_document +\begin_header +\save_transient_properties true +\origin unavailable +\textclass article +\use_default_options true +\maintain_unincluded_children false +\language english +\language_package default +\inputencoding utf8 +\fontencoding auto +\font_roman "lmodern" "default" +\font_sans "default" "default" +\font_typewriter "default" "default" +\font_math "auto" "auto" +\font_default_family default +\use_non_tex_fonts false +\font_sc false +\font_osf false +\font_sf_scale 100 100 +\font_tt_scale 100 100 +\use_microtype false +\use_dash_ligatures false +\graphics 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 +\papersize default +\use_geometry false +\use_package amsmath 1 +\use_package amssymb 1 +\use_package cancel 1 +\use_package esint 1 +\use_package mathdots 1 +\use_package mathtools 1 +\use_package mhchem 1 +\use_package stackrel 1 +\use_package stmaryrd 1 +\use_package undertilde 1 +\cite_engine basic +\cite_engine_type default +\biblio_style plain +\use_bibtopic false +\use_indices false +\paperorientation portrait +\suppress_date false +\justification true +\use_refstyle 1 +\use_minted 0 +\index Index +\shortcut idx +\color #008000 +\end_index +\secnumdepth 3 +\tocdepth 3 +\paragraph_separation skip +\defskip medskip +\is_math_indent 0 +\math_numbering_side default +\quotes_style english +\dynamic_quotes 0 +\papercolumns 1 +\papersides 1 +\paperpagestyle default +\tablestyle default +\tracking_changes false +\output_changes false +\html_math_output 0 +\html_css_as_file 0 +\html_be_strict false +\end_header + +\begin_body + +\begin_layout Standard +#8085, Wrap rotated cells with linebreaks in varwidth +\end_layout + +\begin_layout Standard +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Plain Layout +a +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +test +\begin_inset Newline newline +\end_inset + +test +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +e +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +b +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +c +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +d +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_body +\end_document diff --git a/autotests/export/latex/lyxbugs-resolved/8479-listings-caption_zh-TW_utf8.lyx b/autotests/export/latex/lyxbugs-resolved/8479-listings-caption_zh-TW_utf8.lyx new file mode 100644 index 0000000000..d3778d142b --- /dev/null +++ b/autotests/export/latex/lyxbugs-resolved/8479-listings-caption_zh-TW_utf8.lyx @@ -0,0 +1,155 @@ +#LyX 2.4 created this file. For more info see https://www.lyx.org/ +\lyxformat 574 +\begin_document +\begin_header +\save_transient_properties true +\origin unavailable +\textclass article +\use_default_options true +\maintain_unincluded_children false +\language chinese-traditional +\language_package default +\inputencoding utf8 +\fontencoding auto +\font_roman "default" "IPAexMincho" +\font_sans "default" "IPAGothic" +\font_typewriter "default" "default" +\font_math "auto" "auto" +\font_default_family default +\use_non_tex_fonts false +\font_sc false +\font_osf false +\font_sf_scale 100 100 +\font_tt_scale 100 100 +\font_cjk bsmi +\use_microtype false +\use_dash_ligatures true +\graphics 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 +\papersize default +\use_geometry false +\use_package amsmath 1 +\use_package amssymb 1 +\use_package cancel 1 +\use_package esint 1 +\use_package mathdots 1 +\use_package mathtools 1 +\use_package mhchem 1 +\use_package stackrel 1 +\use_package stmaryrd 1 +\use_package undertilde 1 +\cite_engine basic +\cite_engine_type default +\biblio_style plain +\use_bibtopic false +\use_indices false +\paperorientation portrait +\suppress_date false +\justification true +\use_refstyle 1 +\use_minted 0 +\index Index +\shortcut idx +\color #008000 +\end_index +\secnumdepth 3 +\tocdepth 3 +\paragraph_separation indent +\paragraph_indentation default +\is_math_indent 0 +\math_numbering_side default +\quotes_style english +\dynamic_quotes 0 +\papercolumns 1 +\papersides 1 +\paperpagestyle default +\tablestyle default +\tracking_changes false +\output_changes false +\html_math_output 0 +\html_css_as_file 0 +\html_be_strict false +\end_header + +\begin_body + +\begin_layout Standard +The bug only manifests with input encoding +\begin_inset Quotes eld +\end_inset + +utf8-cjk +\begin_inset Quotes erd +\end_inset + +, switching to +\begin_inset Quotes eld +\end_inset + +utf8 +\begin_inset Quotes erd +\end_inset + + (the new default in 2.4) works around the issue. +\end_layout + +\begin_layout Standard +Chinese (中文) +\end_layout + +\begin_layout Standard +\begin_inset listings +inline false +status open + +\begin_layout Plain Layout + +\begin_inset Caption Standard + +\begin_layout Plain Layout +ABCäöß +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Plain Layout + +void main() +\end_layout + +\begin_layout Plain Layout + +{ +\begin_inset Quotes eld +\end_inset + +Größe +\begin_inset Quotes erd +\end_inset + + +\end_layout + +\begin_layout Plain Layout + +} +\end_layout + +\end_inset + + +\end_layout + +\end_body +\end_document diff --git a/autotests/export/latex/lyxbugs-resolved/9633-language-switch-in-tipa-inset.lyx b/autotests/export/latex/lyxbugs-resolved/9633-language-switch-in-tipa-inset.lyx new file mode 100644 index 0000000000..dd738e7012 --- /dev/null +++ b/autotests/export/latex/lyxbugs-resolved/9633-language-switch-in-tipa-inset.lyx @@ -0,0 +1,113 @@ +#LyX 2.4 created this file. For more info see https://www.lyx.org/ +\lyxformat 574 +\begin_document +\begin_header +\save_transient_properties true +\origin unavailable +\textclass article +\use_default_options false +\maintain_unincluded_children false +\language english +\language_package default +\inputencoding utf8 +\fontencoding auto +\font_roman "default" "FreeSerif" +\font_sans "default" "FreeSans" +\font_typewriter "default" "FreeMono" +\font_math "auto" "auto" +\font_default_family default +\use_non_tex_fonts true +\font_sc false +\font_osf false +\font_sf_scale 100 100 +\font_tt_scale 100 100 +\use_microtype false +\use_dash_ligatures true +\graphics default +\default_output_format pdf4 +\output_sync 0 +\bibtex_command default +\index_command default +\float_placement class +\float_alignment class +\paperfontsize default +\spacing single +\use_hyperref false +\pdf_bookmarks false +\pdf_bookmarksnumbered false +\pdf_bookmarksopen false +\pdf_bookmarksopenlevel 1 +\pdf_breaklinks false +\pdf_pdfborder true +\pdf_colorlinks true +\pdf_backref section +\pdf_pdfusetitle true +\papersize a4paper +\use_geometry false +\use_package amsmath 1 +\use_package amssymb 1 +\use_package cancel 1 +\use_package esint 1 +\use_package mathdots 1 +\use_package mathtools 1 +\use_package mhchem 1 +\use_package stackrel 1 +\use_package stmaryrd 1 +\use_package undertilde 1 +\cite_engine basic +\cite_engine_type default +\biblio_style plain +\use_bibtopic false +\use_indices false +\paperorientation portrait +\suppress_date false +\justification false +\use_refstyle 0 +\use_minted 0 +\index Stichwortverzeichnis +\shortcut idx +\color #008000 +\end_index +\secnumdepth 3 +\tocdepth 3 +\paragraph_separation indent +\paragraph_indentation default +\is_math_indent 0 +\math_numbering_side default +\quotes_style english +\dynamic_quotes 0 +\papercolumns 1 +\papersides 1 +\paperpagestyle default +\tablestyle default +\tracking_changes false +\output_changes false +\html_math_output 0 +\html_css_as_file 0 +\html_be_strict false +\end_header + +\begin_body + +\begin_layout Standard +Language change in a tipa-inset must not use an environment (error with + Polyglossia). +\end_layout + +\begin_layout Standard +language +\lang french +switch: +\begin_inset IPA + +\begin_layout Standard +[a] +\end_layout + +\end_inset + + +\end_layout + +\end_body +\end_document diff --git a/autotests/export/latex/lyxbugs-resolved/9633-languagenesting1.lyx b/autotests/export/latex/lyxbugs-resolved/9633-languagenesting1.lyx new file mode 100644 index 0000000000..1afd7daf61 --- /dev/null +++ b/autotests/export/latex/lyxbugs-resolved/9633-languagenesting1.lyx @@ -0,0 +1,210 @@ +#LyX 2.4 created this file. For more info see https://www.lyx.org/ +\lyxformat 574 +\begin_document +\begin_header +\save_transient_properties true +\origin unavailable +\textclass scrbook +\options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading +\use_default_options false +\begin_modules +logicalmkup +theorems-ams +theorems-ams-extended +multicol +shapepar +\end_modules +\maintain_unincluded_children false +\begin_local_layout +Format 7 +InsetLayout CharStyle:MenuItem +LyxType charstyle +LabelString menu +LatexType command +LatexName menuitem +Font +Family Sans +EndFont +Preamble +\newcommand*{\menuitem}[1]{{\sffamily #1}} +EndPreamble +End +\end_local_layout +\language ngerman +\language_package default +\inputencoding auto-legacy +\fontencoding auto +\font_roman "default" "FreeSans" +\font_sans "default" "FreeSans" +\font_typewriter "default" "FreeSans" +\font_math "auto" "auto" +\font_default_family default +\use_non_tex_fonts true +\font_sc false +\font_osf false +\font_sf_scale 100 100 +\font_tt_scale 100 100 +\use_microtype false +\use_dash_ligatures true +\graphics default +\default_output_format pdf4 +\output_sync 0 +\bibtex_command default +\index_command default +\float_placement class +\float_alignment class +\paperfontsize 12 +\spacing single +\use_hyperref true +\pdf_bookmarks true +\pdf_bookmarksnumbered true +\pdf_bookmarksopen false +\pdf_bookmarksopenlevel 1 +\pdf_breaklinks false +\pdf_pdfborder true +\pdf_colorlinks true +\pdf_backref false +\pdf_pdfusetitle false +\papersize a4paper +\use_geometry false +\use_package amsmath 1 +\use_package amssymb 1 +\use_package cancel 0 +\use_package esint 0 +\use_package mathdots 1 +\use_package mathtools 0 +\use_package mhchem 1 +\use_package stackrel 0 +\use_package stmaryrd 0 +\use_package undertilde 1 +\cite_engine basic +\cite_engine_type default +\biblio_style plain +\use_bibtopic false +\use_indices false +\paperorientation portrait +\suppress_date false +\justification true +\use_refstyle 0 +\use_minted 0 +\notefontcolor #0000ff +\index Stichwortverzeichnis +\shortcut idx +\color #008000 +\end_index +\secnumdepth 3 +\tocdepth 3 +\paragraph_separation indent +\paragraph_indentation default +\is_math_indent 1 +\math_indentation default +\math_numbering_side default +\quotes_style german +\dynamic_quotes 0 +\papercolumns 1 +\papersides 2 +\paperpagestyle headings +\tablestyle default +\tracking_changes false +\output_changes false +\html_math_output 0 +\html_css_as_file 0 +\html_be_strict true +\end_header + +\begin_body + +\begin_layout Title +Erweiterte \SpecialChar LyX + Features +\end_layout + +\begin_layout Subtitle +Version 2.1.x +\end_layout + +\begin_layout Standard + +\lang english +The important parts are: +\end_layout + +\begin_layout Description + +\family sans +\lang english +NoWeb +\family default +-> +\family sans +Program +\family default + with Flags set to +\end_layout + +\begin_layout Standard +geschrieben. +\end_layout + +\begin_layout Standard +\begin_inset Flex Multiple Columns +status open + +\begin_layout Plain Layout + +\size footnotesize +\lang english +\begin_inset Argument 1 +status open + +\begin_layout Plain Layout + +3 +\end_layout + +\end_inset + +It can be imagined that my close intimacy. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Spalten innerhalb einer Spalte sind ebenfalls möglich: +\end_layout + +\begin_layout Standard +\begin_inset Flex Multiple Columns +status open + +\begin_layout Plain Layout + +\size footnotesize +\lang english +The Honourable Ronald Adair. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Fortgeschrittene Beispiele +\end_layout + +\begin_layout Nut + +\lang french +Lorem ipsum dolor sit. +\end_layout + +\begin_layout Standard +dann nur +\end_layout + +\end_body +\end_document diff --git a/autotests/export/latex/lyxbugs-resolved/9633-languagenesting2.lyx b/autotests/export/latex/lyxbugs-resolved/9633-languagenesting2.lyx new file mode 100644 index 0000000000..956e5a7fad --- /dev/null +++ b/autotests/export/latex/lyxbugs-resolved/9633-languagenesting2.lyx @@ -0,0 +1,1625 @@ +#LyX 2.3 created this file. For more info see http://www.lyx.org/ +\lyxformat 512 +\begin_document +\begin_header +\save_transient_properties true +\origin unavailable +\textclass scrbook +\begin_preamble +% extra space for tables +\newcommand{\extratablespace}[1]{\noalign{\vskip#1}} +\end_preamble +\options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading +\use_default_options false +\begin_modules +logicalmkup +theorems-ams +theorems-ams-extended +multicol +shapepar +\end_modules +\maintain_unincluded_children false +\begin_local_layout +Format 49 +InsetLayout Flex:MenuItem +LyxType charstyle +LabelString menu +LatexType command +LatexName menuitem +Font +Family Sans +EndFont +Preamble +\newcommand*{\menuitem}[1]{{\sffamily #1}} +EndPreamble +ResetsFont true +End +\end_local_layout +\language ngerman +\language_package default +\inputencoding auto +\fontencoding global +\font_roman "default" "DejaVu Serif" +\font_sans "default" "DejaVu Sans" +\font_typewriter "default" "DejaVu Sans Mono" +\font_math "auto" "default" +\font_default_family default +\use_non_tex_fonts false +\font_sc false +\font_osf false +\font_sf_scale 100 100 +\font_tt_scale 100 100 +\use_microtype false +\graphics default +\default_output_format pdf5 +\output_sync 0 +\bibtex_command default +\index_command default +\paperfontsize 12 +\spacing single +\use_hyperref true +\pdf_bookmarks true +\pdf_bookmarksnumbered true +\pdf_bookmarksopen false +\pdf_bookmarksopenlevel 1 +\pdf_breaklinks false +\pdf_pdfborder true +\pdf_colorlinks true +\pdf_backref false +\pdf_pdfusetitle false +\papersize a4paper +\use_geometry false +\use_package amsmath 1 +\use_package amssymb 1 +\use_package cancel 0 +\use_package esint 0 +\use_package mathdots 1 +\use_package mathtools 0 +\use_package mhchem 1 +\use_package stackrel 0 +\use_package stmaryrd 0 +\use_package undertilde 1 +\cite_engine basic +\cite_engine_type default +\biblio_style plain +\use_bibtopic false +\use_indices false +\paperorientation portrait +\suppress_date false +\justification true +\use_refstyle 0 +\notefontcolor #0000ff +\index Stichwortverzeichnis +\shortcut idx +\color #008000 +\end_index +\secnumdepth 3 +\tocdepth 3 +\paragraph_separation indent +\paragraph_indentation default +\quotes_language german +\papercolumns 1 +\papersides 2 +\paperpagestyle headings +\tracking_changes false +\output_changes false +\html_math_output 0 +\html_css_as_file 0 +\html_be_strict true +\end_header + +\begin_body + +\begin_layout Title +Erweiterte \SpecialChar LyX + Features +\end_layout + +\begin_layout Subtitle +Version 2.2.x +\end_layout + +\begin_layout Author +vom \SpecialChar LyX +-Team +\end_layout + +\begin_layout Standard +\begin_inset CommandInset toc +LatexCommand tableofcontents + +\end_inset + + +\end_layout + +\begin_layout Chapter +\SpecialChar LyX + und das World Wide Web +\end_layout + +\begin_layout Standard + +\lang english +\SpecialChar LyX + hndly formats. +\end_layout + +\begin_layout Section +Mathe-Ausgabe in XHTML +\end_layout + +\begin_layout Standard + +\lang english +\SpecialChar LyX + offers four choices for how math is rendered. + These have various advantages and disadvantages: +\end_layout + +\begin_layout Itemize + +\lang english +MathML +\begin_inset Newline newline +\end_inset + +MathML ifically fo. + +\end_layout + +\begin_layout Itemize + +\lang english +HTML +\begin_inset Newline newline +\end_inset + +As mentioned above, +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout + +\lang english +elyxer +\end_layout + +\end_inset + + +\lang ngerman +outputs . + +\end_layout + +\begin_layout Standard + +\lang english +Oted under +\begin_inset Flex MenuItem +status collapsed + +\begin_layout Plain Layout + +\lang english +Document\SpecialChar menuseparator + +\lang french +Settings\SpecialChar menuseparator + +\lang ngerman +Output +\end_layout + +\end_inset + +. + By dmerefore. +\end_layout + +\begin_layout Chapter +Der \SpecialChar LyX +-S +\lang french +erv +\lang ngerman +er +\end_layout + +\begin_layout Section +Einführung +\end_layout + +\begin_layout Standard + +\lang english +The `\SpecialChar LyX + server' almmands, +\begin_inset Quotes eld +\end_inset + +push +\begin_inset Quotes erd +\end_inset + + citations to \SpecialChar LyX +. +\end_layout + +\begin_layout Section + +\lang english +Normal communication +\end_layout + +\begin_layout Subsubsection* + +\lang english +External Packages (PDFSync and scrltx) +\end_layout + +\begin_layout Standard + +\lang english +The +\lang french +packages +\lang english + +\emph on +pdfsync +\emph default + and +\emph on +scrltx +\emph default + provide reverse s. +\end_layout + +\begin_layout LyX-Code + +\lang english +#!/bin/sh +\begin_inset Newline newline +\end_inset + +LYXPIPE="/path/to/lyxpipe" +\begin_inset Newline newline +\end_inset + +read TMP < "${LYXPIPE}".out || exit +\end_layout + +\begin_layout Standard + +\lang english +Forward search is, as the name implies,: +\end_layout + +\begin_layout Itemize +\noindent + +\lang english +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout + +\lang english +$$n +\end_layout + +\end_inset + +: row number +\end_layout + +\begin_layout Itemize +\noindent + +\lang english +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout + +\lang english +$$t +\end_layout + +\end_inset + +: name of the (temporary) exported .tex file (without path) +\end_layout + +\begin_layout Standard + +\lang english +Noctionality. + +\lang ngerman + a +\end_layout + +\begin_layout Chapter + +\lang french +Besondere +\lang ngerman + Dokumentklassen +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +Dokumentklasse!besondere +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Section +Versionskontrolle +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +Versionskontrolle +\end_layout + +\end_inset + + in \SpecialChar LyX + +\end_layout + +\begin_layout Standard +von +\noun on +Lars Gullik Bjønnes +\noun default +und +\noun on +Pavel Sanda +\end_layout + +\begin_layout Subsection +Einleitung +\end_layout + +\begin_layout Standard + +\lang english +Also ste Book +\begin_inset Foot +status collapsed + +\begin_layout Plain Layout + +\lang english +\begin_inset CommandInset href +LatexCommand href +target "http://svnbook.red-bean.com/" + +\end_inset + + +\end_layout + +\end_inset + +. + In +\lang french +theuld +\lang english + read +\begin_inset Quotes eld +\end_inset + +rcsintro +\begin_inset Quotes erd +\end_inset + + (a man file, read it with +\family typewriter +man rcsintro +\family default +). + This of RCS. +\family typewriter +,v +\family default +). +\end_layout + +\begin_layout Standard + +\lang english +Be \SpecialChar LyX +, you should +\family sans +View\SpecialChar menuseparator +Toolbars\SpecialChar menuseparator +Version +\begin_inset space ~ +\end_inset + +Control +\family default +. +\end_layout + +\begin_layout Subsection +RCS-Befehle in \SpecialChar LyX + +\end_layout + +\begin_layout Standard +Die folgetützten RCS-Befehle. +\family sans +Datei\SpecialChar menuseparator +Versionskontrolle +\family default +. +\end_layout + +\begin_layout Standard +Wennerungen +\end_layout + +\begin_layout Standard +RCS-Befehl: +\family typewriter +ci -q -u -m"" +\end_layout + +\begin_layout Subsubsection +Entwicklung anzeigen +\family sans +\series medium + +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +Versionskontrolle!anzeigen +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Da angezeigt. +\family typewriter +rlog +\family default + in einemtionen liefert +\family typewriter +man rlog +\family default +. +\end_layout + +\begin_layout Subsubsection + +\lang english +Revision info +\end_layout + +\begin_layout Standard + +\lang english +\SpecialChar LyX + sast commit. +\family typewriter +rlog -r +\family default +. + For other details see +\begin_inset CommandInset ref +LatexCommand ref +reference "subsec:VCS-Revision-Information" + +\end_inset + + for details. +\end_layout + +\begin_layout Subsection + +\lang english +CVS commands in \SpecialChar LyX + +\end_layout + +\begin_layout Standard + +\lang english +A subs in the +\family sans +File\SpecialChar menuseparator +Version +\begin_inset space ~ +\end_inset + +Control +\family default + submenu. + The version control syste plessible. +\end_layout + +\begin_layout Subsubsection + +\family sans +\lang english +Check Out Changes +\end_layout + +\begin_layout Subsubsection + +\family sans +\lang english +Show History +\end_layout + +\begin_layout Standard + +\lang english +Thment. + The output of +\family typewriter +cvs log "" +\family default + is shown in a browser. +\end_layout + +\begin_layout Subsection + +\lang english +SVN commands in \SpecialChar LyX + +\end_layout + +\begin_layout Subsubsection + +\lang english +\begin_inset CommandInset label +LatexCommand label +name "subsec:SVN-Repo-Update" + +\end_inset + +Update of the local directory checkout from repository +\end_layout + +\begin_layout Standard + +\lang english +All the commands above have one shortcomming - they deal with the current +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout + +\lang english +.tex +\end_layout + +\end_inset + + files and so on administration becomes more complicated. +\begin_inset Foot +status collapsed + +\begin_layout Plain Layout + +\lang english + in the same directory or subdirectories of the document. + +\end_layout + +\end_inset + +. + +\end_layout + +\begin_layout Standard + +\lang english +re two different modes of file use in \SpecialChar LyX +: +\end_layout + +\begin_layout Itemize + +\lang english +Unls to check-out. + +\emph on +Check-out +\emph default + consists of updck. +\end_layout + +\begin_layout Itemize + +\lang english +Loce file. + +\emph on +Check-in +\emph default + consists of commiting changes and releasing write-lock. +\begin_inset Foot +status collapsed + +\begin_layout Plain Layout + +\lang english +Don't be puzzled by the fact that you will be asked for commit message anyway. +\end_layout + +\end_inset + + anased. +\end_layout + +\begin_layout Standard + +\lang english +SVN commands: +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 + +\lang english +Check-in: +\family typewriter + svn commit -q -m"" "" +\begin_inset Newline newline +\end_inset + +svn unlock "" +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 + +\lang english +Check-out: +\family typewriter +svn update "" +\begin_inset Newline newline +\end_inset + +svn lock "" +\end_layout + +\begin_layout Subsubsection + +\lang english +\begin_inset CommandInset label +LatexCommand label +name "subsec:VCS-Revision-Information" + +\end_inset + +Revision Information in Documents +\end_layout + +\begin_layout Standard + +\lang english +There are more possibilities how to activate revision information in our + document. +\end_layout + +\begin_layout Itemize + +\lang english +\SpecialChar LyX + supports directly: +\begin_inset Separator latexpar +\end_inset + + +\end_layout + +\begin_deeper +\begin_layout Itemize + +\lang english +tree revision information ( +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout + +\lang english +vcs-tree-revision +\end_layout + +\end_inset + +). + The result is the output of the +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout + +\lang english +svnversion +\end_layout + +\end_inset + + command, the following table gives you an idea, how to read the results. +\end_layout + +\begin_layout Standard +\align center + +\lang english +\begin_inset Tabular + + + + + + +\begin_inset Text + +\begin_layout Plain Layout + +\lang english +Output +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\lang english +Meaning +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout + +\lang english +4123:4168 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\lang french +mixeg copy +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout + +\lang english +4123:4168MS +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\lang english +mix working copy +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\begin_layout Itemize + +\lang english +fing the output of +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout + +\lang english +svn +\begin_inset space ~ +\end_inset + +info +\begin_inset space ~ +\end_inset + +–xml +\begin_inset space ~ +\end_inset + +file.lyx +\end_layout + +\end_inset + +. + Supported flags are: +\begin_inset Separator latexpar +\end_inset + + +\end_layout + +\begin_deeper +\begin_layout Itemize + +\lang english +version number of the last commit ( +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout + +\lang english +vcs-revision +\end_layout + +\end_inset + +) +\end_layout + +\begin_layout Itemize + +\lang english +time of the last +\lang french +commit ( +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout + +\lang french +vcs-time +\end_layout + +\end_inset + +) +\end_layout + +\end_deeper +\begin_layout Standard + +\lang english +You can obtain this info via InsetInfo (e.g. + +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout + +\lang english +info-insert buffer vcs-date +\end_layout + +\end_inset + +). + Thoagment (i.e. + the +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout + +\lang english +.svn +\end_layout + +\end_inset + + dirment). +\end_layout + +\end_deeper +\begin_layout Itemize + +\lang english +Another—a hacking one—possibility is to use svn keywords +\begin_inset Foot +status collapsed + +\begin_layout Plain Layout + +\lang english +http://svnbook.red-bean.com/en/1.4/svn.advanced.props.special.keywords.html +\end_layout + +\end_inset + +. + In short – you set file keywords property (e.g. + +\family sans +svn propset svn:keywords 'Rev' file.lyx +\family default +) and then paste keyword \SpecialChar TeX + code +\begin_inset Foot +status collapsed + +\begin_layout Plain Layout + +\lang english +This is an easy way how to ensure that \SpecialChar LyX + won't break the line in the middle + of keyword tag. +\end_layout + +\end_inset + + tag in yent (e.g. + +\begin_inset ERT +status open + +\begin_layout Plain Layout + +$Rev$ +\end_layout + +\end_inset + +). + Tber (e.g. + +\begin_inset ERT +status open + +\begin_layout Plain Layout + +$Rev: 59 $ +\end_layout + +\end_inset + +) aftore problems with this approach. +\begin_inset Formula $Rev$ +\end_inset + + become +\begin_inset Formula $Rev:59$ +\end_inset + + in yords like Id, Date, Author, etc. +\end_layout + +\begin_layout Subsection +\SpecialChar LyX + und Literarische Programmierung +\begin_inset Foot +status collapsed + +\begin_layout Plain Layout + +\noun on +HHa +\noun default +: Wahrscheinlich ist das Folgende nicht mehr aktuell, aber ich kenne NoWeb + nicht. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Um mit Nendig. +\end_layout + +\begin_layout Subsubsection +Erstellen von Dokumentation und Quellcode +\end_layout + +\begin_layout Paragraph + +\lang english +Using the noweb module +\end_layout + +\begin_layout Standard + +\lang english +I a new +\begin_inset Quotes eld +\end_inset + +noweb +\begin_inset Quotes erd +\end_inset + + module. + If Noweb is correctly installed, when your document. +\end_layout + +\begin_layout Paragraph +Die Eingabe von Programmcode +\end_layout + +\begin_layout Standard +In \SpecialChar LyX + verwenden Sie zur Eingabe von Programmcode den Umgebungstyp +\begin_inset Flex Noun +status collapsed + +\begin_layout Plain Layout +Chunk +\end_layout + +\end_inset + + +\family sans +. + +\family default + NoWeb schließt Chunks so ein: +\end_layout + +\begin_layout LyX-Code +<>= +\end_layout + +\begin_layout LyX-Code + Noch mehr Code +\end_layout + +\begin_layout LyX-Code + @ +\end_layout + +\begin_layout Standard +Dies ist eine Implementierung von +\family sans +build-script +\family default +, die Sie in einem Verzeichnis in Ihrem Pfad einfügen können: +\end_layout + +\begin_layout Standard +\begin_inset VSpace defskip +\end_inset + + +\end_layout + +\begin_layout Standard + +\family sans +#!/bin/sh +\end_layout + +\begin_layout Standard + +\family sans +# +\end_layout + +\begin_layout Standard + +\family sans +notangle -Rbuild-script $1 | env NOWEB_SOURCE=$1 NOWEB_OUTPUT_DIR=$2 sh +\end_layout + +\begin_layout Standard +\begin_inset VSpace defskip +\end_inset + + +\end_layout + +\begin_layout Standard + +\lang english +The nethe +\begin_inset Quotes gld +\end_inset + +Flags +\begin_inset Quotes grd +\end_inset + + which is to be set to +\begin_inset Newline newline +\end_inset + + +\begin_inset Quotes gld +\end_inset + + +\family typewriter +parselog=$$s/scripts/listerrors +\family default + +\begin_inset Quotes grd +\end_inset + +. +\begin_inset Newline newline +\end_inset + +This the +\begin_inset Quotes gld +\end_inset + +build-script +\begin_inset Quotes grd +\end_inset + + process through the +\begin_inset Quotes gld +\end_inset + +listerrors +\begin_inset Quotes grd +\end_inset + + program. +\end_layout + +\begin_layout Standard + +\lang english +Thectory, so the +\family typewriter +Noweb->Program +\family default + conversion may produce several files, and so most of these would then be +\end_layout + +\begin_layout Paragraph +Build-Befehle im Dokument +\end_layout + +\begin_layout Standard +Dallgemeinen sollten die BefePython, C und Perl geschrieben. +\end_layout + +\begin_layout Subsubsection +\SpecialChar LyX +-Konfiguration +\end_layout + +\begin_layout Standard + +\lang english +Anfigured by the +\family sans +Tools\SpecialChar menuseparator +Preferences +\family default + panel in the +\begin_inset Quotes eld +\end_inset + +File Handling +\begin_inset Quotes erd +\end_inset + + tab. + The important parts are: +\end_layout + +\begin_layout Description + +\lang english +the +\begin_inset space ~ +\end_inset + + +\begin_inset Quotes eld +\end_inset + +NoWeb +\begin_inset Quotes erd +\end_inset + + +\begin_inset space ~ +\end_inset + +format Set re thee set up. + The +\family sans +GUI Name +\family default + is set to +\family typewriter +NoWeb +\family default +, the file extension is set to +\family typewriter +.nw +\family default +. + This the first step of the conversion process. +\end_layout + +\begin_layout Description + +\lang english +\begin_inset Quotes eld +\end_inset + + +\family typewriter +parselog=$$s/scripts/listerrors +\family default + +\begin_inset Quotes erd +\end_inset + +. +\end_layout + +\begin_layout Subsubsection +Erweiterungen zur Fehlersuche +\end_layout + +\begin_layout Standard +Um diese nnen, müssen Sie allerdings den \SpecialChar LyX +-Server +\lang english +You le it in +\family sans +Preferences +\family default + (tab +\family sans +aths +\family default +) by ehe +\family sans +\SpecialChar LyX +server pipe +\family default + a path like +\begin_inset Newline newline +\end_inset + + +\begin_inset Quotes eld +\end_inset + + +\family typewriter +/home//.lyx/lyxpipe +\family default + +\begin_inset Quotes erd +\end_inset + + +\end_layout + +\begin_layout Standard + +\lang english +Reentation in the +\emph on +Customization Manual +\emph default + for rmation. +\end_layout + +\begin_layout Chapter +Spezielle Features +\end_layout + +\begin_layout Subsection +Grundlagen +\end_layout + +\begin_layout Standard +Möchte man 2 +\begin_inset space ~ +\end_inset + +Spalten im Text haben, verwendet man das Menü +\family sans +Einfügen\SpecialChar menuseparator +Benutzer\SpecialChar softhyphen +definierte +\begin_inset space ~ +\end_inset + +Einfügungen\SpecialChar menuseparator +Mehrere +\begin_inset space ~ +\end_inset + +Spalten +\family default + aneginnen sollen. +\begin_inset space ~ +\end_inset + +Spalten gedruckt werden soll, schregung. +\end_layout + +\begin_layout Standard +Hier ist ein Beispiel: +\end_layout + +\begin_layout Standard +\begin_inset Flex Multiple Columns +status open + +\begin_layout Plain Layout +\noindent + +\series bold +\size small +\lang english +The Adventure of the Empty House +\series default + +\begin_inset Newline newline +\end_inset + +by +\noun on +Sir Arthur Conan Doyle +\end_layout + +\begin_layout Plain Layout + +\size small +\lang english +It wawn upon the third of last month. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Sie könnÜbersichtlichkeit zuträglich sein. +\end_layout + +\begin_layout Standard +\begin_inset Newpage newpage +\end_inset + + +\end_layout + +\begin_layout Standard +man den Cursor in die Mehrfachspalten-Einfügung und verwendet das Menü +\family sans +Einfügen\SpecialChar menuseparator +Vorwort +\family default +. + Man schreügung. +\begin_inset Newline newline +\end_inset + +Ein Beispiel mit einem Vorwort: +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Flex Multiple Columns +status open + +\begin_layout Plain Layout +\begin_inset Argument 2 +status open + +\begin_layout Plain Layout +Und die Geschichte geht weiter und weiter und weiter und weiter\SpecialChar ldots + +\end_layout + +\end_inset + + +\size small +\lang english +On the evening of the crime, he returned from the club exactly at ten. + no weapon of any sort was to be found in the room. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Subsubsection +Spaltenabstand +\end_layout + +\begin_layout Subsubsection +Vertikale Linien +\end_layout + +\begin_layout Standard +\begin_inset ERT +status open + +\begin_layout Plain Layout + + +\backslash +setlength{ +\backslash +columnsep}{1cm} +\end_layout + +\begin_layout Plain Layout + + +\backslash +renewcommand{ +\backslash +columnseprulecolor}{ +\backslash +color{cyan}} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Flex Multiple Columns +status open + +\begin_layout Plain Layout + +\size small +\lang english +\begin_inset Quotes eld +\end_inset + +You're surprised to see me, sir, +\begin_inset Quotes erd +\end_inset + + said he, in a strange, croaking voice. +\end_layout + +\begin_layout Plain Layout + +\size small +\lang english +I ac sir. + Here's +\noun on +British +\begin_inset space ~ +\end_inset + +Birds +\noun default +, and +\noun on +Catullus +\noun default +, and +\noun on +The Holy War +\noun default +–a bargain, every one of them. + With five volumes you could just fill that gap on that second shelf. + It looks untidy, does it not, sir? +\begin_inset Quotes erd +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +setlength{ +\backslash +columnseprule}{0pt} +\end_layout + +\begin_layout Plain Layout + + +\backslash +renewcommand{ +\backslash +columnseprulecolor}{ +\backslash +normalcolor} +\end_layout + +\end_inset + + +\begin_inset Note Note +status collapsed + +\begin_layout Plain Layout +auf Voreinstellung zurücksetzen +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Newpage newpage +\end_inset + + +\end_layout + +\end_body +\end_document diff --git a/autotests/export/latex/lyxbugs-resolved/9633-languagenesting_enumerate_and_lyxcode.lyx b/autotests/export/latex/lyxbugs-resolved/9633-languagenesting_enumerate_and_lyxcode.lyx new file mode 100644 index 0000000000..3e429f15a3 --- /dev/null +++ b/autotests/export/latex/lyxbugs-resolved/9633-languagenesting_enumerate_and_lyxcode.lyx @@ -0,0 +1,775 @@ +#LyX 2.4 created this file. For more info see https://www.lyx.org/ +\lyxformat 574 +\begin_document +\begin_header +\save_transient_properties true +\origin unavailable +\textclass scrbook +\begin_preamble +% Präambel nicht verändern!!! +% +% Die Präambel stellt sicher, dass das Benutzerhandbuch korrekt +% in die Formate pdf, ps und dvi exportiert werden kann. +% Wenn Probleme beim Exportieren auftreten, können Sie sich +% an das LyX-Dokumentationsteam wenden. +% EMail: lyx-docs@lists.lyx.org + +% Setzt den Link für Spruenge zu Gleitabbildungen +% auf den Anfang des Gelitobjekts und nicht aufs Ende +\usepackage[figure]{hypcap} + +% Die Seiten des Inhaltsverzeichnisses werden römisch numeriert, +% ein PDF-Lesezeichen für das Inhaltsverzeichnis wird hinzugefügt +\let\myTOC\tableofcontents +\renewcommand\tableofcontents{% + \frontmatter + \pdfbookmark[1]{\contentsname}{} + \myTOC + \mainmatter } + +\@ifpackageloaded{babel}{ + % Linkfläche für Querverweise vergrößern und automatisch benennen, + \AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}} + \addto\extrasngerman{% + \renewcommand*{\equationautorefname}[1]{}% + \renewcommand{\sectionautorefname}{Kap.\negthinspace}% + \renewcommand{\subsectionautorefname}{Kap.\negthinspace}% + \renewcommand{\subsubsectionautorefname}{Kap.\negthinspace}% + } +}{} +\end_preamble +\options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading +\use_default_options false +\begin_modules +logicalmkup +\end_modules +\maintain_unincluded_children false +\language ngerman +\language_package default +\inputencoding utf8 +\fontencoding auto +\font_roman "lmodern" "FreeSerif" +\font_sans "lmss" "default" +\font_typewriter "lmtt" "default" +\font_math "auto" "auto" +\font_default_family default +\use_non_tex_fonts false +\font_sc false +\font_osf false +\font_sf_scale 100 100 +\font_tt_scale 100 100 +\use_microtype false +\use_dash_ligatures true +\graphics default +\default_output_format default +\output_sync 0 +\bibtex_command default +\index_command default +\float_placement class +\float_alignment class +\paperfontsize 12 +\spacing single +\use_hyperref true +\pdf_title "LyX-Anpassung: Möglichkeiten für fortgeschrittene Benutzer" +\pdf_author "LyX Team, deutsche Übersetzung: Peter Sütterlin, Leif Albers und Hartmut Haase" +\pdf_subject "LyX-Dokumentation, Anpassung" +\pdf_keywords "LyX, Dokumentation" +\pdf_bookmarks true +\pdf_bookmarksnumbered true +\pdf_bookmarksopen true +\pdf_bookmarksopenlevel 1 +\pdf_breaklinks false +\pdf_pdfborder false +\pdf_colorlinks true +\pdf_backref false +\pdf_pdfusetitle false +\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false" +\papersize default +\use_geometry false +\use_package amsmath 0 +\use_package amssymb 0 +\use_package cancel 0 +\use_package esint 0 +\use_package mathdots 0 +\use_package mathtools 0 +\use_package mhchem 0 +\use_package stackrel 0 +\use_package stmaryrd 0 +\use_package undertilde 0 +\cite_engine basic +\cite_engine_type default +\biblio_style plain +\use_bibtopic false +\use_indices false +\paperorientation portrait +\suppress_date false +\justification true +\use_refstyle 0 +\use_minted 0 +\notefontcolor #0000ff +\branch OutDated +\selected 0 +\filename_suffix 0 +\color #faf0e6 +\end_branch +\index Stichwortverzeichnis +\shortcut idx +\color #008000 +\end_index +\secnumdepth 3 +\tocdepth 3 +\paragraph_separation indent +\paragraph_indentation default +\is_math_indent 1 +\math_indentation default +\math_numbering_side default +\quotes_style german +\dynamic_quotes 0 +\papercolumns 1 +\papersides 2 +\paperpagestyle headings +\tablestyle default +\tracking_changes false +\output_changes false +\html_math_output 0 +\html_css_as_file 0 +\html_be_strict false +\end_header + +\begin_body + +\begin_layout Title +\SpecialChar LyX +-Anpassung: +\begin_inset Newline newline +\end_inset + +Möglichkeiten für fortgeschrittene Benutzer +\end_layout + +\begin_layout Enumerate +Das Layout für eine flexible Einfügung wird definiert. + In diesem Fall muss +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout + +\end_layout + +\end_inset + + in der Form +\lang english + +\begin_inset Quotes gld +\end_inset + + +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout +Flex: +\end_layout + +\end_inset + + +\begin_inset Quotes grd +\end_inset + + +\lang ngerman + sein, wobei +\lang english + +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout +Name +\end_layout + +\end_inset + + +\lang ngerman + ein beliebiger gültiger Bezeichner sein kann, der in keiner anderen existierend +en Einfügung benutzt wird. + Der Bezeichner darf Leerzeichen enthalten, dann muss aber der komplette + Typ in Anführungszeichen gesetzt werden. + Beachten Sie, dass die Definition einer flexiblen Einfügung +\emph on +auch +\emph default + einen +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout +LyXType +\end_layout + +\end_inset + +-Eintrag enthalten muss, der festlegt welcher Einfügungstyp definiert wird. +\end_layout + +\begin_layout Enumerate + +\lang english +The layout for user specific branch is being defined. + In this case, +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout + +\lang english + +\end_layout + +\end_inset + + must be of the form +\lang ngerman + +\begin_inset Quotes gld +\end_inset + + +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout +Branch: +\end_layout + +\end_inset + + +\begin_inset Quotes grd +\end_inset + +, +\lang english +where +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout + +\lang english +name +\end_layout + +\end_inset + + may be be any valid identifier of branch defined in user's document. + The identifier may include spaces, but in that case the whole thing must + be wrapped in quotes. + The main purpose of this feature is to allow \SpecialChar LaTeX + wrapping around specific + branches as user needs. +\end_layout + +\begin_layout Enumerate + +\lang english +The layout of a user (or class) specific caption is being defined. + In this case, +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout + +\lang english + +\end_layout + +\end_inset + + must be of the form +\lang ngerman + +\begin_inset Quotes gld +\end_inset + + +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout +Caption: +\end_layout + +\end_inset + + +\begin_inset Quotes grd +\end_inset + +, +\lang english +where +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout + +\lang english +name +\end_layout + +\end_inset + + specifies the name of the caption as it appears in the menu. + Have a look at the standard caption ( +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout + +\lang english +Caption:Standard +\end_layout + +\end_inset + +), the specific captions of the KOMA-Script classes ( +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout + +\lang english +Caption:Above +\end_layout + +\end_inset + +, +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout + +\lang english +Caption:Below +\end_layout + +\end_inset + +) oder das Modul +\family sans +Multilingual +\begin_inset space ~ +\end_inset + +Captions +\family default + ( +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout + +\lang english +Caption:Bicaption +\end_layout + +\end_inset + +) for applications. +\end_layout + +\begin_layout Standard +Die +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout +InsetLayout +\end_layout + +\end_inset + +-Definition kann folgende Einträge enthalten: +\end_layout + +\begin_layout Subsection + +\lang english +Paragraph styles +\end_layout + +\begin_layout Standard + +\lang english +The sort of XHTML \SpecialChar LyX + outputs for a paragraph depends upon whether we are dealing + with a normal paragraph, a command, or an environment, where this is itself + determined by the contents of the corresponding +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout + +\lang english +\SpecialChar LaTeX +Type +\end_layout + +\end_inset + + tag. + +\end_layout + +\begin_layout Standard + +\lang english +For a command or normal paragraph, the output XHTML has the following form: +\end_layout + +\begin_layout LyX-Code + +\lang english + +\end_layout + +\begin_layout LyX-Code + +\lang english +Label +\end_layout + +\begin_layout LyX-Code + +\lang english +Contents of the paragraph. +\end_layout + +\begin_layout LyX-Code + +\lang english + +\end_layout + +\begin_layout Standard + +\lang english +The label tags are of course omitted if the paragraph does not have a label. +\end_layout + +\begin_layout Standard + +\lang english +For an environment that is not some sort of list, the XHTML takes this form: +\end_layout + +\begin_layout LyX-Code + +\lang english + +\end_layout + +\begin_layout LyX-Code + +\lang english +Environment LabelFirst paragraph. +\end_layout + +\begin_layout LyX-Code + +\lang english +Second paragraph. +\end_layout + +\begin_layout LyX-Code + +\lang english + +\end_layout + +\begin_layout Standard + +\lang english +Note that the label is output only for the first paragraph, as it should + be for a theorem, for example. + +\end_layout + +\begin_layout Standard + +\lang english +For a list, we have one of these forms: +\end_layout + +\begin_layout LyX-Code + +\lang english + +\end_layout + +\begin_layout LyX-Code + +\lang english +List LabelFirst item. +\end_layout + +\begin_layout LyX-Code + +\lang english +List LabelSecond item. +\end_layout + +\begin_layout LyX-Code + +\lang english + +\end_layout + +\begin_layout LyX-Code + +\end_layout + +\begin_layout LyX-Code + +\lang english + +\end_layout + +\begin_layout LyX-Code + +\lang english +List LabelFirst item. +\end_layout + +\begin_layout LyX-Code + +\lang english +List LabelSecond item. +\end_layout + +\begin_layout LyX-Code + +\lang english + +\end_layout + +\begin_layout Standard + +\lang english +Note the different orders of +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout + +\lang english +labeltag +\end_layout + +\end_inset + + and +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout + +\lang english +itemtag +\end_layout + +\end_inset + +. + +\end_layout + +\begin_layout Chapter +Namen von verfügbaren Farben für die Verwendung in Layout-Dateien +\begin_inset CommandInset label +LatexCommand label +name "chap:Namen-von-Farben" + +\end_inset + + +\end_layout + +\begin_layout Standard +Die hier aufgelisteten Farben sind die Standardfarben und die, die man in + den \SpecialChar LyX +-Voreinstellungen festlegen kann. +\end_layout + +\begin_layout Description + +\lang english +none +\lang ngerman + Keine spezielle Farbe – entfernt Farbe oder setzt Farbe auf Voreinstellung +\end_layout + +\begin_layout Description + +\lang english +black +\end_layout + +\begin_layout Description + +\lang english +white +\end_layout + +\begin_layout Description + +\lang english +red +\end_layout + +\begin_layout Description + +\lang english +green +\end_layout + +\begin_layout Description + +\lang english +urllabel Label color for URL insets +\end_layout + +\begin_layout Description + +\lang english +urltext Color for URL inset text +\end_layout + +\end_body +\end_document diff --git a/autotests/export/latex/lyxbugs-resolved/9633-languagenesting_index_inset.lyx b/autotests/export/latex/lyxbugs-resolved/9633-languagenesting_index_inset.lyx new file mode 100644 index 0000000000..9b71332c13 --- /dev/null +++ b/autotests/export/latex/lyxbugs-resolved/9633-languagenesting_index_inset.lyx @@ -0,0 +1,195 @@ +#LyX 2.4 created this file. For more info see https://www.lyx.org/ +\lyxformat 574 +\begin_document +\begin_header +\save_transient_properties true +\origin unavailable +\textclass scrbook +\use_default_options false +\begin_modules +customHeadersFooters +enumitem +logicalmkup +\end_modules +\maintain_unincluded_children false +\language french +\language_package default +\inputencoding auto-legacy +\fontencoding auto +\font_roman "lmodern" "default" +\font_sans "lmss" "default" +\font_typewriter "lmtt" "default" +\font_math "auto" "auto" +\font_default_family default +\use_non_tex_fonts true +\font_sc false +\font_osf false +\font_sf_scale 100 100 +\font_tt_scale 100 100 +\use_microtype false +\use_dash_ligatures true +\graphics default +\default_output_format pdf4 +\output_sync 0 +\bibtex_command bibtex +\index_command default +\float_placement class +\float_alignment class +\paperfontsize 12 +\spacing single +\use_hyperref false +\pdf_title "Guide de l'utilisateur de LyX" +\pdf_author "L'équipe LyX, Traduction: Adrien Rebollo, Siegfried Meunier-Guttin-Cluzel et Jean-Pierre Chrétien" +\pdf_subject "LyX" +\pdf_keywords "LyX" +\pdf_bookmarks true +\pdf_bookmarksnumbered true +\pdf_bookmarksopen false +\pdf_bookmarksopenlevel 1 +\pdf_breaklinks false +\pdf_pdfborder false +\pdf_colorlinks true +\pdf_backref false +\pdf_pdfusetitle false +\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false" +\papersize default +\use_geometry false +\use_package amsmath 1 +\use_package amssymb 1 +\use_package cancel 0 +\use_package esint 1 +\use_package mathdots 1 +\use_package mathtools 0 +\use_package mhchem 1 +\use_package stackrel 0 +\use_package stmaryrd 0 +\use_package undertilde 0 +\cite_engine basic +\cite_engine_type default +\biblio_style plain +\use_bibtopic false +\use_indices false +\paperorientation portrait +\suppress_date false +\justification true +\use_refstyle 1 +\use_minted 0 +\notefontcolor #0000ff +\branch Question +\selected 1 +\filename_suffix 0 +\color #00ff00 +\end_branch +\branch Réponse +\selected 0 +\filename_suffix 0 +\color #aa55ff +\end_branch +\index Index +\shortcut idx +\color #008000 +\end_index +\secnumdepth 3 +\tocdepth 2 +\paragraph_separation skip +\defskip medskip +\is_math_indent 0 +\math_numbering_side default +\quotes_style swiss +\dynamic_quotes 0 +\papercolumns 1 +\papersides 2 +\paperpagestyle default +\tablestyle default +\tracking_changes false +\output_changes false +\html_math_output 0 +\html_css_as_file 0 +\html_be_strict false +\end_header + +\begin_body + +\begin_layout Standard +\paragraph_spacing single +Verbatim +\begin_inset Index idx +status open + +\begin_layout Plain Layout + +\lang english +Verbatim +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +If the index inset contains English text but the rest of the document is + french, compilation fails with +\end_layout + +\begin_layout LyX-Code +! LaTeX Error: +\backslash +begin{otherlanguage} on input line 10 ended by +\backslash +end{theindex}. +\end_layout + +\begin_layout Standard +with language package Polyglossia while no error is shown with Babel. +\end_layout + +\begin_layout Standard +(Should we prevent language switches in index insets?) +\end_layout + +\begin_layout Standard +If the index inset is in a section heading, the error is cryptic: +\end_layout + +\begin_layout LyX-Code +! Undefined control sequence. + +\backslash +in@ #1#2-> +\backslash +begingroup +\backslash +def +\backslash +in@@ ##1#1{} +\backslash +toks@ +\backslash +expandafter { +\backslash +in@@ #2{}{}#1... + l.42 }} +\end_layout + +\begin_layout Standard +\begin_inset CommandInset nomencl_print +LatexCommand printnomenclature +set_width "auto" + +\end_inset + + +\begin_inset CommandInset index_print +LatexCommand printindex +type "idx" +name "Index" +literal "true" + +\end_inset + + +\end_layout + +\end_body +\end_document diff --git a/autotests/export/latex/lyxbugs-resolved/languagenesting_tablecell.lyx b/autotests/export/latex/lyxbugs-resolved/languagenesting_tablecell.lyx new file mode 100644 index 0000000000..6ddd127cec --- /dev/null +++ b/autotests/export/latex/lyxbugs-resolved/languagenesting_tablecell.lyx @@ -0,0 +1,130 @@ +#LyX 2.4 created this file. For more info see https://www.lyx.org/ +\lyxformat 573 +\begin_document +\begin_header +\save_transient_properties true +\origin unavailable +\textclass article +\use_default_options true +\maintain_unincluded_children false +\language british +\language_package default +\inputencoding utf8 +\fontencoding auto +\font_roman "default" "default" +\font_sans "default" "default" +\font_typewriter "default" "default" +\font_math "auto" "auto" +\font_default_family default +\use_non_tex_fonts false +\font_sc false +\font_osf false +\font_sf_scale 100 100 +\font_tt_scale 100 100 +\use_microtype false +\use_dash_ligatures false +\graphics 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 +\papersize default +\use_geometry false +\use_package amsmath 1 +\use_package amssymb 1 +\use_package cancel 1 +\use_package esint 1 +\use_package mathdots 1 +\use_package mathtools 1 +\use_package mhchem 1 +\use_package stackrel 1 +\use_package stmaryrd 1 +\use_package undertilde 1 +\cite_engine basic +\cite_engine_type default +\biblio_style plain +\use_bibtopic false +\use_indices false +\paperorientation portrait +\suppress_date false +\justification true +\use_refstyle 1 +\use_minted 0 +\index Index +\shortcut idx +\color #008000 +\end_index +\secnumdepth 3 +\tocdepth 3 +\paragraph_separation indent +\paragraph_indentation default +\is_math_indent 0 +\math_numbering_side default +\quotes_style british +\dynamic_quotes 0 +\papercolumns 1 +\papersides 1 +\paperpagestyle default +\tablestyle default +\tracking_changes false +\output_changes false +\html_math_output 0 +\html_css_as_file 0 +\html_be_strict false +\end_header + +\begin_body + +\begin_layout Standard +This document did not compile because of language nesting issues with the + two paragraphs in the second table column of fixed size with German text. +\end_layout + +\begin_layout Standard +\begin_inset Tabular + + + + + + +\begin_inset Text + +\begin_layout Plain Layout +English +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\lang ngerman +Deutsch +\end_layout + +\begin_layout Plain Layout + +\lang ngerman +mit Zeilenumbruch +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_body +\end_document diff --git a/autotests/export/latex/lyxbugs/10371-LongestLabelWithUnderscore.lyx b/autotests/export/latex/lyxbugs/10371-LongestLabelWithUnderscore.lyx new file mode 100644 index 0000000000..9c1ffad105 --- /dev/null +++ b/autotests/export/latex/lyxbugs/10371-LongestLabelWithUnderscore.lyx @@ -0,0 +1,150 @@ +#LyX 2.3 created this file. For more info see http://www.lyx.org/ +\lyxformat 512 +\begin_document +\begin_header +\save_transient_properties true +\origin unavailable +\textclass article +\begin_preamble + +\end_preamble +\use_default_options false +\maintain_unincluded_children false +\language english +\language_package default +\inputencoding auto +\fontencoding global +\font_roman "default" "default" +\font_sans "default" "default" +\font_typewriter "default" "default" +\font_math "auto" "auto" +\font_default_family default +\use_non_tex_fonts true +\font_sc false +\font_osf false +\font_sf_scale 100 100 +\font_tt_scale 100 100 +\use_microtype false +\graphics default +\default_output_format pdf5 +\output_sync 0 +\bibtex_command default +\index_command default +\paperfontsize default +\spacing single +\use_hyperref false +\papersize a4paper +\use_geometry false +\use_package amsmath 0 +\use_package amssymb 0 +\use_package cancel 0 +\use_package esint 0 +\use_package mathdots 0 +\use_package mathtools 0 +\use_package mhchem 0 +\use_package stackrel 0 +\use_package stmaryrd 0 +\use_package undertilde 0 +\cite_engine basic +\cite_engine_type default +\biblio_style plain +\use_bibtopic false +\use_indices false +\paperorientation portrait +\suppress_date false +\justification false +\use_refstyle 0 +\index Register +\shortcut idx +\color #008000 +\end_index +\paperwidth 22cm +\paperheight 11cm +\leftmargin 1cm +\topmargin 0cm +\rightmargin 1cm +\bottommargin 0cm +\secnumdepth 3 +\tocdepth 3 +\paragraph_separation skip +\defskip medskip +\quotes_language english +\papercolumns 1 +\papersides 1 +\paperpagestyle empty +\tracking_changes false +\output_changes false +\html_math_output 0 +\html_css_as_file 0 +\html_be_strict false +\end_header + +\begin_body + +\begin_layout Standard +The +\begin_inset Quotes eld +\end_inset + +longest label +\begin_inset Quotes erd +\end_inset + + marker in a labeling environment must be valid LaTeX (just like ERT). +\end_layout + +\begin_layout Standard +This means that setting the longest label to a string containing an underscore + (or another special character like +\family typewriter + +\backslash +]$%#^ +\family default +...) leads to an uncompilable document (except for valid LaTeX constructs like + +\family typewriter +$ +\backslash +sin^2 x_i$ +\family default +). + +\end_layout + +\begin_layout Labeling +\labelwidthstring Longest_Label_With_Underscore +\noindent +Label content. +\end_layout + +\begin_layout Labeling +\labelwidthstring Longest_Label_With_Underscore +\noindent +This labeling list has the longest label set to +\begin_inset Quotes eld +\end_inset + +Longest_Label_With_Underscore +\begin_inset Quotes erd +\end_inset + +. + (See Edit>Paragraph>Settings...Longest label) +\end_layout + +\begin_layout Labeling +\labelwidthstring Longest_Label_With_Underscore +It fails with +\begin_inset Quotes eld +\end_inset + +Missing $ inserted. +\begin_inset Quotes erd +\end_inset + + +\end_layout + +\end_body +\end_document diff --git a/autotests/export/latex/lyxbugs/11521-fa_OT1.lyx b/autotests/export/latex/lyxbugs/11521-fa_OT1.lyx new file mode 100644 index 0000000000..7ee516b6b5 --- /dev/null +++ b/autotests/export/latex/lyxbugs/11521-fa_OT1.lyx @@ -0,0 +1,129 @@ +#LyX 2.4 created this file. For more info see https://www.lyx.org/ +\lyxformat 566 +\begin_document +\begin_header +\save_transient_properties true +\origin unavailable +\textclass article +\use_default_options false +\maintain_unincluded_children false +\language farsi +\language_package default +\inputencoding utf8 +\fontencoding OT1 +\font_roman "default" "default" +\font_sans "default" "default" +\font_typewriter "default" "default" +\font_math "auto" "auto" +\font_default_family default +\use_non_tex_fonts false +\font_sc false +\font_osf false +\font_sf_scale 100 100 +\font_tt_scale 100 100 +\use_microtype false +\use_dash_ligatures false +\graphics default +\default_output_format pdf2 +\output_sync 0 +\bibtex_command default +\index_command default +\float_placement class +\float_alignment class +\paperfontsize default +\spacing onehalf +\use_hyperref false +\papersize default +\use_geometry false +\use_package amsmath 1 +\use_package amssymb 1 +\use_package cancel 1 +\use_package esint 1 +\use_package mathdots 1 +\use_package mathtools 1 +\use_package mhchem 1 +\use_package stackrel 1 +\use_package stmaryrd 1 +\use_package undertilde 1 +\cite_engine basic +\cite_engine_type default +\biblio_style plain +\use_bibtopic false +\use_indices false +\paperorientation portrait +\suppress_date false +\justification true +\use_refstyle 0 +\use_minted 0 +\index Index +\shortcut idx +\color #008000 +\end_index +\secnumdepth 3 +\tocdepth 3 +\paragraph_separation indent +\paragraph_indentation default +\is_math_indent 0 +\math_numbering_side default +\quotes_style swiss +\dynamic_quotes 0 +\papercolumns 1 +\papersides 1 +\paperpagestyle default +\tracking_changes false +\output_changes false +\html_math_output 0 +\html_css_as_file 0 +\html_be_strict false +\end_header + +\begin_body + +\begin_layout Standard +\SpecialChar LyX + مستنداتی عالی دارد—لطفا از آن استفاده کنید! از قسمت +\family sans +\lang english +Help +\lang farsi +\SpecialChar menuseparator + +\lang english +Introduction +\family default +\lang farsi + شروع کنید، که مستندات را به صورت خلاصه به شما معرفی می‌کند. +\end_layout + +\begin_layout Standard +\paragraph_spacing single + +\lang english +The farsi font-encoding +\begin_inset Quotes cld +\end_inset + +LAE +\begin_inset Quotes crd +\end_inset + + should be added to the fontenc arguments also with a custom font-encoding + (similar to LGR for Greek and T2A for Russian). +\end_layout + +\begin_layout Standard + +\lang english +(This document sets the fontencoding to +\begin_inset Quotes cld +\end_inset + +custom [OT1] +\begin_inset Quotes crd +\end_inset + + to avoid bitmap fonts with CM.) +\end_layout + +\end_body +\end_document diff --git a/autotests/export/latex/lyxbugs/11522-systemfonts-Math-missingchars.lyx b/autotests/export/latex/lyxbugs/11522-systemfonts-Math-missingchars.lyx new file mode 100644 index 0000000000..3c5947742a --- /dev/null +++ b/autotests/export/latex/lyxbugs/11522-systemfonts-Math-missingchars.lyx @@ -0,0 +1,758 @@ +#LyX 2.4 created this file. For more info see https://www.lyx.org/ +\lyxformat 566 +\begin_document +\begin_header +\save_transient_properties true +\origin unavailable +\textclass scrartcl +\begin_preamble + +\end_preamble +\options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading +\use_default_options false +\maintain_unincluded_children false +\language english +\language_package default +\inputencoding auto +\fontencoding auto +\font_roman "lmodern" "default" +\font_sans "lmss" "default" +\font_typewriter "lmtt" "default" +\font_math "auto" "auto" +\font_default_family default +\use_non_tex_fonts true +\font_sc false +\font_osf false +\font_sf_scale 100 100 +\font_tt_scale 100 100 +\use_microtype false +\use_dash_ligatures true +\graphics default +\default_output_format pdf5 +\output_sync 0 +\bibtex_command default +\index_command default +\float_placement class +\float_alignment class +\paperfontsize 12 +\spacing single +\use_hyperref false +\pdf_bookmarks true +\pdf_bookmarksnumbered true +\pdf_bookmarksopen true +\pdf_bookmarksopenlevel 1 +\pdf_breaklinks false +\pdf_pdfborder false +\pdf_colorlinks true +\pdf_backref false +\pdf_pdfusetitle false +\papersize a4paper +\use_geometry false +\use_package amsmath 2 +\use_package amssymb 2 +\use_package cancel 0 +\use_package esint 1 +\use_package mathdots 1 +\use_package mathtools 2 +\use_package mhchem 1 +\use_package stackrel 0 +\use_package stmaryrd 0 +\use_package undertilde 0 +\cite_engine basic +\cite_engine_type default +\biblio_style plain +\use_bibtopic false +\use_indices false +\paperorientation portrait +\suppress_date false +\justification false +\use_refstyle 0 +\use_minted 0 +\notefontcolor #0000ff +\index Index +\shortcut idx +\color #008000 +\end_index +\secnumdepth 4 +\tocdepth 3 +\paragraph_separation skip +\defskip medskip +\is_math_indent 0 +\math_numbering_side default +\quotes_style english +\dynamic_quotes 0 +\papercolumns 1 +\papersides 2 +\paperpagestyle plain +\bullet 1 0 6 -1 +\bullet 2 2 35 -1 +\bullet 3 2 7 -1 +\tracking_changes false +\output_changes false +\html_math_output 0 +\html_css_as_file 0 +\html_be_strict false +\end_header + +\begin_body + +\begin_layout Section* +Minimal failing example for Math.lyx +\end_layout + +\begin_layout Standard +Compiling \SpecialChar LyX +'s detailed Math manual fails with non-TeX fonts due to missing + characters. + The documents uses the default set for LyX documentation: +\emph on +Latin Modern +\emph default + as text and +\emph on +Computer Modern +\emph default + for maths. +\end_layout + +\begin_layout Standard +There is no easy solution because of the nature of the Maths documentation: + +\end_layout + +\begin_layout Enumerate +Changing only the text font results in a bad font mix — LyX documentation + must not give a bad example/showcase. +\end_layout + +\begin_layout Enumerate +Changing the math font does not work for Math.lyx: +\end_layout + +\begin_deeper +\begin_layout Itemize +Some of the documented packages and examples only work with the default + math font (no +\backslash +maltese in +\begin_inset Quotes eld +\end_inset + +txmath +\begin_inset Quotes erd +\end_inset + +, package incompatibilities with unicode-math, ...). +\end_layout + +\begin_layout Itemize +Besides: support for most math fonts is of inferiour quality (missing optical + sizes for indices, limited set of symbols) +\end_layout + +\end_deeper +\begin_layout Subsection* +Missing characters with Latin Modern +\end_layout + +\begin_layout Standard +Excerpts from Math.lyx that lead to +\begin_inset Quotes eld +\end_inset + +missing character +\begin_inset Quotes erd +\end_inset + + errors and discussion of reasons and possible workarounds: +\end_layout + +\begin_layout Quote +Bold Formulas +\end_layout + +\begin_layout Quote +To make a complete formula bold, the command +\series bold + +\backslash +mathbf +\series default + from the previous subsection cannot be used, because it doesn't work for + small Greek letters. + Furthermore it prints Latin letters always upright, like in the following + equation: +\begin_inset Formula +\[ +\mathbf{\int_{n}^{2}f(\theta)=\Gamma}\qquad\textrm{equation with \textbackslash mathbf} +\] + +\end_inset + + +\end_layout + +\begin_layout Standard +Capital Greek characters in +\backslash +mathbf lead to +\begin_inset Quotes eld +\end_inset + +missing character +\begin_inset Quotes erd +\end_inset + + errors with non-TeX fonts. + Small Greek characters are not bolded, because TeX treats them as symbols, + not letters (unless you load the package +\emph on +isomath +\emph default + or +\emph on +fixmath +\emph default +). +\end_layout + +\begin_layout Quote +Accents in Text +\end_layout + +\begin_layout Quote +With the following commands all letters can be accented. + The commands must be inserted in \SpecialChar TeX + mode. +\end_layout + +\begin_layout Quote +\begin_inset Tabular + + + + + + +\begin_inset Text + +\begin_layout Plain Layout +Command +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +Result +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout + +\backslash +H +\begin_inset space \textvisiblespace{} +\end_inset + +e +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +H e +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout + +\backslash +'e +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +'e +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout + +\backslash +~e +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +Tilde +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +~e +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout + +\backslash +.e +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +.e +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout + +\backslash +v +\begin_inset space \textvisiblespace{} +\end_inset + +e +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +v e +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout + +\backslash +d +\begin_inset space \textvisiblespace{} +\end_inset + +e +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +d e +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout + +\backslash +c +\begin_inset space \textvisiblespace{} +\end_inset + +e +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +c e +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\begin_layout Standard +Accented characters missing in Latin Modern: +\end_layout + +\begin_layout Quote + +\family typewriter + +\backslash +c e +\family default + leads to +\end_layout + +\begin_layout Quote +Missing character: There is no +\begin_inset Note Note +status open + +\begin_layout Plain Layout +̧ +\end_layout + +\end_inset + +(U+0327) in font [lmroman12-regular]:+tlig;! +\end_layout + +\begin_layout Standard +OTOH, examples for ERT commands to get accented text letters are not really + helpfull in a +\emph on +mathematics +\emph default + documentation even when mathematical text can be (ab)used to get them. +\end_layout + +\begin_layout Standard +BTW: If keeping them, the following parts of Math.lyx should be corrected +\end_layout + +\begin_layout Labeling +\labelwidthstring 00 +\noindent +- The accents +\series bold +` +\series default + , +\series bold +' +\series default + and +\series bold +^ +\series default + can in combination with vowels directly be inserted with the keyboard without + using \SpecialChar TeX + mode. + The same applies for the tilde +\begin_inset Foot +status collapsed + +\begin_layout Plain Layout +This only applies for keyboards where the tilde is defined as accent. +\end_layout + +\end_inset + + +\series bold +~ +\series default + in combination with +\emph on +a +\emph default + , +\emph on +n +\emph default + , or +\emph on +o +\emph default +. +\end_layout + +\begin_layout Labeling +\labelwidthstring 00 ++ If the keyboard defines them as +\begin_inset Quotes eld +\end_inset + +dead keys +\begin_inset Quotes erd +\end_inset + +, the accents +\series bold +` +\series default + , +\series bold +' +\series default +, ^, and ~ can in combination with supported characters directly be inserted + with the keyboard without using \SpecialChar TeX + mode. +\end_layout + +\begin_layout Labeling +\labelwidthstring 00 +- The commands +\series bold + +\backslash +b +\series default + , +\series bold + +\backslash +c +\series default + , +\series bold + +\backslash +d +\series default + , +\series bold + +\backslash +H +\series default + , +\series bold + +\backslash +t +\series default + , +\series bold + +\backslash +u +\series default + , +\series bold + +\backslash +v +\series default + and accents that are inserted directly with the keyboard are also available + in mathematical text. + +\end_layout + +\begin_layout Labeling +\labelwidthstring 00 ++ Like any LaTeX commands, +\series bold + +\backslash +b +\series default + , +\series bold + +\backslash +c +\series default + , +\series bold + +\backslash +d +\series default + , +\series bold + +\backslash +H +\series default + , +\series bold + +\backslash +t +\series default + , +\series bold + +\backslash +u +\series default + , +\series bold + +\backslash +v +\series default + are available in mathematical text without the need to wrap them in a +\begin_inset Quotes eld +\end_inset + +TeX Code +\begin_inset Quotes erd +\end_inset + + (ERT) inset . +\end_layout + +\begin_layout Labeling +\labelwidthstring 00 +- Example +\backslash +c e +\end_layout + +\begin_layout Labeling +\labelwidthstring 00 ++ Example +\backslash +c c or +\backslash +c s (converted to pre-composed character available in LatinModern). +\end_layout + +\end_body +\end_document diff --git a/autotests/export/latex/lyxbugs/11532-misplaced-inputenc-switch.lyx b/autotests/export/latex/lyxbugs/11532-misplaced-inputenc-switch.lyx new file mode 100644 index 0000000000..9462c6c54b --- /dev/null +++ b/autotests/export/latex/lyxbugs/11532-misplaced-inputenc-switch.lyx @@ -0,0 +1,219 @@ +#LyX 2.4 created this file. For more info see https://www.lyx.org/ +\lyxformat 569 +\begin_document +\begin_header +\save_transient_properties true +\origin unavailable +\textclass article +\use_default_options false +\maintain_unincluded_children false +\language english +\language_package default +\inputencoding auto +\fontencoding auto +\font_roman "lmodern" "DejaVu Serif" +\font_sans "default" "DejaVu Sans" +\font_typewriter "default" "DejaVu Sans Mono" +\font_math "auto" "auto" +\font_default_family default +\use_non_tex_fonts false +\font_sc false +\font_osf false +\font_sf_scale 100 100 +\font_tt_scale 100 100 +\use_microtype false +\use_dash_ligatures true +\graphics 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 +\pdf_bookmarks false +\pdf_bookmarksnumbered false +\pdf_bookmarksopen false +\pdf_bookmarksopenlevel 1 +\pdf_breaklinks false +\pdf_pdfborder true +\pdf_colorlinks true +\pdf_backref section +\pdf_pdfusetitle true +\papersize a4paper +\use_geometry false +\use_package amsmath 1 +\use_package amssymb 1 +\use_package cancel 1 +\use_package esint 1 +\use_package mathdots 1 +\use_package mathtools 1 +\use_package mhchem 1 +\use_package stackrel 1 +\use_package stmaryrd 1 +\use_package undertilde 1 +\cite_engine basic +\cite_engine_type default +\biblio_style plain +\use_bibtopic false +\use_indices false +\paperorientation portrait +\suppress_date false +\justification true +\use_refstyle 0 +\use_minted 0 +\index Stichwortverzeichnis +\shortcut idx +\color #008000 +\end_index +\secnumdepth 3 +\tocdepth 3 +\paragraph_separation indent +\paragraph_indentation default +\is_math_indent 0 +\math_numbering_side default +\quotes_style english +\dynamic_quotes 0 +\papercolumns 1 +\papersides 1 +\paperpagestyle default +\tablestyle default +\tracking_changes false +\output_changes false +\html_math_output 0 +\html_css_as_file 0 +\html_be_strict false +\end_header + +\begin_body + +\begin_layout Standard +\begin_inset CommandInset href +LatexCommand href +name "LyX-Bug #11532" +target "https://www.lyx.org/trac/ticket/11532" +literal "false" + +\end_inset + +: Sometimes, an inputencoding switch is limited to a group by LaTeX but + LyX does not take this into account and subsequent non-ASCII characters + fail. +\end_layout + +\begin_layout Subsection* +Example +\end_layout + +\begin_layout Standard +Paragraph in Cyrillic followed by +\emph on +Description +\emph default + list: +\end_layout + +\begin_layout Standard + +\emph on +\lang bulgarian +Бъ̀лгарският езѝк +\emph default + е индоевропейски език от групата на южнославянските езици. +\end_layout + +\begin_layout Description +term +\begin_inset space ~ +\end_inset + +with +\begin_inset space ~ +\end_inset + +inputenc +\begin_inset space ~ +\end_inset + +latin9 Definition: LyX assumes input encoding latin9, but for LaTeX it is + again cp1251! +\end_layout + +\begin_deeper +\begin_layout Standard +Da kommt größter Mist raus! cp1251 misses ð and Þ +\end_layout + +\begin_layout Standard +If a new language in a nested paragraph uses the same inputencoding as the + current language, there is still no switch: +\emph on +\lang icelandic +Íslenska +\emph default + er talað og ritað á Íslandi. +\end_layout + +\end_deeper +\begin_layout Standard +After the list, the inputencoding is set accordingly: +\end_layout + +\begin_layout Standard +latin9 supports ð and Þ. +\end_layout + +\begin_layout Subsection* +Example 2 +\end_layout + +\begin_layout Standard +Paragraph in Cyrillic followed by +\emph on +Labeling +\emph default + list: +\end_layout + +\begin_layout Standard + +\emph on +\lang bulgarian +Бъ̀лгарският езѝк +\emph default + е индоевропейски език. +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +term LyX assumes inputencoding latin9, but for LaTeX it is again cp1251! +\end_layout + +\begin_deeper +\begin_layout Standard +Da kommt größter Mist raus! cp1251 misses ð and Þ +\end_layout + +\begin_layout Standard +If a new language in a nested paragraph uses the same inputencoding as the + current language, there is still no switch: +\emph on +\lang icelandic +Íslenska +\emph default + er talað og ritað á Íslandi. +\end_layout + +\end_deeper +\begin_layout Standard +After the list, the inputencoding is set accordingly: +\end_layout + +\begin_layout Standard +latin9 supports ð and Þ. +\end_layout + +\end_body +\end_document diff --git a/autotests/export/latex/lyxbugs/11583-latin-extended_OT1.lyx b/autotests/export/latex/lyxbugs/11583-latin-extended_OT1.lyx new file mode 100644 index 0000000000..047383956c --- /dev/null +++ b/autotests/export/latex/lyxbugs/11583-latin-extended_OT1.lyx @@ -0,0 +1,634 @@ +#LyX 2.4 created this file. For more info see https://www.lyx.org/ +\lyxformat 574 +\begin_document +\begin_header +\save_transient_properties true +\origin unavailable +\textclass article +\begin_preamble +%\usepackage{wasysym} % provides \DH, \dh, \Thorn, \thorn +%\ProvideTextCommandDefault{\TH}{\Thorn} +%\ProvideTextCommandDefault{\th}{\thorn} + +%\DeclareTextAccentDefault{\k}{T1} +%\DeclareTextSymbolDefault{\NG}{T1} +%\DeclareTextSymbolDefault{\ng}{T1} +%\DeclareTextSymbolDefault{\DH}{T1} +%\DeclareTextSymbolDefault{\dh}{T1} +%\DeclareTextSymbolDefault{\TH}{T1} +%\DeclareTextSymbolDefault{\th}{T1} +%\DeclareTextSymbolDefault{}{T1} +\end_preamble +\use_default_options false +\maintain_unincluded_children false +\language english +\language_package default +\inputencoding utf8 +\fontencoding default +\font_roman "default" "default" +\font_sans "default" "default" +\font_typewriter "default" "default" +\font_math "auto" "auto" +\font_default_family default +\use_non_tex_fonts false +\font_sc false +\font_osf false +\font_sf_scale 100 100 +\font_tt_scale 100 100 +\use_microtype false +\use_dash_ligatures true +\graphics 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 +\papersize default +\use_geometry false +\use_package amsmath 1 +\use_package amssymb 1 +\use_package cancel 1 +\use_package esint 1 +\use_package mathdots 0 +\use_package mathtools 1 +\use_package mhchem 1 +\use_package stackrel 1 +\use_package stmaryrd 1 +\use_package undertilde 1 +\cite_engine basic +\cite_engine_type default +\biblio_style plain +\use_bibtopic false +\use_indices false +\paperorientation portrait +\suppress_date false +\justification true +\use_refstyle 0 +\use_minted 0 +\branch na +\selected 0 +\filename_suffix 0 +\color #faf0e6 +\end_branch +\index Index +\shortcut idx +\color #008000 +\end_index +\secnumdepth 3 +\tocdepth 3 +\paragraph_separation skip +\defskip medskip +\is_math_indent 0 +\math_numbering_side default +\quotes_style english +\dynamic_quotes 0 +\papercolumns 1 +\papersides 1 +\paperpagestyle default +\tablestyle default +\tracking_changes false +\output_changes false +\html_math_output 0 +\html_css_as_file 0 +\html_be_strict false +\end_header + +\begin_body + +\begin_layout Subsection* +1) Basic Latin +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset space ~ +\end_inset + + 0 1 2 3 4 5 6 7 8 9 A B C D E F +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +20 ! " # $ % & ' ( ) * + , - . + / +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +30 0 1 2 3 4 5 6 7 8 9 : ; < = > ? +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +40 @ A B C D E F G H I J K L M N O +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +50 P Q R S T U V W X Y Z [ +\backslash + ] ^ _ +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +60 ` a b c d e f g h i j k l m n o +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +70 p q r s t u v w x y z { | } ~ +\end_layout + +\begin_layout Subsection* +\paragraph_spacing single +2) Latin Extended +\end_layout + +\begin_layout Standard +Makros +\backslash +DH, +\backslash +dh, +\backslash +DJ, +\backslash +dj, +\backslash +NG, +\backslash +ng, +\backslash +TH, +\backslash +th not available in the OT1 font encoding. +\end_layout + +\begin_layout Standard +Accent makro +\backslash +k not available in the OT1 font encoding. +\end_layout + +\begin_layout Standard +See the user preamble for workarounds. +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +A0   ¡ ¢ £ ¤ Â¥ ¦ § ¨ © ª « ¬ ­ ® ¯ +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +B0 ° ± ² ³ ´ µ ¶ · ¸ ¹ º » ¼ ½ ¾ ¿ +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +C0 À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +D0 Ð Ñ Ò Ó Ô Õ Ö × Ø Ù Ú Û Ü Ý Þ ß +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +E0 à á â ã ä Ã¥ æ ç è é ê ë ì í î ï +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +F0 ð ñ ò ó ô õ ö ÷ ø ù ú û ü ý þ ÿ +\end_layout + +\begin_layout Subsection* +3) Latin Extended-A +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +100 Ā ā Ă ă Ą ą Ć ć Ĉ ĉ Ċ ċ Č č Ď ď +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +110 Đ đ Ē ē Ĕ ĕ Ė ė Ę ę Ě ě Ĝ ĝ Ğ ğ +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +120 Ä  Ä¡ Ä¢ Ä£ Ĥ Ä¥ +\begin_inset Branch na +inverted 0 +status collapsed + +\begin_layout Standard +Ħ +\end_layout + +\end_inset + + ħ Ĩ Ä© Ī Ä« Ĭ Ä­ Ä® į +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +130 Ä° ı IJ ij Ä´ ĵ Ķ Ä· +\begin_inset Branch na +inverted 0 +status collapsed + +\begin_layout Standard +ĸ +\end_layout + +\end_inset + + Ĺ ĺ Ä» ļ Ľ ľ +\begin_inset Branch na +inverted 0 +status collapsed + +\begin_layout Standard +Ä¿ +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +140 +\begin_inset Branch na +inverted 0 +status collapsed + +\begin_layout Standard +ŀ +\end_layout + +\end_inset + + Ł ł Ń ń Ņ ņ Ň ň ʼn Ŋ ŋ Ō ō Ŏ ŏ +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +150 Ő ő Œ œ Ŕ ŕ Ŗ ŗ Ř ř Ś ś Ŝ ŝ Ş ş +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +160 Å  Å¡ Å¢ Å£ Ť Å¥ +\begin_inset Branch na +inverted 0 +status collapsed + +\begin_layout Standard +Ŧ ŧ +\end_layout + +\end_inset + + Ũ Å© Ū Å« Ŭ Å­ Å® ů +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +170 Å° ű Ų ų Å´ ŵ Ŷ Å· Ÿ Ź ź Å» ż Ž ž +\begin_inset Branch na +inverted 0 +status collapsed + +\begin_layout Standard +Å¿ +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Subsection* +4) Latin Extended-B +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +180 ƀ +\begin_inset Branch na +inverted 0 +status collapsed + +\begin_layout Standard +Ɓ Ƃ ƃ Ƅ ƅ Ɔ Ƈ +\end_layout + +\end_inset + +ƈ +\begin_inset Branch na +inverted 0 +status collapsed + +\begin_layout Standard +Ɖ Ɗ Ƌ ƌ ƍ Ǝ Ə +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +190 +\begin_inset Branch na +inverted 0 +status collapsed + +\begin_layout Standard +Ɛ Ƒ +\end_layout + +\end_inset + + ƒ +\begin_inset Branch na +inverted 0 +status collapsed + +\begin_layout Standard +Ɠ Ɣ ƕ Ɩ Ɨ Ƙ ƙ ƚ ƛ Ɯ Ɲ ƞ Ɵ +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +1A0 +\begin_inset Branch na +inverted 0 +status collapsed + +\begin_layout Standard +Æ  Æ¡ Æ¢ Æ£ Ƥ Æ¥ Ʀ Ƨ ƨ Æ© ƪ Æ« Ƭ Æ­ Æ® Ư +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +1B0 +\begin_inset Branch na +inverted 0 +status collapsed + +\begin_layout Standard +Æ° Ʊ Ʋ Ƴ Æ´ Ƶ ƶ Æ· Ƹ ƹ ƺ +\end_layout + +\end_inset + + Æ» +\begin_inset Branch na +inverted 0 +status collapsed + +\begin_layout Standard +Ƽ ƽ +\end_layout + +\end_inset + + ƾ Æ¿ +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +1C0 ǀ ǁ ǂ ǃ +\begin_inset Branch na +inverted 0 +status collapsed + +\begin_layout Standard +DŽ Dž dž LJ Lj lj NJ Nj nj +\end_layout + +\end_inset + +Ǎ ǎ Ǐ +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +1D0 ǐ Ǒ ǒ Ǔ ǔ +\begin_inset Branch na +inverted 0 +status collapsed + +\begin_layout Standard +Ǖ ǖ Ǘ ǘ Ǚ ǚ Ǜ ǜ ǝ Ǟ ǟ +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +1E0 +\begin_inset Branch na +inverted 0 +status collapsed + +\begin_layout Standard +Ç  Ç¡ +\end_layout + +\end_inset + + Ç¢ Ç£ +\begin_inset Branch na +inverted 0 +status collapsed + +\begin_layout Standard +Ǥ Ç¥ +\end_layout + +\end_inset + + Ǧ ǧ Ǩ Ç© Ǫ Ç« +\begin_inset Branch na +inverted 0 +status collapsed + +\begin_layout Standard +Ǭ Ç­ Ç® ǯ +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +1F0 Ç° +\begin_inset Branch na +inverted 0 +status collapsed + +\begin_layout Standard +DZ Dz dz +\end_layout + +\end_inset + + Ç´ ǵ +\begin_inset Branch na +inverted 0 +status collapsed + +\begin_layout Standard +Ƕ Ç· +\end_layout + +\end_inset + + Ǹ ǹ +\begin_inset Branch na +inverted 0 +status collapsed + +\begin_layout Standard +Ǻ Ç» +\end_layout + +\end_inset + + Ǽ ǽ Ǿ Ç¿ +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +200 Ȁ ȁ Ȃ ȃ Ȅ ȅ Ȇ ȇ Ȉ ȉ Ȋ ȋ Ȍ ȍ Ȏ ȏ +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +210 Ȑ ȑ Ȓ ȓ Ȕ ȕ Ȗ ȗ Ș ș Ț ț +\begin_inset Branch na +inverted 0 +status collapsed + +\begin_layout Standard +Ȝ ȝ +\end_layout + +\end_inset + + Ȟ ȟ +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +220 +\begin_inset Branch na +inverted 0 +status collapsed + +\begin_layout Standard +È  È¡ È¢ È£ Ȥ È¥ +\end_layout + +\end_inset + + Ȧ ȧ Ȩ È© +\begin_inset Branch na +inverted 0 +status collapsed + +\begin_layout Standard +Ȫ È« Ȭ È­ +\end_layout + +\end_inset + + È® ȯ +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +230 +\begin_inset Branch na +inverted 0 +status collapsed + +\begin_layout Standard +È° ȱ +\end_layout + +\end_inset + + Ȳ ȳ +\begin_inset Branch na +inverted 0 +status collapsed + +\begin_layout Standard +È´ +\end_layout + +\end_inset + + ȵ ȶ È· ȸ ȹ +\begin_inset Branch na +inverted 0 +status collapsed + +\begin_layout Standard +Ⱥ È» ȼ Ƚ Ⱦ È¿ +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +240 +\begin_inset Branch na +inverted 0 +status collapsed + +\begin_layout Standard +ɀ Ɂ ɂ Ƀ Ʉ Ʌ Ɇ ɇ Ɉ ɉ Ɋ ɋ Ɍ ɍ Ɏ ɏ +\end_layout + +\end_inset + + +\end_layout + +\end_body +\end_document diff --git a/autotests/export/latex/lyxbugs/11584-iconv-error-nomenclature.lyx b/autotests/export/latex/lyxbugs/11584-iconv-error-nomenclature.lyx new file mode 100644 index 0000000000..a9f7106a53 --- /dev/null +++ b/autotests/export/latex/lyxbugs/11584-iconv-error-nomenclature.lyx @@ -0,0 +1,149 @@ +#LyX 2.3 created this file. For more info see http://www.lyx.org/ +\lyxformat 542 +\begin_document +\begin_header +\save_transient_properties true +\origin unavailable +\textclass article +\use_default_options true +\maintain_unincluded_children false +\language english +\language_package default +\inputencoding auto +\fontencoding global +\font_roman "lmodern" "default" +\font_sans "default" "default" +\font_typewriter "default" "default" +\font_math "auto" "auto" +\font_default_family default +\use_non_tex_fonts false +\font_sc false +\font_osf false +\font_sf_scale 100 100 +\font_tt_scale 100 100 +\use_microtype false +\use_dash_ligatures false +\graphics default +\default_output_format pdf2 +\output_sync 0 +\bibtex_command default +\index_command default +\paperfontsize default +\spacing single +\use_hyperref false +\papersize default +\use_geometry false +\use_package amsmath 1 +\use_package amssymb 1 +\use_package cancel 1 +\use_package esint 1 +\use_package mathdots 1 +\use_package mathtools 1 +\use_package mhchem 1 +\use_package stackrel 1 +\use_package stmaryrd 1 +\use_package undertilde 1 +\cite_engine basic +\cite_engine_type default +\biblio_style plain +\use_bibtopic false +\use_indices false +\paperorientation portrait +\suppress_date false +\justification false +\use_refstyle 1 +\branch mfe +\selected 0 +\filename_suffix 0 +\color #faf0e6 +\end_branch +\index Index +\shortcut idx +\color #008000 +\end_index +\secnumdepth 3 +\tocdepth 3 +\paragraph_separation indent +\paragraph_indentation default +\is_math_indent 0 +\math_number_before 0 +\quotes_style english +\dynamic_quotes 0 +\papercolumns 1 +\papersides 1 +\paperpagestyle default +\tracking_changes false +\output_changes false +\html_math_output 0 +\html_css_as_file 0 +\html_be_strict false +\end_header + +\begin_body + +\begin_layout Standard +Iconv reports an error during latex export if a +\begin_inset Quotes eld +\end_inset + +nomenclature inset +\begin_inset Quotes erd +\end_inset + + contains a character that cannot be encoded using +\begin_inset Quotes eld +\end_inset + + +\backslash +inputenc +\begin_inset Quotes erd +\end_inset + +. + +\end_layout + +\begin_layout Standard +Examples: +\end_layout + +\begin_layout Standard +\begin_inset CommandInset nomenclature +LatexCommand nomenclature +symbol "α" +description "Greek letter alpha." +literal "true" + +\end_inset + + (uncodable symbol) +\end_layout + +\begin_layout Standard +\begin_inset CommandInset nomenclature +LatexCommand nomenclature +symbol "s" +description "Latin σ" +literal "true" + +\end_inset + + (uncodable description) +\end_layout + +\begin_layout Standard +\begin_inset CommandInset nomenclature +LatexCommand nomenclature +prefix "σ" +symbol "s" +description "Latin s" +literal "true" + +\end_inset + + (uncodable sortkey). +\end_layout + +\end_body +\end_document diff --git a/autotests/export/latex/lyxbugs/3059-language-in-tables.lyx b/autotests/export/latex/lyxbugs/3059-language-in-tables.lyx new file mode 100644 index 0000000000..20448158b3 --- /dev/null +++ b/autotests/export/latex/lyxbugs/3059-language-in-tables.lyx @@ -0,0 +1,376 @@ +#LyX 2.4 created this file. For more info see https://www.lyx.org/ +\lyxformat 574 +\begin_document +\begin_header +\save_transient_properties true +\origin unavailable +\textclass article +\begin_preamble +% DO NOT ALTER THIS PREAMBLE!!! +% +%This preamble is designed to ensure that the document prints +% out as advertised. If you mess with this preamble, +% parts of the document may not print out as expected. If you +% have problems LaTeXing this file, please contact +% the documentation team +% email: lyx-docs@lists.lyx.org + +\usepackage{ifpdf} % part of the hyperref bundle +\ifpdf % if pdflatex is used + +% XeTeX with Hebrew does not like this bookmark code +% so it is in the conditional. +% The pages of the TOC is numbered roman +% and a pdf-bookmark for the TOC is added +\pagenumbering{roman} +\let\myTOC\tableofcontents +\renewcommand\tableofcontents{% + \pdfbookmark[1]{\contentsname}{} + \myTOC + \cleardoublepage + \pagenumbering{arabic} } + +\fi % end if pdflatex is used + +%disable hyphenation (breaking words at end of line) +\usepackage[none]{hyphenat} + +%disable double space after end-of-sentence period +\frenchspacing +\end_preamble +\use_default_options false +\maintain_unincluded_children false +\language hebrew +\language_package default +\inputencoding auto-legacy +\fontencoding auto +\font_roman "lmodern" "FreeSerif" +\font_sans "default" "FreeSans" +\font_typewriter "default" "FreeMono" +\font_math "auto" "auto" +\font_default_family default +\use_non_tex_fonts false +\font_sc false +\font_osf false +\font_sf_scale 100 100 +\font_tt_scale 100 100 +\use_microtype false +\use_dash_ligatures false +\graphics default +\default_output_format default +\output_sync 0 +\bibtex_command default +\index_command default +\float_placement class +\float_alignment class +\paperfontsize 12 +\spacing single +\use_hyperref false +\pdf_bookmarks false +\pdf_bookmarksnumbered false +\pdf_bookmarksopen false +\pdf_bookmarksopenlevel 1 +\pdf_breaklinks false +\pdf_pdfborder false +\pdf_colorlinks false +\pdf_backref false +\pdf_pdfusetitle false +\papersize default +\use_geometry false +\use_package amsmath 1 +\use_package amssymb 1 +\use_package cancel 1 +\use_package esint 1 +\use_package mathdots 1 +\use_package mathtools 1 +\use_package mhchem 1 +\use_package stackrel 1 +\use_package stmaryrd 1 +\use_package undertilde 1 +\cite_engine basic +\cite_engine_type default +\biblio_style plain +\use_bibtopic false +\use_indices false +\paperorientation portrait +\suppress_date false +\justification true +\use_refstyle 0 +\use_minted 0 +\index אינדקס +\shortcut idx +\color #008000 +\end_index +\secnumdepth 3 +\tocdepth 2 +\paragraph_separation indent +\paragraph_indentation default +\is_math_indent 0 +\math_numbering_side default +\quotes_style english +\dynamic_quotes 0 +\papercolumns 1 +\papersides 1 +\paperpagestyle default +\tablestyle default +\tracking_changes false +\output_changes false +\html_math_output 0 +\html_css_as_file 0 +\html_be_strict false +\end_header + +\begin_body + +\begin_layout Standard + +\lang english +In this Hebrew document, content of the right table column ( +\lang hebrew +יחידה +\lang english +) comes out as Latin accented characters (ÄÃÉÇÉ) in the output if the tables + +\begin_inset Quotes eld +\end_inset + +outer +\begin_inset Quotes erd +\end_inset + + language is English and the input encoding is set to +\begin_inset Quotes eld +\end_inset + +language default +\begin_inset Quotes erd +\end_inset + + (auto-legacy): +\end_layout + +\begin_layout Standard +\align center + +\lang english +\begin_inset Tabular + + + + + + +\begin_inset Text + +\begin_layout Plain Layout +יחידה +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +יחידה +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +יחידה +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +יחידה +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\begin_layout Standard + +\lang english +Compare with a table where the +\begin_inset Quotes eld +\end_inset + +outer +\begin_inset Quotes erd +\end_inset + + language is Hebrew: +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + +\begin_inset Text + +\begin_layout Plain Layout +יחידה +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +יחידה +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +יחידה +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +יחידה +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\begin_layout Standard + +\lang english +What would you expext from a table in an Englisch paragraph like this +\begin_inset Tabular + + + + + + +\begin_inset Text + +\begin_layout Plain Layout +top left +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\numeric on +12 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout + +\numeric on +21 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +bottom right +\end_layout + +\end_inset + + + + +\end_inset + +? IMO, the table content should inherit the +\begin_inset Quotes eld +\end_inset + +outer +\begin_inset Quotes erd +\end_inset + + language but here it is the document language and therefore mirrored (RTL) + and in small-caps. +\end_layout + +\begin_layout Standard + +\lang ngerman +Absatz in Deutsch mit Tablle: +\begin_inset Tabular + + + + + +\begin_inset Text + +\begin_layout Plain Layout +Da kommt größter Mist raus! HE +\numeric on +8 +\numeric off + misses ð and þ +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_body +\end_document diff --git a/autotests/export/latex/lyxbugs/6197-polish-amssymb.lyx b/autotests/export/latex/lyxbugs/6197-polish-amssymb.lyx new file mode 100644 index 0000000000..9ef2699ed8 --- /dev/null +++ b/autotests/export/latex/lyxbugs/6197-polish-amssymb.lyx @@ -0,0 +1,134 @@ +#LyX 2.4 created this file. For more info see https://www.lyx.org/ +\lyxformat 574 +\begin_document +\begin_header +\save_transient_properties true +\origin unavailable +\textclass article +\use_default_options true +\maintain_unincluded_children false +\language polish +\language_package default +\inputencoding auto-legacy +\fontencoding auto +\font_roman "lmodern" "default" +\font_sans "default" "default" +\font_typewriter "default" "default" +\font_math "auto" "auto" +\font_default_family default +\use_non_tex_fonts false +\font_sc false +\font_osf false +\font_sf_scale 100 100 +\font_tt_scale 100 100 +\use_microtype false +\use_dash_ligatures true +\graphics default +\default_output_format pdf5 +\output_sync 0 +\bibtex_command default +\index_command default +\float_placement class +\float_alignment class +\paperfontsize default +\spacing single +\use_hyperref false +\papersize default +\use_geometry false +\use_package amsmath 1 +\use_package amssymb 2 +\use_package cancel 1 +\use_package esint 1 +\use_package mathdots 1 +\use_package mathtools 1 +\use_package mhchem 1 +\use_package stackrel 1 +\use_package stmaryrd 1 +\use_package undertilde 1 +\cite_engine basic +\cite_engine_type default +\biblio_style plain +\use_bibtopic false +\use_indices false +\paperorientation portrait +\suppress_date false +\justification true +\use_refstyle 1 +\use_minted 0 +\index Index +\shortcut idx +\color #008000 +\end_index +\secnumdepth 3 +\tocdepth 3 +\paragraph_separation indent +\paragraph_indentation default +\is_math_indent 0 +\math_numbering_side default +\quotes_style polish +\dynamic_quotes 0 +\papercolumns 1 +\papersides 1 +\paperpagestyle default +\tablestyle default +\tracking_changes false +\output_changes false +\html_math_output 0 +\html_css_as_file 0 +\html_be_strict false +\end_header + +\begin_body + +\begin_layout Standard +Test for bug #6197: +\begin_inset Quotes pld +\end_inset + +amssymb +\begin_inset Quotes prd +\end_inset + + with Polish babel: +\end_layout + +\begin_layout Standard +The mathematical symbol 0x22D8 VERY MUCH LESS-THAN must be written as +\backslash +llless +\begin_inset Formula $\llless$ +\end_inset + + because Polish babel re-defines +\backslash +lll as character 0x142 LATIN SMALL LETTER L WITH STROKE: +\begin_inset Formula $\lll\rightarrow$ +\end_inset + + ł. +\end_layout + +\begin_layout Standard +The toolbar button [ +\begin_inset Formula $\llless$ +\end_inset + +] inserts +\backslash +lll which becomes +\begin_inset Quotes pld +\end_inset + + +\begin_inset Formula $\lll$ +\end_inset + + +\begin_inset Quotes prd +\end_inset + + with pdfTeX and a missing symbol with LuaTeX.. +\end_layout + +\end_body +\end_document diff --git a/autotests/export/latex/lyxbugs/8479-listings-caption_zh-TW_utf8-cjk.lyx b/autotests/export/latex/lyxbugs/8479-listings-caption_zh-TW_utf8-cjk.lyx new file mode 100644 index 0000000000..6c64af1cbe --- /dev/null +++ b/autotests/export/latex/lyxbugs/8479-listings-caption_zh-TW_utf8-cjk.lyx @@ -0,0 +1,135 @@ +#LyX 2.4 created this file. For more info see https://www.lyx.org/ +\lyxformat 574 +\begin_document +\begin_header +\save_transient_properties true +\origin unavailable +\textclass article +\use_default_options true +\maintain_unincluded_children false +\language chinese-traditional +\language_package default +\inputencoding utf8-cjk +\fontencoding auto +\font_roman "default" "IPAexMincho" +\font_sans "default" "IPAGothic" +\font_typewriter "default" "default" +\font_math "auto" "auto" +\font_default_family default +\use_non_tex_fonts false +\font_sc false +\font_osf false +\font_sf_scale 100 100 +\font_tt_scale 100 100 +\font_cjk bsmi +\use_microtype false +\use_dash_ligatures true +\graphics 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 +\papersize default +\use_geometry false +\use_package amsmath 1 +\use_package amssymb 1 +\use_package cancel 1 +\use_package esint 1 +\use_package mathdots 1 +\use_package mathtools 1 +\use_package mhchem 1 +\use_package stackrel 1 +\use_package stmaryrd 1 +\use_package undertilde 1 +\cite_engine basic +\cite_engine_type default +\biblio_style plain +\use_bibtopic false +\use_indices false +\paperorientation portrait +\suppress_date false +\justification true +\use_refstyle 1 +\use_minted 0 +\index Index +\shortcut idx +\color #008000 +\end_index +\secnumdepth 3 +\tocdepth 3 +\paragraph_separation indent +\paragraph_indentation default +\is_math_indent 0 +\math_numbering_side default +\quotes_style english +\dynamic_quotes 0 +\papercolumns 1 +\papersides 1 +\paperpagestyle default +\tablestyle default +\tracking_changes false +\output_changes false +\html_math_output 0 +\html_css_as_file 0 +\html_be_strict false +\end_header + +\begin_body + +\begin_layout Standard +Chinese (中文) +\end_layout + +\begin_layout Standard +\begin_inset listings +inline false +status open + +\begin_layout Plain Layout + +\begin_inset Caption Standard + +\begin_layout Plain Layout +ABCäöß +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Plain Layout + +void main() +\end_layout + +\begin_layout Plain Layout + +{ +\begin_inset Quotes eld +\end_inset + +Größe +\begin_inset Quotes erd +\end_inset + + +\end_layout + +\begin_layout Plain Layout + +} +\end_layout + +\end_inset + + +\end_layout + +\end_body +\end_document diff --git a/autotests/export/latex/lyxbugs/9871-slovak-ascii-preambleencoding.lyx b/autotests/export/latex/lyxbugs/9871-slovak-ascii-preambleencoding.lyx new file mode 100644 index 0000000000..45f002f7c3 --- /dev/null +++ b/autotests/export/latex/lyxbugs/9871-slovak-ascii-preambleencoding.lyx @@ -0,0 +1,166 @@ +#LyX 2.4 created this file. For more info see https://www.lyx.org/ +\lyxformat 574 +\begin_document +\begin_header +\save_transient_properties true +\origin unavailable +\textclass scrartcl +\use_default_options false +\begin_modules +theorems-ams-bytype +\end_modules +\maintain_unincluded_children false +\language slovak +\language_package default +\inputencoding ascii +\fontencoding auto +\font_roman "default" "default" +\font_sans "default" "default" +\font_typewriter "default" "default" +\font_math "auto" "auto" +\font_default_family default +\use_non_tex_fonts false +\font_sc false +\font_osf false +\font_sf_scale 100 100 +\font_tt_scale 100 100 +\use_microtype false +\use_dash_ligatures false +\graphics 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 +\pdf_bookmarks false +\pdf_bookmarksnumbered false +\pdf_bookmarksopen false +\pdf_bookmarksopenlevel 1 +\pdf_breaklinks false +\pdf_pdfborder true +\pdf_colorlinks true +\pdf_backref section +\pdf_pdfusetitle true +\papersize a4paper +\use_geometry false +\use_package amsmath 1 +\use_package amssymb 1 +\use_package cancel 1 +\use_package esint 1 +\use_package mathdots 1 +\use_package mathtools 1 +\use_package mhchem 1 +\use_package stackrel 1 +\use_package stmaryrd 1 +\use_package undertilde 1 +\cite_engine basic +\cite_engine_type default +\biblio_style plain +\use_bibtopic false +\use_indices false +\paperorientation portrait +\suppress_date false +\justification true +\use_refstyle 0 +\use_minted 0 +\index Stichwortverzeichnis +\shortcut idx +\color #008000 +\end_index +\secnumdepth 3 +\tocdepth 3 +\paragraph_separation indent +\paragraph_indentation default +\is_math_indent 0 +\math_numbering_side default +\quotes_style german +\dynamic_quotes 0 +\papercolumns 1 +\papersides 1 +\paperpagestyle default +\tablestyle default +\tracking_changes false +\output_changes false +\html_math_output 0 +\html_css_as_file 0 +\html_be_strict false +\end_header + +\begin_body + +\begin_layout Standard +Minimal test for bug #9871 +\end_layout + +\begin_layout Standard +Error 84 returned from iconv when converting from UCS-4LE to ascii: +\end_layout + +\begin_layout LyX-Code + Invalid or incomplete multibyte or wide character. + +\end_layout + +\begin_layout Standard +The error pop-up blames +\backslash +listoflistings, but the Complete Log reveales that the problem is the +\end_layout + +\begin_layout LyX-Code +! Undefined control sequence. + +\end_layout + +\begin_layout LyX-Code + +\backslash +lstlistlistingname -> +\backslash +inputencoding +\end_layout + +\begin_layout Standard +which is inserted by LyX in the document preamble if a +\begin_inset Quotes gld +\end_inset + +list of listings +\begin_inset Quotes grd +\end_inset + + is present due to BabelPreamble code. +\begin_inset Foot +status collapsed + +\begin_layout Plain Layout +Language specific headings for # theorems, problems , ... + are written in the language's default encoding if they contain non-ASCII + characters. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +See also the discussion at: https://www.mail-archive.com/search?l=mid&q=2017022819 +0738.cgs3tl3ny2bxiegk%40steph +\end_layout + +\begin_layout Standard +\begin_inset CommandInset toc +LatexCommand lstlistoflistings + +\end_inset + + +\end_layout + +\end_body +\end_document diff --git a/autotests/export/latex/lyxbugs/wrong_output_3059-rtl-tables-xetex.lyx b/autotests/export/latex/lyxbugs/wrong_output_3059-rtl-tables-xetex.lyx new file mode 100644 index 0000000000..d3cfed7b8e --- /dev/null +++ b/autotests/export/latex/lyxbugs/wrong_output_3059-rtl-tables-xetex.lyx @@ -0,0 +1,268 @@ +#LyX 2.4 created this file. For more info see https://www.lyx.org/ +\lyxformat 574 +\begin_document +\begin_header +\save_transient_properties true +\origin unavailable +\textclass article +\begin_preamble +% DO NOT ALTER THIS PREAMBLE!!! +% +%This preamble is designed to ensure that the document prints +% out as advertised. If you mess with this preamble, +% parts of the document may not print out as expected. If you +% have problems LaTeXing this file, please contact +% the documentation team +% email: lyx-docs@lists.lyx.org + +\usepackage{ifpdf} % part of the hyperref bundle +\ifpdf % if pdflatex is used + +% XeTeX with Hebrew does not like this bookmark code +% so it is in the conditional. +% The pages of the TOC is numbered roman +% and a pdf-bookmark for the TOC is added +\pagenumbering{roman} +\let\myTOC\tableofcontents +\renewcommand\tableofcontents{% + \pdfbookmark[1]{\contentsname}{} + \myTOC + \cleardoublepage + \pagenumbering{arabic} } + +\fi % end if pdflatex is used + +%disable hyphenation (breaking words at end of line) +\usepackage[none]{hyphenat} + +%disable double space after end-of-sentence period +\frenchspacing +\end_preamble +\use_default_options false +\maintain_unincluded_children false +\language hebrew +\language_package default +\inputencoding auto-legacy +\fontencoding auto +\font_roman "lmodern" "FreeSerif" +\font_sans "default" "FreeSans" +\font_typewriter "default" "FreeMono" +\font_math "auto" "auto" +\font_default_family default +\use_non_tex_fonts true +\font_sc false +\font_osf false +\font_sf_scale 100 100 +\font_tt_scale 100 100 +\use_microtype false +\use_dash_ligatures false +\graphics default +\default_output_format pdf4 +\output_sync 0 +\bibtex_command default +\index_command default +\float_placement class +\float_alignment class +\paperfontsize 12 +\spacing single +\use_hyperref false +\pdf_bookmarks false +\pdf_bookmarksnumbered false +\pdf_bookmarksopen false +\pdf_bookmarksopenlevel 1 +\pdf_breaklinks false +\pdf_pdfborder false +\pdf_colorlinks false +\pdf_backref false +\pdf_pdfusetitle false +\papersize default +\use_geometry false +\use_package amsmath 1 +\use_package amssymb 1 +\use_package cancel 1 +\use_package esint 1 +\use_package mathdots 1 +\use_package mathtools 1 +\use_package mhchem 1 +\use_package stackrel 1 +\use_package stmaryrd 1 +\use_package undertilde 1 +\cite_engine basic +\cite_engine_type default +\biblio_style plain +\use_bibtopic false +\use_indices false +\paperorientation portrait +\suppress_date false +\justification true +\use_refstyle 0 +\use_minted 0 +\index אינדקס +\shortcut idx +\color #008000 +\end_index +\secnumdepth 3 +\tocdepth 2 +\paragraph_separation indent +\paragraph_indentation default +\is_math_indent 0 +\math_numbering_side default +\quotes_style english +\dynamic_quotes 0 +\papercolumns 1 +\papersides 1 +\paperpagestyle default +\tablestyle default +\tracking_changes false +\output_changes false +\html_math_output 0 +\html_css_as_file 0 +\html_be_strict false +\end_header + +\begin_body + +\begin_layout Standard + +\lang english +In an right-to-left language document, tables should be output in the same + way as shown in the GUI. + If the table is set to a secondary language, the columns or text inside + it are switched with XeTeX. +\end_layout + +\begin_layout Standard +\begin_inset Float table +placement t +alignment document +wide false +sideways false +status open + +\begin_layout Plain Layout + +\end_layout + +\begin_layout Plain Layout +\begin_inset Caption Standard + +\begin_layout Plain Layout +יחידות מדידה +\begin_inset CommandInset label +LatexCommand label +name "tab:יחידות-מדידה" + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Plain Layout +\begin_inset VSpace medskip +\end_inset + + +\end_layout + +\begin_layout Plain Layout +\align center + +\lang english +\begin_inset Tabular + + + + + + +\begin_inset Text + +\begin_layout Plain Layout +שם או תיאור +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +יחידה +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +מילימטר +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\lang english +mm +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout + +\lang english +cc +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\lang english +cicero (1 +\begin_inset Formula $\,$ +\end_inset + +cc = 12 +\begin_inset Formula $\,$ +\end_inset + +dd) +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\end_body +\end_document diff --git a/autotests/export/latex/parent-with-other-inputenc.lyx b/autotests/export/latex/parent-with-other-inputenc.lyx deleted file mode 100644 index b347d0344a..0000000000 --- a/autotests/export/latex/parent-with-other-inputenc.lyx +++ /dev/null @@ -1,166 +0,0 @@ -#LyX 2.4 created this file. For more info see https://www.lyx.org/ -\lyxformat 567 -\begin_document -\begin_header -\save_transient_properties true -\origin unavailable -\textclass article -\begin_preamble - -\end_preamble -\use_default_options true -\begin_modules -logicalmkup -\end_modules -\maintain_unincluded_children false -\language english -\language_package default -\inputencoding iso8859-15 -\fontencoding auto -\font_roman "lmodern" "FreeSerif" -\font_sans "default" "FreeSans" -\font_typewriter "default" "FreeMono" -\font_math "auto" "auto" -\font_default_family default -\use_non_tex_fonts false -\font_sc false -\font_osf false -\font_sf_scale 100 100 -\font_tt_scale 100 100 -\use_microtype false -\use_dash_ligatures false -\graphics 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 -\papersize default -\use_geometry false -\use_package amsmath 1 -\use_package amssymb 1 -\use_package cancel 1 -\use_package esint 1 -\use_package mathdots 1 -\use_package mathtools 1 -\use_package mhchem 1 -\use_package stackrel 1 -\use_package stmaryrd 1 -\use_package undertilde 1 -\cite_engine basic -\cite_engine_type default -\biblio_style plain -\use_bibtopic false -\use_indices false -\paperorientation portrait -\suppress_date false -\justification true -\use_refstyle 1 -\use_minted 0 -\branch na -\selected 0 -\filename_suffix 0 -\color #faf0e6 -\end_branch -\branch bisect -\selected 0 -\filename_suffix 0 -\color #faf0e6 -\end_branch -\index Index -\shortcut idx -\color #008000 -\end_index -\secnumdepth 3 -\tocdepth 3 -\paragraph_separation indent -\paragraph_indentation default -\is_math_indent 0 -\math_numbering_side default -\quotes_style english -\dynamic_quotes 0 -\papercolumns 1 -\papersides 1 -\paperpagestyle default -\tracking_changes false -\output_changes false -\html_math_output 0 -\html_css_as_file 0 -\html_be_strict false -\end_header - -\begin_body - -\begin_layout Subsection* -Bug #11519: Wrong input encoding when parent and child use different setting. -\end_layout - -\begin_layout Standard -When -\end_layout - -\begin_layout Itemize -\noindent -a parent document sets a global input encoding (i.e. - not -\family typewriter -auto -\family default - ( -\begin_inset Quotes eld -\end_inset - -language default -\begin_inset Quotes erd -\end_inset - -)) and -\end_layout - -\begin_layout Itemize -\noindent -the -\begin_inset Quotes eld -\end_inset - -inputencoding -\begin_inset Quotes erd -\end_inset - - setting for parent and child differ, -\end_layout - -\begin_layout Standard -\noindent -the parent loads the child document with wrong input encoding. -\end_layout - -\begin_layout Standard -Example: This document uses -\family typewriter -iso8859-15 -\family default -, the included child -\family typewriter - utf8 -\family default -. -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/001-4-latin.lyx" -literal "false" - -\end_inset - - -\end_layout - -\end_body -\end_document diff --git a/autotests/export/latex/platex-inputenc-utf8.lyx b/autotests/export/latex/platex-inputenc-utf8.lyx deleted file mode 100644 index efa4018d9e..0000000000 --- a/autotests/export/latex/platex-inputenc-utf8.lyx +++ /dev/null @@ -1,396 +0,0 @@ -#LyX 2.4 created this file. For more info see https://www.lyx.org/ -\lyxformat 572 -\begin_document -\begin_header -\save_transient_properties true -\origin unavailable -\textclass article -\begin_preamble - -\end_preamble -\use_default_options true -\maintain_unincluded_children false -\language japanese -\language_package default -\inputencoding utf8 -\fontencoding auto -\font_roman "lmodern" "FreeSerif" -\font_sans "default" "FreeSans" -\font_typewriter "default" "FreeMono" -\font_math "auto" "auto" -\font_default_family default -\use_non_tex_fonts false -\font_sc false -\font_osf false -\font_sf_scale 100 100 -\font_tt_scale 100 100 -\use_microtype false -\use_dash_ligatures false -\graphics default -\default_output_format pdf -\output_sync 0 -\bibtex_command default -\index_command default -\float_placement class -\float_alignment class -\paperfontsize default -\spacing single -\use_hyperref false -\papersize default -\use_geometry false -\use_package amsmath 1 -\use_package amssymb 1 -\use_package cancel 1 -\use_package esint 1 -\use_package mathdots 1 -\use_package mathtools 1 -\use_package mhchem 1 -\use_package stackrel 1 -\use_package stmaryrd 1 -\use_package undertilde 1 -\cite_engine basic -\cite_engine_type default -\biblio_style plain -\use_bibtopic false -\use_indices false -\paperorientation portrait -\suppress_date false -\justification true -\use_refstyle 1 -\use_minted 0 -\branch na -\selected 0 -\filename_suffix 0 -\color #faf0e6 -\end_branch -\branch bisect -\selected 0 -\filename_suffix 0 -\color #faf0e6 -\end_branch -\index Index -\shortcut idx -\color #008000 -\end_index -\secnumdepth 3 -\tocdepth 3 -\paragraph_separation indent -\paragraph_indentation default -\is_math_indent 0 -\math_numbering_side default -\quotes_style english -\dynamic_quotes 0 -\papercolumns 1 -\papersides 1 -\paperpagestyle default -\tablestyle default -\tracking_changes false -\output_changes false -\html_math_output 0 -\html_css_as_file 0 -\html_be_strict false -\end_header - -\begin_body - -\begin_layout Section* -unicodesymbols and pLaTeX -\end_layout - -\begin_layout Standard -pLaTeX supports Japanese characters: 日本語(にほんご、にっぽんご[注 1])は、主に日本国内や日本人同士の間で使用されてい -る言語である。 -\end_layout - -\begin_layout Standard -Test LyX-supported Unicode characters with pLaTeX. -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/001-4-latin.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/005-7-ipa-modifiers-combining.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/008-greek-and-coptic.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/009-cyrillic.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/009-cyrillic_ru.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset Note Note -status open - -\begin_layout Plain Layout -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/012-hebrew_he.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Plain Layout -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/012-hebrew_he_HE8.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Plain Layout -Hebrew does not work with XeTeX and TeX-fonts: -\end_layout - -\begin_layout Plain Layout -Error 256 (driver return code) generating output; file 012-hebrew_he_HE8.pdf - may not be valid. - -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset Note Note -status open - -\begin_layout Plain Layout -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/031-thai_th.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Plain Layout -Thai sets catcodes for characters in Latin-Supplement block leading to wrong - output there. -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/065-67-phonetic-extensions.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/068-latin-extended-additional.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/069-greek-extended.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/070-72-general-punctuation-sub-super-currency.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/074-76-letterlike-numberforms-arrows.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/077-mathops.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/078-79-misc-technical-control-pics.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/081-enclosed-alphanumerics.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/082-84-box-drawing-blocks-geometric.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/084-misc-symbols.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/085-dingbats.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/087-90-misc-math-A-arrows-A-B.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/091-92-misc-math-B-supp-math-ops.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/125_152-modifiers-presentation.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/246-mathematical-alphanumeric.lyx" -literal "false" - -\end_inset - - -\end_layout - -\end_body -\end_document diff --git a/autotests/export/latex/systemfonts-Math-missingchars.lyx b/autotests/export/latex/systemfonts-Math-missingchars.lyx deleted file mode 100644 index 3c5947742a..0000000000 --- a/autotests/export/latex/systemfonts-Math-missingchars.lyx +++ /dev/null @@ -1,758 +0,0 @@ -#LyX 2.4 created this file. For more info see https://www.lyx.org/ -\lyxformat 566 -\begin_document -\begin_header -\save_transient_properties true -\origin unavailable -\textclass scrartcl -\begin_preamble - -\end_preamble -\options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading -\use_default_options false -\maintain_unincluded_children false -\language english -\language_package default -\inputencoding auto -\fontencoding auto -\font_roman "lmodern" "default" -\font_sans "lmss" "default" -\font_typewriter "lmtt" "default" -\font_math "auto" "auto" -\font_default_family default -\use_non_tex_fonts true -\font_sc false -\font_osf false -\font_sf_scale 100 100 -\font_tt_scale 100 100 -\use_microtype false -\use_dash_ligatures true -\graphics default -\default_output_format pdf5 -\output_sync 0 -\bibtex_command default -\index_command default -\float_placement class -\float_alignment class -\paperfontsize 12 -\spacing single -\use_hyperref false -\pdf_bookmarks true -\pdf_bookmarksnumbered true -\pdf_bookmarksopen true -\pdf_bookmarksopenlevel 1 -\pdf_breaklinks false -\pdf_pdfborder false -\pdf_colorlinks true -\pdf_backref false -\pdf_pdfusetitle false -\papersize a4paper -\use_geometry false -\use_package amsmath 2 -\use_package amssymb 2 -\use_package cancel 0 -\use_package esint 1 -\use_package mathdots 1 -\use_package mathtools 2 -\use_package mhchem 1 -\use_package stackrel 0 -\use_package stmaryrd 0 -\use_package undertilde 0 -\cite_engine basic -\cite_engine_type default -\biblio_style plain -\use_bibtopic false -\use_indices false -\paperorientation portrait -\suppress_date false -\justification false -\use_refstyle 0 -\use_minted 0 -\notefontcolor #0000ff -\index Index -\shortcut idx -\color #008000 -\end_index -\secnumdepth 4 -\tocdepth 3 -\paragraph_separation skip -\defskip medskip -\is_math_indent 0 -\math_numbering_side default -\quotes_style english -\dynamic_quotes 0 -\papercolumns 1 -\papersides 2 -\paperpagestyle plain -\bullet 1 0 6 -1 -\bullet 2 2 35 -1 -\bullet 3 2 7 -1 -\tracking_changes false -\output_changes false -\html_math_output 0 -\html_css_as_file 0 -\html_be_strict false -\end_header - -\begin_body - -\begin_layout Section* -Minimal failing example for Math.lyx -\end_layout - -\begin_layout Standard -Compiling \SpecialChar LyX -'s detailed Math manual fails with non-TeX fonts due to missing - characters. - The documents uses the default set for LyX documentation: -\emph on -Latin Modern -\emph default - as text and -\emph on -Computer Modern -\emph default - for maths. -\end_layout - -\begin_layout Standard -There is no easy solution because of the nature of the Maths documentation: - -\end_layout - -\begin_layout Enumerate -Changing only the text font results in a bad font mix — LyX documentation - must not give a bad example/showcase. -\end_layout - -\begin_layout Enumerate -Changing the math font does not work for Math.lyx: -\end_layout - -\begin_deeper -\begin_layout Itemize -Some of the documented packages and examples only work with the default - math font (no -\backslash -maltese in -\begin_inset Quotes eld -\end_inset - -txmath -\begin_inset Quotes erd -\end_inset - -, package incompatibilities with unicode-math, ...). -\end_layout - -\begin_layout Itemize -Besides: support for most math fonts is of inferiour quality (missing optical - sizes for indices, limited set of symbols) -\end_layout - -\end_deeper -\begin_layout Subsection* -Missing characters with Latin Modern -\end_layout - -\begin_layout Standard -Excerpts from Math.lyx that lead to -\begin_inset Quotes eld -\end_inset - -missing character -\begin_inset Quotes erd -\end_inset - - errors and discussion of reasons and possible workarounds: -\end_layout - -\begin_layout Quote -Bold Formulas -\end_layout - -\begin_layout Quote -To make a complete formula bold, the command -\series bold - -\backslash -mathbf -\series default - from the previous subsection cannot be used, because it doesn't work for - small Greek letters. - Furthermore it prints Latin letters always upright, like in the following - equation: -\begin_inset Formula -\[ -\mathbf{\int_{n}^{2}f(\theta)=\Gamma}\qquad\textrm{equation with \textbackslash mathbf} -\] - -\end_inset - - -\end_layout - -\begin_layout Standard -Capital Greek characters in -\backslash -mathbf lead to -\begin_inset Quotes eld -\end_inset - -missing character -\begin_inset Quotes erd -\end_inset - - errors with non-TeX fonts. - Small Greek characters are not bolded, because TeX treats them as symbols, - not letters (unless you load the package -\emph on -isomath -\emph default - or -\emph on -fixmath -\emph default -). -\end_layout - -\begin_layout Quote -Accents in Text -\end_layout - -\begin_layout Quote -With the following commands all letters can be accented. - The commands must be inserted in \SpecialChar TeX - mode. -\end_layout - -\begin_layout Quote -\begin_inset Tabular - - - - - - -\begin_inset Text - -\begin_layout Plain Layout -Command -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -Result -\end_layout - -\end_inset - - - - -\begin_inset Text - -\begin_layout Plain Layout - -\backslash -H -\begin_inset space \textvisiblespace{} -\end_inset - -e -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -H e -\end_layout - -\end_inset - - -\end_layout - -\end_inset - - - - -\begin_inset Text - -\begin_layout Plain Layout - -\backslash -'e -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -'e -\end_layout - -\end_inset - - -\end_layout - -\end_inset - - - - -\begin_inset Text - -\begin_layout Plain Layout - -\backslash -~e -\begin_inset Index idx -status collapsed - -\begin_layout Plain Layout -Tilde -\end_layout - -\end_inset - - -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -~e -\end_layout - -\end_inset - - -\end_layout - -\end_inset - - - - -\begin_inset Text - -\begin_layout Plain Layout - -\backslash -.e -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -.e -\end_layout - -\end_inset - - -\end_layout - -\end_inset - - - - -\begin_inset Text - -\begin_layout Plain Layout - -\backslash -v -\begin_inset space \textvisiblespace{} -\end_inset - -e -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -v e -\end_layout - -\end_inset - - -\end_layout - -\end_inset - - - - -\begin_inset Text - -\begin_layout Plain Layout - -\backslash -d -\begin_inset space \textvisiblespace{} -\end_inset - -e -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -d e -\end_layout - -\end_inset - - -\end_layout - -\end_inset - - - - -\begin_inset Text - -\begin_layout Plain Layout - -\backslash -c -\begin_inset space \textvisiblespace{} -\end_inset - -e -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -c e -\end_layout - -\end_inset - - -\end_layout - -\end_inset - - - - -\end_inset - - -\end_layout - -\begin_layout Standard -Accented characters missing in Latin Modern: -\end_layout - -\begin_layout Quote - -\family typewriter - -\backslash -c e -\family default - leads to -\end_layout - -\begin_layout Quote -Missing character: There is no -\begin_inset Note Note -status open - -\begin_layout Plain Layout -̧ -\end_layout - -\end_inset - -(U+0327) in font [lmroman12-regular]:+tlig;! -\end_layout - -\begin_layout Standard -OTOH, examples for ERT commands to get accented text letters are not really - helpfull in a -\emph on -mathematics -\emph default - documentation even when mathematical text can be (ab)used to get them. -\end_layout - -\begin_layout Standard -BTW: If keeping them, the following parts of Math.lyx should be corrected -\end_layout - -\begin_layout Labeling -\labelwidthstring 00 -\noindent -- The accents -\series bold -` -\series default - , -\series bold -' -\series default - and -\series bold -^ -\series default - can in combination with vowels directly be inserted with the keyboard without - using \SpecialChar TeX - mode. - The same applies for the tilde -\begin_inset Foot -status collapsed - -\begin_layout Plain Layout -This only applies for keyboards where the tilde is defined as accent. -\end_layout - -\end_inset - - -\series bold -~ -\series default - in combination with -\emph on -a -\emph default - , -\emph on -n -\emph default - , or -\emph on -o -\emph default -. -\end_layout - -\begin_layout Labeling -\labelwidthstring 00 -+ If the keyboard defines them as -\begin_inset Quotes eld -\end_inset - -dead keys -\begin_inset Quotes erd -\end_inset - -, the accents -\series bold -` -\series default - , -\series bold -' -\series default -, ^, and ~ can in combination with supported characters directly be inserted - with the keyboard without using \SpecialChar TeX - mode. -\end_layout - -\begin_layout Labeling -\labelwidthstring 00 -- The commands -\series bold - -\backslash -b -\series default - , -\series bold - -\backslash -c -\series default - , -\series bold - -\backslash -d -\series default - , -\series bold - -\backslash -H -\series default - , -\series bold - -\backslash -t -\series default - , -\series bold - -\backslash -u -\series default - , -\series bold - -\backslash -v -\series default - and accents that are inserted directly with the keyboard are also available - in mathematical text. - -\end_layout - -\begin_layout Labeling -\labelwidthstring 00 -+ Like any LaTeX commands, -\series bold - -\backslash -b -\series default - , -\series bold - -\backslash -c -\series default - , -\series bold - -\backslash -d -\series default - , -\series bold - -\backslash -H -\series default - , -\series bold - -\backslash -t -\series default - , -\series bold - -\backslash -u -\series default - , -\series bold - -\backslash -v -\series default - are available in mathematical text without the need to wrap them in a -\begin_inset Quotes eld -\end_inset - -TeX Code -\begin_inset Quotes erd -\end_inset - - (ERT) inset . -\end_layout - -\begin_layout Labeling -\labelwidthstring 00 -- Example -\backslash -c e -\end_layout - -\begin_layout Labeling -\labelwidthstring 00 -+ Example -\backslash -c c or -\backslash -c s (converted to pre-composed character available in LatinModern). -\end_layout - -\end_body -\end_document diff --git a/autotests/export/latex/xetex-inputenc-ascii.lyx b/autotests/export/latex/xetex-inputenc-ascii.lyx deleted file mode 100644 index 9ed5333743..0000000000 --- a/autotests/export/latex/xetex-inputenc-ascii.lyx +++ /dev/null @@ -1,423 +0,0 @@ -#LyX 2.4 created this file. For more info see https://www.lyx.org/ -\lyxformat 571 -\begin_document -\begin_header -\save_transient_properties true -\origin unavailable -\textclass article -\begin_preamble - -\end_preamble -\use_default_options true -\maintain_unincluded_children false -\language english -\language_package default -\inputencoding ascii -\fontencoding auto -\font_roman "lmodern" "FreeSerif" -\font_sans "default" "FreeSans" -\font_typewriter "default" "FreeMono" -\font_math "auto" "auto" -\font_default_family default -\use_non_tex_fonts false -\font_sc false -\font_osf false -\font_sf_scale 100 100 -\font_tt_scale 100 100 -\use_microtype false -\use_dash_ligatures false -\graphics default -\default_output_format pdf4 -\output_sync 0 -\bibtex_command default -\index_command default -\float_placement class -\float_alignment class -\paperfontsize default -\spacing single -\use_hyperref false -\papersize default -\use_geometry false -\use_package amsmath 1 -\use_package amssymb 1 -\use_package cancel 1 -\use_package esint 1 -\use_package mathdots 1 -\use_package mathtools 1 -\use_package mhchem 1 -\use_package stackrel 1 -\use_package stmaryrd 1 -\use_package undertilde 1 -\cite_engine basic -\cite_engine_type default -\biblio_style plain -\use_bibtopic false -\use_indices false -\paperorientation portrait -\suppress_date false -\justification true -\use_refstyle 1 -\use_minted 0 -\branch na -\selected 0 -\filename_suffix 0 -\color #faf0e6 -\end_branch -\branch bisect -\selected 0 -\filename_suffix 0 -\color #faf0e6 -\end_branch -\index Index -\shortcut idx -\color #008000 -\end_index -\secnumdepth 3 -\tocdepth 3 -\paragraph_separation indent -\paragraph_indentation default -\is_math_indent 0 -\math_numbering_side default -\quotes_style english -\dynamic_quotes 0 -\papercolumns 1 -\papersides 1 -\paperpagestyle default -\tablestyle default -\tracking_changes false -\output_changes false -\html_math_output 0 -\html_css_as_file 0 -\html_be_strict false -\end_header - -\begin_body - -\begin_layout Standard -\begin_inset Note Note -status open - -\begin_layout Plain Layout -This ERT fails with -\begin_inset Quotes eld -\end_inset - -ascii -\begin_inset Quotes erd -\end_inset - - but works with -\begin_inset Quotes eld -\end_inset - -utf8 -\begin_inset Quotes erd -\end_inset - -: -\begin_inset ERT -status open - -\begin_layout Plain Layout - -LyXen ist schön. -\end_layout - -\end_inset - - -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/001-4-latin.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/005-7-ipa-modifiers-combining.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/008-greek-and-coptic.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/009-cyrillic.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/009-cyrillic_ru.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset Note Note -status open - -\begin_layout Plain Layout -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/012-hebrew_he.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Plain Layout -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/012-hebrew_he_HE8.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Plain Layout -Hebrew does not work with XeTeX and TeX-fonts: -\end_layout - -\begin_layout Plain Layout -Error 256 (driver return code) generating output; file 012-hebrew_he_HE8.pdf - may not be valid. - -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset Note Note -status open - -\begin_layout Plain Layout -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/031-thai_th.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Plain Layout -Thai sets catcodes for characters in Latin-Supplement block leading to wrong - output there. -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/065-67-phonetic-extensions.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/068-latin-extended-additional.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/069-greek-extended.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/070-72-general-punctuation-sub-super-currency.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/074-76-letterlike-numberforms-arrows.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/077-mathops.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/078-79-misc-technical-control-pics.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/081-enclosed-alphanumerics.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/082-84-box-drawing-blocks-geometric.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/084-misc-symbols.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/085-dingbats.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/087-90-misc-math-A-arrows-A-B.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/091-92-misc-math-B-supp-math-ops.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/125_152-modifiers-presentation.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/246-mathematical-alphanumeric.lyx" -literal "false" - -\end_inset - - -\end_layout - -\end_body -\end_document diff --git a/autotests/export/latex/xetex-inputenc-utf8.lyx b/autotests/export/latex/xetex-inputenc-utf8.lyx deleted file mode 100644 index b48ee657bd..0000000000 --- a/autotests/export/latex/xetex-inputenc-utf8.lyx +++ /dev/null @@ -1,487 +0,0 @@ -#LyX 2.4 created this file. For more info see https://www.lyx.org/ -\lyxformat 573 -\begin_document -\begin_header -\save_transient_properties true -\origin unavailable -\textclass article -\begin_preamble - -\end_preamble -\use_default_options true -\maintain_unincluded_children false -\language english -\language_package default -\inputencoding utf8 -\fontencoding HE8,T1 -\font_roman "lmodern" "FreeSerif" -\font_sans "default" "FreeSans" -\font_typewriter "default" "FreeMono" -\font_math "auto" "auto" -\font_default_family default -\use_non_tex_fonts false -\font_sc false -\font_osf false -\font_sf_scale 100 100 -\font_tt_scale 100 100 -\use_microtype false -\use_dash_ligatures false -\graphics default -\default_output_format pdf4 -\output_sync 0 -\bibtex_command default -\index_command default -\float_placement class -\float_alignment class -\paperfontsize default -\spacing single -\use_hyperref false -\papersize default -\use_geometry false -\use_package amsmath 1 -\use_package amssymb 1 -\use_package cancel 1 -\use_package esint 1 -\use_package mathdots 1 -\use_package mathtools 1 -\use_package mhchem 1 -\use_package stackrel 1 -\use_package stmaryrd 1 -\use_package undertilde 1 -\cite_engine basic -\cite_engine_type default -\biblio_style plain -\use_bibtopic false -\use_indices false -\paperorientation portrait -\suppress_date false -\justification true -\use_refstyle 1 -\use_minted 0 -\branch na -\selected 0 -\filename_suffix 0 -\color #faf0e6 -\end_branch -\branch bisect -\selected 0 -\filename_suffix 0 -\color #faf0e6 -\end_branch -\index Index -\shortcut idx -\color #008000 -\end_index -\secnumdepth 3 -\tocdepth 3 -\paragraph_separation indent -\paragraph_indentation default -\is_math_indent 0 -\math_numbering_side default -\quotes_style english -\dynamic_quotes 0 -\papercolumns 1 -\papersides 1 -\paperpagestyle default -\tablestyle default -\tracking_changes false -\output_changes false -\html_math_output 0 -\html_css_as_file 0 -\html_be_strict false -\end_header - -\begin_body - -\begin_layout Standard -XeTeX works with 8-bit fonts for -\begin_inset Quotes eld -\end_inset - -utf8 -\begin_inset Quotes erd -\end_inset - - and -\begin_inset Quotes eld -\end_inset - -ascii -\begin_inset Quotes erd -\end_inset - - input encodings. - There are, however, a number of incompatibilities, because the combination - XeTeX+TeX-fonts is rarely used and some packages wrongly test for XeTeX - instead of fontenc. -\end_layout - -\begin_layout Standard -This ERT fails with -\begin_inset Quotes eld -\end_inset - -ascii -\begin_inset Quotes erd -\end_inset - - but works with -\begin_inset Quotes eld -\end_inset - -utf8 -\begin_inset Quotes erd -\end_inset - -: -\begin_inset ERT -status open - -\begin_layout Plain Layout - -LyXen ist schön. -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/001-4-latin.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/005-7-ipa-modifiers-combining.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/008-greek-and-coptic.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/009-cyrillic.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/009-cyrillic_ru.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset ERT -status open - -\begin_layout Plain Layout - - -\backslash -fontencoding{HE8} -\backslash -selectfont -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/012-hebrew_HE8.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset ERT -status open - -\begin_layout Plain Layout - - -\backslash -fontencoding{T1} -\backslash -selectfont -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset Note Note -status open - -\begin_layout Plain Layout -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/012-hebrew_he.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Plain Layout -Hebrew does not work with XeTeX and TeX-fonts: -\end_layout - -\begin_layout Plain Layout -Error 256 (driver return code) generating output; file 012-hebrew_he_HE8.pdf - may not be valid. - -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/031-thai_th.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/065-67-phonetic-extensions.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/068-latin-extended-additional.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/069-greek-extended.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/070-72-general-punctuation-sub-super-currency.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset Note Note -status open - -\begin_layout Plain Layout -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/074-76-letterlike-numberforms-arrows.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Plain Layout -Compilation errors with XeTeX, TeX-fonts, inputenc utf8, and expl3.sty (required - by xfrac.sty). -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/077-mathops.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset Note Note -status open - -\begin_layout Plain Layout -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/078-79-misc-technical-control-pics.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Plain Layout -Compilation errors with XeTeX, TeX-fonts, inputenc utf8, and expl3.sty (required - by menukeys.sty). -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/081-enclosed-alphanumerics.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/082-84-box-drawing-blocks-geometric.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/084-misc-symbols.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/085-dingbats.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/087-90-misc-math-A-arrows-A-B.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/091-92-misc-math-B-supp-math-ops.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/125_152-modifiers-presentation.lyx" -literal "false" - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset CommandInset include -LatexCommand input -filename "unicodesymbols/246-mathematical-alphanumeric.lyx" -literal "false" - -\end_inset - - -\end_layout - -\end_body -\end_document diff --git a/development/autotests/ignoredTests b/development/autotests/ignoredTests index 9b65b37523..21343d5538 100644 --- a/development/autotests/ignoredTests +++ b/development/autotests/ignoredTests @@ -30,6 +30,10 @@ export/doc/(ja/|)MergedManuals_(xhtml|lyx2[2-9]) # see https://www.gnu.org/software/libiconv/) export/export/latex/inputenc-cp858_pdf2 +# Korean legacy encoding fails (missing fonts) +# 2019-05-17: This is a minor issue since we default to utf8 now. +export/export/latex/CJK/ko_default_pdf2 + # =========================================== Sublabel: special @@ -174,12 +178,18 @@ lyx2lyx/export/latex/.* export/export/latex/.*(lyx..|xhtml) # don't test with non-TeX fonts: +export/export/latex/inputenc-.*_systemF # 11522 still open but already tested export/export/latex/languages/supported-languages_babel_(pdf|dvi)._systemF export/export/latex/languages/supported-languages_babel_auto-legacy_.*_systemF +export/export/latex/lyxbugs/3059-language-in-tables_pdf4_systemF +export/export/latex/lyxbugs/6197-polish-amssymb_pdf5_systemF # don't test with TeX fonts: export/export/latex/languages/supported-languages_babel_non-tex_.*(dvi|pdf.?|texF) export/export/latex/languages/supported-languages_polyglossia_.*(dvi|pdf.?|texF) +export/export/latex/lyxbugs-resolved/9633-.*(dvi|pdf.?|texF) +export/export/latex/lyxbugs/11522-systemfonts-Math-missingchars_pdf5_texF +export/export/latex/lyxbugs/wrong_output_3059-rtl-tables-xetex_pdf4_texF # HTML # don't check loading, lyx2lyx, or export to other LyX versions or DVI/PDF diff --git a/development/autotests/invertedTests b/development/autotests/invertedTests index 219c4f5975..654951c69f 100644 --- a/development/autotests/invertedTests +++ b/development/autotests/invertedTests @@ -20,9 +20,6 @@ Sublabel: todo # XeTeX artifact? works with LuaTeX, explore: export/doc/(|de/|es/|fr/)EmbeddedObjects_pdf4_systemF -# iconv fails, if a nomenclature inset contains an uncodable character -export/export/latex/iconv-error-nomenclature_pdf2 - # `acmart` document class: # (see also lyxbugs below and ignoredTests) # issues with listsof, reported to the maintainer @@ -54,9 +51,6 @@ export/examples/(|es/)Curricula_Vitae/Europe_CV_(dvi|dvi3.*F|pdf|pdf3) # back-conversion fails for rotated float inset in a list export/export/lyx2lyx/lyx_2_3_test_lyx(16|20|21|22) -# Korean legacy encoding fails (missing fonts) -export/export/latex/CJK/ko_default_pdf2 - # New problem with TL18: endless loop? # ! TeX capacity exceeded, sorry [input stack +size=5000]. export/export/latex/luainputenc-utf8_pdf5_texF @@ -67,11 +61,6 @@ export/templates/Articles/International_Union_of_Crystallography.*_pdf4_systemF export/templates/Articles/R_Journal_(dvi3|pdf[45])_systemF #export/templates/Articles/Kluwer_.*_systemF -# Babel with non-TeX fonts fails for some supported languages -# Lithuanian: L7x font encoding also set with LuaTeX and non-TeX fonts -# (error but output OK) -export/export/latex/languages/supported-languages_babel_non-tex_(dvi3|pdf5)_systemF - # Thai with CJK package requires the babel option "thaicjk" instead of "thai". # (see thaifont.txt in the CJK documentation for setup details). export/export/latex/unicodesymbols/031-thai_th_(euc-|gbk|jis|utf8-cjk).* @@ -94,10 +83,11 @@ Sublabel: lyxbugs # LyX bugs with a Trac number. # ================================================ -#6197: „amssymb” with Polish babel name clash \lll ("<<<" vs. "ł") -# Wrong output with pdflatex (-> unreliableTests), -# missing glyph with XeTeX/LuaTeX and Babel (OK with Polyglossia) -export/export/latex/6197-polish-amssymb_pdf._texF +# Dedicated tests in export/latex/lyxbugs start with the ticket number +# (move to export/latex/lyxbugs-resolved when the problem is fixed). +# catchall: +export/export/latex/lyxbugs/[0-9].* + #8035 work around a Polyglossia bug: # An error is reported if the document font does not announce support for a @@ -111,20 +101,6 @@ export/export/latex/6197-polish-amssymb_pdf._texF # The document "sr/Braille.lyx" is an example of case b). # (For some reason, the false positive error is not thrown with PDF (luatex).) export/examples/sr/Modules/Braille_(dvi3|pdf4)_systemF -export/export/latex/language-in-tables_.*_systemF - -#9633 Nested language handling causes compilation failures with polyglossia -export/export/latex/languagenesting-quote-branch_.*_systemF - -#9871 LyX sends invalid Unicode to iconv when converting to ASCII -# most probably due to BabelPreamble code (language specific headings for -# theorems, problems , ... are written in the language's default encoding -# if they contain non-ASCII characters) -# Error 84 returned from iconv when converting from UCS-4LE to ascii: -# Invalid or incomplete multibyte or wide character. -# see also the discussion at: -# https://www.mail-archive.com/search?l=mid&q=20170228190738.cgs3tl3ny2bxiegk%40steph -export/export/latex/bug9871-slovak-ascii-preambleencoding_pdf2 #10355 xmllint detects failures export/doc/attic/eu_UserGuide_xhtml @@ -132,10 +108,6 @@ export/doc/(es|ja)/UserGuide_xhtml export/examples/External_Material/Spreadsheet_xhtml export/export/WrongDfnTagHandling_xhtml -#10371 Compilation error if longest label marker in labeling style -# contains underscores etc. -export/export/latex/LongestLabelWithUnderscore.* - #11455 "Unable to process argument!" with multiple 1.6.x roundtrips export/templates/Articles/IEEE_Transactions_Journal_lyx16 @@ -145,20 +117,15 @@ export/templates/Articles/IEEE_Transactions_Journal_lyx16 # Find out why and whether the script could be improved. export/examples/Modules/Noweb_Listerrors_(pdf[245]).* -#11521 Font encoding "LAE" required with farsi. -# The Farsi font encoding LAE must be added also to a custom font encoding -# (similar to the Greek and Cyrillic font encodings LGR and T2A). -export/export/latex/languages/fa-OT1_pdf2 - #11522 Support specification of complementing non-TeX fonts # # More than one non-TeX font required for the character set in many documents # to prevent "missing glyph" errors with non-TeX fonts # -export/export/latex/.*inputenc-.*_systemF +#export/export/latex/inputenc-.*_systemF # problem remains but test now ignored export/doc/(|de/|es/|fr/)Math.*systemF -# minimal example for Math.lyx: -export/export/latex/systemfonts-Math-missingchars.*systemF +# a minimal example for Math.lyx is in +#export/export/latex/lyxbugs/11522-systemfonts-Math-missingchars.*systemF # # Farsi: missing glyphs (em space and "English" quotes) export/examples/fa/Welcome_pdf4_systemF @@ -174,17 +141,6 @@ export/examples/ja/Modules/Linguistics.*systemF # (the lyx2lyx test also tests compilation after round-trip) export/doc/ar/UserGuide_pdf4_systemF export/doc/ar/UserGuide_lyx(22|23) -# -# Juergen Spitzmueller: They do not have problems with xunicode, but without. -# The reason is that the asterisk glyph is not included in the arabic font -# (Scheherazade), but apparently, xunicode defines an extra asterisk -# glyph (for a different purpose) that is being used here. Clearly the -# problem should be fixed somewhere else. -# Günter Milde: works in TeXLive17 (Debian/stretch) -# export/doc/ar/Intro_pdf4_systemF - -#11532 inputencoding desynchronisation -export/export/latex/11532-misplaced-inputenc-switch_pdf2 # ============================================================== @@ -203,13 +159,14 @@ Sublabel: texissues # e.g. non-ASCII in verbatim or listings, incompatible packages, ... # "Wontfix" if documents demonstrate correct use in the default output format. -# Problem with Czech and Slovak Babel support. -# (reported per mail to Petr Tesa\v{r}\'ik, 2016-09-06) -# All exports using babel fail. -# Without the Czech or Slovak text it compiles -# No problem with inserted German (or other foreign language) text -# No problem if the table is Slovak, too -export/export/latex/TableErrorIfSlovakTextInserted_(dvi|pdf[23]?|.*_texF) +# Compilation error with Chech or Slovak text i a table cell. +# All exports using babel fail (problem in Czech and Slovak Babel support, +# reported per mail to Petr Tesa\v{r}\'ik, 2016-09-06) +# Without the Czech or Slovak text it compiles. +# No problem with inserted German (or other foreign language) text. +# No problem if the complete table is Slovak, too. +export/export/latex/languages/en-sk-cz-babel-table-error_(dvi|pdf[23]?|.*_texF) + # Xe/LuaTeX ########### @@ -230,6 +187,35 @@ export/export/latex/languages/uk-babel-date-missing-chars-with-ascii_(pdf4|dvi3) export/doc/uk/Intro_pdf4_texF export/examples/uk/Welcome_pdf4_texF +# Babel with non-TeX fonts fails for some supported languages +# Lithuanian: L7x font encoding also set with LuaTeX and non-TeX fonts +# (error but output OK) +export/export/latex/languages/supported-languages_babel_non-tex_(dvi3|pdf5)_systemF + +# Babel-French fails with Xe/LuaTeX and TeX fonts +# LaTeX Error: Command \at already defined. (and a lot more) +export/export/latex/languages/supported-languages_(dvi|pdf).*_texF +export/export/latex/languages/supported-languages_babel_(dvi|pdf).*_texF + +# Babel-Spanish fails sometimes with XeTeX and TeX fonts +export/doc/es/(Math|UserGuide|EmbeddedObjects|Customization)_pdf4_texF + +# Polyglossia + LuaTeX issue +# Reported upstream here: +# https://github.com/reutenauer/polyglossia/issues/163 +# These tests were broken at 3374b854 +# See discussion here: +# https://www.mail-archive.com/search?l=mid&q=1478004223.2367.5.camel%40lyx.org +export/doc/(sk|nb)/Intro_(dvi3|pdf5)_systemF +# some Polyglossia languages work only with XeTeX and fail with LuaTeX: +# * The font "NotoSansEthiopic" cannot be found. +# * sanskrit: ! Undefined control sequence. +# l.53 \newXeTeXintercharclass +# * RTL-languages: ! Undefined control sequence. +# \setLR ->\@RTLfalse \luatexpardir +export/export/latex/languages/supported-languages_polyglossia_(dvi3|pdf5)_systemF + + # Some packages fail with XeTeX/LuaTeX # Reported upstream (https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg184435.html) # Is there a new version fixing the problem? @@ -249,34 +235,16 @@ export/examples/Modules/Hazard_and_Precautionary_Statements_.*_systemF # xy package: export/examples/(|fr/)Graphics_and_Insets/XY-(Pic|Figure)_pdf5.* -# Polyglossia + LuaTeX issue -# Reported upstream here: -# https://github.com/reutenauer/polyglossia/issues/163 -# These tests were broken at 3374b854 -# See discussion here: -# https://www.mail-archive.com/search?l=mid&q=1478004223.2367.5.camel%40lyx.org -export/doc/(sk|nb)/Intro_(dvi3|pdf5)_systemF -# some Polyglossia languages work only with XeTeX and fail with LuaTeX: -# * The font "NotoSansEthiopic" cannot be found. -# * sanskrit: ! Undefined control sequence. -# l.53 \newXeTeXintercharclass -# * RTL-languages: ! Undefined control sequence. -# \setLR ->\@RTLfalse \luatexpardir -export/export/latex/languages/supported-languages_polyglossia_(dvi3|pdf5)_systemF - # fontspec errors with `slides` class: # LaTeX error: "kernel/command-already-defined" # Lines 2684 ... 2690 in fontspec-xetex.sty # Lines 2608 ... 2614 in fontspec-luatex.sty export/templates/Presentations/Slides_.*_systemF -# Babel-French fails with Xe/LuaTeX and TeX fonts -# LaTeX Error: Command \at already defined. (and a lot more) -export/export/latex/languages/supported-languages_(dvi|pdf).*_texF -export/export/latex/languages/supported-languages_babel_(dvi|pdf).*_texF +# expl3.sty: Compilation errors with XeTeX, TeX-fonts, inputenc utf8 +# (TL 17 works). +export/export/latex/inputenc-xetex-utf8-expl3-bug_pdf4_texF -# Babel-Spanish fails sometimes with XeTeX and TeX fonts -export/doc/es/(Math|UserGuide|EmbeddedObjects|Customization)_pdf4_texF # Arabic # diff --git a/development/autotests/unreliableTests b/development/autotests/unreliableTests index ef9e960ab4..b14c197c23 100644 --- a/development/autotests/unreliableTests +++ b/development/autotests/unreliableTests @@ -141,11 +141,11 @@ export/export/latex/languages/uk-babel-date-missing-chars-with-ascii_.*_texF export/(doc|examples)/uk/(Intro|Welcome)_.*_texF # new problem with TL18 (see invertedTests) -export/export/latex/luainputenc-utf8_pdf5_texF +export/export/latex/inputenc-luatex-utf8_pdf5_texF # Compilation errors under TeXLive-19 with XeTeX, TeX-fonts, inputenc utf8, # and expl3.sty (TL 17 works). -export/export/latex/xetex-inputenc-utf8-expl3-bug_pdf4_texF +export/export/latex/inputenc-xetex-utf8-expl3-bug_pdf4_texF # aastex: hard-coded version in class name: # 2018-05-12 aastex6.cls -> aastex62.cls