Re: [O] setting local variables

2017-09-22 Thread Rasmus
Nicolas Goaziou writes: > Hello, > > Carsten Dominik writes: > >> yes, I am aware that LaTeX does use unnumbered for this, but this is >> backend specific implementation, and not an argument about the logic of >> this approach. > > Fair enough. I reverted

Re: [O] setting local variables

2017-09-22 Thread Carsten Dominik
Hi Nicolas, thanks! Carsten On Thu, Sep 21, 2017 at 9:21 PM, Nicolas Goaziou wrote: > Hello, > > Carsten Dominik writes: > > > yes, I am aware that LaTeX does use unnumbered for this, but this is > > backend specific implementation, and not an argument

Re: [O] setting local variables

2017-09-21 Thread Kaushal Modi
On Thu, Sep 21, 2017 at 3:23 PM Nicolas Goaziou wrote: > Fair enough. I reverted the commit. > Thanks! > I think a :NOTOC: property to ignore headlines from TOC is an acceptable > solution, even though it add yet another property. > +1 for :NOTOC: With that it will be

Re: [O] setting local variables

2017-09-21 Thread Nicolas Goaziou
Hello, Carsten Dominik writes: > yes, I am aware that LaTeX does use unnumbered for this, but this is > backend specific implementation, and not an argument about the logic of > this approach. Fair enough. I reverted the commit. I think a :NOTOC: property to ignore headlines

Re: [O] setting local variables

2017-09-21 Thread Scott Randby
On 09/20/2017 07:16 PM, Kaushal Modi wrote: > I have to agree with Carsten. I use unnumbered table of contents all the >> time in web pages. Almost all of my Org files that generate web pages have >> the following: >> >> #+options: num:nil toc:t >> > > @Scott Please see that other thread[1]. I

Re: [O] setting local variables

2017-09-21 Thread Carsten Dominik
On Thu, Sep 21, 2017 at 11:39 AM, Rasmus wrote: > Carsten Dominik writes: > > >> I believe this change was made to fix the case of mixed numbered and > >> unnumbered headings in the TOC. > >> > >> Please see the other thread[1] where I suggest supporting the "case

Re: [O] setting local variables

2017-09-21 Thread Rasmus
Carsten Dominik writes: >> I believe this change was made to fix the case of mixed numbered and >> unnumbered headings in the TOC. >> >> Please see the other thread[1] where I suggest supporting the "case 3" >> where we want TOC where all headings are numbered i.e. the case of

Re: [O] setting local variables

2017-09-21 Thread Carsten Dominik
Hi everyone, On Thu, Sep 21, 2017 at 1:16 AM, Kaushal Modi wrote: > On Wed, Sep 20, 2017, 2:43 PM Scott Randby wrote: > >> >> >> On 09/20/2017 12:17 PM, Carsten Dominik wrote: >> > On Thu, Sep 7, 2017 at 5:01 PM, Eric Abrahamsen < >>

Re: [O] setting local variables

2017-09-21 Thread Eric S Fraga
On Wednesday, 20 Sep 2017 at 14:42, Scott Randby wrote: [...] > I have to agree with Carsten. I use unnumbered table of contents all > the time in web pages. Almost all of my Org files that generate web > pages have the following: > > #+options: num:nil toc:t Ditto. I find a short TOC for web

Re: [O] setting local variables

2017-09-20 Thread Kaushal Modi
On Wed, Sep 20, 2017, 2:43 PM Scott Randby wrote: > > > On 09/20/2017 12:17 PM, Carsten Dominik wrote: > > On Thu, Sep 7, 2017 at 5:01 PM, Eric Abrahamsen > > > wrote: > > I do object to removing unnumbered headers from the toc. I believe this

Re: [O] setting local variables

2017-09-20 Thread Scott Randby
On 09/20/2017 12:17 PM, Carsten Dominik wrote: > On Thu, Sep 7, 2017 at 5:01 PM, Eric Abrahamsen > wrote: > >> Nicolas Goaziou writes: >> >> >> [...] >> >>> So, any objection to have all major back-ends ignoring unnumbered trees >>> from TOC,

Re: [O] setting local variables

