groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 01/01: PDF must not open in presentation mode.


From: Deri James
Subject: [groff] 01/01: PDF must not open in presentation mode.
Date: Fri, 9 Mar 2018 18:04:54 -0500 (EST)

deri pushed a commit to branch master
in repository groff.

commit 7e956851571c06c58770de50b4c6aeffedc629fc
Author: Deri James <address@hidden>
Date:   Fri Mar 9 23:02:14 2018 +0000

    PDF must not open in presentation mode.
    
    * src/devices/gropdf/gropdf.pl: When GROPDF_NOSLIDE=1
    passed do not set pdf to presentation mode.
---
 ChangeLog                    | 7 +++++++
 src/devices/gropdf/gropdf.pl | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 4699a22..b0a7a38 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2018-03-09  Deri James  <address@hidden>
 
+       PDF must not open in presentation mode.
+
+       * src/devices/gropdf/gropdf.pl: When GROPDF_NOSLIDE=1
+       passed do not set pdf to presentation mode.
+
+2018-03-09  Deri James  <address@hidden>
+
        Allow a "." to signify a missing parameter in .pdftransition
 
        * src/devices/gropdf/gropdf.1.man: Explain the .pdftransition
diff --git a/src/devices/gropdf/gropdf.pl b/src/devices/gropdf/gropdf.pl
index a111fd9..74f2b3b 100644
--- a/src/devices/gropdf/gropdf.pl
+++ b/src/devices/gropdf/gropdf.pl
@@ -1197,7 +1197,7 @@ sub do_x
                    }
                }
            }
-           elsif (lc($xprm[1]) eq 'transition')
+           elsif (lc($xprm[1]) eq 'transition' and !$noslide)
            {
                if (uc($xprm[2]) eq 'PAGE' or uc($xprm[2] eq 'SLIDE'))
                {



reply via email to

[Prev in Thread] Current Thread [Next in Thread]