mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-23 16:52:02 +00:00
tex2lyx: support the case that \date{} is used in the preamble to suppress the date
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39951 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0c1c13bbd0
commit
483891b7cf
@ -879,6 +879,11 @@ void parse_preamble(Parser & p, ostream & os,
|
|||||||
else if (t.cs() == "pagestyle")
|
else if (t.cs() == "pagestyle")
|
||||||
h_paperpagestyle = p.verbatim_item();
|
h_paperpagestyle = p.verbatim_item();
|
||||||
|
|
||||||
|
else if (t.cs() == "date") {
|
||||||
|
if (p.verbatim_item().empty())
|
||||||
|
h_suppress_date = "true";
|
||||||
|
}
|
||||||
|
|
||||||
else if (t.cs() == "makeatletter") {
|
else if (t.cs() == "makeatletter") {
|
||||||
// LyX takes care of this
|
// LyX takes care of this
|
||||||
p.setCatCode('@', catLetter);
|
p.setCatCode('@', catLetter);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user