bug-auctex
[Top][All Lists]
Advanced

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

[Bug-AUCTeX] Re: ConTeXt extra paragraph commands


From: Ralf Angeli
Subject: [Bug-AUCTeX] Re: ConTeXt extra paragraph commands
Date: Mon, 27 Sep 2010 22:26:09 +0200

* Sanjoy Mahajan (2010-09-27) writes:

>> I'd just add the affected commands to
>> `ConTeXt-extra-paragraph-commands'.
>
> That variable seems like it contains only exact matches to the macro
> names.

Well, the elements get to be used in a regexp, so one could add a regexp
like "place[A-Za-z]+" to the variable as well.

> Whereas when a user defines a new type of float, ConTeXt creates
> a new \place... command.  ('figure' and 'table' are predefined, hence
> \placefigure and \placefloat are already there.)  For example, I define
> a float type that I call 'rightfig' and use it with \placerightfig{}{}
> etc.

Oh, I see.

>> Are the names of these commands different in other ConTeXt interface
>> languages?  Then we might have to think about adding two variables in
>> context-en.el and context-nl.el.
>
> I don't think so but I'm not very sure.

I found the following in a file called mult-def.lua (see e.g.
<URL:http://source.contextgarden.net/tex/context/base/mult-def.lua>):

  ["place"]={
   ["cs"]="umistit",
   ["de"]="platziere",
   ["en"]="place",
   ["fr"]="place",
   ["it"]="metti",
   ["nl"]="plaatsen",
   ["pe"]="بگذار",
   ["ro"]="pune",

I'll check what to do about this ...

-- 
Ralf



reply via email to

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