texinfo-devel
[Top][All Lists]
Advanced

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

Converter that can be used for detexinfo


From: Patrice Dumas
Subject: Converter that can be used for detexinfo
Date: Sun, 15 Jan 2012 22:03:50 +0100
User-agent: Mutt/1.4.2.2i

Hello,

I just did a new converter that simply strips @-commands leaving only text,
and remove completly @-commands that hold only informative information.
It is integrated in texi2any, so detexinfo could simply be a wrapper script
around texi2any, like

  texi2any --set-init-variable TEXTCONTENT=1 "$@"

Should that kind of script be in util/ or in tp/?

It does not so anything smart with spaces or with commands.  It simply leaves
as is the spaces and output all the command arguments, so for instance


  AA @image{ a , b , c,d , e}.

leads to

  AA  a  b  cd  e.

Is it ok for a converter that leads to raw text for the purpose of word
counting or spellchecking?

Last question, one interesting option, as was set forth in the TODO is
an option not to strip comments.  I think it should be a customization
variable, agreed?  How should it be called?

-- 
Pat



reply via email to

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