Commit graph

78 commits

Author SHA1 Message Date
Juanma Barranquero
027a4b6b3f Replace string-to-int' by string-to-number'. 2005-05-16 11:34:49 +00:00
Robert J. Chassell
edc7140ab2 (texinfo-append-refill): Redefine the types of line to which @refill
is not appended by replacing a search for `@refill\\|@bye' with
`@refill\\|^[ \t]*@'.  The intent is to solve both the `@end
itemize@refill' bug and the unfilled long lines bug.
(texinfmt-version): update number and date.
2005-03-04 13:54:44 +00:00
Robert J. Chassell
5fe9405724 Update copyright notice to 2005. 2005-03-01 12:28:24 +00:00
Robert J. Chassell
470ba11f43 (texinfo-no-refill-regexp): commented out inclusion of "itemize\\|",
which may be unnecessary, is certainly inelegant, and stops refilling in
itemize lists when formatting Japanese Texinfo files to Info.
2005-02-28 15:06:13 +00:00
Richard M. Stallman
e4e8e01e8d (texinfo-format-buffer-1): Call buffer-disable-undo. 2004-12-27 16:08:57 +00:00
John Paul Wallington
62c2539ec8 (texinfo-indexvar-alist): Declare as variable instead of constant. 2004-05-25 20:06:06 +00:00
Juri Linkov
28633019fc (texinfo-print-index): Print index line numbers in the new Texinfo 4.7 format. 2004-05-23 20:55:28 +00:00
Eli Zaretskii
01cf96d518 (texinfo-pre-format-hook): New variable.
(texinfo-format-region): Use it.
(texinfo-format-buffer-1): Ditto.
2003-11-01 17:12:02 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Juanma Barranquero
4a15fdc6c8 (texinfo-format-scan): Silence `whitespace-cleanup'. 2003-06-12 22:09:06 +00:00
Stefan Monnier
6147e72553 (texinfo-format-iftex, texinfo-format-ifhtml)
(texinfo-format-ifplaintext, texinfo-format-tex, texinfo-format-html)
(texinfo-format-ifnotinfo, texinfo-format-titlepage)
(texinfo-format-titlespec, texinfo-format-ignore, texinfo-if-set)
(texinfo-if-clear): Use re-search-forward's return value.
(texinfo-sort-startkeyfun, texinfo-format-buffer-1)
(texinfo-format-region): Use line-{end,beginning}-position.
(texinfo-append-refill, texinfo-alias): Use match-string-no-properties.
2003-02-11 00:37:28 +00:00
Juanma Barranquero
db95369be0 Trailing whitespace deleted. 2003-02-04 13:30:45 +00:00
Richard M. Stallman
d02677ab1c (tex-start-of-header, tex-end-of-header): Add defvars. 2002-12-22 22:04:01 +00:00
Robert J. Chassell
d79abb6984 Installed on behalf of TAKAHASHI Kaoru <kaoru@kaisei.org>
(@verb, @image): new commands

(@kbdinputstyle, @vskip, @evenfooting, @evenheading, @oddfooting,
@oddheading, @everyfooting, @everyheading, @documentdescription):
Add these commands, none of which should appear in an Info
environment; but if they do, these definitions should cause
them to be discarded.
2002-12-10 19:01:36 +00:00
Robert J. Chassell
6b9bfa954b Fix typos found by TAKAHASHI Kaoru <kaoru@kaisei.org>. 2002-12-08 23:03:47 +00:00
Robert J. Chassell
a66ccdcf77 (texinfo-format-scan) Handle new functions for copyright
notice and copying permissions.
(texinfo-copying, texinfo-insertcopying): New functions.

Installed for TAKAHASHI Kaoru  <kaoru@kaisei.org>
(texinfo-format-xml): New function.
(ifxml, ifnotxml): New aliases.
2002-12-06 19:43:49 +00:00
Robert J. Chassell
124ff501ef Fix typos. 2002-11-28 14:12:31 +00:00
Robert J. Chassell
718402b21a Updated texinfmt-version number and date. 2002-11-24 02:35:49 +00:00
Robert J. Chassell
2a64dfcec3 (texinfo-no-refill-regexp): add "itemize\\|" because of a problem with
@end itemize@refill, but worry whether this causes other problems.
2002-11-24 02:18:01 +00:00
Robert J. Chassell
289df0fc4c (texinfo-format-separate-node): Handle node names with
properties and with regular expression symbols in them.
2002-11-24 01:39:02 +00:00
Juanma Barranquero
2b6a2afe1d (texinfo-format-ifplaintext): New function.
(ifplaintext, ifnotplaintext)
(afourpaper, afivepaper, afourlatex, afourwide)
(documentlanguage, documentencoding): New aliases.
2002-10-29 07:53:08 +00:00
Andreas Schwab
64a1ba1846 Revert last change. 2002-03-09 20:11:46 +00:00
Andreas Schwab
6b997f0825 Change Maintainer to FSF. 2002-03-08 19:31:38 +00:00
Eli Zaretskii
25cacfa7f0 No change. Error by bob, not eliz, logging change for wrong file. 2001-10-27 14:57:00 +00:00
Pavel Janík
e8af40eed4 Some fixes to follow coding conventions. 2001-07-16 12:23:00 +00:00
Miles Bader
72190a54f6 (texinfo-format-syntax-table): Revert previous change. 2001-06-15 00:57:40 +00:00
Miles Bader
2205884371 (texinfo-format-syntax-table): Change syntax of " and \ to "." (punctuation). 2001-06-14 02:54:34 +00:00
Gerd Moellmann
8bb6eb14be (texinfo-format-parse-args): Don't
consume a newline following `}'.
(texinfo-format-email): New function.
(toplevel): Use texinfo-format-email for @email.
(texinfo-format-kbd-regexp, texinfo-format-kbd-end-regexp): Add
`display'.
(texinfo-sort-region): Goto point-min before sorting.
(texinfo-set): Remove leading white space from value.
From yagi@is.titech.ac.jp.
2001-05-02 11:44:27 +00:00
Eli Zaretskii
4ff163fdcd Fix a typo in a comment. 2001-02-22 18:13:41 +00:00
Eli Zaretskii
9238a8df8a (texinfo-format-scan): Signal an error if
@ follows an accent command such as @'.  Support optional braces
in commands that insert accents, like makeinfo does.
2001-02-22 13:30:58 +00:00
Gerd Moellmann
11595aa959 (texinfo-format-xref): Don't try to insert nil. 2000-04-27 18:58:13 +00:00
Gerd Moellmann
9ed79f5d1a (texinfo-format-scan): Use ?\n instead
of a real newline.
2000-01-09 18:21:26 +00:00
Karl Heuer
5762abecd3 Fix maintainer address. 1999-08-16 04:04:27 +00:00
Karl Heuer
7220ca11af Handle @ifnottex. 1999-08-16 03:17:09 +00:00
Karl Heuer
95012c62d5 (texinfo-format-direntry): Avoid blank line. 1999-05-29 19:22:00 +00:00
Richard M. Stallman
69c6eff89b (texinfo-format-var): Handle other nested constructs, using
texinfo-parse-expanded-arg and texinfo-discard-command, not
texinfo-parse-arg-discard.
1999-05-19 21:30:58 +00:00
Richard M. Stallman
294500f232 (texinfo-anchor): Don't delete a non-speace after the @anchor command. 1999-05-19 01:40:23 +00:00
Karl Heuer
2990dcd484 (texinfo-format-buffer): Bind coding-system-for-write, to avoid hanging when
non-interactive.
1999-04-26 04:13:01 +00:00
Kenichi Handa
ec81e97abc (texinfo-append-refill): Check @c correctly. 1999-03-08 00:26:16 +00:00
Richard M. Stallman
8d66d13d12 (texinfo-alias): New function.
(texinfo-fold-nodename-case): Add defvar.
(texinfo-format-node): Do case folding if specified.
1999-02-13 16:40:10 +00:00
Karl Heuer
f66f0ee8ff (texinfo-format-scan):
Detect the case of two @-commands in a row; process just the first.
(texinfo-append-refill): If line has a @c, insert the @refill
before it.
(texinfo-format-refill): Return with point where the @refill was.
1998-11-07 02:03:33 +00:00
Richard M. Stallman
1c87ab3195 (texinfmt-version): Update version.
number which is used in header of texinfmt-produced Info files.
(texinfo-format-buffer): Now always tagify, on accout of @anchor.
(texi-format-region): Always tagify.
(texi2info):          Always tagify
(texinfo-anchor):     Add @anchor command as place to which
         a cross reference may go.
(texinfo-no-refill-regexp): Add smalldisplay, smallformat
(texinfo-format-uref):            New command: @uref
(texinfo-format-var):             New command: @acronym
(texinfo-format-code):            New commands: @command, @env, @url.
(texinfo-format-option):          New command: @option
(texinfo-format-example):         New command: @smalldisplay
(texinfo-format-flushleft):       New command: @smallformat
(texinfo-discard-line-with-args): New commands: @novalidate, @pagesize,
@setcontentsaftertitlepage, @setshortcontentsaftertitlepage.
1998-07-06 00:12:33 +00:00
Richard M. Stallman
007be42afd (texinfo-anchor): New function. 1998-07-02 08:05:24 +00:00
Richard M. Stallman
80216a47a4 (defgroup, defcustom): Add Emacs 19 compatibility definitions. 1997-08-30 19:48:14 +00:00
Richard M. Stallman
caf4bf368f (dircategory): Delete obsolete mistaken `put'.
(texinfo-end-direntry): Output extra newline.
(texinfo-format-dircategory): Parse the arg and reinsert it by hand.
1997-07-22 20:06:24 +00:00
Richard M. Stallman
149f002ee2 (texinfo-no-refill-regexp): Add "direntry".
(texinfo-format-direntry, texinfo-end-direntry): New functions.
(texinfo-format-dircategory): New function.
1997-07-20 17:41:31 +00:00
Richard M. Stallman
d097058598 (texinfo-format-buffer-1): Insert, here,
the info about what file this is and what it was made from,
just before returning.
(texinfo-format-setfilename): Generate no output.
1997-07-16 05:29:01 +00:00
Richard M. Stallman
c988a68aad (texinfo-extra-inter-column-width):
Renamed from extra-inter-column-width.  Doc fix.
(texinfo-multitable-buffer-name):
Variable renamed from multitable-temp-buffer-name.
(texinfo-multitable-rectangle-name):
Variable renamed from multitable-temp-rectangle-name.
(texinfo-format-key): Don't insert angle-brackets.
1997-05-24 20:52:05 +00:00
Richard M. Stallman
5aa34729dd [This finishes the change log for the changes in the previous version.]
Add properties for new commands.
Move all the no-op commands to the end, and add some.

