texinfo-commits
[Top][All Lists]
Advanced

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

texinfo update (Fri Nov 18 08:22:01 EST 2005)


From: Karl Berry
Subject: texinfo update (Fri Nov 18 08:22:01 EST 2005)
Date: Fri, 18 Nov 2005 08:22:05 -0500

Index: ChangeLog
===================================================================
RCS file: /cvsroot/texinfo/texinfo/ChangeLog,v
retrieving revision 1.546
retrieving revision 1.547
diff -c -r1.546 -r1.547
*** ChangeLog   13 Nov 2005 19:35:33 -0000      1.546
--- ChangeLog   18 Nov 2005 12:58:50 -0000      1.547
***************
*** 1,3 ****
--- 1,14 ----
+ 2005-11-18  Akim Demaille  <address@hidden>
+ 
+       Factor the handling of list of directories.
+       * util/texi2dvi (list_append, list_prefix, list_infix)
+       (list_dir_to_abs, absolute): New.
+       Use them.
+       ($miincludes, $txincludes): Remove, replaced by...
+       ($includes): this one.
+       (func_dirname): Don't use fd6 that might not be set up yet.
+       (run_to_html): Use $includes.
+ 
  2005-11-13  Karl Berry  <address@hidden>
  
        * doc/texinfo.txi (Top Node Example): missing @end iffnottex.
***************
*** 217,223 ****
  
        * makeinfo/xml.c (element docbook_element_list): The docbook <index>
        element should *not* be contained_in_para.
!       
        * makeinfo/xml.c (xml_begin_document): Add id attribute to top-level
        book if emitting docbook.
  
--- 228,234 ----
  
        * makeinfo/xml.c (element docbook_element_list): The docbook <index>
        element should *not* be contained_in_para.
! 
        * makeinfo/xml.c (xml_begin_document): Add id attribute to top-level
        book if emitting docbook.
  
***************
*** 446,452 ****
        * makeinfo/xml.c (docbook_element_list): Map EMAILADDARESS to "email".
        * makeinfo/xref.c (cm_email): For docbook, if there is no name,
        use <email> tag, rather than <ulink>.  If there is a name, we must use
!       <ulink>, but we need to explicitly escape expansion of addr.    
  
  2005-04-22  Per Bothner  <address@hidden>
  
--- 457,463 ----
        * makeinfo/xml.c (docbook_element_list): Map EMAILADDARESS to "email".
        * makeinfo/xref.c (cm_email): For docbook, if there is no name,
        use <email> tag, rather than <ulink>.  If there is a name, we must use
!       <ulink>, but we need to explicitly escape expansion of addr.
  
  2005-04-22  Per Bothner  <address@hidden>
  
***************
*** 721,727 ****
  
        * doc/info-stnd.texi (Top): per rms, don't use @insertcopying here.
        * doc/texinfo.txi (Top): Likewise.  Also, remove recommendations
!               to use it.         
  
  2005-01-20  Akim Demaille  <address@hidden>
  
--- 732,738 ----
  
        * doc/info-stnd.texi (Top): per rms, don't use @insertcopying here.
        * doc/texinfo.txi (Top): Likewise.  Also, remove recommendations
!               to use it.
  
  2005-01-20  Akim Demaille  <address@hidden>
  
***************
*** 870,876 ****
        intptr_t is not defined with gcc 3.04 on Tru64 Unix V5.1
        (This whole vararg stuff needs to be redone correctly.)
        Report from: Svend Tollak Munkejord (via te)
!         8 Dec 2004 17:15:17 +0100.    
  
        * doc/texinfo.txi (ref): rewrite last two redundant paragraphs.
  
--- 881,887 ----
        intptr_t is not defined with gcc 3.04 on Tru64 Unix V5.1
        (This whole vararg stuff needs to be redone correctly.)
        Report from: Svend Tollak Munkejord (via te)
!         8 Dec 2004 17:15:17 +0100.
  
        * doc/texinfo.txi (ref): rewrite last two redundant paragraphs.
  
***************
*** 885,891 ****
        nodename begins with a nonletter.  Ugh.
        * doc/texinfo.txi (HTML Xref Node Name Expansion): document this.
        http://ff0.org/pipermail/texinfo-pretest/2004-December/000210.html
!       
        * doc/texinfo.txi (HTML Xref 8-bit Character Expansion): define
        behavior for Unicode code points above 0xfff.
  
--- 896,902 ----
        nodename begins with a nonletter.  Ugh.
        * doc/texinfo.txi (HTML Xref Node Name Expansion): document this.
        http://ff0.org/pipermail/texinfo-pretest/2004-December/000210.html
! 
        * doc/texinfo.txi (HTML Xref 8-bit Character Expansion): define
        behavior for Unicode code points above 0xfff.
  
***************
*** 910,916 ****
  
        * doc/texinfo.txi (Quotations and Examples): @quotation does not
        reduce interparagraph spacing.
!       
        * makeinfo/node.c (cm_node) <html>: do not bother calling
        add_html_nodes in the split case, the filename is wrong.
  
--- 921,927 ----
  
        * doc/texinfo.txi (Quotations and Examples): @quotation does not
        reduce interparagraph spacing.
! 
        * makeinfo/node.c (cm_node) <html>: do not bother calling
        add_html_nodes in the split case, the filename is wrong.
  
***************
*** 961,967 ****
        (\textfonts .. \ssecfonts): define \curfontsize.
        * makeinfo/cmds.c (command_table): add euro.
        * makeinfo/lang.c (cm_special_char): handle euro.
!       (iso8859_15_map): new global.   
  
  2004-11-18  Stepan Kasal  <address@hidden>
  
--- 972,978 ----
        (\textfonts .. \ssecfonts): define \curfontsize.
        * makeinfo/cmds.c (command_table): add euro.
        * makeinfo/lang.c (cm_special_char): handle euro.
!       (iso8859_15_map): new global.
  
  2004-11-18  Stepan Kasal  <address@hidden>
  
