emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* About `_' in link address .
@ 2009-08-23  4:23 waterloo
  2009-08-23  4:32 ` Bastien
  0 siblings, 1 reply; 14+ messages in thread
From: waterloo @ 2009-08-23  4:23 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 293 bytes --]

When I copy a link to org file , It is always transformed to a link that can
be point .

 But when link address includes `_' , `_' is always thought of as a math
mode in latex.

When I put `\' before `_' , I can not  point the link.

How to inhibit math mode of `_' in link address ?


Thanks

[-- Attachment #1.2: Type: text/html, Size: 347 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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

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

* Re: About `_' in link address .
  2009-08-23  4:23 About `_' in link address waterloo
@ 2009-08-23  4:32 ` Bastien
  2009-08-23 11:45   ` waterloo
  0 siblings, 1 reply; 14+ messages in thread
From: Bastien @ 2009-08-23  4:32 UTC (permalink / raw)
  To: waterloo; +Cc: emacs-orgmode

waterloo <waterloo2005@gmail.com> writes:

>  But when link address includes `_' , `_' is always thought of as a
> math mode in latex.

I cannot reproduce this - can you give an example?

-- 
 Bastien

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

* Re: About `_' in link address .
  2009-08-23 11:45   ` waterloo
@ 2009-08-23  5:14     ` Bastien
  2009-08-23 12:38       ` waterloo
       [not found]     ` <14475.1251044452@gamaville.dokosmarshall.org>
  1 sibling, 1 reply; 14+ messages in thread
From: Bastien @ 2009-08-23  5:14 UTC (permalink / raw)
  To: waterloo; +Cc: emacs-orgmode

waterloo <waterloo2005@gmail.com> writes:

> copy below in an org file:
>  http://swift.siphos.be/linux_sea/

Works fine here.  I get this:

  \href{http://swift.siphos.be/linux_sea/}{http://swift.siphos.be/linux\_sea/}

Please provide more information:
  http://orgmode.org/org.html#Feedback

-- 
 Bastien

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

* Re: About `_' in link address .
  2009-08-23 12:38       ` waterloo
@ 2009-08-23  5:44         ` Bastien
  2009-08-23 12:50           ` waterloo
  0 siblings, 1 reply; 14+ messages in thread
From: Bastien @ 2009-08-23  5:44 UTC (permalink / raw)
  To: waterloo; +Cc: emacs-orgmode

waterloo <waterloo2005@gmail.com> writes:

> I mean when I export to html the `sea' become subscript.

I cannot reproduce this.

Your first email didn't mention that you wanted to export to HTML, 
and it mentioned the LaTeX math mode...

-- 
 Bastien

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

* Re: About `_' in link address .
  2009-08-23  4:32 ` Bastien
@ 2009-08-23 11:45   ` waterloo
  2009-08-23  5:14     ` Bastien
       [not found]     ` <14475.1251044452@gamaville.dokosmarshall.org>
  0 siblings, 2 replies; 14+ messages in thread
From: waterloo @ 2009-08-23 11:45 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 361 bytes --]

copy below in an org file:
 http://swift.siphos.be/linux_sea/

sea is denoted as subscript.


2009/8/23 Bastien <bastienguerry@googlemail.com>

> waterloo <waterloo2005@gmail.com> writes:
>
> >  But when link address includes `_' , `_' is always thought of as a
> > math mode in latex.
>
> I cannot reproduce this - can you give an example?
>
> --
>  Bastien
>

[-- Attachment #1.2: Type: text/html, Size: 835 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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

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

* Re: About `_' in link address .
  2009-08-23  5:14     ` Bastien
@ 2009-08-23 12:38       ` waterloo
  2009-08-23  5:44         ` Bastien
  0 siblings, 1 reply; 14+ messages in thread
From: waterloo @ 2009-08-23 12:38 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 509 bytes --]

