ctest for bug #11519

This commit is contained in:
Günter Milde 2019-03-16 17:55:44 +01:00
parent 2b61033324
commit d53a13a475
2 changed files with 146 additions and 0 deletions

View File

@ -0,0 +1,143 @@
#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 auto
\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 Standard
When the
\begin_inset Quotes eld
\end_inset
inputencoding
\begin_inset Quotes erd
\end_inset
setting for parent and child differ, the parent loads the child doc with
wrong input encoding.
\end_layout
\begin_layout Standard
Example: This document uses
\begin_inset Quotes eld
\end_inset
language default
\begin_inset Quotes erd
\end_inset
(
\family typewriter
utf8
\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

View File

@ -193,6 +193,9 @@ export/templates/IEEEtran-Journal_lyx16
export/doc/(de|es)/Additional_pdf4_texF export/doc/(de|es)/Additional_pdf4_texF
export/export/latex/xetex-inputenc-utf8_pdf4_texF export/export/latex/xetex-inputenc-utf8_pdf4_texF
#11519 Wrong input encoding when parent and child use different setting.
export/export/latex/parent-with-other-inputenc_pdf2
# ============================================================== # ==============================================================
Sublabel: ert Sublabel: ert
# Export failures due to "raw" LaTeX use in ERT or preamble code # Export failures due to "raw" LaTeX use in ERT or preamble code