From: Nicolas Goaziou <n.goaziou@gmail.com>
To: "Thomas S. Dye" <tsd@tsdye.com>
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: [PATCH] New LaTeX exporter, switch for hypersetup
Date: Thu, 10 Jan 2013 22:22:24 +0100 [thread overview]
Message-ID: <87mwwg20of.fsf@gmail.com> (raw)
In-Reply-To: <m1sj6aw3re.fsf@tsdye.com> (Thomas S. Dye's message of "Wed, 09 Jan 2013 09:33:09 -1000")
Hello,
tsd@tsdye.com (Thomas S. Dye) writes:
Thanks for your patch. A few comments below.
> I don't think I fully understand how :options-alist works. With the
> attached patch I was expecting to be able to use #+LATEX_HYPER: nil, but
> this didn't work for me.
Keywords values are either a string or a list of strings. In this case,
#+LATEX_HYPER: nil means the value is "nil", not nil.
You still can test it with `org-not-nil' function.
> :options-alist ((:date "DATE" nil org-e-latex-date-format t)
> (:latex-class "LATEX_CLASS" nil org-e-latex-default-class t)
> (:latex-class-options "LATEX_CLASS_OPTIONS" nil nil t)
> - (:latex-header-extra "LATEX_HEADER" nil nil newline)))
> + (:latex-header-extra "LATEX_HEADER" nil nil newline)
> + (:with-hyper "LATEX_HYPER" "texht" t t)
I suggest to use :latex-hyperref-p or :latex-with-hyperref instead
of :with-hyper, since this is back-end specific.
Moreover, IMO, it doesn't make sense to provide a way to set it both
through the #+OPTIONS: line and with a "LATEX_HYPER" keyword. You should
choose your side.
Also, you may want to use a global defcustom for the default value,
instead of setting it to t, i.e. `org-e-latex-with-hyperref'.
> + ))
Please do not leave parenthesis on a line of their own.
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2013-01-10 21:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-09 19:33 [PATCH] New LaTeX exporter, switch for hypersetup Thomas S. Dye
2013-01-10 21:22 ` Nicolas Goaziou [this message]
2013-01-11 0:20 ` Thomas S. Dye
2013-01-12 11:07 ` Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mwwg20of.fsf@gmail.com \
--to=n.goaziou@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=tsd@tsdye.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).