2017-09-20 Thread Carsten Dominik
On Thu, Sep 7, 2017 at 5:01 PM, Eric Abrahamsen wrote: > Nicolas Goaziou writes: > > > [...] > > > So, any objection to have all major back-ends ignoring unnumbered trees > > from TOC, and make that an Org specificity? > Hi Nicolas, OK, now I

Re: [O] setting local variables

2017-09-10 Thread Nicolas Goaziou
Hello, Eric Abrahamsen writes: > Nicolas Goaziou writes: > >> So, any objection to have all major back-ends ignoring unnumbered trees >> from TOC, and make that an Org specificity? > > Sounds good! Done in master. Thank you for the feedback.

Re: [O] setting local variables

2017-09-07 Thread Eric Abrahamsen
Nicolas Goaziou writes: [...] > So, any objection to have all major back-ends ignoring unnumbered trees > from TOC, and make that an Org specificity? Sounds good!

Re: [O] setting local variables

2017-09-07 Thread Nicolas Goaziou
Hello, Rasmus writes: > Speaking of LaTeX: not-in-toc and unnumbered is easy enough in LaTeX > as it’s just section*. Great. > ox-odt, ox-html and ox-ascii all seem to add unnumbered headings to the > toc. These are trivial to handle, since they use

Re: [O] setting local variables

2017-09-07 Thread Rasmus
Nicolas Goaziou writes: > Maybe UNNUMBERED property could imply a "not in TOC" clause in every > back-end (I assume this is difficult to implement for LaTeX, though). In > that case, UNNUMBERED would be a generic answer the problem. Speaking of LaTeX: not-in-toc and

Re: [O] setting local variables

2017-09-06 Thread Eric Abrahamsen
Nicolas Goaziou writes: > Eric Abrahamsen writes: > >> I think I ran into trouble just doing a simple `org-store-link' from an >> Info file, then `org-insert-link' in the Org mode manual. >> >> That produced: >> >>

Re: [O] setting local variables

2017-09-06 Thread Nicolas Goaziou
Eric Abrahamsen writes: > I think I ran into trouble just doing a simple `org-store-link' from an > Info file, then `org-insert-link' in the Org mode manual. > > That produced: > > [[info:org#Installation][info:org#Installation]] --> >

Re: [O] setting local variables

