emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* return of problem with hyperlinks in verbatim code when exporting to latex
@ 2010-02-01 23:58 Eric S Fraga
  2010-02-02  0:23 ` Eric S Fraga
  0 siblings, 1 reply; 4+ messages in thread
From: Eric S Fraga @ 2010-02-01 23:58 UTC (permalink / raw)
  To: org-mode mailing list

[-- Attachment #1: Type: text/plain, Size: 640 bytes --]

Carsten,

possibly the recent changes to org-mode for how external links are
handled in the latex export (if I remember some of the messages flying
by in the past week or so correctly) may have re-introduced a bug that
existed a couple of months ago.  Specifically, in some circumstances,
the appearance of "[[" in a verbatim code segment is translated into
\hyperref upon export to latex.

See the attached org file which doesn't work properly for me.

I'm using "Org-mode version 6.34trans (release_6.34c.37.g16f73)" on
"GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.18.2) of
2009-11-02 on raven, modified by Debian".

thanks,
eric

[-- Attachment #2: examplebug.org --]
[-- Type: application/octet-stream, Size: 923 bytes --]

#+TITLE:     Bugs in org-mode
#+AUTHOR:    Eric S Fraga \linebreak Chemical Engineering \linebreak UCL
#+EMAIL:     e.fraga@ucl.ac.uk
#+DATE:      2010.02.01 23:54:21
#+DESCRIPTION: 
#+KEYWORDS: 
#+LANGUAGE:  en
#+OPTIONS:   H:3 num:t toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
#+OPTIONS:   TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc
#+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js
#+EXPORT_SELECT_TAGS: export
#+EXPORT_EXCLUDE_TAGS: noexport
#+LINK_UP:   
#+LINK_HOME: 

* problem with \LaTeX export

  The following verbatim output was generated using babel and maxima.

#+results:
: [[n1n = 0.93 mol, n1i = 0.05 mol, n1h = 0.02 mol, n2n = 0.558 mol, 
:                               n2i = 0.422 mol, n2h = 0.02 mol, xi = 0.372 mol]]

The two lines above are converted into a single line in the latex output *and* the line starts with =\hyperref=.

[-- Attachment #3: examplebug.pdf --]
[-- Type: application/pdf, Size: 43765 bytes --]

[-- Attachment #4: Type: text/plain, Size: 201 bytes --]

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: return of problem with hyperlinks in verbatim code when exporting to latex
  2010-02-01 23:58 return of problem with hyperlinks in verbatim code when exporting to latex Eric S Fraga
@ 2010-02-02  0:23 ` Eric S Fraga
  2010-02-02  5:32   ` Carsten Dominik
  0 siblings, 1 reply; 4+ messages in thread
From: Eric S Fraga @ 2010-02-02  0:23 UTC (permalink / raw)
  To: org-mode mailing list

[-- Attachment #1: Type: text/plain, Size: 914 bytes --]

At Mon, 01 Feb 2010 23:58:16 +0000,
Eric S Fraga wrote:
> 
> [1  <text/plain; US-ASCII (7bit)>]
> Carsten,
> 
> possibly the recent changes to org-mode for how external links are
> handled in the latex export (if I remember some of the messages flying
> by in the past week or so correctly) may have re-introduced a bug that
> existed a couple of months ago.  Specifically, in some circumstances,
> the appearance of "[[" in a verbatim code segment is translated into
> \hyperref upon export to latex.


The puzzle deepens.  Please see attached files which show one case not
working and the other working just fine (in the same file) with the
only difference between them (as far as I can see but it *is* late at
night now...) being a single space.  I've hopefully managed to protect
the file from any email system mangling along the way...

I'm off to bed as my brain is turning into mush ;-)

Thanks again,
eric

[-- Attachment #2: examplebug.org --]
[-- Type: application/octet-stream, Size: 1320 bytes --]

#+TITLE:     Bugs in org-mode
#+AUTHOR:    Eric S Fraga \linebreak Chemical Engineering \linebreak UCL
#+EMAIL:     e.fraga@ucl.ac.uk
#+DATE:      2010.02.02 00:15:48
#+DESCRIPTION: 
#+KEYWORDS: 
#+LANGUAGE:  en
#+OPTIONS:   H:3 num:t toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
#+OPTIONS:   TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc
#+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js
#+EXPORT_SELECT_TAGS: export
#+EXPORT_EXCLUDE_TAGS: noexport
#+LINK_UP:   
#+LINK_HOME: 

* problem with \LaTeX export

  The following verbatim output was generated using babel and maxima.

: [[n1n = 0.93 mol, n1i = 0.05 mol, n1h = 0.02 mol, n2n = 0.558 mol, 
:                               n2i = 0.422 mol, n2h = 0.02 mol, xi = 0.372 mol]]

The two lines above are converted into a single line in the latex output *and* the line starts with =\hyperref=.

: [[n1n = 0.93 mol, n1i = 0.05 mol, n1h = 0.02 mol, n2n = 0.558 mol, 
:                              n2i = 0.422 mol, n2h = 0.02 mol, xi = 0.372 mol]] 

but these lines work.  I cannot figure out why the very subtle
different (an extra space between the leading : and the first
non-space character on the second line of the first pair of lines)
makes any difference at all...

[-- Attachment #3: examplebug.pdf --]
[-- Type: application/pdf, Size: 45946 bytes --]

[-- Attachment #4: Type: text/plain, Size: 201 bytes --]

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: return of problem with hyperlinks in verbatim code when exporting to latex
  2010-02-02  0:23 ` Eric S Fraga
