Re: Cannot use + in node names with @xrefautomaticsectiontitle on in PDF

2020-02-12 Thread Akim Demaille
Hi Gavin, > Le 11 févr. 2020 à 10:51, Gavin Smith a écrit : > > Hello Akim, I believe I have fixed the issue in commit 2df5ef95a (also > uploaded to ftp.gnu.org, so should be updated in gnulib soon). I > turned off the "active" characters in node names when retrieving the > section names. I

Re: Cannot use + in node names with @xrefautomaticsectiontitle on in PDF

2020-02-10 Thread Akim Demaille
> Le 10 févr. 2020 à 19:47, Akim Demaille a écrit : > > Hi! > > The following file is fine in non TeX output, but dies on the single-argument > @ref in PDF, because of the +. Sorry. That was with the latest texinfo.tex from gnulib (2019-09-24.13).

Cannot use + in node names with @xrefautomaticsectiontitle on in PDF

2020-02-10 Thread Akim Demaille
Hi! The following file is fine in non TeX output, but dies on the single-argument @ref in PDF, because of the +. Cheers! \input texinfo @c -*-texinfo-*- @setfilename bison.info @settitle Bison @xrefautomaticsectiontitle on @node Top @top Bison @node Chapter @chapter Chapter @node C++ Vari

Merged indexes with subentries

2019-11-19 Thread Akim Demaille
Hi! Structured indexes are great, thanks a lot for this! However they don't work well for Bison for three different reasons (two "bugs", and one "missing feature"), presented in the attachement. > @syncodeindex fn cp > @syncodeindex vr cp > @syncodeindex tp cp > > @cindex %define @subentry a

Re: Inconsistent interline space in multitable

2019-07-18 Thread Akim Demaille
> Le 18 juil. 2019 à 15:51, Gavin Smith a écrit : > > On Thu, Jul 18, 2019 at 8:04 AM Akim Demaille wrote: >> Thanks for the suggestion. I have removed all the trailing @tab, and space >> between rows is now consistent. It looks like a workaround to me, but it'

Documentation about @url is confusing

2019-02-19 Thread Akim Demaille
Hi guys! The version of Texinfo I have (and the current source according to http://git.savannah.gnu.org/cgit/texinfo.git/tree/doc/texinfo.texi) are confusing about @url: > 6.10.1 '@url' Examples > -- > > First, here is an example of the simplest form of '@url', with just o

Re: [help-texinfo] in multi-node HTML

2019-01-06 Thread Akim Demaille
Hi Gavin, Happy new year! > Le 1 janv. 2019 à 00:49, Gavin Smith a écrit : > > On Sun, Nov 11, 2018 at 06:41:02PM +0100, Akim Demaille wrote: >> The HTML reads: >> >> Understanding (Bison 3.2.1) >> >> Is there a means to use the section name rather

Problem with @setcontentsaftertitlepage

2016-02-02 Thread Akim Demaille
Hi! I must be doing something wrong, but I get failures when using @setcontentsaftertitlepage in TeX (other backends are happy with it). This is Texinfo 6.0. I tried with the current texinfo.tex. $ cat foo.texi \input texinfo @c -*-texinfo-*- @c %**start of header @setfilename foo.info @setc

Re: Compressed info files

2015-03-11 Thread Akim Demaille
Hi Karl! > Le 11 mars 2015 à 19:03, Karl Berry a écrit : > >Back to square one: it should be clearer, somewhere rather >easily reachable, that compressed files are supported :) > > Hi Akim - I'm afraid I don't even really agree with that. My experience > is that most users are happy if

Re: Compressed info files

2015-03-11 Thread Akim Demaille
> Le 11 mars 2015 à 18:59, Eli Zaretskii a écrit : > >> From: Akim Demaille >> Date: Wed, 11 Mar 2015 18:29:38 +0100 >> Cc: Texinfo Bugs >> >> Back to square one: it should be clearer, somewhere rather >> easily reachable, that compressed files are s

Re: Compressed info files

2015-03-11 Thread Akim Demaille
Hi Karl! > Le 10 mars 2015 à 22:33, Karl Berry a écrit : > >is not the documentation of the info reader, and immediately >point to it? > > How about avoiding flame bait, Akim :)? Sorry about that, I was really naive here and had no idea I was. > 1) The standalone Info reader is not "t

Re: Compressed info files

2015-03-10 Thread Akim Demaille
Hi Gavin! > Le 9 mars 2015 à 19:10, Gavin Smith a écrit : > > I expect the cross-reference to info-stnd.info is easily missed. Some > of this could be slimmed down, for example, there are two "summary > paragraphs" (beginning "The GNU Project distributes..." and "This file > describes..."). Sayi