***************
*** 1112,1118 ****
  
        * doc/*.texi: more consistent use of dashes.
        From Stepan and Benno Schulenberg <address@hidden>.
!  
  2004-10-04  Karl Berry  <address@hidden>
  
        * makeinfo/makeinfo.c (cm_value): increment and restore
--- 1123,1129 ----
  
        * doc/*.texi: more consistent use of dashes.
        From Stepan and Benno Schulenberg <address@hidden>.
! 
  2004-10-04  Karl Berry  <address@hidden>
  
        * makeinfo/makeinfo.c (cm_value): increment and restore
***************
*** 1231,1237 ****
  2004-08-19  Stepan Kasal  <address@hidden>
  
        * doc/texinfo.tex (\scanmacro): Make backslash active, not other,
!         as this is the default when processing texinfo files. 
          Otherwise, a \ inside @copying will eventually print as ``.
  
  2004-08-18  Stepan Kasal  <address@hidden>
--- 1242,1248 ----
  2004-08-19  Stepan Kasal  <address@hidden>
  
        * doc/texinfo.tex (\scanmacro): Make backslash active, not other,
!         as this is the default when processing texinfo files.
          Otherwise, a \ inside @copying will eventually print as ``.
  
  2004-08-18  Stepan Kasal  <address@hidden>
***************
*** 1263,1276 ****
        * info/echo-area.c (inform_in_echo_area): avoid buffer overrun.
        Report from: Roman Werpachowski <address@hidden>,
        7 Aug 2004 01:18:32 +0200.
!       
        * info/echo-area.h (inform_in_echo_area): declare arg as const,
        while we're at it.
  
  2004-08-02  Karl Berry  <address@hidden>
  
        * makeinfo/cmds.c (cm_acronym_or_abbr): use strchr, not index.
!       Report from: Prof Brian Ripley <address@hidden>, 
        2 Aug 2004 12:47:36 +0100 (BST)
  
  2004-07-31  Karl Berry  <address@hidden>
--- 1274,1287 ----
        * info/echo-area.c (inform_in_echo_area): avoid buffer overrun.
        Report from: Roman Werpachowski <address@hidden>,
        7 Aug 2004 01:18:32 +0200.
! 
        * info/echo-area.h (inform_in_echo_area): declare arg as const,
        while we're at it.
  
  2004-08-02  Karl Berry  <address@hidden>
  
        * makeinfo/cmds.c (cm_acronym_or_abbr): use strchr, not index.
!       Report from: Prof Brian Ripley <address@hidden>,
        2 Aug 2004 12:47:36 +0100 (BST)
  
  2004-07-31  Karl Berry  <address@hidden>
***************
*** 1288,1294 ****
  
  2004-07-30  Maciej W. Rozycki  <address@hidden>
  
!       * info/filesys.c (extract_colon_unit): Clean up handling of the 
        end of string.
  
  2004-07-27  Karl Berry  <address@hidden>
--- 1299,1305 ----
  
  2004-07-30  Maciej W. Rozycki  <address@hidden>
  
!       * info/filesys.c (extract_colon_unit): Clean up handling of the
        end of string.
  
  2004-07-27  Karl Berry  <address@hidden>
***************
*** 1393,1403 ****
                end of input_text.  (Had erroneously put that in the block
                only if an error was given.)  The result was a null byte
                after macro expansions.  Report from Werner,
!               10 Jul 2004 15:36:40 +0200.             
  
        * makeinfo/node.c (split_file): fwrite Local Variables trailer so
                it actually gets into the output of the top-level info
!               file; don't just insert_string.  
        Report from: Werner LEMBERG, 11 Jul 2004 08:58:13 +0200.
  
  2004-07-10  Karl Berry  <address@hidden>
--- 1404,1414 ----
                end of input_text.  (Had erroneously put that in the block
                only if an error was given.)  The result was a null byte
                after macro expansions.  Report from Werner,
!               10 Jul 2004 15:36:40 +0200.
  
        * makeinfo/node.c (split_file): fwrite Local Variables trailer so
                it actually gets into the output of the top-level info
!               file; don't just insert_string.
        Report from: Werner LEMBERG, 11 Jul 2004 08:58:13 +0200.
  
  2004-07-10  Karl Berry  <address@hidden>
***************
*** 1408,1414 ****
  
  2004-07-05  Karl Berry  <address@hidden>
  
!       * makeinfo/xref.c (cm_email, cm_uref, et al.): 
        * makeinfo/xml.c (xml_insert_indexentry, xml_insert_indexterm):
        * makeinfo/sectioning.c (sectioning_underscore):
        * makeinfo/makeinfo.c (cm_listoffloats): use %s, don't pass string to
--- 1419,1425 ----
  
  2004-07-05  Karl Berry  <address@hidden>
  
!       * makeinfo/xref.c (cm_email, cm_uref, et al.):
        * makeinfo/xml.c (xml_insert_indexentry, xml_insert_indexterm):
        * makeinfo/sectioning.c (sectioning_underscore):
        * makeinfo/makeinfo.c (cm_listoffloats): use %s, don't pass string to
***************
*** 1528,1534 ****
        * makeinfo/cmds.c (cm_code): use <samp> for commands other than
        @code, so we get typewriter output; and add `...'
        for @samp.
!       Report from: John Blevin <address@hidden>, 
        16 Apr 2004 11:40:01 -0400.
  
        * makeinfo/html.c (html_output_head) [CSS_FONT_ROMAN,
--- 1539,1545 ----
        * makeinfo/cmds.c (cm_code): use <samp> for commands other than
        @code, so we get typewriter output; and add `...'
        for @samp.
!       Report from: John Blevin <address@hidden>,
        16 Apr 2004 11:40:01 -0400.
  
        * makeinfo/html.c (html_output_head) [CSS_FONT_ROMAN,
***************
*** 1586,1595 ****
  2004-04-07  Karl Berry  <address@hidden>
  
        * pretest version 4.6.95.
!       
        * doc/texinfo.tex (\dodonode): new macro to remove trailing comma.
        (\donode): call it, after removing space-comma.
!       
        * doc/texinfo.txi (indicateurl): new name for url.
        (uref): url is now a synonym for uref.
        * doc/texinfo.tex (\url, \indicateurl): implement.
--- 1597,1606 ----
  2004-04-07  Karl Berry  <address@hidden>
  
        * pretest version 4.6.95.
! 
        * doc/texinfo.tex (\dodonode): new macro to remove trailing comma.
        (\donode): call it, after removing space-comma.
! 
        * doc/texinfo.txi (indicateurl): new name for url.
        (uref): url is now a synonym for uref.
        * doc/texinfo.tex (\url, \indicateurl): implement.
***************
*** 1704,1712 ****
  
        All these changes are because strncasecmp is only declared in
        <strings.h> on IBM AIX 4.2.  (Report from Nelson Beebe.)
!       
        * configure.ac (AC_CHECK_DECLS): add memchr; no need to check for
!                    strcasecmp.(gl_STRCASE): call this ... 
        (AC_REPLACE_FUNCS): ... replacing checks for
        strcasecmp and strncasecmp here.
        * lib/system.h (memchr) [!HAVE_DECL_MEMCHR]: add conditional
--- 1715,1723 ----
  
        All these changes are because strncasecmp is only declared in
        <strings.h> on IBM AIX 4.2.  (Report from Nelson Beebe.)
! 
        * configure.ac (AC_CHECK_DECLS): add memchr; no need to check for
!                    strcasecmp.(gl_STRCASE): call this ...
        (AC_REPLACE_FUNCS): ... replacing checks for
        strcasecmp and strncasecmp here.
        * lib/system.h (memchr) [!HAVE_DECL_MEMCHR]: add conditional
***************
*** 2066,2072 ****
        argument even if it's unknown.
  
        * makeingo/html.c (html_output_head): call current_document_encoding
!       instead of checking document_encoding_code. 
  
  2004-02-28  Alper Ersoy  <address@hidden>
  
--- 2077,2083 ----
        argument even if it's unknown.
  
        * makeingo/html.c (html_output_head): call current_document_encoding
!       instead of checking document_encoding_code.
  
  2004-02-28  Alper Ersoy  <address@hidden>
  
***************
*** 2349,2355 ****
        * makeinfo/xml.h:
        * makeinfo/xml.c (xml_get_assoc_for_id, xml_associate_title_with_id):
        removed these functions.
!       
        * makeinfo/xref.c (cm_xref): do not call xml_get_assoc_for_id.
  
        * makeinfo/sectioning.c (sectioning_underscore): added xreflabel
--- 2360,2366 ----
        * makeinfo/xml.h:
        * makeinfo/xml.c (xml_get_assoc_for_id, xml_associate_title_with_id):
        removed these functions.
! 
        * makeinfo/xref.c (cm_xref): do not call xml_get_assoc_for_id.
  
        * makeinfo/sectioning.c (sectioning_underscore): added xreflabel
***************
*** 2651,2657 ****
  2004-02-05  Alper Ersoy  <address@hidden>
  
        * info/info-utils.c (info_parse_node): look for ``(line '' instead of
!       skipping any non-digit characters. 
  
  2004-02-05  Alper Ersoy  <address@hidden>
  
--- 2662,2668 ----
  2004-02-05  Alper Ersoy  <address@hidden>
  
        * info/info-utils.c (info_parse_node): look for ``(line '' instead of
!       skipping any non-digit characters.
  
  2004-02-05  Alper Ersoy  <address@hidden>
  
***************
*** 2752,2758 ****
        * makeinfo/makeinfo.c (convert_from_file): prepend the loaded file's
        path to include_files_path in order to make relative include files to
        be found, then remove afterwards.
!       (main): make use of new functions for -I and -P options. 
  
  2004-01-30  Alper Ersoy  <address@hidden>
  
--- 2763,2769 ----
        * makeinfo/makeinfo.c (convert_from_file): prepend the loaded file's
        path to include_files_path in order to make relative include files to
        be found, then remove afterwards.
!       (main): make use of new functions for -I and -P options.
  
  2004-01-30  Alper Ersoy  <address@hidden>
  
***************
*** 2814,2820 ****
        * makeinfo/sectioning.c (sectioning_underscore): removed newline from
        the end of titles.
  
!       * makeinfo/lang.c (cm_documentencoding): insert encoding attribute 
        into XML and Docbook prologs when handling delayed writes.
  
        * makeinfo/xml.c (xml_begin_document): register a delayed write for
--- 2825,2831 ----
        * makeinfo/sectioning.c (sectioning_underscore): removed newline from
        the end of titles.
  
!       * makeinfo/lang.c (cm_documentencoding): insert encoding attribute
        into XML and Docbook prologs when handling delayed writes.
  
        * makeinfo/xml.c (xml_begin_document): register a delayed write for
***************
*** 2953,2959 ****
        (\tocindent): reduce to 15pt to match \defaultparindent.
        (\setref): use XR as control sequence prefix
        instead of just X; seems nicer.  Change calls.
!       
        Finish implementing @listoffloats:
        (\xrdef): keep lists of each float type.
        (\dofloat): save the floattype in the aux file.
--- 2964,2970 ----
        (\tocindent): reduce to 15pt to match \defaultparindent.
        (\setref): use XR as control sequence prefix
        instead of just X; seems nicer.  Change calls.
! 
        Finish implementing @listoffloats:
        (\xrdef): keep lists of each float type.
        (\dofloat): save the floattype in the aux file.
***************
*** 2967,2973 ****
        * doc/texinfo.tex (\doitemize): rename from \itemizey.
        (\itemizeitem): do not set \parskip=0 if the last
        thing was a \nobreak (e.g., from \sectionheading).
!       Report from: Jesper Harder <address@hidden>, 
        17 Jan 2004 22:03:51 +0100.
  
        * doc/texinfo.txi (email): no angle brackets in TeX output.
--- 2978,2984 ----
        * doc/texinfo.tex (\doitemize): rename from \itemizey.
        (\itemizeitem): do not set \parskip=0 if the last
        thing was a \nobreak (e.g., from \sectionheading).
!       Report from: Jesper Harder <address@hidden>,
        17 Jan 2004 22:03:51 +0100.
  
        * doc/texinfo.txi (email): no angle brackets in TeX output.
***************
*** 2977,2983 ****
  2004-01-17  Alper Ersoy  <address@hidden>
  
        * makeinfo/float.c (cm_listoffloats): Prefixed captions with
!       float_type.  For HTML, used an <ul> block.  
  
  2004-01-17  Alper Ersoy  <address@hidden>
  
--- 2988,2994 ----
  2004-01-17  Alper Ersoy  <address@hidden>
  
        * makeinfo/float.c (cm_listoffloats): Prefixed captions with
!       float_type.  For HTML, used an <ul> block.
  
  2004-01-17  Alper Ersoy  <address@hidden>
  
***************
*** 3066,3072 ****
  
  2004-01-13  Alper Ersoy  <address@hidden>
  
!       * makeinfo/float.c (cm_listoffloats): 
        * makeinfo/index.c (cm_printindex): decrement line_number just after
        get_rest_of_line to make messages refer to the correct line,
        re-increment it just before returning.
--- 3077,3083 ----
  
  2004-01-13  Alper Ersoy  <address@hidden>
  
!       * makeinfo/float.c (cm_listoffloats):
        * makeinfo/index.c (cm_printindex): decrement line_number just after
        get_rest_of_line to make messages refer to the correct line,
        re-increment it just before returning.
***************
*** 3150,3156 ****
        * makeinfo/files.c (register_delayed_write): save line number in input
        document that the calling command is in.
        (handle_delayed_writes): adjust byte offsets in tag table and output
!       line numbers in all of the indices, 
  
        * makeinfo/makeinfo.c (convert_from_loaded_file): when finished, write
        the tag table after handling delayed writes.
--- 3161,3167 ----
        * makeinfo/files.c (register_delayed_write): save line number in input
        document that the calling command is in.
        (handle_delayed_writes): adjust byte offsets in tag table and output
!       line numbers in all of the indices,
  
        * makeinfo/makeinfo.c (convert_from_loaded_file): when finished, write
        the tag table after handling delayed writes.
***************
*** 3189,3195 ****
        * makeinfo/makeinfo.c (insert): use whitespace macro instead of
        testing characters manually.
        (convert_from_loaded_file): call handle_delayed_writes when finished.
!       
        * makeinfo/toc.c (contents_update_html, contents_update_info)
        (shortcontents_update_html, shortcontents_update_info): changed file
        read/writes with insert and insert_string.
--- 3200,3206 ----
        * makeinfo/makeinfo.c (insert): use whitespace macro instead of
        testing characters manually.
        (convert_from_loaded_file): call handle_delayed_writes when finished.
! 
        * makeinfo/toc.c (contents_update_html, contents_update_info)
        (shortcontents_update_html, shortcontents_update_info): changed file
        read/writes with insert and insert_string.
***************
*** 3711,3717 ****
        * doc/texinfo.txi (makeinfo options): document TEXINFO_OUTPUT.
  
        * doc/texinfo.txi (tex): document @LaTeX.
!       
        * doc/texinfo.tex (\loggingall): reduce \errorcontextlines for
        sake of infinite loops.
        (\setfontstyle): \def better than \edef?
--- 3722,3728 ----
        * doc/texinfo.txi (makeinfo options): document TEXINFO_OUTPUT.
  
        * doc/texinfo.txi (tex): document @LaTeX.
! 
        * doc/texinfo.tex (\loggingall): reduce \errorcontextlines for
        sake of infinite loops.
        (\setfontstyle): \def better than \edef?
***************
*** 4326,4332 ****
        * texinfo.tex (\putwordDeftypevar, \putwordDeftypefun): Remove.
        * txi-cs.tex, txi-de.tex, txi-en.tex, txi-es.tex, txi-fr.tex,
          txi-it.tex. txi-nl.tex, txi-no.tex, txi-pl.tex, txi-pt.tex,
!         txi-tr.tex: The same. 
        [texinfo-20031120-deftype-del.patch]
  
        * doc/texinfo.tex (\verbatim,\Everbatim): remove one extra level
--- 4337,4343 ----
        * texinfo.tex (\putwordDeftypevar, \putwordDeftypefun): Remove.
        * txi-cs.tex, txi-de.tex, txi-en.tex, txi-es.tex, txi-fr.tex,
          txi-it.tex. txi-nl.tex, txi-no.tex, txi-pl.tex, txi-pt.tex,
!         txi-tr.tex: The same.
        [texinfo-20031120-deftype-del.patch]
  
        * doc/texinfo.tex (\verbatim,\Everbatim): remove one extra level
***************
*** 4335,4341 ****
        (\doverbatiminclude): just call the new \setupverbatim.
        (\setupverbatiminclude): remove.
        [texinfo-20031121-verbatim2.patch]
!       
        * doc/texinfo.tex (\math): no need for \mathcode, and we actually
                can use $ not \implicitmath.
        [texinfo-20031121-math.patch]
--- 4346,4352 ----
        (\doverbatiminclude): just call the new \setupverbatim.
        (\setupverbatiminclude): remove.
        [texinfo-20031121-verbatim2.patch]
! 
        * doc/texinfo.tex (\math): no need for \mathcode, and we actually
                can use $ not \implicitmath.
        [texinfo-20031121-math.patch]
***************
*** 4344,4389 ****
        check for true zero skip.
        (\dosubindsanitize): use it.
        [texinfo-20031120-zeroskip.patch]
!       
        * doc/texinfo.tex (\doignore): scan in verbatim mode.  Without this,
        if the last line of ignored text ended with ``@'', the address@hidden 
ifxxx''
        tag was missed.
        (\dodoignore): use \_STOP_ instead of address@hidden
        [texinfo-20031120-ignore-at.patch]
!       
        * doc/texinfo.tex (\defparsearg): new macro, to simplify places
        where the user macro just calls \parsearg.  Use it in many places.
        [texinfo-20031121-defparsearg.patch]
!       
        * doc/texinfo.tex (\begin): remove, this is undocumented
        and unused.
        [texinfo-20031121-begin.patch]
!       
        * doc/texinfo.tex (\title,\subtitle,\author,...): move to outer
        level (was inside \titlepage), it's more readable than nested
        definitions.
        [texinfo-20031116-titlepage1.patch]
!       
        * doc/texinfo.tex (\evenheadingxxx,\oddfootingyyy): might as well
                use \ and avoid changing catcode of @.
        [texinfo-20031116-catofat.patch]
!       
        * doc/texinfo.tex (\set): use new macros: \parseargusing and
        \makecsname.
        [texinfo-20031116-set.patch]
!       
        * doc/texinfo.tex (\cartouche): avoid \par if we are already in
        vertical mode, in case it has an effect, eg. in an @example;
        avoid extra space from the @cartouche line itself.
        (\Ecartouche): force vertical mode, so that the \kern has the desired
        effect.
        [texinfo-20031120-cart.patch]
!       
        * doc/texinfo.tex (\ptexfootnote,\ptexinsert): save orig definitions.
        (\startsavinginserts): new macro (with relatives), call from
                \cartouche, \group, \table.
        [texinfo-20031118-saveins.patch]
!       
        * doc/texinfo.tex (\table, \ftable, \vtable, \tablex, \tabley,
        \tablez): Cleaned up indentation, etc.
        (\kitem, \kitemx, \xitem, \xtemx, \description): Removed; they
--- 4355,4400 ----
        check for true zero skip.
        (\dosubindsanitize): use it.
        [texinfo-20031120-zeroskip.patch]
! 
        * doc/texinfo.tex (\doignore): scan in verbatim mode.  Without this,
        if the last line of ignored text ended with ``@'', the address@hidden 
ifxxx''
        tag was missed.
        (\dodoignore): use \_STOP_ instead of address@hidden
        [texinfo-20031120-ignore-at.patch]
! 
        * doc/texinfo.tex (\defparsearg): new macro, to simplify places
        where the user macro just calls \parsearg.  Use it in many places.
        [texinfo-20031121-defparsearg.patch]
! 
        * doc/texinfo.tex (\begin): remove, this is undocumented
        and unused.
        [texinfo-20031121-begin.patch]
! 
        * doc/texinfo.tex (\title,\subtitle,\author,...): move to outer
        level (was inside \titlepage), it's more readable than nested
        definitions.
        [texinfo-20031116-titlepage1.patch]
! 
        * doc/texinfo.tex (\evenheadingxxx,\oddfootingyyy): might as well
                use \ and avoid changing catcode of @.
        [texinfo-20031116-catofat.patch]
! 
        * doc/texinfo.tex (\set): use new macros: \parseargusing and
        \makecsname.
        [texinfo-20031116-set.patch]
! 
        * doc/texinfo.tex (\cartouche): avoid \par if we are already in
        vertical mode, in case it has an effect, eg. in an @example;
        avoid extra space from the @cartouche line itself.
        (\Ecartouche): force vertical mode, so that the \kern has the desired
        effect.
        [texinfo-20031120-cart.patch]
! 
        * doc/texinfo.tex (\ptexfootnote,\ptexinsert): save orig definitions.
        (\startsavinginserts): new macro (with relatives), call from
                \cartouche, \group, \table.
        [texinfo-20031118-saveins.patch]
! 
        * doc/texinfo.tex (\table, \ftable, \vtable, \tablex, \tabley,
        \tablez): Cleaned up indentation, etc.
        (\kitem, \kitemx, \xitem, \xtemx, \description): Removed; they
***************
*** 4395,4405 ****
        (\pushthisfilestack,etc.): implement our own stack of filenames
        instead of reading the @include argument in a group.
        [texinfo-20031109-include.patch]
!       
        * doc/texinfo.tex (\indexbreaks): remove, and remove call.
        (\entry): read arguments on the fly, to avoid fixing catcodes.
        [texinfo-20031121-indexbreaks.patch]
!       
        * doc/texinfo.tex (\makevalueexpandable): new macro.
        Change occurrences of \let\value=\expandablevalue to use it,
        to reduce code duplication.
--- 4406,4416 ----
        (\pushthisfilestack,etc.): implement our own stack of filenames
        instead of reading the @include argument in a group.
        [texinfo-20031109-include.patch]
! 
        * doc/texinfo.tex (\indexbreaks): remove, and remove call.
        (\entry): read arguments on the fly, to avoid fixing catcodes.
        [texinfo-20031121-indexbreaks.patch]
! 
        * doc/texinfo.tex (\makevalueexpandable): new macro.
        Change occurrences of \let\value=\expandablevalue to use it,
        to reduce code duplication.
***************
*** 4410,4430 ****
        (\parsedefunline): start them off.  This is to support continuations
        lines for @defun headers.
        [texinfo-20031108-defun-cont.patch]
!       
        * doc/texinfo.tex (\defun and all related commands):
        rewrite to use \parsearg and uniform command generation.
        (\makecsname): New macro, to be used within \edef's only.
        [texinfo-20031120-defun.patch]
!       
        * doc/texinfo.tex (=, \equalChar): remove active definition of =
        and hacks that printed = in \tt sometimes.  We want to print
        everything in \tt anyway, ultimately.
        [texinfo-20031120-defun-pres3.patch]
!       
        * doc/texinfo.tex (\defopheader,\defcvarheader,defivarheader):
        use \code for the class name.
        [texinfo-defun-pres2.patch]
!       
        * doc/texinfo.tex (\parsearg): Reset the catcode of space before
                we scan the argument; so we don't have to worry about
                obeyed spaces before and after the argument.
--- 4421,4441 ----
        (\parsedefunline): start them off.  This is to support continuations
        lines for @defun headers.
        [texinfo-20031108-defun-cont.patch]
! 
        * doc/texinfo.tex (\defun and all related commands):
        rewrite to use \parsearg and uniform command generation.
        (\makecsname): New macro, to be used within \edef's only.
        [texinfo-20031120-defun.patch]
! 
        * doc/texinfo.tex (=, \equalChar): remove active definition of =
        and hacks that printed = in \tt sometimes.  We want to print
        everything in \tt anyway, ultimately.
        [texinfo-20031120-defun-pres3.patch]
! 
        * doc/texinfo.tex (\defopheader,\defcvarheader,defivarheader):
        use \code for the class name.
        [texinfo-defun-pres2.patch]
! 
        * doc/texinfo.tex (\parsearg): Reset the catcode of space before
                we scan the argument; so we don't have to worry about
                obeyed spaces before and after the argument.
***************
*** 4701,4707 ****
        * makeinfo/multi.c (multitable_item, end_multitable):
        * makeinfo/xml.c (xml_end_multitable_row, xml_end_multitable):
        insert thead element if @headitem is used.
!       
        * makeinfo/xml.h: new element THEAD.
  
        * makeinfo/texinfo.dtd: updated multitable structure.
--- 4712,4718 ----
        * makeinfo/multi.c (multitable_item, end_multitable):
        * makeinfo/xml.c (xml_end_multitable_row, xml_end_multitable):
        insert thead element if @headitem is used.
! 
        * makeinfo/xml.h: new element THEAD.
  
        * makeinfo/texinfo.dtd: updated multitable structure.
***************
*** 4925,4931 ****
        * makeinfo/node.c (cm_node): escape node names in HTML output.
  
        * makeinfo/xml.c (xml_id): check to see if the character is allowed.
!       
        * makeinfo/tests/accent-text.txi: new @dotless{j} lines.
  
        * makeinfo/tests/accent: look for &acute;j instead of &acute;i.
--- 4936,4942 ----
        * makeinfo/node.c (cm_node): escape node names in HTML output.
  
        * makeinfo/xml.c (xml_id): check to see if the character is allowed.
! 
        * makeinfo/tests/accent-text.txi: new @dotless{j} lines.
  
        * makeinfo/tests/accent: look for &acute;j instead of &acute;i.
***************
*** 5116,5122 ****
        * doc/Makefile.am (infokey.1): new target.
        (man_MANS): include infokey.1.
        Noticed this in Debian diff.
!       
        * util/texi2dvi: check for tex up front; inspired by Debian diff.
  
        * TODO: makeinfo -E should do simple macro expansion, not
--- 5127,5133 ----
        * doc/Makefile.am (infokey.1): new target.
        (man_MANS): include infokey.1.
        Noticed this in Debian diff.
! 
        * util/texi2dvi: check for tex up front; inspired by Debian diff.
  
        * TODO: makeinfo -E should do simple macro expansion, not
***************
*** 5433,5439 ****
        (\doheading,\dosubheading,\dosubsubheading): call
        \sectionheading directly instead of \plain*secheading.
        (\chfplain, \sectionheading): take additional section type
!       argument; call \writetocentry and \donoderef.  
        (\unnchfopen): mention this is deprecated.
        (\writetocentry): handle "omit" case, and
        \global\pdfmakepagedesttrue.
--- 5444,5450 ----
        (\doheading,\dosubheading,\dosubsubheading): call
        \sectionheading directly instead of \plain*secheading.
        (\chfplain, \sectionheading): take additional section type
!       argument; call \writetocentry and \donoderef.
        (\unnchfopen): mention this is deprecated.
        (\writetocentry): handle "omit" case, and
        \global\pdfmakepagedesttrue.
***************
*** 5477,5483 ****
  
        * makeinfo/tests/html-manuals: include -I../../doc for case when
        version-stnd.texi is in build tree.
!       From: ezra peisach <address@hidden>, 
        12 Sep 2003 13:53:32 -0400.
  
  2003-09-11  Karl Berry  <address@hidden>
--- 5488,5494 ----
  
        * makeinfo/tests/html-manuals: include -I../../doc for case when
        version-stnd.texi is in build tree.
!       From: ezra peisach <address@hidden>,
        12 Sep 2003 13:53:32 -0400.
  
  2003-09-11  Karl Berry  <address@hidden>
***************
*** 5526,5532 ****
        * makeinfo/macro.c (define_macro): "end rmacro" is 10 chars long.
  
  2003-08-29 Reiner Steib <address@hidden>
!       
        * makeinfo/lang.c (encoding_table): Downcase coding system
        names, since Emacs does not recognize the uppercase names.
  
--- 5537,5543 ----
        * makeinfo/macro.c (define_macro): "end rmacro" is 10 chars long.
  
  2003-08-29 Reiner Steib <address@hidden>
! 
        * makeinfo/lang.c (encoding_table): Downcase coding system
        names, since Emacs does not recognize the uppercase names.
  
***************
*** 5737,5743 ****
        From: Jesper Harder <address@hidden>.
        (GNU Sample Texts): don't end the $Id index entries with a :.
        Report from: Luc Teirlinck <address@hidden>.
!       
  2003-06-20    <address@hidden>
  
        * makeinfo/defun.c (process_defun_args): only insert the HTML
--- 5748,5754 ----
        From: Jesper Harder <address@hidden>.
        (GNU Sample Texts): don't end the $Id index entries with a :.
        Report from: Luc Teirlinck <address@hidden>.
! 
  2003-06-20    <address@hidden>
  
        * makeinfo/defun.c (process_defun_args): only insert the HTML
Index: util/texi2dvi
===================================================================
RCS file: /cvsroot/texinfo/texinfo/util/texi2dvi,v
retrieving revision 1.66
retrieving revision 1.67
diff -c -r1.66 -r1.67
*** util/texi2dvi       11 Nov 2005 00:02:31 -0000      1.66
--- util/texi2dvi       18 Nov 2005 12:58:50 -0000      1.67
***************
*** 1,6 ****
  #! /bin/sh
  # texi2dvi --- produce DVI (or PDF) files from Texinfo (or (La)TeX) sources.
! # $Id: texi2dvi,v 1.66 2005/11/11 00:02:31 karl Exp $
  #
  # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2001,
  # 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
--- 1,6 ----
  #! /bin/sh
  # texi2dvi --- produce DVI (or PDF) files from Texinfo (or (La)TeX) sources.
! # $Id: texi2dvi,v 1.67 2005/11/18 12:58:50 akim Exp $
  #
  # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2001,
  # 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
***************
*** 32,38 ****
  unset RUNNING_KSH
  
  # This string is expanded by rcs automatically when this file is checked out.
! rcs_revision='$Revision: 1.66 $'
  rcs_version=`set - $rcs_revision; echo $2`
  program=`echo $0 | sed -e 's!.*/!!'`
  version="texi2dvi (GNU Texinfo 4.8) $rcs_version