@ 2010-02-02  5:32   ` Carsten Dominik
  2010-02-02  7:57     ` Eric S Fraga
  0 siblings, 1 reply; 4+ messages in thread
From: Carsten Dominik @ 2010-02-02  5:32 UTC (permalink / raw)
  To: Eric S Fraga; +Cc: org-mode mailing list

Fixed, thanks.

- Carsten

On Feb 2, 2010, at 1:23 AM, Eric S Fraga wrote:

> At Mon, 01 Feb 2010 23:58:16 +0000,
> Eric S Fraga wrote:
>>
>> [1  <text/plain; US-ASCII (7bit)>]
>> Carsten,
>>
>> possibly the recent changes to org-mode for how external links are
>> handled in the latex export (if I remember some of the messages  
>> flying
>> by in the past week or so correctly) may have re-introduced a bug  
>> that
>> existed a couple of months ago.  Specifically, in some circumstances,
>> the appearance of "[[" in a verbatim code segment is translated into
>> \hyperref upon export to latex.
>
>
> The puzzle deepens.  Please see attached files which show one case not
> working and the other working just fine (in the same file) with the
> only difference between them (as far as I can see but it *is* late at
> night now...) being a single space.  I've hopefully managed to protect
> the file from any email system mangling along the way...
>
> I'm off to bed as my brain is turning into mush ;-)
>
> Thanks again,
> eric
> < 
> examplebug 
> .org><examplebug.pdf>_______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: return of problem with hyperlinks in verbatim code when exporting to latex
  2010-02-02  5:32   ` Carsten Dominik
@ 2010-02-02  7:57     ` Eric S Fraga
  0 siblings, 0 replies; 4+ messages in thread
From: Eric S Fraga @ 2010-02-02  7:57 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: org-mode mailing list

At Tue, 2 Feb 2010 06:32:42 +0100,
Carsten Dominik wrote:
> 
> Fixed, thanks.
> 
> - Carsten

It is indeed!  Thanks.

> 
> On Feb 2, 2010, at 1:23 AM, Eric S Fraga wrote:
> 
> > At Mon, 01 Feb 2010 23:58:16 +0000,
> > Eric S Fraga wrote:
> >>
> >> [1  <text/plain; US-ASCII (7bit)>]
> >> Carsten,
> >>
> >> possibly the recent changes to org-mode for how external links are
> >> handled in the latex export (if I remember some of the messages
> >> flying
> >> by in the past week or so correctly) may have re-introduced a bug
> >> that
> >> existed a couple of months ago.  Specifically, in some circumstances,
> >> the appearance of "[[" in a verbatim code segment is translated into
> >> \hyperref upon export to latex.
> >
> >
> > The puzzle deepens.  Please see attached files which show one case not
> > working and the other working just fine (in the same file) with the
> > only difference between them (as far as I can see but it *is* late at
> > night now...) being a single space.  I've hopefully managed to protect
> > the file from any email system mangling along the way...
> >
> > I'm off to bed as my brain is turning into mush ;-)
> >
> > Thanks again,
> > eric
> > < examplebug
> > .org><examplebug.pdf>_______________________________________________
> > Emacs-orgmode mailing list
> > Please use `Reply All' to send replies to the list.
> > Emacs-orgmode@gnu.org
> > http://lists.gnu.org/mailman/listinfo/emacs-orgmode
> 
> - Carsten
> 
> 
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-02-02  7:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-01 23:58 return of problem with hyperlinks in verbatim code when exporting to latex Eric S Fraga
2010-02-02  0:23 ` Eric S Fraga
2010-02-02  5:32   ` Carsten Dominik
2010-02-02  7:57     ` Eric S Fraga

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).