]> git.lyx.org Git - lyx.git/blob - autotests/export/latex/languages/en-sk-cz-babel-table-error.lyx
Revert "DocBook: eat a bit of that spaghetti code."
[lyx.git] / autotests / export / latex / languages / en-sk-cz-babel-table-error.lyx
1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
2 \lyxformat 589
3 \begin_document
4 \begin_header
5 \save_transient_properties true
6 \origin unavailable
7 \textclass article
8 \use_default_options false
9 \maintain_unincluded_children false
10 \language english
11 \language_package default
12 \inputencoding iso8859-15
13 \fontencoding auto
14 \font_roman "lmodern" "default"
15 \font_sans "lmss" "default"
16 \font_typewriter "lmtt" "default"
17 \font_math "auto" "auto"
18 \font_default_family default
19 \use_non_tex_fonts false
20 \font_sc false
21 \font_roman_osf false
22 \font_sans_osf false
23 \font_typewriter_osf false
24 \font_sf_scale 100 100
25 \font_tt_scale 100 100
26 \use_microtype false
27 \use_dash_ligatures true
28 \graphics default
29 \default_output_format pdf2
30 \output_sync 0
31 \bibtex_command default
32 \index_command default
33 \float_placement class
34 \float_alignment class
35 \paperfontsize default
36 \spacing single
37 \use_hyperref false
38 \pdf_title "LyX's Development manual"
39 \pdf_author "LyX Team"
40 \pdf_subject "LyX's development documentation"
41 \pdf_keywords "LyX, Documentation, Development"
42 \pdf_bookmarks true
43 \pdf_bookmarksnumbered true
44 \pdf_bookmarksopen true
45 \pdf_bookmarksopenlevel 1
46 \pdf_breaklinks false
47 \pdf_pdfborder false
48 \pdf_colorlinks true
49 \pdf_backref false
50 \pdf_pdfusetitle false
51 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
52 \papersize a4
53 \use_geometry false
54 \use_package amsmath 1
55 \use_package amssymb 1
56 \use_package cancel 0
57 \use_package esint 0
58 \use_package mathdots 1
59 \use_package mathtools 0
60 \use_package mhchem 1
61 \use_package stackrel 0
62 \use_package stmaryrd 0
63 \use_package undertilde 0
64 \cite_engine basic
65 \cite_engine_type default
66 \biblio_style plain
67 \use_bibtopic false
68 \use_indices false
69 \paperorientation portrait
70 \suppress_date false
71 \justification false
72 \use_refstyle 0
73 \use_minted 0
74 \use_lineno 0
75 \notefontcolor #0000ff
76 \branch slovak
77 \selected 1
78 \filename_suffix 0
79 \color #faf0e6
80 \end_branch
81 \branch czech
82 \selected 0
83 \filename_suffix 0
84 \color #faf0e6
85 \end_branch
86 \index Index
87 \shortcut idx
88 \color #008000
89 \end_index
90 \secnumdepth 4
91 \tocdepth 4
92 \paragraph_separation indent
93 \paragraph_indentation default
94 \is_math_indent 0
95 \math_numbering_side default
96 \quotes_style english
97 \dynamic_quotes 0
98 \papercolumns 1
99 \papersides 1
100 \paperpagestyle plain
101 \tablestyle default
102 \tracking_changes false
103 \output_changes false
104 \html_math_output 0
105 \html_css_as_file 0
106 \html_be_strict true
107 \end_header
108
109 \begin_body
110
111 \begin_layout Section*
112 Compilation error with Czech or Slovak text in a table cell.
113 \end_layout
114
115 \begin_layout Standard
116 Encoding switches are not to blame.
117  Rather an incompatibility of 
118 \emph on
119 array
120 \emph default
121  or 
122 \emph on
123 multirow
124 \emph default
125  packages with Babel's 
126 \family typewriter
127 slovak.ldf
128 \family default
129  and 
130 \family typewriter
131 czech.ldf
132 \family default
133 .
134  The problem is that these language definition files make the hyphen character
135  (-) active for the 
136 \begin_inset Quotes eld
137 \end_inset
138
139 split
140 \begin_inset Quotes erd
141 \end_inset
142
143  attribute (cf.
144  the Babel-Czech documentation 
145 \begin_inset Quotes eld
146 \end_inset
147
148 czech.pdf
149 \begin_inset Quotes erd
150 \end_inset
151
152 ).
153 \end_layout
154
155 \begin_layout Subsection*
156 Test
157 \end_layout
158
159 \begin_layout Standard
160 Remove this inserted Slovak text 
161 \begin_inset Branch slovak
162 inverted 0
163 status open
164
165 \begin_layout Standard
166
167 \lang slovak
168 slovenský text
169 \lang english
170  
171 \end_layout
172
173 \end_inset
174
175  and this document is compilable.
176  
177 \lang ngerman
178 Deutscher Text
179 \lang english
180  is non-problematic.
181 \begin_inset Branch czech
182 inverted 0
183 status open
184
185 \begin_layout Standard
186  
187 \lang czech
188 Czesky text
189 \lang english
190  
191 \end_layout
192
193 \end_inset
194
195 triggers the error, too.
196  But not Polish, Upper Sorbian, Baltic languages, Spanish ...
197  
198 \lang polish
199 text.
200 \end_layout
201
202 \begin_layout Standard
203 \begin_inset Tabular
204 <lyxtabular version="3" rows="2" columns="2">
205 <features tabularvalignment="middle">
206 <column alignment="center" valignment="top">
207 <column alignment="center" valignment="top">
208 <row>
209 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
210 \begin_inset Text
211
212 \begin_layout Plain Layout
213 -
214 \end_layout
215
216 \end_inset
217 </cell>
218 <cell multirow="3" alignment="center" valignment="middle" topline="true" bottomline="true" rightline="true" usebox="none">
219 \begin_inset Text
220
221 \begin_layout Plain Layout
222 --
223 \end_layout
224
225 \end_inset
226 </cell>
227 </row>
228 <row>
229 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
230 \begin_inset Text
231
232 \begin_layout Plain Layout
233 -
234 \end_layout
235
236 \end_inset
237 </cell>
238 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
239 \begin_inset Text
240
241 \begin_layout Plain Layout
242
243 \end_layout
244
245 \end_inset
246 </cell>
247 </row>
248 </lyxtabular>
249
250 \end_inset
251
252
253 \end_layout
254
255 \begin_layout Standard
256 This is the minimal table example.
257  Removing a line or column makes it compilable again.
258  Also setting the language of the table to Slovak helps.
259 \end_layout
260
261 \begin_layout Subsection*
262 Update
263 \end_layout
264
265 \begin_layout Quotation
266 Fixed in revision ce447e176 (14.08.2019).
267 \end_layout
268
269 \end_body
270 \end_document