mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-15 07:16:48 +00:00
39329935f3
The math parser could not handle multicolumn grids. This is a problem because there is no true ERT in math (everything is parsed). Now multicolumn cells are parsed correctly. The display is also somewhat OK, but apart from that any multicolumn related UI is missing. Since the file format change is now done the UI can be added at any later point. The most important part of bug 396 is now fixed: tex2lyx does not create invalid .lyx files anymore for formulas containing \multicolumn. I updated the tex2lyx test cases that produce correct output. tex2lyx does still produce invalid output for the test cases which are not updated because of the previous format change.
176 lines
2.8 KiB
Plaintext
176 lines
2.8 KiB
Plaintext
#LyX file created by tex2lyx 2.2
|
|
\lyxformat 493
|
|
\begin_document
|
|
\begin_header
|
|
\origin roundtrip
|
|
\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.
|
|
|
|
|
|
\end_preamble
|
|
\options english
|
|
\use_default_options false
|
|
\maintain_unincluded_children false
|
|
\language chinese-traditional
|
|
\language_package default
|
|
\inputencoding utf8-cjk
|
|
\fontencoding T1
|
|
\font_roman default
|
|
\font_sans default
|
|
\font_typewriter default
|
|
\font_math auto
|
|
\font_default_family default
|
|
\use_non_tex_fonts false
|
|
\font_sc false
|
|
\font_osf false
|
|
\font_sf_scale 100
|
|
\font_tt_scale 100
|
|
\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
|
|
\use_package cancel 0
|
|
\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
|
|
\cite_engine_type default
|
|
\biblio_style plain
|
|
\use_bibtopic false
|
|
\use_indices false
|
|
\paperorientation portrait
|
|
\suppress_date false
|
|
\justification true
|
|
\use_refstyle 0
|
|
\index Index
|
|
\shortcut idx
|
|
\color #008000
|
|
\end_index
|
|
\secnumdepth 3
|
|
\tocdepth 3
|
|
\paragraph_separation indent
|
|
\paragraph_indentation default
|
|
\quotes_language english
|
|
\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
|
|
|
|
\lang chinese-traditional
|
|
Japanese
|
|
\end_layout
|
|
|
|
\begin_layout Standard
|
|
|
|
\lang chinese-traditional
|
|
Chinese traditional
|
|
\end_layout
|
|
|
|
\begin_layout Standard
|
|
|
|
\lang chinese-traditional
|
|
Japanese
|
|
\end_layout
|
|
|
|
\begin_layout Standard
|
|
hello
|
|
\end_layout
|
|
|
|
\begin_layout Standard
|
|
|
|
\lang chinese-traditional
|
|
Chinese simplified
|
|
\end_layout
|
|
|
|
\begin_layout Standard
|
|
|
|
\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
|
|
|
|
\lang chinese-traditional
|
|
Chinese simplified
|
|
\end_layout
|
|
|
|
\begin_layout Standard
|
|
|
|
\lang chinese-traditional
|
|
Big5 文鼎楷書
|
|
\end_layout
|
|
|
|
\begin_layout Standard
|
|
|
|
\lang english
|
|
English
|
|
\end_layout
|
|
|
|
\begin_layout Standard
|
|
|
|
\lang chinese-traditional
|
|
日本語の文章
|
|
\end_layout
|
|
|
|
\begin_layout Standard
|
|
hello
|
|
\end_layout
|
|
|
|
\begin_layout Standard
|
|
|
|
\lang chinese-traditional
|
|
Korean
|
|
\end_layout
|
|
|
|
\end_body
|
|
\end_document
|