Any news? :-)

2013/2/14 Mosè Giordano <[email protected]>:
> Hi Tassilo,
>
> 2013/2/13 Tassilo Horn <[email protected]>:
>> If you have a sample tex file plus a recipe how to reproduce the error,
>> I could check myself.  E.g. a tex file using siunitx with some custom
>> unit definitions, and then I change it not to use siunitx and revert the
>> buffer, so that I hit the undefined function error.
> LaTeX source code:
> ------------------------------------------------------------------------
> \documentclass{article}
>
> \usepackage{siunitx}
>
> \DeclareSIUnit\parsec{pc}
> \DeclareSIUnit\lightyear{ly}
> ------------------------------------------------------------------------
> Save the buffer, parsed file will be written with this content
> ------------------------------------------------------------------------
> (TeX-add-style-hook
>  "test"
>  (lambda ()
>     (TeX-run-style-hooks
>      "latex2e"
>      ""
>      "article"
>      "art10"
>      "siunitx")
>     (LaTeX-add-siunitx-units
>      "\\parsec"
>      "\\lightyear")))
> ------------------------------------------------------------------------
> Comment or remove `\usepackage{siunitx}', then save the buffer.
> Parsed file will be written, with `LaTeX-add-siunitx-units' function
> but without `siunitx' hook.  Close Emacs, then reopen Emacs and the
> LaTeX source.  Result: error message in the echo area
>   Symbol's function definition is void: LaTeX-add-siunitx-units
>
> Thanks for your help!
>
> Bye,
> Mosè Giordano

_______________________________________________
auctex-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to