Thank you, quite excited I tried this small org file
*Title
Some tex

#+BEGIN_SRC emacs-lisp -n
(save-excursion
(goto-char (point-min))
#+END_SRC

Only to get this in the html file (as copied from my browser):

(save-excursion (goto-char (point-min))

The corresponding html is
<p>(save-excursion
(goto-char (point-min))
</p>

if i remove the -n it works - the exported code is formatted but no
line numbers.
(org version 6.09a)
Saptarshi Guha



On Wed, Mar 11, 2009 at 10:29 PM, Nick Dokos <nicholas.do...@hp.com> wrote:
> Saptarshi Guha <saptarshi.g...@gmail.com> wrote:
>
>> I assume in the BEGIN_SRC region, I cannot export the code with line
>> numbers, however I
>> came across this
>>  .linenr            the line number in a code example
>>
>> Does this mean, there is some option to generate line numbers in the
>> exported BEGIN_SRC?
>>
>
> Read the section "Literal Examples" in the org manual: evaluate the
> following form in emacs by pressing C-x C-e after the closing parenthesis
>
>     (Info-goto-node "(org)Literal Examples")
>
> or on the web
>
>     http://orgmode.org/manual/Literal-examples.html#Literal-examples
>
> HTH,
> Nick
>
>
>


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to