mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Update tex2lyx test references
The lyx2lyx conversions for the new formats are empty, therefore we can simply update the format number.
This commit is contained in:
parent
0fc9b08e4d
commit
4069e3daed
@ -336,7 +336,7 @@ def revert_xarrow(document):
|
|||||||
|
|
||||||
def revert_beamer_lemma(document):
|
def revert_beamer_lemma(document):
|
||||||
" Reverts beamer lemma layout to ERT "
|
" Reverts beamer lemma layout to ERT "
|
||||||
|
|
||||||
beamer_classes = ["beamer", "article-beamer", "scrarticle-beamer"]
|
beamer_classes = ["beamer", "article-beamer", "scrarticle-beamer"]
|
||||||
if document.textclass not in beamer_classes:
|
if document.textclass not in beamer_classes:
|
||||||
return
|
return
|
||||||
@ -557,7 +557,7 @@ def revert_dashes(document):
|
|||||||
else:
|
else:
|
||||||
i += 1
|
i += 1
|
||||||
|
|
||||||
|
|
||||||
# order is important for the last three!
|
# order is important for the last three!
|
||||||
phrases = ["LyX", "LaTeX2e", "LaTeX", "TeX"]
|
phrases = ["LyX", "LaTeX2e", "LaTeX", "TeX"]
|
||||||
|
|
||||||
@ -605,7 +605,7 @@ def convert_phrases(document):
|
|||||||
back = document.body[i][j+len(phrase):]
|
back = document.body[i][j+len(phrase):]
|
||||||
if len(back) > 0:
|
if len(back) > 0:
|
||||||
document.body.insert(i+1, back)
|
document.body.insert(i+1, back)
|
||||||
# We cannot use SpecialChar since we do not know whether we are outside passThru
|
# We cannot use SpecialChar since we do not know whether we are outside passThru
|
||||||
document.body[i] = front + "\\SpecialCharNoPassThru \\" + phrase
|
document.body[i] = front + "\\SpecialCharNoPassThru \\" + phrase
|
||||||
i += 1
|
i += 1
|
||||||
|
|
||||||
@ -686,8 +686,9 @@ def revert_specialchar(document):
|
|||||||
"convert special characters to old syntax"
|
"convert special characters to old syntax"
|
||||||
convert_specialchar_internal(document, False)
|
convert_specialchar_internal(document, False)
|
||||||
|
|
||||||
|
|
||||||
def revert_georgian(document):
|
def revert_georgian(document):
|
||||||
"Set the document language for new supported languages to English"
|
"Set the document language for new supported languages to English"
|
||||||
|
|
||||||
if document.language == "georgian":
|
if document.language == "georgian":
|
||||||
document.language = "english"
|
document.language = "english"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#LyX file created by tex2lyx 2.2
|
#LyX file created by tex2lyx 2.2
|
||||||
\lyxformat 483
|
\lyxformat 485
|
||||||
\begin_document
|
\begin_document
|
||||||
\begin_header
|
\begin_header
|
||||||
\textclass article
|
\textclass article
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#LyX file created by tex2lyx 2.2
|
#LyX file created by tex2lyx 2.2
|
||||||
\lyxformat 483
|
\lyxformat 485
|
||||||
\begin_document
|
\begin_document
|
||||||
\begin_header
|
\begin_header
|
||||||
\textclass article
|
\textclass article
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#LyX file created by tex2lyx 2.2
|
#LyX file created by tex2lyx 2.2
|
||||||
\lyxformat 483
|
\lyxformat 485
|
||||||
\begin_document
|
\begin_document
|
||||||
\begin_header
|
\begin_header
|
||||||
\textclass article
|
\textclass article
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#LyX file created by tex2lyx 2.2
|
#LyX file created by tex2lyx 2.2
|
||||||
\lyxformat 483
|
\lyxformat 485
|
||||||
\begin_document
|
\begin_document
|
||||||
\begin_header
|
\begin_header
|
||||||
\textclass article
|
\textclass article
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#LyX file created by tex2lyx 2.2
|
#LyX file created by tex2lyx 2.2
|
||||||
\lyxformat 483
|
\lyxformat 485
|
||||||
\begin_document
|
\begin_document
|
||||||
\begin_header
|
\begin_header
|
||||||
\textclass article
|
\textclass article
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#LyX file created by tex2lyx 2.2
|
#LyX file created by tex2lyx 2.2
|
||||||
\lyxformat 483
|
\lyxformat 485
|
||||||
\begin_document
|
\begin_document
|
||||||
\begin_header
|
\begin_header
|
||||||
\textclass article
|
\textclass article
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#LyX file created by tex2lyx 2.2
|
#LyX file created by tex2lyx 2.2
|
||||||
\lyxformat 483
|
\lyxformat 485
|
||||||
\begin_document
|
\begin_document
|
||||||
\begin_header
|
\begin_header
|
||||||
\textclass article
|
\textclass article
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#LyX file created by tex2lyx 2.2
|
#LyX file created by tex2lyx 2.2
|
||||||
\lyxformat 483
|
\lyxformat 485
|
||||||
\begin_document
|
\begin_document
|
||||||
\begin_header
|
\begin_header
|
||||||
\textclass article
|
\textclass article
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#LyX file created by tex2lyx 2.2
|
#LyX file created by tex2lyx 2.2
|
||||||
\lyxformat 483
|
\lyxformat 485
|
||||||
\begin_document
|
\begin_document
|
||||||
\begin_header
|
\begin_header
|
||||||
\textclass memoir
|
\textclass memoir
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#LyX file created by tex2lyx 2.2
|
#LyX file created by tex2lyx 2.2
|
||||||
\lyxformat 483
|
\lyxformat 485
|
||||||
\begin_document
|
\begin_document
|
||||||
\begin_header
|
\begin_header
|
||||||
\textclass amsart
|
\textclass amsart
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#LyX file created by tex2lyx 2.2
|
#LyX file created by tex2lyx 2.2
|
||||||
\lyxformat 483
|
\lyxformat 485
|
||||||
\begin_document
|
\begin_document
|
||||||
\begin_header
|
\begin_header
|
||||||
\textclass book
|
\textclass book
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#LyX file created by tex2lyx 2.2
|
#LyX file created by tex2lyx 2.2
|
||||||
\lyxformat 483
|
\lyxformat 485
|
||||||
\begin_document
|
\begin_document
|
||||||
\begin_header
|
\begin_header
|
||||||
\textclass scrbook
|
\textclass scrbook
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#LyX file created by tex2lyx 2.2
|
#LyX file created by tex2lyx 2.2
|
||||||
\lyxformat 483
|
\lyxformat 485
|
||||||
\begin_document
|
\begin_document
|
||||||
\begin_header
|
\begin_header
|
||||||
\textclass article
|
\textclass article
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#LyX file created by tex2lyx 2.2
|
#LyX file created by tex2lyx 2.2
|
||||||
\lyxformat 483
|
\lyxformat 485
|
||||||
\begin_document
|
\begin_document
|
||||||
\begin_header
|
\begin_header
|
||||||
\textclass article
|
\textclass article
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#LyX file created by tex2lyx 2.2
|
#LyX file created by tex2lyx 2.2
|
||||||
\lyxformat 483
|
\lyxformat 485
|
||||||
\begin_document
|
\begin_document
|
||||||
\begin_header
|
\begin_header
|
||||||
\textclass article
|
\textclass article
|
||||||
|
Loading…
Reference in New Issue
Block a user