auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] a LaTeX-env-usepackage environment


From: Mosè Giordano
Subject: Re: [AUCTeX-devel] a LaTeX-env-usepackage environment
Date: Sun, 16 Feb 2014 14:24:43 +0100

Hi Carlos,

2014-02-16 10:25 GMT+01:00 Carlos <address@hidden>:
> Mosè:
>
> Do you see the line (TeX-add-to-alist 'LaTeX-provided-package-options ? in
>
> +(defun LaTeX-arg-usepackage-insert (packages options)
> +  "Actually insert arguments to usepackage."
> +  (unless (zerop (length options))
> +    (let ((opts (LaTeX-listify-package-options options)))
> +      (mapc (lambda (elt)
> +             (TeX-add-to-alist 'LaTeX-provided-package-options
> +                               (list (cons elt opts))))
> +           packages))
> +    (insert LaTeX-optop options LaTeX-optcl))
> +  (insert TeX-grop (mapconcat 'identity packages ",") TeX-grcl)
> +  (run-hooks 'LaTeX-after-usepackage-hook))
>
> Well, long story short, every time I would try to insert the options for
> the package, say for example, for the inputenc package, like utf8,
> utf8x, etc., it would throw a "symbol's definition is void " error.

As far as I can tell, you're using AUCTeX 11.87, but my patches are
against the git version in which there have been many changes,
including new functions and variables ;-)

Bye,
Mosè



reply via email to

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