--- 32,38 ----
  unset RUNNING_KSH
  
  # This string is expanded by rcs automatically when this file is checked out.
! rcs_revision='$Revision: 1.67 $'
  rcs_version=`set - $rcs_revision; echo $2`
  program=`echo $0 | sed -e 's!.*/!!'`
  version="texi2dvi (GNU Texinfo 4.8) $rcs_version
***************
*** 140,153 ****
  debug=false
  escape="\\"
  expand=         # t for expansion via makeinfo
! miincludes=     # makeinfo include path
  out_lang=dvi
  oname=          # --output
  quiet=false     # by default let the tools' message be displayed
  recode=false
  set_language=
  textra=         # Extra TeX commands to insert in the input file.
- txincludes=     # TEXINPUTS extensions, with trailing colon
  txiprereq=19990129 # minimum texinfo.tex version with macro expansion
  verb=false      # true for verbose mode
  
--- 140,152 ----
  debug=false
  escape="\\"
  expand=         # t for expansion via makeinfo
! includes=
  out_lang=dvi
  oname=          # --output
  quiet=false     # by default let the tools' message be displayed
  recode=false
  set_language=
  textra=         # Extra TeX commands to insert in the input file.
  txiprereq=19990129 # minimum texinfo.tex version with macro expansion
  verb=false      # true for verbose mode
  
