+2005-10-13 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
+
+ * FORMAT: document format change to 245.
+
2005-10-11 Bennet Helm <bennet.helm@fandm.edu>
* MacOSX/LyX.app/Contents/MacOS/lyxeditor: Use the new location of
LyX file-format changes
-----------------------
+2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
+
+ * format incremented to 245. The \quotes_times parameter
+ has been removed.
+
2005-09-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
* format incremented to 244. Rename '\InsetSpace \,'
+2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
+
+ * LyX.py: enlarge range to current format (245);
+ do not use \quotes_times anymore on NewFile.
+ * lyx_1_4.py (remove_quotestimes): remove param \quotes_times (bug 2090).
+
2005-09-28 José Matos <jamatos@lyx.org>
* LyX.py: fix relation_format reversion
("1_1_6fix3", [218], ["1.1.6fix3","1.1.6fix4","1.1"]),
("1_2", [220], ["1.2.0","1.2.1","1.2.3","1.2.4","1.2"]),
("1_3", [221], ["1.3.0","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","1.3.6","1.3"]),
- ("1_4", range(222,245), ["1.4.0cvs","1.4"])]
+ ("1_4", range(222,246), ["1.4.0cvs","1.4"])]
def formats_list():
"\\paragraph_separation indent",
"\\defskip medskip",
"\\quotes_language english",
- "\\quotes_times 2",
"\\papercolumns 1",
"\\papersides 1",
"\\paperpagestyle default",
file.header[i] = "\\papersize default"
+def remove_quotestimes(file):
+ i = find_token(file.header, '\\quotes_times', 0)
+ if i == -1:
+ return
+ del file.header[i]
+
+
##
# Convertion hub
#
[241, [convert_ert_paragraphs]],
[242, [convert_french]],
[243, [remove_paperpackage]],
- [244, [rename_spaces]]]
+ [244, [rename_spaces]],
+ [245, [remove_quotestimes]]]
-revert = [[243, [revert_space_names]],
+revert = [[244, []],
+ [243, [revert_space_names]],
[242, []],
[241, []],
[240, [revert_ert_paragraphs]],
+2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
+
+ * buffer.C: version upgrade to 245.
+ * bufferparams.C: remove \quotes_times (bug 2090).
+ * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
+ quotation marks as default.
+
2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* CutAndPaste.C (nrOfParagraphs): remove (unused)
namespace {
-int const LYX_FORMAT = 244;
+int const LYX_FORMAT = 245;
} // namespace anon
}
-// Quote times
-typedef Translator<int, InsetQuotes::quote_times> QuotesTimesTranslator;
-
-
-QuotesTimesTranslator const init_quotestimestranslator()
-{
- QuotesTimesTranslator translator(1, InsetQuotes::SingleQ);
- translator.addPair(2, InsetQuotes::DoubleQ);
- return translator;
-}
-
-
-QuotesTimesTranslator const & quotestimestranslator()
-{
- static QuotesTimesTranslator translator = init_quotestimestranslator();
- return translator;
-}
-
-
// Paper size
typedef Translator<std::string, PAPER_SIZE> PaperSizeTranslator;
{
paragraph_separation = PARSEP_INDENT;
quotes_language = InsetQuotes::EnglishQ;
- quotes_times = InsetQuotes::DoubleQ;
fontsize = "default";
/* PaperLayout */
string quotes_lang;
lex >> quotes_lang;
quotes_language = quoteslangtranslator().find(quotes_lang);
- } else if (token == "\\quotes_times") {
- int qtimes;
- lex >> qtimes;
- quotes_times = quotestimestranslator().find(qtimes);
} else if (token == "\\papersize") {
string ppsize;
lex >> ppsize;
<< string_paragraph_separation[paragraph_separation]
<< "\n\\defskip " << getDefSkip().asLyXCommand()
<< "\n\\quotes_language "
- << string_quotes_language[quotes_language] << '\n'
- << "\\quotes_times "
- << quotestimestranslator().find(quotes_times)
+ << string_quotes_language[quotes_language]
<< "\n\\papercolumns " << columns
<< "\n\\papersides " << sides
<< "\n\\paperpagestyle " << pagestyle << '\n';
+2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
+
+ * preamble.C: update format to 245 (do not output \quotes_times).
+
2005-08-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* text.C (parse_text): Output \item in list environments that are
string h_paragraph_separation = "indent";
string h_defskip = "medskip";
string h_quotes_language = "english";
-string h_quotes_times = "2";
string h_papercolumns = "1";
string h_papersides = string();
string h_paperpagestyle = "default";
void end_preamble(ostream & os, LyXTextClass const & /*textclass*/)
{
os << "#LyX file created by tex2lyx 0.1.2\n"
- << "\\lyxformat 243\n"
+ << "\\lyxformat 245\n"
<< "\\begin_document\n"
<< "\\begin_header\n"
<< "\\textclass " << h_textclass << "\n"
<< "\\paragraph_separation " << h_paragraph_separation << "\n"
<< "\\defskip " << h_defskip << "\n"
<< "\\quotes_language " << h_quotes_language << "\n"
- << "\\quotes_times " << h_quotes_times << "\n"
<< "\\papercolumns " << h_papercolumns << "\n"
<< "\\papersides " << h_papersides << "\n"
<< "\\paperpagestyle " << h_paperpagestyle << "\n"
cur.insert(new InsetQuotes(c,
bufparams.quotes_language,
InsetQuotes::SingleQ));
- else if (arg == "double")
+ else
cur.insert(new InsetQuotes(c,
bufparams.quotes_language,
InsetQuotes::DoubleQ));
- else
- cur.insert(new InsetQuotes(c, bufparams));
cur.posRight();
}
else