> Uwe Brauer <[email protected]> writes:

> Right.


> Wrong placement of code; it should read:

> (TeX-add-style-hook
>  "refcount"
>  (lambda ()
>    (TeX-add-symbols
>     '("setcounterref" TeX-arg-counter TeX-arg-ref)
>     '("getrefbykeydefault"
>       TeX-arg-ref
>       (TeX-arg-completing-read ("page" "title" "name" "anchor" "url"))
>       "Default"))
>    ;; RefTeX reference style
>    (and LaTeX-reftex-ref-style-auto-activate
>         (fboundp 'reftex-ref-style-activate)
>         (reftex-ref-style-activate "Refcount")))
>  TeX-dialect)

I was going to write you the same 😉  a elisp and all these parentheses ...

> Yes, we can add something like that to nameref.el once we have an
> agreement on a working setup.

Ok, I hope to enhance your template and send a patch this afternoon for refcount


> Best, Arash


-- 
I strongly condemn Hamas heinous atrocities on Israel, especially the 
despicable pogroms.
I strongly condemn Putin's war of aggression against Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the EU and NATO membership of Ukraine. 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to