I mean when I export to html the `sea' become subscript.

2009/8/23 Bastien <bastienguerry@googlemail.com>

> waterloo <waterloo2005@gmail.com> writes:
>
> > copy below in an org file:
> >  http://swift.siphos.be/linux_sea/
>
> Works fine here.  I get this:
>
>  \href{http://swift.siphos.be/linux_sea/}{http://swift.siphos.be/linux<http://swift.siphos.be/linux_sea/%7D%7Bhttp://swift.siphos.be/linux>
> \_sea/}
>
> Please provide more information:
>  http://orgmode.org/org.html#Feedback
>
> --
>  Bastien
>

[-- Attachment #1.2: Type: text/html, Size: 1116 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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

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

* Re: About `_' in link address .
  2009-08-23  5:44         ` Bastien
@ 2009-08-23 12:50           ` waterloo
  2009-08-23 16:30             ` Mark Elston
  2009-08-25 11:36             ` Carsten Dominik
  0 siblings, 2 replies; 14+ messages in thread
From: waterloo @ 2009-08-23 12:50 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 657 bytes --]

Sorry .

When I copy `http://swift.siphos.be/linux_sea/ ' to an org file , it was
transformed to a link.
After I export that file to html , I find `sea' in that link is subscript.
It should be normal scale.

This is because in org `_' was recognized as Latex command.

I recommand that in link we should disable the function of `_' .




2009/8/23 Bastien <bastienguerry@googlemail.com>

> waterloo <waterloo2005@gmail.com> writes:
>
> > I mean when I export to html the `sea' become subscript.
>
> I cannot reproduce this.
>
> Your first email didn't mention that you wanted to export to HTML,
> and it mentioned the LaTeX math mode...
>
> --
>  Bastien
>

[-- Attachment #1.2: Type: text/html, Size: 1193 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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

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

* Re: About `_' in link address .
  2009-08-23 12:50           ` waterloo
@ 2009-08-23 16:30             ` Mark Elston
  2009-08-25 11:36             ` Carsten Dominik
  1 sibling, 0 replies; 14+ messages in thread
From: Mark Elston @ 2009-08-23 16:30 UTC (permalink / raw)
  To: emacs-orgmode

waterloo wrote:
> Sorry .
> 
> When I copy `http://swift.siphos.be/linux_sea/ ' to an org file , it was 
> transformed to a link.
> After I export that file to html , I find `sea' in that link is 
> subscript. It should be normal scale.
> 
> This is because in org `_' was recognized as Latex command.
> 
> I recommand that in link we should disable the function of `_' .
> 
> 

I can reproduce this, though I am not sure what the reason for it is.

GNU Emacs 22.3.1, Org-mode version 6.29trans
(release_6.29c.55.ga48f.dirty)


Mark

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

* Re: About `_' in link address .
       [not found]       ` <907065090908231142w41edc81axe7cac40518fe17bd@mail.gmail.com>
@ 2009-08-23 19:20         ` Nick Dokos
  2009-08-23 19:46           ` waterloo
  0 siblings, 1 reply; 14+ messages in thread
From: Nick Dokos @ 2009-08-23 19:20 UTC (permalink / raw)
  To: waterloo; +Cc: emacs-orgmode

waterloo <waterloo2005@gmail.com> wrote:

> Sorry ,  And Thanks .
> 
> I will say it more detailedly.
> 
> Yes ,  copy the link to org file and export to html , the link works( it can link to that web page).
> 
> Please see the link in html .
> 
> The word `sea' in link is smaller than other characters of links.
> 
> That is because ` _ '  is used as math subscript ( just like: \sum_0^{100} ) .
> 
> I recommand in link like this `_' does not take effect of math subscript.
> 

You can use 

,----
| #+OPTIONS: ^: nil
| 
| * http://swift.siphos.be/linux_sea/
| 
| a_b
`----

to turn off the super/subscript magic in the file (or customize
org-export-with-sub-superscripts to turn it on/off globally).

If you want to mix and match in the same file, you can use

,----
| #+OPTIONS: ^:{}
| 
| * http://swift.siphos.be/linux_sea/
| 
| a_{b}
`----