***************
*** 194,203 ****
  # Return the directory part of FILE.
  func_dirname ()
  {
!   dirname "$1" 2>&6 \
    || { echo "$1" | sed 's!/[^/]*$!!;s!^$!.!'; }
  }
  
  # findprog PROG
  # -------------
  # Return true if PROG is somewhere in PATH, else false.
--- 193,221 ----
  # Return the directory part of FILE.
  func_dirname ()
  {
!   dirname "$1" 2>/dev/null \
    || { echo "$1" | sed 's!/[^/]*$!!;s!^$!.!'; }
  }
  
+ 
+ # absolute NAME -> ABS-NAME
+ # -------------------------
+ # Return an absolute path to NAME.
+ absolute ()
+ {
+   case $1 in
+    [\\/]* | ?:[\\/]*)
+       # Absolute paths don't need to be expanded.
+       echo "$1"
+       ;;
+    *)
+       (cd "$orig_pwd/`func_dirname $1`" 2>/dev/null &&
+        echo `pwd`/`basename "$1"`)
+       ;;
+   esac
+ }
+ 
+ 
  # findprog PROG
  # -------------
  # Return true if PROG is somewhere in PATH, else false.
***************
*** 266,271 ****
--- 284,357 ----
  }
  
  
+ ## ---------------- ##
+ ## Handling lists.  ##
+ ## ---------------- ##
+ 
+ 
+ # list_append LIST-NAME ELEM
+ # --------------------------
+ # Set LIST-NAME to its former contents, with ELEM appended.
+ list_append ()
+ {
+   local la_l="$1"
+   shift
+   eval set X \$$la_l "$@"
+   shift
+   eval $la_l=\""$@"\"
+ }
+ 
+ # list_prefix LIST-NAME SEP -> STRING
+ # -----------------------------------
+ # Return a string that is composed of the LIST-NAME with each item
+ # preceded by SEP.
+ list_prefix ()
+ {
+   local lp_p=$2
+   eval set X \$$1
+   shift
+   local lp_res
+   for i
+   do
+     lp_res="$lp_res \"$lp_p\" \"$i\""
+   done
+   echo "$lp_res"
+ }
+ 
+ # list_infix LIST-NAME SEP -> STRING
+ # ----------------------------------
+ # Same as list_prefix, but a separator.
+ list_infix ()
+ {
+   eval set X \$$1
+   shift
+   local la_IFS=$IFS
+   IFS=$path_sep
+   echo "$*"
+   IFS=$la_IFS
+ }
+ 
+ # list_dir_to_abs LIST-NAME
+ # -------------------------
+ # Convert the list to using only absolute dir names.
+ # Currently unused, but should replace absolute_filenames some day.
+ list_dir_to_abs ()
+ {
+   local ld_l=$1
+   eval set X \$$ld_l
+   shift
+   local ld_res
+   for dir
+   do
+     dir=`absolute "$dir"`
+     test -d "$dir" || continue
+     ld_res="$ld_res \"$dir\""
+   done
+   set X $ld_res; shift
+   eval $ld_l=\"address@hidden"
+   eval echo $ld_l=\$$ld_l
+ }
+ 
  ## ------------------------- ##
  ## TeX auxiliary functions.  ##
  ## ------------------------- ##
