From 9ce23fd5c257fde18c0d0d8d994c429f70967977 Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Sat, 22 Oct 2011 19:37:10 +0000 Subject: [PATCH] More paper sizes for tex2lyx git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39925 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/tex2lyx/TODO.txt | 3 --- src/tex2lyx/preamble.cpp | 8 +++++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/tex2lyx/TODO.txt b/src/tex2lyx/TODO.txt index 8caa520598..9316c8959e 100644 --- a/src/tex2lyx/TODO.txt +++ b/src/tex2lyx/TODO.txt @@ -83,13 +83,10 @@ Format LaTeX feature LyX feature 384 document font color \fontcolor 385 shaded box background color \boxbgcolor 386 LyX version InsetInfo -388 page sizes A0-3, A6, B0-3, B6, \papersize - JIS B0-6 390 forward/reverse search \forward_search, \forward_macro 391 decimal alignment in tables InsetTabular 392 new beamer format InsetLayout 394 \makebox InsetBox use_makebox -395 page sizes C0-6 \papersize 396 nameref.sty InsetRef 399 automatic mathdots loading \use_mathdots 400 other rules than \lyxline InsetLine diff --git a/src/tex2lyx/preamble.cpp b/src/tex2lyx/preamble.cpp index e35408b796..1394288198 100644 --- a/src/tex2lyx/preamble.cpp +++ b/src/tex2lyx/preamble.cpp @@ -139,9 +139,11 @@ const char * const known_typewriter_fonts[] = { "beramono", "cmtl", "cmtt", "courier", "lmtt", "luximono", "fourier", "lmodern", "mathpazo", "mathptmx", "newcent", 0}; -const char * const known_paper_sizes[] = { "a3paper", "b3paper", "a4paper", -"b4paper", "a5paper", "b5paper", "executivepaper", "legalpaper", -"letterpaper", 0}; +const char * const known_paper_sizes[] = { "a0paper", "b0paper", "c0paper", +"a1paper", "b1paper", "c1paper", "a2paper", "b2paper", "c2paper", "a3paper", +"b3paper", "c3paper", "a4paper", "b4paper", "c4paper", "a5paper", "b5paper", +"c5paper", "a6paper", "b6paper", "c6paper", "executivepaper", "legalpaper", +"letterpaper", "b0j", "b1j", "b2j", "b3j", "b4j", "b5j", "b6j", 0}; const char * const known_class_paper_sizes[] = { "a4paper", "a5paper", "executivepaper", "legalpaper", "letterpaper", 0};