Re: [help-texinfo] How to disable '_' to '_005f' transliteration in file names?

2009-09-23 Thread Patrice Dumas
On Tue, Sep 22, 2009 at 05:13:28PM -0500, Karl Berry wrote: Hi Peter, for the sake of backwards compatibility with older versions of the web site I'd need those files to be called ax_have_epoll.html, i.e. I'd like to disable the '_' to '_005f' transliteration. I don't recall

Re: [help-texinfo] How to disable '_' to '_005f' transliteration in file names?

2009-09-29 Thread Patrice Dumas
On Tue, Sep 22, 2009 at 05:13:28PM -0500, Karl Berry wrote: Hi Peter, I don't recall any way to disable it in makeinfo. Patrice, is there a way in texi2html (short of hacking the source)? Karl transmitted your mail, I forgot to say that you need the cvs version of texi2html to be able to

Re: [help-texinfo] texinfo : HTML (dir) link is bad

2010-05-17 Thread Patrice Dumas
On Sun, May 16, 2010 at 10:30:17PM +, Karl Berry wrote: I expect the next release will have more ways to control what happens. (Right, Patrice?) I see 2 possibilities to control it, in the current code (though I haven't tested). First one is a variable, $TOP_NODE_UP = '(dir)'; It may

Re: [help-texinfo] texinfo : HTML (dir) link is bad

2010-05-18 Thread Patrice Dumas
On Mon, May 17, 2010 at 10:46:32AM +0200, Patrice Dumas wrote: It may be used too change what is considered as the up of the top node. currently it is as if the up of the top node is a manual called `dir'. I'll test what happens when this variable is set to an empty string instead. I added

Re: [help-texinfo] How fix (non-fatal) error by producing .fo (by fop) from .docbook from .texi about missing entities?

2011-02-18 Thread Patrice Dumas
On Fri, Feb 18, 2011 at 12:42:57AM +, Karl Berry wrote: I get cedet.texi from GNU Emacs distro, fix include issue and produce .docbook: $ makeinfo --enable-encoding --docbook -o cedet.docbook cedet.texi [...] Why 'makeinfo' add copy; ldquo; rdquo; if

Re: [help-texinfo] Re: How fix (non-fatal) error by producing .fo (by fop) from .docbook from .texi about missing entities?

2011-02-27 Thread Patrice Dumas
On Sat, Feb 26, 2011 at 11:07:55PM +, Oleksandr Gavenko wrote: In that way we can convert .texi to UTF-8 and make replace for chars: copy; == #xa9; ldquo; == #x201c; rdquo; == #x201d; lsquo; == #x2018; rsquo; == #x2019; rArr; == #x2192; I think sources contain more

[help-texinfo] [SPAM] Re: Spaces before @ commands

2011-04-29 Thread Patrice Dumas
On Fri, Apr 29, 2011 at 04:22:40PM +0100, Carnë Draug wrote: On the texinfo manual it says which commands need to be at the start of the line. My question is if spaces between those commands and the start of the line are accepted. It seems that in most cases it does. It did, but as Eli said

Re: [help-texinfo] texi2html Questions

2011-12-02 Thread Patrice Dumas
On Fri, Dec 02, 2011 at 09:36:26AM -0600, Joel Sherrill wrote: I am glad to hear you think this isn't obvious. :) I added that to an init file. Invoked texi2html as follows This init file is for the upcoming implementation to be released soon, which is part of texinfo, in the tp directory,

Re: [help-texinfo] texi2html trouble

2011-12-26 Thread Patrice Dumas
On Tue, Dec 27, 2011 at 12:39:30AM +0100, Andreas Falkenhahn wrote: On 26.12.2011 at 23:47 Patrice Dumas wrote: Thanks a lot, now it's working indeed! There's just one minor problem left: For foo.texi, texi2html creates an entry file named foo_frame.html and this file references foo.html

Re: [help-texinfo] texi2html trouble

2011-12-28 Thread Patrice Dumas
On Tue, Dec 27, 2011 at 11:29:13AM +0100, Andreas Falkenhahn wrote: Sure, check out the attached mini test texi. The call goes like this: $ texi2html -frames -split node test.texi test_frame.html will then reference the file test.html but test.html won't be created at all. Indeed,

Re: [help-texinfo] converting texinfo to html in spanish

2012-01-07 Thread Patrice Dumas
On Fri, Jan 06, 2012 at 02:06:21PM +0100, David Arroyo Menéndez wrote: What is exactly @seealso? It's similar to xref an example of use is: @seealso{ @uref{ http://orgmode.org/manual/Document-Structure.html#Document-Structure, Chapter 2 of the manual} I still don't really get it.

[help-texinfo] [SPAM] Re: adding link rel=canonical ...

2012-02-12 Thread Patrice Dumas
On Thu, Jan 19, 2012 at 12:07:46AM +0100, Marc Glisse wrote: Hello, I am looking for a way to add link rel=canonical href=somewhere/$file / to the headers of the generated html pages. With makeinfo, it doesn't seem possible :-( So I looked at texi2html (with --node-files to get a

Re: [help-texinfo] Consecutive spaces in node titles?

2012-03-07 Thread Patrice Dumas
On Sun, Feb 12, 2012 at 03:50:03PM -0800, Karl Berry wrote: Hi Tim (and Juri), | * Secure? Conform?:: Is Bison POSIX safe? ... | File: bison.info, Node: Secure? Conform?, Next: I can't build Bison, Prev: Multiple start-symbols, Up: FAQ 1) It seems wrong to me

Re: [help-texinfo] Consecutive spaces in node titles?

2012-03-07 Thread Patrice Dumas
On Thu, Mar 08, 2012 at 12:13:40AM +0100, Patrice Dumas wrote: There should be ways to force a double space in node, however that does not work that well. Looking at this in more details, I am not sure anymore what would be correct here. There may be issues regarding the error messages

Re: [help-texinfo] Index entries for @command Co.

2012-03-26 Thread Patrice Dumas
On Mon, Mar 26, 2012 at 03:11:15PM -0700, Karl Berry wrote: There is the issue of leading and preceding spaces for @sortkey{..}. Do we say something explicit on those? We'd want to ignore such spaces, I think. For the space after sortkey that would be easy but to treat space before

Re: [help-texinfo] Index entries for @command Co.

2012-04-03 Thread Patrice Dumas
On Tue, Apr 03, 2012 at 11:30:17AM +, Tim Landscheidt wrote: Another issue just came up on bison-patches: Collapsing: | doc/bison.texinfo:@deffn {Macro} YYERROR; | doc/bison.texinfo:@deffn {Statement} {return YYERROR;} | doc/bison.texinfo:@deffn {Macro} YYERROR to one YYERROR index

Re: [help-texinfo] Changing background color of the 'verbatim' environment

2012-09-12 Thread Patrice Dumas
On Tue, Sep 11, 2012 at 10:31:36PM +, Karl Berry wrote: Sorry, also no support for that. It would be quite difficult to do. A cartouche is currently implemented as a single vbox, so can't be split, and making it breakable would lead into deep waters indeed. Is it difficult, or

Re: [help-texinfo] Changing background color of the 'verbatim' environment

2012-09-12 Thread Patrice Dumas
On Wed, Sep 12, 2012 at 10:01:34PM +, Karl Berry wrote: Hi Patrice, Is it difficult, or infeasible? If it is only difficult, I think that Breaking @cartouche over pages is TeXnically possible. So is supporting background colors for @example / @verbatim. It's just that I

Re: [help-texinfo] Changing background color of the 'verbatim' environment

2012-09-13 Thread Patrice Dumas
On Thu, Sep 13, 2012 at 10:40:31AM +0200, Thien-Thi Nguyen wrote: () k...@freefriends.org (Karl Berry) () Wed, 12 Sep 2012 22:01:34 GMT Another approach is to define a syntax to associate key/value pairs w/ any particular environment. This could map to ‘class’ attributes for HTML output,

Re: [help-texinfo] Changing background color of the 'verbatim' environment

2012-09-13 Thread Patrice Dumas
On Thu, Sep 13, 2012 at 08:07:47PM +0200, Thien-Thi Nguyen wrote: The sooner makeinfo supports uniform pass-through specification, the sooner it can remove itself from the style-wishlist treadmill. Aren't the @inlineraw, and @html... commands enough to pass-through whatever you want? -- Pat

Re: [help-texinfo] Changing background color of the 'verbatim' environment

2012-09-15 Thread Patrice Dumas
On Thu, Sep 13, 2012 at 11:25:09PM +0200, Thien-Thi Nguyen wrote: Exactly; a separate (very simple) parser for reading a plist is needed. Attributes are stuff that makeinfo acknowledges exists, checks for syntax errors, but doesn't otherwise further act upon (except for a few special cases).

Re: [help-texinfo] Changing background color of the 'verbatim' environment

2012-11-29 Thread Patrice Dumas
On Thu, Nov 29, 2012 at 04:17:55AM +0100, Thien-Thi Nguyen wrote: Since this last exchange a couple months ago, i've tried to answer in which format by playing w/ code. (I agree that makeinfo should be hands-off, for the most part, btw.) If you get a chance, please see: I had the opposite

Re: [help-texinfo] Changing background color of the 'verbatim' environment

2012-12-02 Thread Patrice Dumas
On Thu, Nov 29, 2012 at 01:22:52PM +0100, Patrice Dumas wrote: On Thu, Nov 29, 2012 at 04:17:55AM +0100, Thien-Thi Nguyen wrote: Since this last exchange a couple months ago, i've tried to answer in which format by playing w/ code. (I agree that makeinfo should be hands-off

Re: [help-texinfo] Changing background color of the 'verbatim' environment

2012-12-04 Thread Patrice Dumas
On Mon, Dec 03, 2012 at 06:32:42PM +0100, Thien-Thi Nguyen wrote: * sectionning tree. I think that, in addition to the node tree, the sectionning tree (@part, @chapter, @section, @unnumbered...) should be present and index the corresponding nodes too. Is there a strict 1:1

Re: [help-texinfo] IXIN 1.7 available

2013-01-15 Thread Patrice Dumas
On Fri, Jan 11, 2013 at 10:22:25AM +0100, Thien-Thi Nguyen wrote: ‘spec/ixin.texi’ is The IXIN Chronicles, a document that defines the file format and provides related info. There are various output formats, including .info, .pdf and .ixin. Another comment, I think it would be better

Re: [help-texinfo] IXIN 1.7 available

2013-01-15 Thread Patrice Dumas
Hello, I have added a SXML backend based on the XML one. You can test it with texi2any --set SXML=1 myfile.texi There is no header, no comments. How should comments be handled? Entities are output as normal elements, like (textlsquo (@)) There is an extraneous space after string before

Re: [help-texinfo] IXIN 1.7 available

2013-01-15 Thread Patrice Dumas
On Tue, Jan 15, 2013 at 10:18:51PM +, Karl Berry wrote: I have added a SXML backend based on the XML one. texi2any --set SXML=1 myfile.texi 1) maybe the name should be IXIN rather than SXML? I thought SXML is just a generic name for XML written in sexprs. Or am I wrong? You

Re: [help-texinfo] IXIN 1.7 available

2013-01-17 Thread Patrice Dumas
On Fri, Jan 11, 2013 at 10:22:25AM +0100, Thien-Thi Nguyen wrote: ‘spec/ixin.texi’ is The IXIN Chronicles, a document that defines the file format and provides related info. There are various output formats, including .info, .pdf and .ixin. Some more comments on the format. In the

Re: [help-texinfo] IXIN 1.7 available

2013-01-19 Thread Patrice Dumas
On Fri, Jan 18, 2013 at 02:40:42AM +0100, Patrice Dumas wrote: On Fri, Jan 11, 2013 at 10:22:25AM +0100, Thien-Thi Nguyen wrote: Float should also have a number pre-filled. This is currently missing in the XML output. Then to match an index entry in the document to an index entry

Re: [help-texinfo] IXIN 1.7 available

2013-01-19 Thread Patrice Dumas
Other comments * for lang, why not using a string, taking whatever is the default (in general en and not en_US), and instead of a list using like en_US, (or maybe - if there is no language because of an error somewhere, not sure this may happen)? * for title, there are 2 possibilities (in

Re: [help-texinfo] IXIN 1.7 available

2013-01-26 Thread Patrice Dumas
On Fri, Jan 18, 2013 at 02:40:42AM +0100, Patrice Dumas wrote: The node label is missing in the 'node index'. This is, in fact incorrect, I just had misunderstood the labels part. It is nt possible for a node not to have a label. It also do not make much sense to compare the label

Re: [help-texinfo] IXIN 1.7 available

2013-01-27 Thread Patrice Dumas
On Sat, Jan 19, 2013 at 10:20:30PM +0100, Patrice Dumas wrote: I'll now take a stab at a first IXIN output implementation. I'll do it with some abstraction, such that other output format than lisp-like may be output with the same information structure, for instance XML. I have done

Re: [help-texinfo] RTEMS Texi2any Progress

2013-02-21 Thread Patrice Dumas
On Thu, Feb 21, 2013 at 02:39:46PM -0600, Joel Sherrill wrote: Hi I have made some progress. :) There is a customization variable that sets a lot of things to lead to some texi2html style, along --set-customization-variable TEXI2HTML=1 I have attached an init file that should work with

Re: [help-texinfo] RTEMS Texi2any Progress

2013-02-21 Thread Patrice Dumas
With the attachement. -- Pat use strict; use Texinfo::Convert::HTML; my $button_text = 'a href=../index.htmlLibrary/a'; my %defaults = Texinfo::Convert::HTML::converter_defaults({},{}); # or # my %defaults = Texinfo::Convert::HTML::converter_defaults({},{'TEXI2HTML' = 1}); my

Re: [help-texinfo] RTEMS Texi2any Progress

2013-02-22 Thread Patrice Dumas
On Thu, Feb 21, 2013 at 07:19:26PM -0600, Joel Sherrill wrote: First thanks for all the help. I don't know if you recall but it was less than a year ago and we were using texi2www which predates texi2html. We have a come a long way and need to push farther. :) Indeed, I (vaguely) remember.

Re: [help-texinfo] IXIN 1.8 available

2013-02-24 Thread Patrice Dumas
On Sat, Feb 16, 2013 at 04:16:02PM +0100, Thien-Thi Nguyen wrote: - mkixin records blob lengths individually, not cumulatively Before, for two blobs of lengths A and B, BLOBS-INDEX would record lengths A and A+B. Regarding blobs indexing, I think that it would be

Re: [help-texinfo] Odd Title Page in PDF Output

2013-02-25 Thread Patrice Dumas
On Mon, Feb 25, 2013 at 02:04:46PM -0600, Joel Sherrill wrote: Hi This is probably something I don't understand but between our table of contents and table of figures, there is a single page with the name of the document at the top. It is in the dvi, ps, and pdf versions. I don't see

Re: [help-texinfo] Odd Title Page in PDF Output

2013-02-25 Thread Patrice Dumas
On Mon, Feb 25, 2013 at 02:57:57PM -0600, Joel Sherrill wrote: Done! And it worked! Should I also include the @menu... @end menu in this? Not needed. Do people include a top with text in printed formats? Seems strange to me. In general, no, especially if they follow the recommended

Re: [help-texinfo] Specifying Node File Prefix

2013-02-26 Thread Patrice Dumas
On Tue, Feb 26, 2013 at 11:11:01AM -0600, Joel Sherrill wrote: Hi RTEMS folks back again. :( We would like all the files from a single manual to have the same prefix (e.g. UserGuide-XXX). I thought I saw ways to do this in both texi2html and texi2any but so far no luck. + texi2html has

Re: [help-texinfo] Specifying Node File Prefix

2013-02-26 Thread Patrice Dumas
On Tue, Feb 26, 2013 at 01:06:52PM -0600, Joel Sherrill wrote: Thanks! Aside from having something like the old MANUAL_NNN.html form, we were trying to have a nice pattern for a wildcard in make clean which wouldn't clobber any hand-written html files. It seems safer and more standard to

Re: [help-texinfo] texinfo sources now in svn

2013-02-28 Thread Patrice Dumas
On Thu, Feb 28, 2013 at 09:05:36AM +0100, Thien-Thi Nguyen wrote: () Thien-Thi Nguyen t...@gnuvola.org () Fri, 22 Feb 2013 08:58:26 +0100 I had delayed looking at the new generated-by-Perl IXIN stuff because of CVS antipathy. Now theres no more excuse. :-D It seems i spoke too

Re: [help-texinfo] init-file and HTML customization variables

2013-03-10 Thread Patrice Dumas
On Sat, Mar 09, 2013 at 02:54:52PM -0500, Jason Massey wrote: Is it possible to use the --init-file=file command-line option to point to a script which changes HTML Customization Variables ( http://www.gnu.org/software/texinfo/manual/texinfo/html_node/HTML-Customization-Variables.html )?

Re: [help-texinfo] index.html differences in texi2any/texi2html

2013-03-11 Thread Patrice Dumas
On Mon, Mar 11, 2013 at 04:43:55PM -0500, Joel Sherrill wrote: Hi I am just trying to get them reasonably close. I don't care about dead on matching - just no stupid duplication or too many hacks. I am happy learning to live with slightly different and more standard output. :) I don't know

Re: [help-texinfo] HTML Span

2013-04-11 Thread Patrice Dumas
On Wed, Apr 10, 2013 at 11:35:21AM -0700, Mike Gran wrote: Hi- I've been working with 5.1, and it works great for me. It fixes an old problem about images embedded inline with in HTML output. Here's a crazy feature request...  A new command @span. @span{classname, text} For HTML

Re: [help-texinfo] centering floats?

2013-04-11 Thread Patrice Dumas
On Wed, Apr 10, 2013 at 11:23:15PM +0300, Aharon Robbins wrote: Hi. Is there a general, easy way, to center floats, including their captions? Mainly for TeX, where the floats are mainly @mulitable As far as I can tell, there is only a line command to center in Texinfo (@center). I agree

Re: [help-texinfo] using pod2texi and pod2man on the same file

2013-04-17 Thread Patrice Dumas
On Tue, Apr 16, 2013 at 10:39:17PM -0300, David Bremner wrote: I'm curious about using pod2texi in order to make some existing man pages more comfortably accessible to emacs users, in particular proviate links from the info manual to various man page. Unfortunately it seems like pod2man and

Re: [help-texinfo] pod2texi and '=for texinfo

2013-04-24 Thread Patrice Dumas
On Wed, Apr 24, 2013 at 07:59:32AM -0300, David Bremner wrote: Again, I'm not sure if this is a bug, or a documentation/understanding issue. It seems like pod2texi almost supports =for texinfo raw text passthrough, but not quite. Consider processing the following trivial pod file.

Re: [help-texinfo] pod2texi and --preamble

2013-04-24 Thread Patrice Dumas
On Sun, Apr 21, 2013 at 10:46:45AM -0300, David Bremner wrote: Hi, me again; Is it intended behaviour that --preamble is (silently) ignored by pod2texi if $base_level==0? At least my reading of the documentation suggests --preamble should work in that case as well. It is intended, as the

Re: [help-texinfo] preferred way to change output for a macro

2013-04-29 Thread Patrice Dumas
On Sun, Apr 28, 2013 at 09:48:43PM +, Karl Berry wrote: for changing the indicating commands formatting there is @definfoenclose @definfoenclose is about defining new commands, not changing existing ones. Right? In my opinion, it is also for changing existing commands. There is

Re: [help-texinfo] texi2any --html 5.1 Questionable Header Link

2013-10-01 Thread Patrice Dumas
On Fri, Sep 27, 2013 at 01:42:06PM -0700, Anthony G. Bradford wrote: Hi! I have placed texinfo HTML output in the root of a public_html webserver directory makeinfo --html 4.13 produced HTML header output of the following: Next: Chapter1, Up: (dir) selecting (dir) makes the browser

Re: [help-texinfo] NODE_NAME_IN_MENU: am I understanding this variable properly?

2014-01-07 Thread Patrice Dumas
On Tue, Jan 07, 2014 at 10:09:34AM -0500, Jason Massey wrote: Greetings, My ultimate goal is for Texinfo split-HTML output to emit section names within menus rather than node names (and menu descriptions). I have attempted this by setting the NODE_NAME_IN_MENU variable to zero ('0'). My

Re: [help-texinfo] Porting macro-heavy makeinfo 4 to makeinfo 5

2014-04-22 Thread Patrice Dumas
On Fri, Apr 11, 2014 at 10:28:51AM -0600, Scott Pakin wrote: I'm trying to rebuild a large, complex, Texinfo file I wrote back in the Texinfo 4 days, and I'm getting zillions of error messages from Texinfo 5's makeinfo. I can use some help updating my document to work with the latest

Re: [help-texinfo] How to replace nodes with section titles?

2014-10-25 Thread Patrice Dumas
On Sat, Oct 25, 2014 at 02:51:14PM -0400, Jason Massey wrote: Greetings, and thank you for any attention given to this question. Would someone please tell me exactly which customization variables need to modified (via `--set-customization-variable'), and set to what exact values, in order to

Re: [help-texinfo] How to replace nodes with section titles?

2014-10-25 Thread Patrice Dumas
On Sat, Oct 25, 2014 at 04:50:07PM -0400, Jason Massey wrote: This definitely has me headed in the right direction! Can you point me to documentation about how ``init files'' work, and how to go about the process of customizing things? (I'm familiar with texi2any chapter in the Texinfo

Re: [help-texinfo] texinfo sources now in svn

2015-02-27 Thread Patrice Dumas
On Fri, Feb 27, 2015 at 10:44:28AM +0100, Thien-Thi Nguyen wrote: () Patrice Dumas pertu...@free.fr () Thu, 28 Feb 2013 19:00:02 +0100 I'll look into playing w/ IXIN support in Texinfo now. Any tips on where to start? There is a backend that does IXIN SXML, or at least the variations I

Re: [help-texinfo] attribute ‘number’

2015-03-01 Thread Patrice Dumas
On Sun, Mar 01, 2015 at 04:36:34PM +, Gavin Smith wrote: On 1 March 2015 at 11:42, Thien-Thi Nguyen t...@gnuvola.org wrote: I see the source (also in Parser.pm) of that subroutine is: # return true if effect of global commands should be ignored. sub _ignore_global_commands($) {

Re: [help-texinfo] how does one encode a middle dot? and other questions

2015-04-05 Thread Patrice Dumas
On Sun, Apr 05, 2015 at 11:18:34AM +0200, Benno Schulenberg wrote: Hi, Several things. First, is there a way to encode U+00B7 (middle dot) in a texi file, in a way similar to @guillemetright{} and @bullet{}? Not that I know of, but at some point, it is envisonned to have a command like

Re: [help-texinfo] LilyPond - lowercase filenames (html)

2015-07-31 Thread Patrice Dumas
On Fri, Jul 31, 2015 at 11:32:26AM +0100, Gavin Smith wrote: There is probably something you can do with an init file, maybe by replacing/wrapping _convert_heading_command as the handler for @node. From looking at HTML.pm I didn't see any way to customize the filenames when the output was

Re: [help-texinfo] Local table of contents within a node

2016-01-10 Thread Patrice Dumas
On Sat, Jan 09, 2016 at 04:06:36PM +, Gavin Smith wrote: > On 9 January 2016 at 12:39, Sebastian Wiesner wrote: > > Hello, > > > > I would like to generate a "local" table of contents inside a node. > > This table of contents should sit at the beginning of the node and

Re: [help-texinfo] 'makeinfo --html --split=chapter' splits at Texinfo node boundaries, not chapters

2016-07-26 Thread Patrice Dumas
On Sat, Jul 23, 2016 at 06:02:25PM +0100, Gavin Smith wrote: > On 22 July 2016 at 17:15, Robert Weiner wrote: > > Is the chapter splitting feature supposed to work? I am using 6.1dev for > > the makeinfo version; the problem has been there since at least 6.0. > > > > I only see a

Re: [help-texinfo] 'makeinfo --html --split=chapter' splits at Texinfo node boundaries, not chapters

2016-07-26 Thread Patrice Dumas
On Tue, Jul 26, 2016 at 12:40:38PM -0400, Robert Weiner wrote: > > On Jul 26, 2016, at 11:01 AM, Eli Zaretskii wrote: > > > > So that links to sections don't change when the manual is split in a > > different way. Otherwise, splitting the manual in a different way > > would

Re: [help-texinfo] underlining a word?

2016-11-28 Thread Patrice Dumas
On Mon, Nov 28, 2016 at 04:21:27PM +, Gavin Smith wrote: > On 27 November 2016 at 20:27, Gavin Smith wrote: > > On second thoughts, this is already possible. The best way at the > > moment, I think, to underline text would be to output strings in the > > output like

Re: [help-texinfo] Texinfo <-> roff?

2016-12-04 Thread Patrice Dumas
tml init file. -- Pat # -*-perl-*- #+## # # roff.init: convert to roff # # So much out of date that it may be considered unuseful. # # Copyright (C) 2003-2008 Patrice Dumas <pertu...@free.fr> # #This program is free software; you can redi

Re: [help-texinfo] Texinfo <-> roff?

2016-12-04 Thread Patrice Dumas
On Sat, Dec 03, 2016 at 11:25:56PM +, James Youngman wrote: > > An obvious solution to this is to keep the overall structure of the two > documents as-is, but to document the command-line options in just one > place, and perform some kind of conversion. For example I could cope with >

Re: [help-texinfo] @insertcopying in html

2019-02-27 Thread Patrice Dumas
On Sun, Feb 24, 2019 at 09:10:24PM +0100, Hilaire Fernandes wrote: > Ah, not this @insertcopying after the comment, but the one just a few > lines bellow the @titlepage. > > Or is @titlepage not suited for html output? I did not read such > limitation however. If you want the @titlepage to be

Re: [help-texinfo] html output (footnotes)

2019-03-04 Thread Patrice Dumas
On Sat, Mar 02, 2019 at 08:46:01PM +, Gavin Smith wrote: > > I agree that the second would make more sense. > > Does anybody know or want to check if there was any reason for this? I did the code, but I do not think I did the choice of headers like that on purpose. A possibility, but I

Re: [help-texinfo] HTML output: license notices

2019-01-25 Thread Patrice Dumas
On Fri, Jan 25, 2019 at 01:38:33AM -0500, Ineiev wrote: > On Thu, Jan 24, 2019 at 06:59:34PM +, Gavin Smith wrote: > > > > > > Currently, Texinfo outputs copyright and license notices in HTML > > > comments, like in [0]; is there an option to put it in a footer > > > of the page visible for

Re: [help-texinfo] @group => ...?

2019-04-29 Thread Patrice Dumas
On Sun, Apr 28, 2019 at 06:29:07PM +0200, Akim Demaille wrote: > > https://www.gnu.org/software/bison/manual/html_node/Prologue-Alternatives.html > > does not show the comment /* tree is defined in ptypes.h. */ in roman, > also the source is: > > @group > %union @{ > long n; > tree t; /*

Re: [help-texinfo] html: playing with the style

2019-04-26 Thread Patrice Dumas
On Fri, Apr 26, 2019 at 05:54:34PM +0200, Akim Demaille wrote: > Hi all, > > Bison has recently gained colored diagnostics, like GCC does. I would like > to document that and show examples of this. I would like to do that in PDF, > but I don't think it is possible, and probably not desirable.

Re: [help-texinfo] Using @ref with two arguments

2019-07-23 Thread Patrice Dumas
On Mon, Jul 22, 2019 at 08:25:09PM +0300, Eli Zaretskii wrote: > > Date: Mon, 22 Jul 2019 16:49:50 +0200 > > From: Patrice Dumas > > Cc: help-texinfo gnu > > > > in general I would suggest not using an @*ref command with a non > > empty second argument. >

Re: [help-texinfo] Using @ref with two arguments

2019-07-22 Thread Patrice Dumas
On Sat, Jul 20, 2019 at 05:06:26AM +0200, Christopher Dimech wrote: > > > I am getting quite confused on why would need @ref with two arguments. > > Could not find an example when using two arguments is useful when using > texi2pdf. It is not surprising, the second argument is only used in

Re: html manual +css

2020-01-15 Thread Patrice Dumas
On Wed, Jan 15, 2020 at 10:52:06PM +0900, Jean-Christophe Helary wrote: > > > > On Jan 15, 2020, at 22:43, Patrice Dumas wrote: > > > > On Wed, Jan 15, 2020 at 09:12:15PM +0900, Jean-Christophe Helary wrote: > >>> > >>> The Guix dev

Re: html manual +css

2020-01-15 Thread Patrice Dumas
On Wed, Jan 15, 2020 at 09:12:15PM +0900, Jean-Christophe Helary wrote: > > > > The Guix developers managed to implement syntax highlighting by > > post-processing the HTML. > > (https://lists.gnu.org/archive/html/bug-texinfo/2019-11/msg4.html) > > Wow, I just checked this page: >

Re: No table of contents in split HTML output

2019-12-27 Thread Patrice Dumas
On Fri, Dec 27, 2019 at 09:49:41AM +0900, Jean-Christophe Helary wrote: > Apologies. > > The behavior is only seen in the Elisp Reference. > > The split Emacs Manual has Contents that points at > emacs.html/index.html#SEC_Contents > > and Index that points at >

Re: Macro introduces \par in Table of Contents

2020-10-04 Thread Patrice Dumas
On Sun, Oct 04, 2020 at 01:47:54PM +0100, Gavin Smith wrote: > @chapter Amplitude Asymmetry in the Empirical Green Function Amplitude@ > Asymmetry > > However, the line continuation with the @NL command doesn't work with > texi2any, producing output like: > > --- > 1 Amplitude Asymmetry in the

Re: @menu puts too many restrictions to produce the .info file

2020-10-20 Thread Patrice Dumas
On Tue, Oct 20, 2020 at 03:31:10PM +0200, Christopher Dimech wrote: > It should not be assumed that the author made mistakes. At least > not problems with how one structures the document. Because when > using texi2pdf all of that is acceptable. On the one hand I agree that it may be annoying for

Re: @menu puts too many restrictions to produce the .info file

2020-10-20 Thread Patrice Dumas
On Tue, Oct 20, 2020 at 04:10:41PM +0200, Christopher Dimech wrote: > Where are the customization variables documented? In the node 'Customization Variables' of the texinfo manual https://www.gnu.org/software/texinfo/manual/texinfo/html_node/Customization-Variables.html -- Pat

Re: Anchors do not work with makeinfo

2020-10-20 Thread Patrice Dumas
On Tue, Oct 20, 2020 at 02:35:25PM +0200, Christopher Dimech wrote: > When I use an anchor, the link does not work when I use @ref > when I run makeinfo You'll need to be much more specific. Which format? What does not work? makeinfo by itself setup links but does not use them. Also probably

Re: @menu puts too many restrictions to produce the .info file

2020-10-20 Thread Patrice Dumas
ook at the proposal before implmenting that (and not before the week end if I do it). > > > > > Sent: Tuesday, October 20, 2020 at 4:15 PM > > From: "Patrice Dumas" > > To: "Christopher Dimech" > > Cc: "help-texinfo gnu" > > Subject: Re: @

Re: @ref without page numbers

2020-10-23 Thread Patrice Dumas
On Fri, Oct 23, 2020 at 04:41:30PM -0600, Karl Berry wrote: > Christopher, if you want to write full technical documents with lots of > references, math, etc., why don't you just use LaTeX? Texinfo is not > designed for this. Trying to shoehorn it to fit seems fraught with problems. LaTeX is not

Re: Roman Numerals (i, ii, iii, iv) for @enumerate

2021-01-07 Thread Patrice Dumas
On Thu, Jan 07, 2021 at 01:44:44PM +0100, michael-franz...@gmx.com wrote: > Could be > > @enumerate @roman ii It looks different from usual Texinfo syntax. Maybe @enumerate ii, roman In HTML it would be relatively easy to implement, if instead of @enumerate ii, roman it was @enumerate

Re: Comment lines inside a @macro

2021-01-07 Thread Patrice Dumas
On Thu, Jan 07, 2021 at 11:38:28PM +0100, Christopher Dimech wrote: > Is it problematic including comment lines inside a macro? Normally not. > > @macro showAllChmedIgm > > @c Station Locations (Sicily and Circum-Ambient Region) > @c Label: igc03-sicl-circumambrg [1] >

Re: float identifier has been already used

2021-01-07 Thread Patrice Dumas
On Thu, Jan 07, 2021 at 11:45:49PM +0100, Christopher Dimech wrote: > I made the following macro to display an image. I am encountering a problem > because when I want to display the image image a second time, the same float > identifier (name{igc03-sicl-circumambrg}) has been already used.

Re: Displaying images for html output

2020-11-29 Thread Patrice Dumas
On Sun, Nov 22, 2020 at 05:30:49PM +, Gavin Smith wrote: > On Sun, Nov 22, 2020 at 06:14:33PM +0100, Patrice Dumas wrote: > > > Also, what if the image files are out-of-date? > > > > I think that we should not care about that case. As long as the file > >

Re: Displaying images for html output

2020-11-21 Thread Patrice Dumas
On Sat, Nov 21, 2020 at 05:20:00PM +, Gavin Smith wrote: > On Thu, Nov 19, 2020 at 10:11 PM Patrice Dumas wrote: > > I think that if the path does not starts with . or .. or is an absolute > > path, it would make sense > > 1) to search in include directories (I t

Re: Latest Development Version - @image with @value

2020-12-04 Thread Patrice Dumas
On Fri, Dec 04, 2020 at 07:14:42PM +0100, Christopher Dimech wrote: > I done the whole thing again, however the version is still showing > > Loading texinfo [version 2020-10-24.12] > > hagbard@fuckup: > + ~/01cuneus/tdr/03ch > ls -lrt /usr/local/bin/texi2pdf > -rwxr-xr-x 1 root root 1246 Dec 4

Re: Latest Development Version - @image with @value

2020-12-04 Thread Patrice Dumas
On Fri, Dec 04, 2020 at 10:46:44PM +0100, Christopher Dimech wrote: > > Sent: Friday, December 04, 2020 at 10:30 PM > > From: "Patrice Dumas" > > To: "Christopher Dimech" > > Cc: "Gavin Smith" , "help-texinfo gnu" >

Re: Latest Development Version - @image with @value

2020-12-04 Thread Patrice Dumas
On Fri, Dec 04, 2020 at 10:37:56PM +0100, Christopher Dimech wrote: > > That could be it. I got that from the website where it says > "latest texinfo.tex macro file" This location is indeed used to do releases of texinfo.tex before the whole texinfo package release, but it is still in general

Re: Latest Development Version - @image with @value

2020-12-04 Thread Patrice Dumas
build > % srcdir/configure [options] [target] > % make > % make install > % cp srcdir/doc/texinfo.tex workdir > > Where workdir is the directory of your main Texinfo input file. > > ---- > > > > Sent: Friday, December 04, 2020 at 10:53 PM > &g

Re: Latest Development Version - @image with @value

2020-12-04 Thread Patrice Dumas
On Fri, Dec 04, 2020 at 10:22:34PM +0100, Christopher Dimech wrote: > > > Sent: Friday, December 04, 2020 at 10:17 PM > > From: "Patrice Dumas" > > To: "Christopher Dimech" > > Cc: "Gavin Smith" , "help-texinfo gnu" &g

Re: @macro to accept hyphen

2020-11-09 Thread Patrice Dumas
On Mon, Nov 09, 2020 at 08:07:02PM +, Gavin Smith wrote: > On Sun, Nov 08, 2020 at 10:56:46AM +0100, Christopher Dimech wrote: > > Have not seen a mathematical expression in the manual. Thusly I have > > provided > > you with one. Works perfectly, no problem with it. > > > > You have this

Re: @displaymath \leqalignno problem for pdf output

2020-11-12 Thread Patrice Dumas
On Thu, Nov 12, 2020 at 08:15:59PM +0100, Christopher Dimech wrote: > > I have been testing some more and we are getting some serious problems. > Have tried the following two constructs I tested with tex4ht and latex2html, and both constructs are better rendered by tex4ht, as latex2html does not

Re: Using Macros

2020-11-13 Thread Patrice Dumas
On Fri, Nov 13, 2020 at 08:05:46PM +0100, Christopher Dimech wrote: > Anybody understands what's wrong with the following code. > > @macro Startof{entity, label, title} > > @ifclear NoLabel >@* @noindent @strong{\entity\ \label\.} @ \title\ > @end ifclear > > @ifset NoLabel >@*

Re: \blacksquare and \square do not work in texi2pdf

2020-11-14 Thread Patrice Dumas
On Sat, Nov 14, 2020 at 12:55:10PM +0100, Christopher Dimech wrote: > Some have been saying that one can use some latex commands. > What's the story? The situations in which LaTeX commands will work are the following: * expanding to html, maybe using --iftex and using latex2html to expand

Re: Failure in html output - Reference to nonexistent nodes

2020-11-14 Thread Patrice Dumas
On Sat, Nov 14, 2020 at 03:13:27PM +0100, Christopher Dimech wrote: > Some time ago I discussed the problem that calling a reference > to a nonexistent node when generating .info files. > > When outputting html, reference to nonexistent node also gives a > problem. > > @ref reference to

Re: @vskip does not work in html output

2020-11-14 Thread Patrice Dumas
On Sat, Nov 14, 2020 at 02:33:17PM +0100, Christopher Dimech wrote: > The following does not work for html output. It works with texi2pdf. It works as intended, the @-command is ignored. It seems to be quite sensible to ignore this @-command in every output format but pdf through TeX (if

Re: Macros inside @displaymath

2020-11-14 Thread Patrice Dumas
On Sat, Nov 14, 2020 at 08:49:05AM +, Gavin Smith wrote: > > This works perfectly with TeX as far as I can see, but unfortunately > not with texi2any at present. This could be changed to make > @displaymath more like @example, where Texinfo commands are interpreted, > and less like @verbatim

Re: Macros inside @displaymath

2020-11-16 Thread Patrice Dumas
On Mon, Nov 16, 2020 at 07:09:57AM +, Gavin Smith wrote: > On Mon, Nov 16, 2020 at 12:43:33AM +0100, Patrice Dumas wrote: > > > > It is done. The test results are not synced anymore (in particular because > > the @end displaymath disappeared in texis results), but

Re: Macros inside @displaymath

2020-11-15 Thread Patrice Dumas
On Sat, Nov 14, 2020 at 05:25:56PM +, Gavin Smith wrote: > On Sat, Nov 14, 2020 at 05:17:16PM +0100, Patrice Dumas wrote: > > On Sat, Nov 14, 2020 at 08:49:05AM +, Gavin Smith wrote: > > > > > > This works perfectly with TeX as far as I can see, but unfortunat

Re: Width and Height in @image for Html Output fail

2020-11-16 Thread Patrice Dumas
On Mon, Nov 16, 2020 at 09:32:08PM +0100, Christopher Dimech wrote: > Have noticed that when using @image for html output, setting > the width and height fails. Not sure what you mean about that, but it is documented that The optional WIDTH and HEIGHT arguments to the '@image' command (see the

  1   2   3   >