lyx_mirror/autotests/export/latex/lyxbugs/9871-slovak-ascii-preambleencoding.lyx
2019-05-17 20:54:29 +02:00

167 lines
3.2 KiB
Plaintext

#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