Update tex2lyx to file format 427. InsetIPA is not yet supported, but the

produced output is valid format 427.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40903 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2012-03-10 11:53:47 +00:00
parent c9ba7f7288
commit 4f6579e9d3
5 changed files with 37 additions and 9 deletions

View File

@ -362,6 +362,7 @@
\TestPackage{lmodern} \TestPackage{lmodern}
\TestPackage{luximono} \TestPackage{luximono}
\TestPackage{tipa} \TestPackage{tipa}
\TestPackage{tipx}
% necessary to get correct size for InstantPreview images created by dvipng % necessary to get correct size for InstantPreview images created by dvipng
\TestPackage[c70fs.fd]{zhmetrics} \TestPackage[c70fs.fd]{zhmetrics}

View File

@ -1,5 +1,5 @@
#LyX 2.1 created this file. For more info see http://www.lyx.org/ #LyX 2.1 created this file. For more info see http://www.lyx.org/
\lyxformat 425 \lyxformat 427
\begin_document \begin_document
\begin_header \begin_header
\textclass article \textclass article
@ -56,13 +56,14 @@
\papercolumns 1 \papercolumns 1
\papersides 1 \papersides 1
\paperpagestyle plain \paperpagestyle plain
\tracking_changes false \tracking_changes true
\output_changes false \output_changes false
\html_math_output 0 \html_math_output 0
\html_css_as_file 0 \html_css_as_file 0
\html_be_strict true \html_be_strict true
\html_latex_start <span class='latex'> \html_latex_start <span class='latex'>
\html_latex_end </span> \html_latex_end </span>
\author -1982340446 "Georg Baum,,,"
\end_header \end_header
\begin_body \begin_body
@ -916,14 +917,39 @@ Notes: The
\family sans \family sans
tipa tipa
\family default \family default
package provides comprehensive support and fonts for typesetting phonetic
symbols, as defined in the \change_inserted -1982340446 1331379107
and
\family sans
tipx
\family default
\change_unchanged
package
\change_inserted -1982340446 1331379107
s
\change_unchanged
provide
\change_deleted -1982340446 1331379107
s
\change_unchanged
comprehensive support and fonts for typesetting phonetic symbols, as defined
in the
\emph on \emph on
International Phonetic Alphabet International Phonetic Alphabet
\emph default \emph default
(IPA). (IPA).
The input of these symbols is provided by LyX's math editor and via the The input of these symbols is provided
\change_inserted -1982340446 1331379107
via
\family sans
Insert\SpecialChar \menuseparator
Special Character\SpecialChar \menuseparator
Phonetic Symbols
\family default
,
\change_unchanged
by LyX's math editor and via the
\family sans \family sans
Insert\SpecialChar \menuseparator Insert\SpecialChar \menuseparator
Special Character\SpecialChar \menuseparator Special Character\SpecialChar \menuseparator

View File

@ -1342,7 +1342,7 @@ bool Paragraph::Private::latexSpecialT1(char_type const c, otexstream & os,
bool Paragraph::Private::latexSpecialT3(char_type const c, otexstream & os, bool Paragraph::Private::latexSpecialT3(char_type const c, otexstream & os,
pos_type i, unsigned int & column) pos_type /*i*/, unsigned int & /*column*/)
{ {
switch (c) { switch (c) {
case '*': case '*':

View File

@ -67,4 +67,5 @@ Format LaTeX feature LyX feature
409 XeTeX \use_non_tex_fonts 409 XeTeX \use_non_tex_fonts
411 support for polyglossia \language_package (the cases of no package, of babel and of custom package is supported) 411 support for polyglossia \language_package (the cases of no package, of babel and of custom package is supported)
415 undertilde.sty fonts 415 undertilde.sty fonts
427 tipa.sty \begin{IPA}, \textipa InsetTIPA

View File

@ -31,9 +31,9 @@ extern char const * const lyx_version_info;
// Do not remove the comment below, so we get merge conflict in // Do not remove the comment below, so we get merge conflict in
// independent branches. Instead add your own. // independent branches. Instead add your own.
#define LYX_FORMAT_LYX 427 // spitz: tipa inset #define LYX_FORMAT_LYX 427 // spitz: tipa inset
#define LYX_FORMAT_TEX2LYX 426 // uwestoehr: support for verbatim #define LYX_FORMAT_TEX2LYX 427 // spitz: tipa inset
#if LYX_FORMAT_FOR_TEX2LYX != LYX_FORMAT_FOR_LYX #if LYX_FORMAT_TEX2LYX != LYX_FORMAT_LYX
#warning "tex2lyx produces an out of date file format." #warning "tex2lyx produces an out of date file format."
#warning "Please update tex2lyx as soon as possible, since it depends implicitly" #warning "Please update tex2lyx as soon as possible, since it depends implicitly"
#warning "on the current file format in some places (this causes bugs like #7780)." #warning "on the current file format in some places (this causes bugs like #7780)."