mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Invert and document test for "longest labeling label" problem.
Fails for known reason.
This commit is contained in:
parent
58730c73d4
commit
26ed48a542
@ -6,7 +6,7 @@
|
|||||||
\origin unavailable
|
\origin unavailable
|
||||||
\textclass article
|
\textclass article
|
||||||
\begin_preamble
|
\begin_preamble
|
||||||
\usepackage{pgfplots}
|
|
||||||
\end_preamble
|
\end_preamble
|
||||||
\use_default_options false
|
\use_default_options false
|
||||||
\maintain_unincluded_children false
|
\maintain_unincluded_children false
|
||||||
@ -14,9 +14,9 @@
|
|||||||
\language_package default
|
\language_package default
|
||||||
\inputencoding auto
|
\inputencoding auto
|
||||||
\fontencoding global
|
\fontencoding global
|
||||||
\font_roman "default" "TeX Gyre Termes"
|
\font_roman "default" "default"
|
||||||
\font_sans "default" "TeX Gyre Pagella"
|
\font_sans "default" "default"
|
||||||
\font_typewriter "default" "TeX Gyre Cursor"
|
\font_typewriter "default" "default"
|
||||||
\font_math "auto" "auto"
|
\font_math "auto" "auto"
|
||||||
\font_default_family default
|
\font_default_family default
|
||||||
\use_non_tex_fonts true
|
\use_non_tex_fonts true
|
||||||
@ -51,7 +51,7 @@
|
|||||||
\use_indices false
|
\use_indices false
|
||||||
\paperorientation portrait
|
\paperorientation portrait
|
||||||
\suppress_date false
|
\suppress_date false
|
||||||
\justification true
|
\justification false
|
||||||
\use_refstyle 0
|
\use_refstyle 0
|
||||||
\index Register
|
\index Register
|
||||||
\shortcut idx
|
\shortcut idx
|
||||||
@ -81,15 +81,67 @@
|
|||||||
\begin_body
|
\begin_body
|
||||||
|
|
||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
Setting the longest label to a string containing underscore leads to uncompilabl
|
The
|
||||||
e document.
|
\begin_inset Quotes eld
|
||||||
See Paragraph Settings...Longest label
|
\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
|
||||||
|
Setting the longest label to a string containing underscore (or another
|
||||||
|
special character like
|
||||||
|
\family typewriter
|
||||||
|
|
||||||
|
\backslash
|
||||||
|
]$%#^
|
||||||
|
\family default
|
||||||
|
...) may lead to an uncompilable document (while in valid constructs like
|
||||||
|
\family typewriter
|
||||||
|
$
|
||||||
|
\backslash
|
||||||
|
sin^2 x_i$
|
||||||
|
\family default
|
||||||
|
they are OK).
|
||||||
|
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Labeling
|
\begin_layout Labeling
|
||||||
\labelwidthstring Longest_Label_With_Underscore
|
\labelwidthstring Longest_Label_With_Underscore
|
||||||
\noindent
|
\noindent
|
||||||
Longest_Label_With_Underscore Long label with underscore
|
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_layout
|
||||||
|
|
||||||
\end_body
|
\end_body
|
||||||
|
@ -84,6 +84,14 @@ export/examples/ko/splash_(dvi||pdf[23]?)
|
|||||||
export/mathmacros/testcases_speed_(lyx16|lyx21|dvi|pdf|pdf[23]|(dvi3|pdf[45])_(texF|systemF))
|
export/mathmacros/testcases_speed_(lyx16|lyx21|dvi|pdf|pdf[23]|(dvi3|pdf[45])_(texF|systemF))
|
||||||
check_load/mathmacros/testcases_speed
|
check_load/mathmacros/testcases_speed
|
||||||
|
|
||||||
|
# The "longest label" marker in a labeling must be valid LaTeX (just like ERT).
|
||||||
|
# What should we do:
|
||||||
|
# - document this,
|
||||||
|
# - escape special characters,
|
||||||
|
# - convert to LaTeXString,
|
||||||
|
# or just report this at Trac for now?
|
||||||
|
export/export/LongestLabelWithUnderscore.*
|
||||||
|
|
||||||
|
|
||||||
Sublabel: lyxbugs
|
Sublabel: lyxbugs
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user