mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
Increase tex2lyx output format to 416 (current trunk format).
414: Nothing to do (empty lyx2lyx conversion) 415: Added \use_undertilde preamble parameter 416: Nothing to do (empty lyx2lyx conversion) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39935 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4794323459
commit
34a033b20a
@ -97,4 +97,9 @@ Format LaTeX feature LyX feature
|
||||
409 XeTeX \use_non_tex_fonts
|
||||
411 babel etc. \language_package
|
||||
412 tabular* InsetTabular
|
||||
414 \textvisiblespace InsetSpace
|
||||
415 undertilde.sty fonts
|
||||
416 \negmedspace, \negthinspace InsetSpace
|
||||
416 \hfill, \enspace, \hspace*, InsetMathSpace
|
||||
\hspace*{\fill}
|
||||
|
||||
|
@ -206,6 +206,7 @@ string h_use_amsmath = "1";
|
||||
string h_use_esint = "1";
|
||||
string h_use_mhchem = "0";
|
||||
string h_use_mathdots = "0";
|
||||
string h_use_undertilde = "0";
|
||||
string h_cite_engine = "basic";
|
||||
string h_use_bibtopic = "false";
|
||||
string h_paperorientation = "portrait";
|
||||
@ -518,6 +519,9 @@ void handle_package(Parser &p, string const & name, string const & opts,
|
||||
else if (name == "mathdots")
|
||||
h_use_mathdots = "2";
|
||||
|
||||
else if (name == "undertilde")
|
||||
h_use_undertilde = "2";
|
||||
|
||||
else if (name == "babel" && !opts.empty()) {
|
||||
// check if more than one option was used - used later for inputenc
|
||||
// in case inputenc is parsed before babel, set the encoding to auto
|
||||
@ -748,6 +752,7 @@ void end_preamble(ostream & os, TextClass const & /*textclass*/)
|
||||
<< "\\use_esint " << h_use_esint << "\n"
|
||||
<< "\\use_mhchem " << h_use_mhchem << "\n"
|
||||
<< "\\use_mathdots " << h_use_mathdots << "\n"
|
||||
<< "\\use_undertilde " << h_use_undertilde << "\n"
|
||||
<< "\\cite_engine " << h_cite_engine << "\n"
|
||||
<< "\\use_bibtopic " << h_use_bibtopic << "\n"
|
||||
<< "\\paperorientation " << h_paperorientation << '\n'
|
||||
|
@ -166,7 +166,7 @@ extern bool noweb_mode;
|
||||
/// Did we recognize any pdflatex-only construct?
|
||||
extern bool pdflatex;
|
||||
/// LyX format that is created by tex2lyx
|
||||
int const LYX_FORMAT = 413;
|
||||
int const LYX_FORMAT = 416;
|
||||
|
||||
/// path of the master .tex file
|
||||
extern std::string getMasterFilePath();
|
||||
|
Loading…
Reference in New Issue
Block a user