]> git.lyx.org Git - lyx.git/blobdiff - src/Converter.cpp
Allow using \binom without amsmath and add support for \brace and \brack
[lyx.git] / src / Converter.cpp
index 32afe035e67c28da44836546645933fce4f80ecc..e674fc9d484cef2d4ccafc013bdea806acf3dcca 100644 (file)
@@ -65,8 +65,8 @@ string const dvipdfm_options(BufferParams const & bp)
        string result;
 
        if (bp.papersize != PAPER_CUSTOM) {
-               string const paper_size = bp.paperSizeName();
-               if (paper_size != "b5" && paper_size != "foolscap")
+               string const paper_size = bp.paperSizeName(BufferParams::DVIPDFM);
+               if (!paper_size.empty())
                        result = "-p "+ paper_size;
 
                if (bp.orientation == ORIENTATION_LANDSCAPE)