On 6 January 2011 16:41, Philipp Stephani <[email protected]> wrote:
> Am 06.01.2011 um 23:25 schrieb Luis Rivera:
>
>> 1. If I were to store the macro in a style sheet (texperanto.sty), I'd
>> probably remove the call to luaotfload, right?
>
> And add lots of other non-functional code whose sole purpose is to make the 
> file robust and format-independent. See luaotfload.sty or most Heiko packages 
> for good examples (I think these are mostly auto-generated).
>

So perhaps luaotfload.sty does more tricks than simply loading otf
fonts... I'll skim through those packages some time later. Thanks.

>
>> 2. That still leaves aside the case where the call for the macro
>> \texperanto makes all changes local to the group.
>
> You could define a macro pair \starttexperanto/\stoptexperanto that 
> enable/disable the callback.
>

This seems to be ConTeXt's way to handle it (\start&\stop<language>),
afaict. Defining \texperanto and \endtexperanto would do the trick for
LaTeX, if I want to use an environment.

I still have to figure out how to tie this to polyglossia, to get the
right hyphenation and captions; but that's another matter.

Thanks,

-- 
Luis Rivera
O< http://www.asciiribbon.org/ campaign

Reply via email to