[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] PATCH: ox: Starting source code export at non-zero (-n value)
From: |
Nicolas Goaziou |
Subject: |
Re: [O] PATCH: ox: Starting source code export at non-zero (-n value) |
Date: |
Thu, 26 May 2016 08:52:25 +0200 |
Hello,
Brian Carlson <address@hidden> writes:
> I put the signed paperwork into the mail this evening.
Great.
> Sure. I'll use previous entries as a starting point.
> I was thinking that the entry should go under: Version 9.0/New
> Features/Export/
> unless there's a more appropriate place in the Document.
I also think this is the correct location.
> Here's what I thought about putting. I can make a patch if that is preferred
> means of submission. If what I've written doesn't make sense let me know.
>
> **** Line Numbering in SRC/EXAMPLE blocks support arbitrary start number
> The -n option to SRC and EXAMPLE blocks can now take an numeric argument to
> specify
"a numeric argument"
> the staring line number for the source or example block. The +n option can now
> take a numeric argument that will be added to the last line number from the
> previous block as the starting point for the SRC/EXAMPLE block.
> #+BEGIN_SRC emacs-lisp -n 20
> ;; this will export with line number 20
> (message "This is line 21")
> #+END_SRC
>
> #+BEGIN_SRC emacs-lisp +n 10
> ;; This will be listed as line 31
> (message "This is line 32")
> #+END_SRC
>
> I realize that the org texinfo manual probably needs to be updated, as well.
> I'll take a stab at updating that unless
> someone else wants to take that on.
You're right. You can merge ORG-NEWS modifications into the
documentation patch.
Thank you !
Regards,
--
Nicolas Goaziou
- [O] Starting source code export at non-zero (-n value), Brian Carlson, 2016/05/16
- Re: [O] Starting source code export at non-zero (-n value), Nicolas Goaziou, 2016/05/20
- Re: [O] Starting source code export at non-zero (-n value), Brian Carlson, 2016/05/22
- [O] PATCH: ox: Starting source code export at non-zero (-n value), Brian Carlson, 2016/05/23
- Re: [O] PATCH: ox: Starting source code export at non-zero (-n value), Nicolas Goaziou, 2016/05/24
- Re: [O] PATCH: ox: Starting source code export at non-zero (-n value), Nicolas Goaziou, 2016/05/24
- Re: [O] PATCH: ox: Starting source code export at non-zero (-n value), Brian Carlson, 2016/05/25
- Re: [O] PATCH: ox: Starting source code export at non-zero (-n value),
Nicolas Goaziou <=
- Re: [O] PATCH: ox: Starting source code export at non-zero (-n value), Brian Carlson, 2016/05/29
- Re: [O] PATCH: ox: Starting source code export at non-zero (-n value), Brian Carlson, 2016/05/29
- Re: [O] PATCH: ox: Starting source code export at non-zero (-n value), Brian Carlson, 2016/05/31
- Re: [O] PATCH: ox: Starting source code export at non-zero (-n value), Nicolas Goaziou, 2016/05/31