***************
*** 292,298 ****
    done
  }
  
! 
  # Convert relative paths to absolute paths, so we can run in another
  # directory (e.g., in tidy build mode, or during the macro-support
  # detection).
--- 378,385 ----
    done
  }
  
! # absolute_filenames TEX-PATH -> TEX-PATH
! # ---------------------------------------
  # Convert relative paths to absolute paths, so we can run in another
  # directory (e.g., in tidy build mode, or during the macro-support
  # detection).
***************
*** 316,326 ****
        EMPTY)
          res=$res$path_sep
          ;;
-       [\\/]* | ?:[\\/]*)        # Absolute paths don't need to be expanded.
-         test -d $dir && res=$res$path_sep$dir
-         ;;
        *)
!         test -d $dir && abs=`cd "$dir" && pwd` && res=$res$path_sep$abs
          ;;
      esac
    done
--- 403,410 ----
        EMPTY)
          res=$res$path_sep
          ;;
        *)
!         test -d $dir && res=$res$path_sep`absolute "$dir"`
          ;;
      esac
    done
***************
*** 750,756 ****
        work_src=$workdir/src
        ensure_dir "$work_src"
        in_src=$work_src/$in_base
! 
        verbose "Macro-expanding $command_line_filename to $in_src ..."
        sed "$comment_iftex" "$command_line_filename" \
          | $makeinfo --footnote-style=end -I "$in_dir" $miincludes \