2017-09-06 Thread Eric Abrahamsen
Nicolas Goaziou writes: > Rasmus writes: > >> I could not get it to work. I tried stuff like "[[(org) Tables]]", >> "[[*(org) Tables]]" and , [[texinfo:(org) tables]]. > > You are talking about a special case for cross-referencing (which could > include

Re: [O] setting local variables

2017-09-06 Thread Nicolas Goaziou
Rasmus writes: > I could not get it to work. I tried stuff like "[[(org) Tables]]", > "[[*(org) Tables]]" and , [[texinfo:(org) tables]]. You are talking about a special case for cross-referencing (which could include internal reference, URL referencess). This is the job of

Re: [O] setting local variables

2017-09-06 Thread Rasmus
Hi, Nicolas Goaziou writes: > Rasmus writes: > >> Eric Abrahamsen writes: >> >>> The only real problem I encountered was that links to external Info >>> manuals did not export correctly, and couldn't be followed. I gave up on >>>

Re: [O] setting local variables

2017-09-06 Thread Nicolas Goaziou
Hello, Rasmus writes: > Eric Abrahamsen writes: > >> The only real problem I encountered was that links to external Info >> manuals did not export correctly, and couldn't be followed. I gave up on >> learning the exact syntax of texinfo's @[px]ref

Re: [O] setting local variables

2017-09-06 Thread Rasmus
Eric Abrahamsen writes: > The only real problem I encountered was that links to external Info > manuals did not export correctly, and couldn't be followed. I gave up on > learning the exact syntax of texinfo's @[px]ref commands because it was > dinnertime, but I can

Re: [O] setting local variables

2017-09-05 Thread Eric Abrahamsen
Rasmus writes: > Hi, > > (Sorry for replying to this old thread which I am only reading now) > > Eric Abrahamsen writes: > I'm writing an Emacs manual in Org, using https://github.com/tarsius/ox-texinfo-plus to make things a bit easier. >>>

Re: [O] setting local variables

2017-09-05 Thread Rasmus
Hi, (Sorry for replying to this old thread which I am only reading now) Eric Abrahamsen writes: >>> I'm writing an Emacs manual in Org, using >>> https://github.com/tarsius/ox-texinfo-plus to make things a bit >>> easier. >> >> I don't know that library, but as a

Re: [O] setting local variables

2017-08-05 Thread Eric Abrahamsen
Nicolas Goaziou writes: > Hello, > > Eric Abrahamsen writes: > >> For example, the below looks like something you'd find in an Emacs >> manual. >> >> #+BEGIN_SRC texinfo >> @table @kbd >> @item C-x C-f >> @kindex C-x C-f >> @findex

Re: [O] setting local variables

2017-08-05 Thread Nicolas Goaziou
Hello, Eric Abrahamsen writes: > For example, the below looks like something you'd find in an Emacs > manual. > > #+BEGIN_SRC texinfo > @table @kbd > @item C-x C-f > @kindex C-x C-f > @findex find-file > Visit a file (@code{find-file}). > @item C-x C-r >

Re: [O] setting local variables

2017-08-04 Thread Eric Abrahamsen
Nicolas Goaziou writes: > Hello, > > Eric Abrahamsen writes: > >> And regarding the lists of commands and keys, what would be the >> recommended way of making a list of @deffns and corresponding index >> entries? > > I don't know what is a list

Re: [O] setting local variables

2017-08-04 Thread Nicolas Goaziou
Hello, Eric Abrahamsen writes: > And regarding the lists of commands and keys, what would be the > recommended way of making a list of @deffns and corresponding index > entries? I don't know what is a list of @deffns. In any case, you can something like this:

Re: [O] setting local variables

2017-08-03 Thread Eric Abrahamsen
Eric Abrahamsen writes: > Nicolas Goaziou writes: > >> Eric Abrahamsen writes: >> >>> Oh I don't think it's about shortcomings, just about having a version >>> that's tweaked specifically for writing Emacs manuals. I

Re: [O] setting local variables

2017-08-03 Thread Eric Abrahamsen
Nicolas Goaziou writes: > Eric Abrahamsen writes: > >> Oh I don't think it's about shortcomings, just about having a version >> that's tweaked specifically for writing Emacs manuals. I _really_ want >> my packages to have info manuals, and I

Re: [O] setting local variables

2017-08-03 Thread Nicolas Goaziou
Eric Abrahamsen writes: > Oh I don't think it's about shortcomings, just about having a version > that's tweaked specifically for writing Emacs manuals. I _really_ want > my packages to have info manuals, and I _really_ don't want to learn how > to write texinfo. I saw

Re: [O] setting local variables

2017-08-03 Thread Eric Abrahamsen
Nicolas Goaziou writes: > Hello, > > Eric Abrahamsen writes: > >> I'm writing an Emacs manual in Org, using >> https://github.com/tarsius/ox-texinfo-plus to make things a bit >> easier. > > I don't know that library, but as a biased POV, it would

Re: [O] setting local variables

2017-08-03 Thread Nicolas Goaziou
Hello, Eric Abrahamsen writes: > I'm writing an Emacs manual in Org, using > https://github.com/tarsius/ox-texinfo-plus to make things a bit > easier. I don't know that library, but as a biased POV, it would be nice to use "ox-texinfo" and let us know about its

Re: [O] setting local variables

2017-08-02 Thread Eric Abrahamsen
Kaushal Modi writes: > On Wed, Aug 2, 2017, 5:54 PM Eric Abrahamsen wrote: > > I'm trying to locally set `sentence-end-double-space' to t, to conform > to the Emacs manual style. If I set it at the top of the file with: > > -*-

Re: [O] setting local variables

2017-08-02 Thread Kaushal Modi
On Wed, Aug 2, 2017, 5:54 PM Eric Abrahamsen wrote: > > I'm trying to locally set `sentence-end-double-space' to t, to conform > to the Emacs manual style. If I set it at the top of the file with: > > -*- sentence-end-double-space: t -*- > It should be the very first

[O] setting local variables

2017-08-02 Thread Eric Abrahamsen
Hi there, I'm writing an Emacs manual in Org, using https://github.com/tarsius/ox-texinfo-plus to make things a bit easier. I'm trying to locally set `sentence-end-double-space' to t, to conform to the Emacs manual style. If I set it at the top of the file with: -*- sentence-end-double-space: t