auctex-devel
[Top][All Lists]
Advanced

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

[AUCTeX-devel] Key-val options for hyperref.el and siunitx.el


From: address@hidden
Subject: [AUCTeX-devel] Key-val options for hyperref.el and siunitx.el
Date: Thu, 27 Dec 2012 12:36:13 +0100 (CET)

Hi all,
options for `hyperref.sty' and `siunitx.sty' packages may be set as optional 
arguments of `\usepackage' macro or as mandatory arguments of `\hypersetup' and 
`\sisetup' macros, respectively.  I'm attaching patches for `hyperref.el' and 
`siunitx.el' styles with all possible options, using key-val style parsed by 
`TeX-arg-key-val' function.  Note: it seems they won't work with `\usepackage' 
macro since `LaTeX-listify-package-options' function can't parse the same list 
of key-val options of `TeX-arg-key-val'.  I preferred compliance with `TeX-arg-
key-val' since I believe that setting option via `\hypersetup' and `\sisetup' 
macros is more used than via optional arguments of `\usepackage' macro and I 
don't know how to write a list of key-val options that can be passed to `LaTeX-
listify-package-options'.

Bye,
Mosè Giordano

Attachment: hyperref.el.patch
Description: Text Data

Attachment: siunitx.el.patch
Description: Text Data


reply via email to

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