--- 834,840 ----
        work_src=$workdir/src
        ensure_dir "$work_src"
        in_src=$work_src/$in_base
!       local $miincludes=`list_prefix includes -I`
        verbose "Macro-expanding $command_line_filename to $in_src ..."
        sed "$comment_iftex" "$command_line_filename" \
          | $makeinfo --footnote-style=end -I "$in_dir" $miincludes \
***************
*** 856,864 ****
    # successful compilation.  Unfortunately it makes it hard to move
    # the image back to the destination directory.  So compile to the
    # actual destination.
!   local to_html="$hevea -fix -noiso -O -o '$out_name' '$in_input'"
  
!   verbose "running $cmd"
    if eval "$to_html" >&5; then :; else
      fatal 1 "$hevea exited with bad status, quitting."
    fi
--- 940,950 ----
    # successful compilation.  Unfortunately it makes it hard to move
    # the image back to the destination directory.  So compile to the
    # actual destination.
!   local to_html="$hevea -fix -noiso -O -o '$out_name'"
!   to_html="$to_html `list_prefix includes -I`"
!   to_html="$to_html '$in_input'"
  
!   verbose "running $to_html"
    if eval "$to_html" >&5; then :; else
      fatal 1 "$hevea exited with bad status, quitting."
    fi
***************
*** 932,948 ****
           --html) out_lang=html;;
      -I | --I*)
        shift
