lyx_mirror/autotests/export/latex/lyxbugs-resolved/11519-parent-with-other-inputenc.lyx

168 lines
3.0 KiB
Plaintext
Raw Normal View History

2019-03-16 16:55:44 +00:00
#LyX 2.4 created this file. For more info see https://www.lyx.org/
2019-05-17 12:03:28 +00:00
\lyxformat 574
2019-03-16 16:55:44 +00:00
\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
2019-03-16 16:55:44 +00:00
\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
2019-05-17 12:03:28 +00:00
\tablestyle default
2019-03-16 16:55:44 +00:00
\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
2019-03-16 16:55:44 +00:00
\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
(
2019-03-16 16:55:44 +00:00
\begin_inset Quotes eld
\end_inset
language default
2019-03-16 16:55:44 +00:00
\begin_inset Quotes erd
\end_inset
)) and
2019-03-16 16:55:44 +00:00
\end_layout
\begin_layout Itemize
\noindent
the
2019-03-16 16:55:44 +00:00
\begin_inset Quotes eld
\end_inset
inputencoding
2019-03-16 16:55:44 +00:00
\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
2019-03-16 16:55:44 +00:00
\family typewriter
iso8859-15
2019-03-16 16:55:44 +00:00
\family default
, the included child
2019-03-16 16:55:44 +00:00
\family typewriter
utf8
\family default
.
\end_layout
\begin_layout Standard
\begin_inset CommandInset include
LatexCommand input
2019-05-17 12:03:28 +00:00
filename "8085-table-rotate-linebreak.lyx"
2019-03-16 16:55:44 +00:00
literal "false"
\end_inset
\end_layout
\end_body
\end_document