[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-devel] Re: bghyphsi.tex encoding
From: |
David Kastrup |
Subject: |
[AUCTeX-devel] Re: bghyphsi.tex encoding |
Date: |
Fri, 27 Jun 2008 11:12:57 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
I am forwarding this message to the AUCTeX developer list since there
are people more actively involved with the language support there.
Georgi Boshnakov <address@hidden> writes:
> Dear David,
>
> I experimented with Bulgarian support for AucTeX.
> I dropped a bulgarian.sty file in the directory containing the other
> language styles and this seemed to work
> (a tex file using babel with bulgarian triggered the bg specifics)
> but I have a couple of questions.
>
> 1. A number of files contain lists of supported languages. Bulgarian
> is in the babel list but not in the others. Is the support more
> comprehensive for languages mentioned in the other lists?
>
> 2. When I open a file, AucTeX recognises (among other amazing things)
> the language but I was not able to find commands for explicit switch
> from one language to another within a document. It is a good thing
> that this aspect of language is orthogonal to others (e.g. coding
> system).
>
> If you wish me to help with Bulgarian support, what form of
> contribution will be most useful to you? To get the things rolling a
> bulgarian style (see attachment) may be created from danish.el with
> straightforward changes.
>
>
> Thanks,
> Georgi Boshnakov
>
> PS Regarding the encoding of the Bulgarian hyphenation patterns, I
> uploaded the change suggested by you last year. Sorry for the delay, I
> was away at the time and forgot about this when I came back.
>
> Quoting David Kastirup <address@hidden>:
>
>>
>> Hi,
>>
>> Since not all TeX engines are happy with binary input, would it be
>> possible to change all 8Bit characters in bghyphsi.tex to ^^xx
>> sequences?
>>
>> In Emacs 22 (assuming the file has been loaded as Latin-1, cough
>> cough), one can do so using
>>
>> C-M-% [ C-q 200 - C-q 377 ] RET \,(format "^^%02x" (encode-char (aref
>> \& 0) 'ucs)) RET !
>>
>> I append what I get doing that.
It would appear that the need for this is moving away since Mojca has
been converting the pattern files and setups for TeXlive to utf-8
recently, and that's more or less the main distribution path of TeX
systems nowadays. I had already previously at one point of time given
up on asking all upstream pattern authors since there were too many
patterns affected in one way or other. I am glad that she has picked up
the slack, though.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- [AUCTeX-devel] Re: bghyphsi.tex encoding,
David Kastrup <=