Only the a_{b} construct will undergo sub/super magic.

See section 12.3 "Export options" of the Org-mode manual.

HTH,
Nick

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

* Re: About `_' in link address .
  2009-08-23 19:20         ` Nick Dokos
@ 2009-08-23 19:46           ` waterloo
       [not found]             ` <26140.1251057663@gamaville.dokosmarshall.org>
  0 siblings, 1 reply; 14+ messages in thread
From: waterloo @ 2009-08-23 19:46 UTC (permalink / raw)
  To: nicholas.dokos; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1214 bytes --]

I just want to disable this function in link address .
I think  this is more suitble .
How to do it ?
Thanks

2009/8/24 Nick Dokos <nicholas.dokos@hp.com>

> waterloo <waterloo2005@gmail.com> wrote:
>
> > Sorry ,  And Thanks .
> >
> > I will say it more detailedly.
> >
> > Yes ,  copy the link to org file and export to html , the link works( it
> can link to that web page).
> >
> > Please see the link in html .
> >
> > The word `sea' in link is smaller than other characters of links.
> >
> > That is because ` _ '  is used as math subscript ( just like:
> \sum_0^{100} ) .
> >
> > I recommand in link like this `_' does not take effect of math subscript.
> >
>
> You can use
>
> ,----
> | #+OPTIONS: ^: nil
> |
> | * http://swift.siphos.be/linux_sea/
> |
> | a_b
> `----
>
> to turn off the super/subscript magic in the file (or customize
> org-export-with-sub-superscripts to turn it on/off globally).
>
> If you want to mix and match in the same file, you can use
>
> ,----
> | #+OPTIONS: ^:{}
> |
> | * http://swift.siphos.be/linux_sea/
> |
> | a_{b}
> `----
>
> Only the a_{b} construct will undergo sub/super magic.
>
> See section 12.3 "Export options" of the Org-mode manual.
>
> HTH,
> Nick
>
>
>
>
>

[-- Attachment #1.2: Type: text/html, Size: 1958 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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

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

* Re: About `_' in link address .
       [not found]             ` <26140.1251057663@gamaville.dokosmarshall.org>
@ 2009-08-23 20:47               ` waterloo
  2009-08-23 21:05                 ` Nick Dokos
  0 siblings, 1 reply; 14+ messages in thread
From: waterloo @ 2009-08-23 20:47 UTC (permalink / raw)
  To: nicholas.dokos, emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 374 bytes --]

revise the lisp code of org mode .
I think this should be fixed.

2009/8/24 Nick Dokos <nicholas.dokos@hp.com>

> waterloo <waterloo2005@gmail.com> wrote:
>
> > I just want to disable this function in link address .
> > I think  this is more suitble .
> > How to do it ?
> > Thanks
> >
>
> AFAIK, it's not possible to disable sub/super magic just inside
> links.
>
> Nick
>

[-- Attachment #1.2: Type: text/html, Size: 817 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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

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

* Re: About `_' in link address .
  2009-08-23 20:47               ` waterloo
@ 2009-08-23 21:05                 ` Nick Dokos
  0 siblings, 0 replies; 14+ messages in thread
From: Nick Dokos @ 2009-08-23 21:05 UTC (permalink / raw)
  To: waterloo; +Cc: emacs-orgmode

waterloo <waterloo2005@gmail.com> wrote:

> revise the lisp code of org mode .
> I think this should be fixed.
> 

I disagree, but that is not my call: Carsten is the ultimate arbiter and
he might (or might not) decide to change the behavior. In the meantime,
instead of demanding changes, why don't you develop a solution that you
like, carry it in your tree for a while, and test it to make sure that
it not only works in this case, but also does not break *anything else*?
Then send a patch to the mailing list.

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

