2018-03-10 19:59:48 +01:00
|
|
|
#LyX file created by tex2lyx 2.4
|
2018-08-17 20:34:28 +02:00
|
|
|
\lyxformat 563
|
2012-12-30 11:58:21 +01:00
|
|
|
\begin_document
|
|
|
|
\begin_header
|
2015-12-20 17:56:40 +00:00
|
|
|
\save_transient_properties true
|
2015-05-14 01:02:37 +02:00
|
|
|
\origin roundtrip
|
2012-12-30 11:58:21 +01:00
|
|
|
\textclass article
|
|
|
|
\begin_preamble
|
|
|
|
\usepackage{babel}
|
|
|
|
|
|
|
|
|
|
|
|
% It is impossible to get the document language because the document could start with a command,
|
|
|
|
% whitespace, and English word or whatever and the rest is in Japanese. Checking for the first CJK
|
|
|
|
% environment is no solution because the document could be English and contain only some Japanese.
|
2015-05-15 21:23:29 +02:00
|
|
|
|
|
|
|
|
2012-12-30 11:58:21 +01:00
|
|
|
\end_preamble
|
2013-02-17 17:53:04 +01:00
|
|
|
\options english
|
2012-12-30 11:58:21 +01:00
|
|
|
\use_default_options false
|
|
|
|
\maintain_unincluded_children false
|
|
|
|
\language chinese-traditional
|
|
|
|
\language_package default
|
2013-02-19 15:44:11 +01:00
|
|
|
\inputencoding utf8-cjk
|
2012-12-30 11:58:21 +01:00
|
|
|
\fontencoding T1
|
2015-11-09 07:33:57 +01:00
|
|
|
\font_roman "default" "default"
|
|
|
|
\font_sans "default" "default"
|
|
|
|
\font_typewriter "default" "default"
|
|
|
|
\font_math "auto" "auto"
|
2012-12-30 11:58:21 +01:00
|
|
|
\font_default_family default
|
|
|
|
\use_non_tex_fonts false
|
|
|
|
\font_sc false
|
|
|
|
\font_osf false
|
2015-11-09 07:33:57 +01:00
|
|
|
\font_sf_scale 100 100
|
|
|
|
\font_tt_scale 100 100
|
2017-04-08 04:55:22 +02:00
|
|
|
\use_microtype false
|
|
|
|
\use_dash_ligatures true
|
2012-12-30 11:58:21 +01:00
|
|
|
\graphics default
|
|
|
|
\default_output_format default
|
|
|
|
\output_sync 0
|
|
|
|
\bibtex_command default
|
|
|
|
\index_command default
|
|
|
|
\paperfontsize default
|
|
|
|
\spacing single
|
|
|
|
\use_hyperref false
|
|
|
|
\papersize default
|
|
|
|
\use_geometry false
|
|
|
|
\use_package amsmath 1
|
|
|
|
\use_package amssymb 0
|
2013-02-28 13:19:04 +01:00
|
|
|
\use_package cancel 0
|
2012-12-30 11:58:21 +01:00
|
|
|
\use_package esint 1
|
|
|
|
\use_package mathdots 0
|
|
|
|
\use_package mathtools 0
|
|
|
|
\use_package mhchem 0
|
|
|
|
\use_package stackrel 0
|
|
|
|
\use_package stmaryrd 0
|
|
|
|
\use_package undertilde 0
|
|
|
|
\cite_engine basic
|
2013-05-20 14:37:33 +02:00
|
|
|
\cite_engine_type default
|
2012-12-30 11:58:21 +01:00
|
|
|
\biblio_style plain
|
|
|
|
\use_bibtopic false
|
|
|
|
\use_indices false
|
|
|
|
\paperorientation portrait
|
|
|
|
\suppress_date false
|
|
|
|
\justification true
|
|
|
|
\use_refstyle 0
|
tex2lyx: import minted listings
This commit updates tex2lyx in order to also import minted listings.
For the floating version of a listing, minted uses the listing
environment, a concept that is not shared with the listings package,
towards which our listings inset is geared.
For this reason, a kludge is necessary when importing minted listings
not previously exported by LyX itself.
If the floating listing contains only a caption and a label (other
than the listing itself), everything is fine and the import is (or
aims to be) perfect. But, as in all other floating ebvironments,
one can also stick there other elements, which don't have a place
in the listings inset. So, in order to avoid a data loss, tex2lyx
sticks everything into the caption. In this way, things may be
rearranged in the GUI, if necessary. There is no other way, apart
from a complete redesign of the listings inset, of course. However,
I think that this is an acceptable compromise.
2017-06-17 02:23:00 +02:00
|
|
|
\use_minted 0
|
2012-12-30 11:58:21 +01:00
|
|
|
\index Index
|
|
|
|
\shortcut idx
|
|
|
|
\color #008000
|
|
|
|
\end_index
|
|
|
|
\secnumdepth 3
|
|
|
|
\tocdepth 3
|
|
|
|
\paragraph_separation indent
|
|
|
|
\paragraph_indentation default
|
2017-04-13 15:46:03 +02:00
|
|
|
\is_math_indent 0
|
2017-05-13 20:39:45 +02:00
|
|
|
\math_numbering_side default
|
2018-03-11 18:04:23 +01:00
|
|
|
\quotes_style cjk
|
2017-04-08 04:55:22 +02:00
|
|
|
\dynamic_quotes 0
|
2012-12-30 11:58:21 +01:00
|
|
|
\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
|
2015-05-15 21:23:29 +02:00
|
|
|
|
|
|
|
\lang chinese-traditional
|
2012-12-30 11:58:21 +01:00
|
|
|
Japanese
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2015-05-15 21:23:29 +02:00
|
|
|
|
|
|
|
\lang chinese-traditional
|
2012-12-30 11:58:21 +01:00
|
|
|
Chinese traditional
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2015-05-15 21:23:29 +02:00
|
|
|
|
|
|
|
\lang chinese-traditional
|
2012-12-30 11:58:21 +01:00
|
|
|
Japanese
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
hello
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2015-05-15 21:23:29 +02:00
|
|
|
|
|
|
|
\lang chinese-traditional
|
2012-12-30 11:58:21 +01:00
|
|
|
Chinese simplified
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2015-05-15 21:23:29 +02:00
|
|
|
|
2012-12-30 11:58:21 +01:00
|
|
|
\begin_inset ERT
|
|
|
|
status collapsed
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
\backslash
|
|
|
|
begin{CJK}{UTF8}{hei}
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Japanese
|
|
|
|
\begin_inset ERT
|
|
|
|
status collapsed
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
\backslash
|
|
|
|
end{CJK}
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2015-05-15 21:23:29 +02:00
|
|
|
|
|
|
|
\lang chinese-traditional
|
2012-12-30 11:58:21 +01:00
|
|
|
Chinese simplified
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2015-05-15 21:23:29 +02:00
|
|
|
|
|
|
|
\lang chinese-traditional
|
2012-12-30 11:58:21 +01:00
|
|
|
Big5 文鼎楷書
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
|
|
|
|
\lang english
|
|
|
|
English
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2015-05-15 21:23:29 +02:00
|
|
|
|
|
|
|
\lang chinese-traditional
|
2012-12-30 11:58:21 +01:00
|
|
|
日本語の文章
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
hello
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2015-05-15 21:23:29 +02:00
|
|
|
|
|
|
|
\lang chinese-traditional
|
2012-12-30 11:58:21 +01:00
|
|
|
Korean
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_body
|
|
|
|
\end_document
|