Add many commands for ligatures and for letters with diacritics
and other non-English special characters.

(texinfo-multitable): New Texinfo cmd.
(texinfo-end-multitable): New function.
(texinfo-multitable-widths): New function.
(texinfo-multitable-extract-row): New function.
(texinfo-multitable-item): New function.
(texinfo-format-timestamp): New Texinfo cmd.
(texinfo-format-kbd-regexp): New variable.
(texinfo-format-kbd-end-regexp): New variable.
(texinfo-format-kbd): New function for @kbd.
(texinfo-format-ifeq): New Texinfo cmd.
(texinfo-format-pounds): Likewise.
(texinfo-format-refill): Handle *'s specially at line start.
1997-05-24 20:50:37 +00:00
Richard M. Stallman
92f621996c (texinfmt-version): New function and variable.
(texi2info): New function.
(texinfo-accent-commands): New variable.
(texinfo-no-refill-regexp): Use concat to make it clearer.
Add some more elements.
(texinfo-part-of-para-regexp): Likewise.
(texinfo-append-refill): Extend criterion 3 for when not to refill.
(texinfo-raisesections-alist): Add @centerchap.
(texinfo-lowersections-alist): Add @centerchap.
(texinfo-format-scan): Handle many more @-char commands.
(detailmenu): Add texinfo-format and texinfo-end properties,
(centerchap): Add texinfo-format property,
(texinfo-format-buffer): Doc fix.
(texinfo-parse-line-arg): Add doc string.
(texinfo-parse-arg-discard): Likewise.
1997-05-24 20:00:10 +00:00