* Re: About `_' in link address .
  2009-08-23 12:50           ` waterloo
  2009-08-23 16:30             ` Mark Elston
@ 2009-08-25 11:36             ` Carsten Dominik
  2009-08-25 17:45               ` waterloo
  1 sibling, 1 reply; 14+ messages in thread
From: Carsten Dominik @ 2009-08-25 11:36 UTC (permalink / raw)
  To: waterloo; +Cc: Bastien Guerry, org-mode Mailinglist



On Aug 23, 2009, at 2:50 PM, waterloo wrote:

> Sorry .
>
> When I copy `http://swift.siphos.be/linux_sea/ ' to an org file , it  
> was transformed to a link.
> After I export that file to html , I find `sea' in that link is  
> subscript. It should be normal scale.
>
> This is because in org `_' was recognized as Latex command.
>
> I recommand that in link we should disable the function of `_' .

Hi waterloo,

it has taken 7 emails to extract the above information from
you.  Each of these messages was read by at least 625 members
on this mailing list (and probably many others who read the list
on gmane.org).

Could you please try next time and start with a
description *as detailed as possible* right away?  That will
cost 5 or 10 minutes of your time (not more that you have to
spent anyway buy writing 4 separate messages).  In return,
it will save an estimated 60 *hours* spent by others, reading
these mails and trying to figure out what this is all about.

About the issue you report:

I do agree that this is a bug, and I have fixed it.  Thanks
to Nick and Bastien for their input.

- Carsten

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

* Re: About `_' in link address .
  2009-08-25 11:36             ` Carsten Dominik
@ 2009-08-25 17:45               ` waterloo
  0 siblings, 0 replies; 14+ messages in thread
From: waterloo @ 2009-08-25 17:45 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: Bastien Guerry, org-mode Mailinglist


[-- Attachment #1.1: Type: text/plain, Size: 1249 bytes --]

Yes, I accept your advice.


2009/8/25 Carsten Dominik <carsten.dominik@gmail.com>

>
>
> On Aug 23, 2009, at 2:50 PM, waterloo wrote:
>
>  Sorry .
>>
>> When I copy `http://swift.siphos.be/linux_sea/ ' to an org file , it was
>> transformed to a link.
>> After I export that file to html , I find `sea' in that link is subscript.
>> It should be normal scale.
>>
>> This is because in org `_' was recognized as Latex command.
>>
>> I recommand that in link we should disable the function of `_' .
>>
>
> Hi waterloo,
>
> it has taken 7 emails to extract the above information from
> you.  Each of these messages was read by at least 625 members
> on this mailing list (and probably many others who read the list
> on gmane.org).
>
> Could you please try next time and start with a
> description *as detailed as possible* right away?  That will
> cost 5 or 10 minutes of your time (not more that you have to
> spent anyway buy writing 4 separate messages).  In return,
> it will save an estimated 60 *hours* spent by others, reading
> these mails and trying to figure out what this is all about.
>
> About the issue you report:
>
> I do agree that this is a bug, and I have fixed it.  Thanks
> to Nick and Bastien for their input.
>
> - Carsten
>
>

[-- Attachment #1.2: Type: text/html, Size: 1937 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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

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

end of thread, other threads:[~2009-08-25 17:45 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-23  4:23 About `_' in link address waterloo
2009-08-23  4:32 ` Bastien
2009-08-23 11:45   ` waterloo
2009-08-23  5:14     ` Bastien
2009-08-23 12:38       ` waterloo
2009-08-23  5:44         ` Bastien
2009-08-23 12:50           ` waterloo
2009-08-23 16:30             ` Mark Elston
2009-08-25 11:36             ` Carsten Dominik
2009-08-25 17:45               ` waterloo
     [not found]     ` <14475.1251044452@gamaville.dokosmarshall.org>
     [not found]       ` <907065090908231142w41edc81axe7cac40518fe17bd@mail.gmail.com>
2009-08-23 19:20         ` Nick Dokos
2009-08-23 19:46           ` waterloo
     [not found]             ` <26140.1251057663@gamaville.dokosmarshall.org>
2009-08-23 20:47               ` waterloo
2009-08-23 21:05                 ` Nick Dokos

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).