auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] [elpa] externals/auctex 3f38eb2 07/23: Support page(box)


From: Tassilo Horn
Subject: [AUCTeX-diffs] [elpa] externals/auctex 3f38eb2 07/23: Support page(box) options for dvipdfmx in graphicx.el
Date: Sat, 23 Jan 2021 04:10:07 -0500 (EST)

branch: externals/auctex
commit 3f38eb2d38c5097d34cc4b7c1dc1502e350ee644
Author: Ikumi Keita <ikumi@ikumi.que.jp>
Commit: Ikumi Keita <ikumi@ikumi.que.jp>

    Support page(box) options for dvipdfmx in graphicx.el
    
    * style/graphicx.el (LaTeX-arg-graphicx-includegraphics-key-val):
    Support page(box) options when the document is to be processed by
    dvipdfmx.
    (): Update copyright year.
---
 style/graphicx.el | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/style/graphicx.el b/style/graphicx.el
index d7a6f04..bb28b9c 100644
--- a/style/graphicx.el
+++ b/style/graphicx.el
@@ -1,6 +1,6 @@
 ;;; graphicx.el --- AUCTeX style file for graphicx.sty  -*- lexical-binding: 
t; -*-
 
-;; Copyright (C) 2000, 2004, 2005, 2014--2020 by Free Software Foundation, Inc.
+;; Copyright (C) 2000, 2004, 2005, 2014--2021 by Free Software Foundation, Inc.
 
 ;; Author: Ryuichi Arafune <arafune@debian.org>
 ;; Created: 1999/3/20
@@ -102,7 +102,10 @@ key-val's."
      (TeX-read-key-val optional
                        (if (and (or (and (eq TeX-engine 'default)
                                          (not (TeX-PDF-from-DVI)))
-                                    (eq TeX-engine 'luatex))
+                                    (eq TeX-engine 'luatex)
+                                    ;; dvipdfmx can handle page and
+                                    ;; pagebox options.
+                                    (string= (TeX-PDF-from-DVI) "Dvipdfmx"))
                                 TeX-PDF-mode)
                            (append '(("page")
                                      ("pagebox" ("mediabox"




reply via email to

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