ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Denis Kirienko <dk@altlinux.ru>
To: community@lists.altlinux.org
Subject: [Comm] texinfo
Date: Sun, 16 Mar 2008 22:39:25 +0300
Message-ID: <frjt11$h0c$1@ger.gmane.org> (raw)

Добрый день!

А есть ли еще живые люди, которые пользуются texinfo?

Так сложилось, что это у меня основной инструмент для написания текстов.
Используется для преобразования texinfo -> dvi и texinfo -> html.

Раньше все было хорошо. Но потом настало UTF-8... И тут оказалось, что 
texinfo не умеет работать с UTF-8, по крайней мере мне его приручить не 
удалось.

Выход был сделан такой. Мои texinfo-файлы имеют примерно следующие 
заголовки:

\input texinfo  @c -*-texinfo-*-
@documentlanguage ru
@documentencoding UTF-8

После этого makeinfo --html стало делать приемлемые html. А вот cyrtex - 
ни в какую. Поэтому чтобы сделать dvi из этого файла он сначала 
конвертировался в KOI-8, а потом запускался cyrtex.

Но вот недавно обновился у нас texinfo и проблем стало поболее...

Теперь в заголовках html-страниц, полученных из info-файла при помощи 
makeinfo --html заголовки html-страниц, содержащие ссылки на следующуй, 
предыдущий и родительский раздел стали выводиться в кодировке 
ISO-8859-5, а весь прочий текст - в кодировке UTF-8. Пример здесь:
http://server.179.ru/tasks/cpp/start.html

Это, наверное, бага. Но хотелось бы узнать - кто нибудь еще пользуется 
texinfo и как он решает проблемы кодировок?

--
Денис



                 reply	other threads:[~2008-03-16 19:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='frjt11$h0c$1@ger.gmane.org' \
    --to=dk@altlinux.ru \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git