Re: Compressed info files

2015-03-05 Thread Akim Demaille
> Le 5 mars 2015 à 10:38, Gavin Smith a écrit : > > On 5 March 2015 at 08:42, Akim Demaille wrote: >> I kinda discovered that info can read compressed files. >> This is excellent news, but it seems poorly documented. >> I can find information about install-info being

Compressed info files

2015-03-05 Thread Akim Demaille
Hi all, I kinda discovered that info can read compressed files. This is excellent news, but it seems poorly documented. I can find information about install-info being able to read compressed files and compressed dir files, but that's it! Shouldn't install-info also support a means to compress wh

Difference between PDF and html

2015-03-03 Thread Akim Demaille
Hi all, The following bit of code is extracted from Bison's documentation: \input texinfo @c -*-texinfo-*- @c %**start of header @setfilename foo.info @settitle Sample Manual 1.0 @c %**end of header @deftypemethod {symbol_type} {} make_@var{token} () @deftypemethodx {symbol_type} {} {make_@

Re: (gnu)sed in texinfo

2014-07-21 Thread Akim Demaille
hi Karl! Le 5 juil. 2014 à 01:35, Karl Berry a écrit : > Does anyone want to argue for preservation of --recode and/or > --recode-from? Akim, Sergey? Since you two were the ones who > originally sent me the patches. I'll give you-all a couple of days > before I remove it :). No, please, fine

Re: Issues with gendocs and images

2012-11-01 Thread Akim Demaille
Le 31 oct. 2012 à 22:39, Karl Berry a écrit : >> Here is my proposal. It works for Bison. >Ping! > > Sorry, my reply from a few days ago accidentally/erroneously went only > to the list and not to you. Here it is: > http://lists.gnu.org/archive/html/bug-texinfo/2012-10/msg00014.html > > I

Re: Issues with gendocs and images

2012-10-31 Thread Akim Demaille
Hi all, Le 26 oct. 2012 à 09:39, Akim Demaille a écrit : > Here is my proposal. It works for Bison. Ping!

Re: Issues with gendocs and images

2012-10-26 Thread Akim Demaille
Hi Karl, Le 25 oct. 2012 à 23:49, Karl Berry a écrit : >Actually, why would we rename it instead of simply passing to -o the >wanted directory, instead of creating this directory? > > No, this has nothing to do with -o. gendocs runs makeinfo to generate > the split HTML, which is create

Re: Issues with gendocs and images

2012-10-25 Thread Akim Demaille
Hi all, I don't understand too well some bits of gendocs: opt="--html -o $PACKAGE.html $commonarg $htmlarg" cmd="$SETLANG $MAKEINFO $opt \"$srcfile\"" echo "Generating html by node... ($cmd)" eval "$cmd" split_html_dir=$PACKAGE.html ( cd ${split_html_dir} || exit 1 tar -czf "$ab

Re: makeinfo: centered text images (was: Issues with gendocs and images)

2012-10-24 Thread Akim Demaille
Hi Karl! Le 24 oct. 2012 à 01:45, Karl Berry a écrit : > Hi Akim, > >I propose the attached patch which provides a -I option. > > Sounds good. Installed (blindly), thanks. Thanks! >FWIW, I don't know if it's considered an error, but @centering >@image will not center in text mode

Re: Issues with gendocs and images

2012-10-23 Thread Akim Demaille
Le 19 oct. 2012 à 23:54, Karl Berry a écrit : > Hi Akim, Hi Karl! >A few images have been added to the Bison documentation > > Sorry to hear it. I doubt you can reasonably use gendocs in such > circumstances, for all the reasons you have discovered. Anyway, I have > no good answers and c

Issues with gendocs and images

2012-10-19 Thread Akim Demaille
Hi all! A few images have been added to the Bison documentation recently, and "make web-manual" faces a couple of issues. First of all, I'd like to point out that tex is not called in batch mode, I think it would be nice to pass --batch to texi2dvi to avoid hanging on stdin. The images come in s

Case insensitive file systems

2012-07-20 Thread Akim Demaille
Hi all, I know the issue has already been reported before, for instance http://lists.gnu.org/archive/html/bug-texinfo/2006-05/msg00018.html but makeinfo --html happily merges files with names that differ only by the case. Eli reported somewhere in the previous thread that makeinfo should warn abo

texi2dvi changes the behavior of ~

