Re: [Orgmode] About `_' in link address .

2009-08-25 Thread Carsten Dominik



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



___
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


Re: [Orgmode] About `_' in link address .

2009-08-25 Thread waterloo
Yes, I accept your advice.


2009/8/25 Carsten Dominik carsten.domi...@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


___
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


Re: [Orgmode] About `_' in link address .

2009-08-23 Thread waterloo
copy below in an org file:
 http://swift.siphos.be/linux_sea/

sea is denoted as subscript.


2009/8/23 Bastien bastiengue...@googlemail.com

 waterloo waterloo2...@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

___
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


Re: [Orgmode] About `_' in link address .

2009-08-23 Thread Bastien
waterloo waterloo2...@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


___
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


Re: [Orgmode] About `_' in link address .

2009-08-23 Thread Bastien
waterloo waterloo2...@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


___
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


Re: [Orgmode] About `_' in link address .

2009-08-23 Thread waterloo
I mean when I export to html the `sea' become subscript.

2009/8/23 Bastien bastiengue...@googlemail.com

 waterloo waterloo2...@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/linuxhttp://swift.siphos.be/linux_sea/%7D%7Bhttp://swift.siphos.be/linux
 \_sea/}

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

 --
  Bastien

___
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


Re: [Orgmode] About `_' in link address .

2009-08-23 Thread Bastien
waterloo waterloo2...@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


___
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


Re: [Orgmode] About `_' in link address .

2009-08-23 Thread waterloo
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 bastiengue...@googlemail.com

 waterloo waterloo2...@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

___
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


Re: [Orgmode] About `_' in link address .

2009-08-23 Thread Mark Elston

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


___
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


Re: [Orgmode] About `_' in link address .

2009-08-23 Thread Nick Dokos
waterloo waterloo2...@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






___
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


Re: [Orgmode] About `_' in link address .

2009-08-23 Thread waterloo
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.do...@hp.com

 waterloo waterloo2...@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





___
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


Re: [Orgmode] About `_' in link address .

2009-08-23 Thread waterloo
revise the lisp code of org mode .
I think this should be fixed.

2009/8/24 Nick Dokos nicholas.do...@hp.com

 waterloo waterloo2...@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

___
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


Re: [Orgmode] About `_' in link address .

2009-08-23 Thread Nick Dokos
waterloo waterloo2...@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.






___
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


[Orgmode] About `_' in link address .

2009-08-22 Thread waterloo
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
___
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