auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] Future direction of TikZ style


From: Mosè Giordano
Subject: Re: [AUCTeX-devel] Future direction of TikZ style
Date: Tue, 19 Apr 2016 00:07:11 +0200

Hi Matt,

2016-04-18 21:44 GMT+02:00 Matthew Leach <address@hidden>:
> Hi all,
>
> I have a question regarding what to do next regarding the future of the
> TikZ style.  The optional arguments that can be passed to TikZ commands
> seem, to me, to be a very important feature.  My question is whether I
> should look at implementing completion for the optional arguments to a
> TikZ command?
>
> For example, section 14.7 of the TikZ manual documents the 'arc'
> command.  This command is practically useless without specifying some
> "optional" parameters to the command and the list of parameters that
> could be specified are documented in this section.  My question is: is
> it too invasive for AUCTeX to be completing "optional" arguments to
> commands/macros (since, AFAICT, I don't see it done anywhere else in
> AUCTeX) or is this something I could look at implementing?

\usepackage is the first macro providing completion for optional
argument that comes to my mind, but it isn't the best example to
follow since it works in a very special way (we need to know first the
name of the loaded package in order to provide completion for the
optional argument, but this comes before the mandatory argument in
macro's syntax).  We support key-val syntax (very common in many
optional arguments) with `TeX-arg-key-val' function, grep it to see
some examples.

Bye,
Mosè



reply via email to

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