!       miincludes="$miincludes -I $1"
!       txincludes="$txincludes$1$path_sep"
        ;;
      -l | --lang | --language) shift; set_language=$1;;
      -o | --out  | --output)
        shift
        # Make it absolute, just in case we also have --clean, or whatever.
!       case "$1" in
!         /* | ?:/*) oname=$1;;
!                 *) oname="$orig_pwd/$1";;
!       esac;;
      -p | --pdf) out_lang=pdf;;
      -q | -s | --quiet | --silent) quiet=true; batch=true;;
      -r | --recode) recode=true;;
--- 1018,1032 ----
           --html) out_lang=html;;
      -I | --I*)
        shift
!       # Use absolute dir names in the includes.
!       val=`absolute "$1"`
!       list_append includes "$val"
        ;;
      -l | --lang | --language) shift; set_language=$1;;
      -o | --out  | --output)
        shift
        # Make it absolute, just in case we also have --clean, or whatever.
!       oname=`absolute "$1"`;;
      -p | --pdf) out_lang=pdf;;
      -q | -s | --quiet | --silent) quiet=true; batch=true;;
      -r | --recode) recode=true;;
***************
*** 1105,1111 ****
  
    # Get the name of the current directory.
    in_dir=`func_dirname "$command_line_filename"`
!   in_dir_abs=`cd "$in_dir" >&6 && pwd`
    # In a clean build, we `cd', so get an absolute file name.
    $tidy && in_dir=$in_dir_abs
  
--- 1189,1195 ----
  
    # Get the name of the current directory.
    in_dir=`func_dirname "$command_line_filename"`
!   in_dir_abs=`absolute "$in_dir"`
    # In a clean build, we `cd', so get an absolute file name.
    $tidy && in_dir=$in_dir_abs
  
***************
*** 1126,1132 ****
      out_name=$in_noext.$out_lang
    fi
    out_dir=`func_dirname "$out_name"`
!   out_dir_abs=`cd $out_dir && pwd`
    out_base=`basename "$out_name"`
    out_noext=`echo "$out_base" | sed 's/\.[^.]*$//'`
  }
--- 1210,1216 ----
      out_name=$in_noext.$out_lang
    fi
    out_dir=`func_dirname "$out_name"`
!   out_dir_abs=`absolute "$out_dir"`
    out_base=`basename "$out_name"`
    out_noext=`echo "$out_base" | sed 's/\.[^.]*$//'`
  }
***************
*** 1156,1162 ****
    ensure_dir "$build_dir" "$t2ddir"
  
    # We will change directory, better work with an absolute path...
!   t2ddir=`cd "$t2ddir" && pwd`
    # Sometimes there are incompatibilities between auxiliary files for
    # DVI and PDF.  The contents can also change whether we work on PDF
    # and/or DVI.  So keep separate spaces for each.
--- 1240,1246 ----
    ensure_dir "$build_dir" "$t2ddir"
  
    # We will change directory, better work with an absolute path...
!   t2ddir=`absolute "$t2ddir"`
    # Sometimes there are incompatibilities between auxiliary files for
    # DVI and PDF.  The contents can also change whether we work on PDF
    # and/or DVI.  So keep separate spaces for each.
***************
*** 1184,1190 ****
    # etc. files in ${directory} don't get used in preference to fresher
    # files in `.'.  Include orig_pwd in case we are in clean build mode, where
    # we've cd'd to a temp directory.
!   common="$orig_pwd$path_sep$in_dir$path_sep$txincludes"
    for var in $tex_envvars; do
      eval val="\$common\$${var}_orig"
      # Convert relative paths to absolute paths, so we can run in another
--- 1268,1275 ----
    # etc. files in ${directory} don't get used in preference to fresher
    # files in `.'.  Include orig_pwd in case we are in clean build mode, where
    # we've cd'd to a temp directory.
!   txincludes=`list_infix includes $path_sep`
!   common="$orig_pwd$path_sep$in_dir$path_sep$txincludes$path_sep"
    for var in $tex_envvars; do
      eval val="\$common\$${var}_orig"
      # Convert relative paths to absolute paths, so we can run in another
P ChangeLog
P util/texi2dvi


reply via email to

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