mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
9fdae0d84c
Solves errors with luatex and enables compilation with xetex. Add dedicated test document for the errors with auto-legacy and xe/luatex.
178 lines
3.8 KiB
Plaintext
178 lines
3.8 KiB
Plaintext
#LyX 2.4 created this file. For more info see https://www.lyx.org/
|
|
\lyxformat 573
|
|
\begin_document
|
|
\begin_header
|
|
\save_transient_properties true
|
|
\origin unavailable
|
|
\textclass article
|
|
\begin_preamble
|
|
% DO NOT ALTER THIS PREAMBLE!!!
|
|
%
|
|
%This preamble is designed to ensure that the document prints
|
|
% out as advertised. If you mess with this preamble,
|
|
% parts of the document may not print out as expected. If you
|
|
% have problems LaTeXing this file, please contact
|
|
% the documentation team
|
|
% email: lyx-docs@lists.lyx.org
|
|
|
|
% the pages of the TOC is numbered roman
|
|
% and a pdf-bookmark for the TOC is added
|
|
\pagenumbering{roman}
|
|
\let\myTOC\tableofcontents
|
|
\renewcommand\tableofcontents{%
|
|
\pdfbookmark[1]{\contentsname}{}
|
|
\myTOC
|
|
\cleardoublepage
|
|
\pagenumbering{arabic} }
|
|
\end_preamble
|
|
\use_default_options false
|
|
\maintain_unincluded_children false
|
|
\language russian
|
|
\language_package default
|
|
\inputencoding auto-legacy
|
|
\fontencoding auto
|
|
\font_roman "default" "DejaVu Serif"
|
|
\font_sans "default" "DejaVu Sans"
|
|
\font_typewriter "default" "DejaVu Sans Mono"
|
|
\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 pdf5
|
|
\output_sync 0
|
|
\bibtex_command default
|
|
\index_command default
|
|
\float_placement class
|
|
\float_alignment class
|
|
\paperfontsize 12
|
|
\spacing single
|
|
\use_hyperref true
|
|
\pdf_title "Введение в LyX"
|
|
\pdf_author "LyX Team"
|
|
\pdf_subject "LyX-documentation Intro"
|
|
\pdf_keywords "LyX, documentation"
|
|
\pdf_bookmarks true
|
|
\pdf_bookmarksnumbered true
|
|
\pdf_bookmarksopen true
|
|
\pdf_bookmarksopenlevel 2
|
|
\pdf_breaklinks false
|
|
\pdf_pdfborder false
|
|
\pdf_colorlinks true
|
|
\pdf_backref false
|
|
\pdf_pdfusetitle false
|
|
\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
|
|
\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 Предметный указатель
|
|
\shortcut idx
|
|
\color #008000
|
|
\end_index
|
|
\secnumdepth 3
|
|
\tocdepth 2
|
|
\paragraph_separation indent
|
|
\paragraph_indentation default
|
|
\is_math_indent 0
|
|
\math_numbering_side default
|
|
\quotes_style russian
|
|
\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 Title
|
|
Введение в \SpecialChar LyX
|
|
|
|
\end_layout
|
|
|
|
\begin_layout Author
|
|
автор: команда разработки \SpecialChar LyX
|
|
|
|
\begin_inset Newline newline
|
|
\end_inset
|
|
|
|
|
|
\end_layout
|
|
|
|
\begin_layout Standard
|
|
\begin_inset CommandInset toc
|
|
LatexCommand tableofcontents
|
|
|
|
\end_inset
|
|
|
|
|
|
\end_layout
|
|
|
|
\begin_layout Section
|
|
Философия \SpecialChar LyX
|
|
|
|
\end_layout
|
|
|
|
\begin_layout Subsection
|
|
|
|
\lang spanish
|
|
What is the problem?
|
|
\end_layout
|
|
|
|
\begin_layout Standard
|
|
|
|
\lang spanish
|
|
Babel-Russian uses utf8-encoded auto-strings when detecting Xe/LuaTeX.
|
|
This leads to wrong output with TeX fonts and legacy 8-bit input encodings,
|
|
e.g.
|
|
the ToC-title should be
|
|
\begin_inset Quotes eld
|
|
\end_inset
|
|
|
|
Содержание
|
|
\begin_inset Quotes erd
|
|
\end_inset
|
|
|
|
but is
|
|
\begin_inset Quotes eld
|
|
\end_inset
|
|
|
|
ППППЯППППП
|
|
\begin_inset Quotes erd
|
|
\end_inset
|
|
|
|
and to compilation errors.
|
|
\end_layout
|
|
|
|
\end_body
|
|
\end_document
|