The lyx2lyx conversions for the new formats are empty, therefore we can simply
update the format number.
16 files changed:
def revert_beamer_lemma(document):
" Reverts beamer lemma layout to ERT "
def revert_beamer_lemma(document):
" Reverts beamer lemma layout to ERT "
beamer_classes = ["beamer", "article-beamer", "scrarticle-beamer"]
if document.textclass not in beamer_classes:
return
beamer_classes = ["beamer", "article-beamer", "scrarticle-beamer"]
if document.textclass not in beamer_classes:
return
# order is important for the last three!
phrases = ["LyX", "LaTeX2e", "LaTeX", "TeX"]
# order is important for the last three!
phrases = ["LyX", "LaTeX2e", "LaTeX", "TeX"]
back = document.body[i][j+len(phrase):]
if len(back) > 0:
document.body.insert(i+1, back)
back = document.body[i][j+len(phrase):]
if len(back) > 0:
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
i += 1
document.body[i] = front + "\\SpecialCharNoPassThru \\" + phrase
i += 1
"convert special characters to old syntax"
convert_specialchar_internal(document, False)
"convert special characters to old syntax"
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":
document.language = "english"
if document.language == "georgian":
document.language = "english"
#LyX file created by tex2lyx 2.2
#LyX file created by tex2lyx 2.2
\begin_document
\begin_header
\textclass article
\begin_document
\begin_header
\textclass article
#LyX file created by tex2lyx 2.2
#LyX file created by tex2lyx 2.2
\begin_document
\begin_header
\textclass article
\begin_document
\begin_header
\textclass article
#LyX file created by tex2lyx 2.2
#LyX file created by tex2lyx 2.2
\begin_document
\begin_header
\textclass article
\begin_document
\begin_header
\textclass article
#LyX file created by tex2lyx 2.2
#LyX file created by tex2lyx 2.2
\begin_document
\begin_header
\textclass article
\begin_document
\begin_header
\textclass article
#LyX file created by tex2lyx 2.2
#LyX file created by tex2lyx 2.2
\begin_document
\begin_header
\textclass article
\begin_document
\begin_header
\textclass article
#LyX file created by tex2lyx 2.2
#LyX file created by tex2lyx 2.2
\begin_document
\begin_header
\textclass article
\begin_document
\begin_header
\textclass article
#LyX file created by tex2lyx 2.2
#LyX file created by tex2lyx 2.2
\begin_document
\begin_header
\textclass article
\begin_document
\begin_header
\textclass article
#LyX file created by tex2lyx 2.2
#LyX file created by tex2lyx 2.2
\begin_document
\begin_header
\textclass article
\begin_document
\begin_header
\textclass article
#LyX file created by tex2lyx 2.2
#LyX file created by tex2lyx 2.2
\begin_document
\begin_header
\textclass memoir
\begin_document
\begin_header
\textclass memoir
#LyX file created by tex2lyx 2.2
#LyX file created by tex2lyx 2.2
\begin_document
\begin_header
\textclass amsart
\begin_document
\begin_header
\textclass amsart
#LyX file created by tex2lyx 2.2
#LyX file created by tex2lyx 2.2
\begin_document
\begin_header
\textclass book
\begin_document
\begin_header
\textclass book
#LyX file created by tex2lyx 2.2
#LyX file created by tex2lyx 2.2
\begin_document
\begin_header
\textclass scrbook
\begin_document
\begin_header
\textclass scrbook
#LyX file created by tex2lyx 2.2
#LyX file created by tex2lyx 2.2
\begin_document
\begin_header
\textclass article
\begin_document
\begin_header
\textclass article
#LyX file created by tex2lyx 2.2
#LyX file created by tex2lyx 2.2
\begin_document
\begin_header
\textclass article
\begin_document
\begin_header
\textclass article
#LyX file created by tex2lyx 2.2
#LyX file created by tex2lyx 2.2
\begin_document
\begin_header
\textclass article
\begin_document
\begin_header
\textclass article