2009-05-04 Thread Akim Demaille
Hi all, texi2dvi has code that looks like this: # we'd like to handle arbitrary input file names, especially # foo~bar/a~b.tex, since Debian likes ~ characters. if $catcode_special; then # $normaltilde is just to reduce line length in this source file. # The idea is to define \norm

FYI: texi2dvi: use texindy if available

2009-04-15 Thread Akim Demaille
Index: ChangeLog from Akim Demaille texi2dvi: use texindy if available. * bin/texi2dvi (run_index): Use texindy if available. Index: util/texi2dvi === RCS file: /cvsroot/texinfo/texinfo/util/texi2dvi,v retrieving

FYI: texi2dvi: initial support for tex4ht

2009-04-15 Thread Akim Demaille
This is still not nice, and fragile, this is why it is not integrated in the --help, yet. Yet, I would very much appreciate some feedback. I use it, and it works. Index: ChangeLog from Akim Demaille texi2dvi: initial support for tex4ht. * bin/texi2dvi ($latex2html, --tex4ht

FYI: texi2dvi: make $expand a regular Boolean variable

2009-04-15 Thread Akim Demaille
Index: ChangeLog from Akim Demaille texi2dvi: make $expand a regular Boolean variable. * bin/texi2dvi ($expand): Use true/false instead of t/''. Index: util/texi2dvi === RCS file: /cvsroot/texinfo/te

FYI: texi2dvi: fix comments

2009-04-15 Thread Akim Demaille
Index: ChangeLog from Akim Demaille texi2dvi: fix comments. * bin/texi2dvi: here. Index: util/texi2dvi === RCS file: /cvsroot/texinfo/texinfo/util/texi2dvi,v retrieving revision 1.147 diff -u -u -r1.147 texi2dvi

FYI: texi2dvi: simplify move_to_dest

2009-04-15 Thread Akim Demaille
Index: ChangeLog from Akim Demaille texi2dvi: simplify move_to_dest. * bin/texi2dvi (move_to_dest): Exit immediately if there is nothing to do. This allows to simplify the body of the loop, as we no longer have to check whether something has to be done

FYI:

2009-04-15 Thread Akim Demaille
Index: ChangeLog from Akim Demaille texi2dvi: avoid creating invisible temporary files. * bin/texi2dvi ($t2ddir): Strip leading `./'. Call sed once. Index: util/texi2dvi === RCS file: /cvsroot/te

FYI: texi2dvi: complete --help

2009-04-15 Thread Akim Demaille
Index: ChangeLog from Akim Demaille texi2dvi: complete --help. * bin/texi2dvi (usage): Document --html. Index: util/texi2dvi === RCS file: /cvsroot/texinfo/texinfo/util/texi2dvi,v retrieving revision 1.145 diff

FYI: texi2dvi: fix error invocations

2009-04-15 Thread Akim Demaille
Index: ChangeLog from Akim Demaille texi2dvi: fix error invocations. * bin/texi2dvi: error already reports $0, don't do it again. Index: util/texi2dvi === RCS file: /cvsroot/texinfo/texinfo/util/texi2

FYI:

2009-04-15 Thread Akim Demaille
2009-04-15 Akim Demaille texi2dvi: simplify the handling of --no-line-error. * bin/texi2dvi (no_line_error): Remove, rather use line_error=false. (run_tex): Adjust. By the way, don't call tex --help if !$line_error. Index: util/tex

FYI: texi2dvi: be robust to a failing latex --help

2009-04-15 Thread Akim Demaille
Index: ChangeLog from Akim Demaille texi2dvi: be robust to a failing latex --help. * bin/texi2dvi (run_tex): here. Index: util/texi2dvi === RCS file: /cvsroot/texinfo/texinfo/util/texi2dvi,v retrieving revision

FYI: texi2dvi: -O/--output-format

2009-04-15 Thread Akim Demaille
Index: ChangeLog from Akim Demaille * bin/texi2dvi (out_lang_set): New. Use it. (usage): Document --html, --info, --text, --ps, DVIPS and DVIPDF. (run_tex_suite): Honor DVIPS. (main): Support -O/--output-format. Undocumented for now. Index

FYI: texi2dvi: concurrent mkdir -p

2009-04-15 Thread Akim Demaille
Index: ChangeLog from Akim Demaille * bin/texi2dvi (ensure_dir): Die only if we could not create the directory at all. Index: util/texi2dvi === RCS file: /cvsroot/texinfo/texinfo/util/texi2dvi,v retrieving

texi2dvi: Fix -t

2008-07-04 Thread Akim Demaille
ve left it, because there might happen something I don't understand, but IMO, since we are in $tidy mode, what lies there is only what we create with ln, so the test -f should always fire because there is nothing (not because there is something which is not a file). Alternative, no test, but a

FYI: texi2dvi --version

2008-06-18 Thread Akim Demaille
Index: ChangeLog from Akim Demaille <[EMAIL PROTECTED]> * util/texi2dvi (usage): More comments. (version): exit 0. Reported by Karl Berry. Index: util/texi2dvi === RCS file: /cvsroot/texinfo/texinf

Re: FYI: texi2dvi: version()

2008-06-16 Thread Akim Demaille
Actually, I installed the following, sorry. Index: ChangeLog from Akim Demaille <[EMAIL PROTECTED]> * util/texi2dvi (version): New function, to replace... ($version): this. (usage): Document --dvipdf. Index: util/te

FYI: texi2dvi: version()

2008-06-16 Thread Akim Demaille
Index: ChangeLog from Akim Demaille <[EMAIL PROTECTED]> * util/texi2dvi (version): New function, to replace... ($version): this. Index: util/texi2dvi === RCS file: /cvsroot/texinfo/texinfo/util/texi

FYI: texi2dvi --help

2008-06-16 Thread Akim Demaille
Index: ChangeLog from Akim Demaille <[EMAIL PROTECTED]> texi2dvi: avoid "\n" in echos to please Bash 3.2. It is virtually impossible to find a safe means to use echo with \n in it. So use cat and here docs. * bin/texi2dvi ($usage): Rem

FYI: texi2dvi -I DIRS

2008-06-16 Thread Akim Demaille
I have installed the following patch. Index: ChangeLog from Akim Demaille <[EMAIL PROTECTED]> Support -I dir1:dir2, as per the documentation. Reported by Vincent Ordy. * bin/texi2dvi: (list_concat_dirs): New. Currently mostly a copy of absolute_filename

FYI: More TeX variables, and //

2008-02-28 Thread Akim Demaille
This was needed to be able to use -Ifoo// with foo being a directory where fonts were installed (deeply). Index: ChangeLog from Akim Demaille <[EMAIL PROTECTED]> Let texi2dvi keep the trailing //. * bin/texi2dvi ($space, $tab): New. ($IFS): Use them to be rob

FYI: Changes in texi2dvi

2008-02-28 Thread Akim Demaille
Index: ChangeLog from Akim Demaille <[EMAIL PROTECTED]> * util/texi2dvi: Don't use "local foo=`cmd`", because in that case failures of cmd, including with set -e, will go unnoticed. So always first declare with local, then run the assignment.

Re: texi2dvi: Beware of local, and find DVIPS figures

2007-07-25 Thread Akim Demaille
run it from the top-level, but I don't have such a tool. > I saw you committed your changes -- anything else left outstanding > at this point? I applied the following changes, so I think I'm done for now :) Index: ChangeLog from Akim Demaille <[EMAIL PROTECTED]>

texi2dvi: Beware of local, and find DVIPS figures

2007-07-23 Thread Akim Demaille
I can't bootstrap CVS texinfo :( I think local.test is correct, but I can't run it :( Index: ChangeLog from Akim Demaille <[EMAIL PROTECTED]> * util/texi2dvi: Update DVIPSHEADERS so that dvips finds its special headers. Don't rely on non-IFS split

texi2dvi: More HeVeA support

2007-07-23 Thread Akim Demaille
I hope this can still make it in the future texi2dvi! Index: ChangeLog from Akim Demaille <[EMAIL PROTECTED]> Use hevea more like we use tex itself, no longer as a tool that does everything magically. * util/texi2dvi (run_hevea): Remove trailing spaces

FYI: texi2dvi: hevea's info file splitting

2006-06-27 Thread Akim Demaille
Index: ChangeLog from Akim Demaille <[EMAIL PROTECTED]> * util/defs.in ($latex_paragraph): New. * util/latex2html.test (input.tex): Make it big enough to trigger the info file splitting. * util/texi2dvi (move_to_dest): Accept several arg

FYI: texi2dvi: better hevea invocation

2006-06-27 Thread Akim Demaille
Index: ChangeLog from Akim Demaille <[EMAIL PROTECTED]> Fix the clean invocations to hevea. Note that this breaks document using images (to be fixed). * util/latex2html.test (run_hevea_check): Extend to support various build modes. Tes

FYI: texi2dvi: uniq

2006-06-26 Thread Akim Demaille
Index: ChangeLog from Akim Demaille <[EMAIL PROTECTED]> * util/texi2dvi (generated_files_get): Call uniq. Index: util/texi2dvi === RCS file: /cvsroot/texinfo/texinfo/util/texi2dvi,v retrieving revision 1.85 diff

Re: FYI: -I $(top_srcdir)

2006-06-22 Thread Akim Demaille
>>> "Karl" == Karl Berry <[EMAIL PROTECTED]> writes: > * lib/Makefile.am (DEFS): Remove, included in... > I thought it was traditional to include -DPATHDIR=\"$(somepath)\" in > DEFS instead of AM_CPPFLAGS. It doesn't seem like it should hurt > anything. Is it going to be dis-recommende

FYI: $dvipdf

2006-06-21 Thread Akim Demaille
Index: ChangeLog from Akim Demaille <[EMAIL PROTECTED]> * util/texi2dvi (fatal): Rename as... (error): this. If the exit status is 0, don't exit. (run): New. Use it where appropriate. (run_dvipdf): New. Use it. Index: ut

FYI: -I $(top_srcdir)

2006-06-21 Thread Akim Demaille
Hum... Now I think about it, it would be safer to put the builds before the srcs so that if by accident a file is present in both dirs, the built one is kept. That shouldn't happen though. Index: ChangeLog from Akim Demaille <[EMAIL PROTECTED]> * util/Makefile.am, info/

Re: texi2dvi: --dvipdf and --ps

2006-06-19 Thread Akim Demaille
Le 19 juin 06 à 21:01, Karl Berry a écrit : Support dvips and dvipdf for sake of pstricks, and to dvipdf is a tiny wrapper that calls dvips | gs. That's fine, but the user should have the option of specifying other dvi-to-pdf translators. In particular, dvipdfmx is the native t

texi2dvi: --dvipdf and --ps

2006-06-19 Thread Akim Demaille
pstricks is alive and kicking. Index: ChangeLog from Akim Demaille <[EMAIL PROTECTED]> Support dvips and dvipdf for sake of pstricks, and to spare the use tweaking TEXINPUTS. * util/defs.in (optionset_get, assert_and_remove_files): New. * util/te

FYI: texi2dvi: fix bibtex's usage

2006-05-30 Thread Akim Demaille
Index: ChangeLog from Akim Demaille <[EMAIL PROTECTED]> * util/texi2dvi (aux_file_p): Rename the second occurrence as... (bibaux_file_p): this. (run_bibtex): Use it. (options processing, $usage): Support --dvi for symmetry and to ease systematic

FYI: texi2dvi --info/--text for LaTeX

2006-05-30 Thread Akim Demaille
Index: ChangeLog from Akim Demaille <[EMAIL PROTECTED]> * util/texi2dvi: Add support for latex to text and info using hevea. Don't document it yet, as it's preliminary and on some regards incomplete. It is usable though. (IFS): U

texi2dvi: Beware of spaces

2006-03-10 Thread Akim Demaille
Index: ChangeLog from Akim Demaille <[EMAIL PROTECTED]> Be robust to spaces in directory names. * util/texi2dvi (absolute): Be robust to non directories. (run_tex): Quote in_input properly. (compile): Quote args of eval properly. Index: util/te

Re: Missing @item

2006-01-24 Thread Akim Demaille
>>> "Karl" == Karl Berry <[EMAIL PROTECTED]> writes: > Unfortunately, all I can do for now is add them to the savannah bug > list. No problem with me :) But I had not realized you used a bug tracker. Would you prefer bugs to be reported there instead of the list? ___

Missing @item

2006-01-23 Thread Akim Demaille
I don't know whether the following should be considered correct, but it is accepted by makeinfo and was definitely an error: the @item was missing. unopened-item.texi Description: TeXInfo document ___ Texinfo home page: http://www.gnu.org/software/tex

Sectioning commands in tables

2006-01-23 Thread Akim Demaille
Sectioning commands are accepted at weird places in info and TeX modes (below, in a @table). I have not tested the HTML output, but the XML output is broken. unclosed-item.texi Description: TeXInfo document ___ Texinfo home page: http://www.gnu.org/s

Accents in menus

2006-01-23 Thread Akim Demaille
The following file triggers an assertion with CVS Makeinfo with --no-headers. % makeinfo --no-header accents-in-menu.texi Menu makeinfo: ../../makeinfo/lang.c:806: cm_accent_generic_no_headers: Assertion `end > 0' failed. zsh: abort makeinfo --no-header accents-in-menu.texi accent

Re: .t2d directory remaining

2006-01-18 Thread Akim Demaille
Thanks for the report, I could reproduce and solve this issue. Index: ChangeLog from Akim Demaille <[EMAIL PROTECTED]> Sometimes the temporary directory remains. Reported by Wybo Dekker. * util/defs.in (assert_files): New. * util/texi2dvi.test:

texi2dvi: Avoid spurious warnings from sed

2006-01-17 Thread Akim Demaille
Index: ChangeLog from Akim Demaille <[EMAIL PROTECTED]> * util/texi2dvi (generated_files_get): Skip nonexistent files earlier. Index: util/texi2dvi === RCS file: /cvsroot/texinfo/texinfo/util/texi2dvi,v retr

Re: texi2dvi: set -e, use tar

2006-01-11 Thread Akim Demaille
>>> "Karl" == Karl Berry <[EMAIL PROTECTED]> writes: > Tar will be available only if the user takes care to download and > install it. > And if they are smart enough to download and install texinfo *and* bash > *and* tex, they will 99.9% surely have done so, long ago. And even if >

Re: texi2dvi: set -e, use tar

2006-01-11 Thread Akim Demaille
>>> "Karl" == Karl Berry <[EMAIL PROTECTED]> writes: > compile with -Werror -Wall > I do not see -e as at all analogous to -Werror -Wall, or to errno, > for the reason I wrote before: not all nonzero exit codes are > errors. That's my point: not all warnings are errors. Nevertheless,

Re: texi2dvi: set -e, use tar

2006-01-11 Thread Akim Demaille
>>> "Eli" == Eli Zaretskii <[EMAIL PROTECTED]> writes: > On a more general note, most GNU packages are written in C, so > personal preferences aside, C is the main programming language of the > GNU Project. That's right. It's wrong, it slows down the GNU project, but it's the law, you are rig

Re: texi2dvi: set -e, use tar

2006-01-10 Thread Akim Demaille
>>> "Karl" == Karl Berry <[EMAIL PROTECTED]> writes: > Can you please describe the situation where texi2dvi is run on a > directory tree like the comment above suggests? I didn't think this > could happen. > I believe a LaTeX document might be set up that way. However, perhaps

Re: texi2dvi: set -e, use tar

2006-01-10 Thread Akim Demaille
>>> "Akim" == Akim Demaille <[EMAIL PROTECTED]> writes: > Choose Perl, Python, Ruby and I'm your man. On a second thought, I have no idea what what I wrote means in English :) It's a French idiom that means "I'd be ready

Re: texi2dvi: set -e, use tar

2006-01-10 Thread Akim Demaille
>>> "Eli" == Eli Zaretskii <[EMAIL PROTECTED]> writes: > It strikes me that we should reimplement texi2dvi as a C program. > Beyond certain level of complexity (which IMHO texi2dvi passed way > back), there's no reasons to continue to stick to a shell script. I disagree, C is about the worse l

Re: texi2dvi: set -e, use tar

2006-01-10 Thread Akim Demaille
>>> "Eli" == Eli Zaretskii <[EMAIL PROTECTED]> writes: >> From: Akim Demaille <[EMAIL PROTECTED]> >> Date: Mon, 09 Jan 2006 10:51:14 +0100 > Thanks. >> Stop using the idiom "test && action" in favor of "if test; t

Re: texi2dvi: set -e, use tar

2006-01-10 Thread Akim Demaille
>>> "Karl" == Karl Berry <[EMAIL PROTECTED]> writes: > I'm most concerned by the set -e, myself. Really, you shouldn't be. Sure, there may remain places where failures are not properly controlled, but I can tell you be experience that it is a effort that is worth. It's like deciding that you c

Re: texi2dvi: set -e, use tar

2006-01-10 Thread Akim Demaille
>>> "Karl" == Karl Berry <[EMAIL PROTECTED]> writes: > Hi Akim, > * util/texi2dvi: set -e. > I have had nothing but problems with -e. Whenever I have used it, I > always end up taking it again, because a nonzero exit status simply does > not always mean failure. Are you really

texi2dvi: set -e, use tar

2006-01-09 Thread Akim Demaille
Index: ChangeLog from Akim Demaille <[EMAIL PROTECTED]> * util/texi2dvi: set -e. Stop using the idiom "test && action" in favor of "if test; then action; fi". (xref_files_save): Use tar instead of cp. (run_makeinf

Re: Info files--declaration and distribution

2006-01-02 Thread Akim Demaille
>>> "Stepan" == Stepan Kasal <[EMAIL PROTECTED]> writes: > Akim, would you agree with this change to the comment? Sure. ___ Texinfo home page: http://www.gnu.org/software/texinfo/ bug-texinfo@gnu.org http://lists.gnu.org/mailman/listinfo/bug-texinfo

FYI: --mostly-clean and aux file management strengthening

2005-12-22 Thread Akim Demaille
the common cases, and if there remain bugs, that the best means to have them reported... It doesn't work for HTML (yet). Index: ChangeLog from Akim Demaille <[EMAIL PROTECTED]> Implement --mostly-clean, improve the detection of aux files. * util/texi2dvi ($action): N

texi2dvi: Factor some code

2005-12-19 Thread Akim Demaille
Minor details. The most interesting thing is that I realized that the log contains the list of the auxiliary files! That's valuable information! 2005-12-19 Akim Demaille <[EMAIL PROTECTED]> * util/texi2dvi (run_conversion): Rename as... (run_core_conver

texi2dvi: Support --build

2005-10-05 Thread Akim Demaille
Index: ChangeLog from Akim Demaille <[EMAIL PROTECTED]> * util/texi2dvi.test: Make sure --build=clean passes. * util/texi2dvi: Fix the handling of --build. Index: util/texi2dvi === RCS file: /cvsroot/t

texi2dvi: Swap the end of the main loop

2005-09-20 Thread Akim Demaille
Bummer! This one was really really stupid! Index: ChangeLog from Akim Demaille <[EMAIL PROTECTED]> * util/texi2dvi: Be sure to return to the current directory even after obeying --clean. Index: util/te

Re: texi2dvi: More robust to white spaces

2005-09-01 Thread Akim Demaille
>>> "Eli" == Eli Zaretskii <[EMAIL PROTECTED]> writes: >> However, I had the impression the patch would not cause non-symlink >> platforms to always fail now, so they'd be no worse off than before. >> Was that wrong? If so, the symlink stuff should probably be made >> conditional to when the

Re: texi2dvi: More robust to white spaces

2005-08-31 Thread Akim Demaille
Le 31 août 05 à 18:57, Eli Zaretskii a écrit : Date: Wed, 31 Aug 2005 15:36:03 +0200 From: [EMAIL PROTECTED] (Karl Berry) Cc: bug-texinfo@gnu.org I have experienced a few failure when compiling in a directory containing white spaces. I work around this using symbolic links... I in

Re: texi2dvi: More robust to white spaces

2005-08-31 Thread Akim Demaille
>>> "Akim" == Akim Demaille <[EMAIL PROTECTED]> writes: This part of the patch is wrong: > + # Get the name of the current directory. > + filename_dir=`func_dirname "$command_line_filename"` > + # In a clean build, we `cd', so get an abs

texi2dvi: More robust to white spaces

2005-08-30 Thread Akim Demaille
I have experienced a few failure when compiling in a directory containing white spaces. I work around this using symbolic links... Index: ChangeLog from Akim Demaille <[EMAIL PROTECTED]> * utils/texi2dvi: Fix white space issues. Quote uses of directory and file

Re: CVS Texinfo.tex: Accents in titles

2005-07-12 Thread Akim Demaille
>>> "Karl" == Karl Berry <[EMAIL PROTECTED]> writes: > But leaving the 8-bits there works...[in @node] > But does it actually produce accented e's in the output? I'm focusing on TeX issues only. Do @node names appear somewhere? > See @xref{Été}. > That is a new one on me. I tho

Re: CVS Texinfo.tex: Accents in titles

2005-07-11 Thread Akim Demaille
>>> "Karl" == Karl Berry <[EMAIL PROTECTED]> writes: > the section title :( > Commands in @node names do not work with texinfo.tex. Damn it! But leaving the 8-bits there works... But then it's @ref that does not recognize it, even using @'. No way to have something like the following wor

CVS Texinfo.tex: Accents in titles

2005-07-11 Thread Akim Demaille
The following file does not compile properly, because of the accent in the section title :( src/texinfo/test-cases % texi2dvi --pdf accents-in-chapters.texinostromo 12:24 This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5) entering extended mode (/home/akim/src/texinfo/test-cases/accent

Re: texi2dvi: A more pleasant way to compile

2005-06-10 Thread Akim Demaille
rsevering with all this. My pleasure :) There's a bug in this version: -o is not respected. Index: ChangeLog from Akim Demaille <[EMAIL PROTECTED]> * util/texi2dvi (run_tex): Updating the output is also needed when -o is used, not just when $tidy. Index: util/texi2dv

Re: texi2dvi: A more pleasant way to compile

2005-06-09 Thread Akim Demaille
EADME - --mostlyclean - *.t2d should probably be named (located?) after OUTPUT.dvi instead of INPUT.tex - ? 2005-06-09 Akim Demaille <[EMAIL PROTECTED]> Let all the compilations happen in a local directory. This is similar to using --clean, but the files are preserved. The

Re: texi2dvi: A more pleasant way to compile

2005-06-02 Thread Akim Demaille
>>> "adl" == Alexandre Duret-Lutz <[EMAIL PROTECTED]> writes: Akim> is there really any point? > It's simple to implement and it's cleaner to use. It also shows a > good example of an interface we would both like to see in many > other tools. Of course you're right. Thanks for keeping me a

Re: texi2dvi: A more pleasant way to compile

2005-06-02 Thread Akim Demaille
>>> "adl" == Alexandre Duret-Lutz <[EMAIL PROTECTED]> writes: >>> "Karl" == Karl Berry <[EMAIL PROTECTED]> writes: >>> So the new work is merely to add *.t2d in .cvsignore (or whatever), and >>> CLEANFILES = *.t2d in Makefile.am, until Automake is updated? > Can we work on an interface that wi

Re: texi2dvi: A more pleasant way to compile

2005-06-02 Thread Akim Demaille
reason to run TeX again. # But we won't know that if the index files are out of date or # nonexistent. index_files=`get_index_files $orig_xref_files` if test -n "$texindex" && test -n "$index_files"; then verbose "Running $texindex $index_fil

Re: texi2dvi: A more pleasant way to compile

2005-06-02 Thread Akim Demaille
>>> "Karl" == Karl Berry <[EMAIL PROTECTED]> writes: > Overall, I think I'm becoming convinced that the patch is a good > idea and should even be the new default -- provided that Automake > will know to rm -rf *.t2d in the next release, so maintainers won't > have to do anything once they get

Re: texi2dvi: A more pleasant way to compile

2005-06-02 Thread Akim Demaille
>>> "Stepan" == Stepan Kasal <[EMAIL PROTECTED]> writes: > OTOH, if you adopt my approach--build in a subdir, but copy the xref files > after a successful compilation, you get all the advantages from Akim's > initial patch decription [foot-2] and you are still backward compatible. But you lose

Re: texi2dvi: A more pleasant way to compile

2005-06-02 Thread Akim Demaille
>>> "Stepan" == Stepan Kasal <[EMAIL PROTECTED]> writes: >> Don't forget people using texi2dvi with LaTeX, where there can be many >> more runs. > In theory yes, but I think that in the vast majority of cases two runs > suffice. That's not my experience, that precisely prompted for the chang

Re: texi2dvi: A more pleasant way to compile

2005-05-31 Thread Akim Demaille
>>> "Stepan" == Stepan Kasal <[EMAIL PROTECTED]> writes: > So the fact that you rpeserve the dir is only an optimization (you don't > have to run TeX twice). So the golden rule "don't optimize" applies here. You must be kidding! How big is the biggest file you ever worked on? Your sentence, s

Re: texi2dvi: A more pleasant way to compile

2005-05-30 Thread Akim Demaille
>>> "Karl" == Karl Berry <[EMAIL PROTECTED]> writes: [The thread starts in http://lists.gnu.org/archive/html/bug-texinfo/2005-05/msg00019.html] > finding the xref files is much easier, > That's a good point. Finding all those aux files has always been a drag. > Still wanna keep the

Re: texi2dvi: A more pleasant way to compile

2005-05-27 Thread Akim Demaille
>>> "Karl" == Karl Berry <[EMAIL PROTECTED]> writes: > Yeah. I'm not sure I really want to force every maintainer to play with > their admin files. I rather suspect most of them don't need the > advantages and never noticed a problem. Except those would had to insert CLEANFILES by hand becau

Re: texi2dvi: A more pleasant way to compile

2005-05-27 Thread Akim Demaille
>>> "Karl" == Karl Berry <[EMAIL PROTECTED]> writes: > Let all the compilations happen in a local directory. > I've tried it out on the texinfo/doc files and didn't have any > problems. Cool. > One question, though -- do we really want to create the (sort of) temp > working dir in a s

Re: texi2dvi: A more pleasant way to compile

2005-05-26 Thread Akim Demaille
>>> "Eli" == Eli Zaretskii <[EMAIL PROTECTED]> writes: Hi Eli! >> The following patch transforms TeX into the program I would have liked >> it to be :) > You mean texi2dvi, not TeX, right? Well, I did meant TeX, but since I won't even try to change TeX, improving the wrapper meets my needs :

  1   2   >