emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] BUG ??? Cannot export custom link type to ASCII :-(


From: Sebastian Rose
Subject: Re: [Orgmode] BUG ??? Cannot export custom link type to ASCII :-(
Date: Sun, 05 Sep 2010 13:03:51 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Carsten Dominik <address@hidden> writes:

> Hi Sebastian,
>
> On Sun, Sep 5, 2010 at 3:37 AM, Sebastian Rose <address@hidden> wrote:
>> Hi,
>>
>>
>> I have problems to export a custom link type to ASCII.
>>
>> The code is here:
>>
>>   http://github.com/SebastianRose/org-osm/blob/master/org-osm-link.el
>>
>>   line 66 ff.
>
>
> Do you mean that it does not honor your export formatting as defined
> in org-osm-link-export ?


Exactly.

This affects bbdb: links as well.  file: links work as expected (or as I
expect??).

* Test links

  [[track:((9.707032442092896 52.37033874553582) (9.711474180221558 
52.375238282987))2010-test-file.svg][test-track]]
  [[track:((9.707032442092896 52.37033874553582) (9.711474180221558 
52.375238282987))unterverzeichnis/testtrack.svg][test-track im 
Unterverzeichnis]]
  [[bbdb:Sebastian%20Rose][Sebastian Rose, Hannover]]
  
[[file:~/emacs/gnus/News/drafts/drafts/1::This%20affects%20bbdb%20links%20as%20well][Mail
 to Carsten]]
Exports to  ASCII like this:

1 Test links 
~~~~~~~~~~~~~

  [test-track]
  [test-track im Unterverzeichnis]
  [Sebastian Rose, Hannover]
  [Mail to Carsten]



  [test-track]: track:((9.707032442092896 52.37033874553582) (9.711474180221558 
52.375238282987))2010-test-file.svg
  [test-track im Unterverzeichnis]: track:((9.707032442092896 
52.37033874553582) (9.711474180221558 
52.375238282987))unterverzeichnis/testtrack.svg
  [Sebastian Rose, Hannover]: bbdb:Sebastian%20Rose
  [Mail to Carsten]: 
file:~/emacs/gnus/News/drafts/drafts/1::This%20affects%20bbdb%20links%20as%20well

Hmmm ---- this seems so deliberate...  For bbdb links this even seems to
make sense...  But how could I avoid this "footnote like" behaviour?



  Sebastian


>>
>>
>> HTML export works as expected.
>>
>>
>> Example Org file:
>>
>>  --8<---------------cut here---------------start------------->8--
>>
>> * Test links
>>
>>  [[track:((9.707032442092896 52.37033874553582) (9.711474180221558 
>> 52.375238282987))FILENAME.svg][DESCRIPTION]]
>>
>>  --8<---------------cut here---------------end--------------->8--
>>
>>
>>
>>
>> Results in ASCII (just the section with the link):
>>
>>  --8<---------------cut here---------------start------------->8--
>>
>> 1 Test links
>> ~~~~~~~~~~~~~
>>
>>  [DESCRIPTION]
>>
>>  [DESCRIPTION]: track:((9.707032442092896 52.37033874553582) 
>> (9.711474180221558 52.375238282987))FILENAME.svg
>>
>>
>>  --8<---------------cut here---------------end--------------->8--
>>
>>
>>
>> HTML works:
>>
>>  --8<---------------cut here---------------start------------->8--
>>
>> <div id="outline-container-1" class="outline-2">
>> <h2 id="sec-1"><span class="section-number-2">1</span> Test links </h2>
>> <div class="outline-text-2" id="text-1">
>>
>>
>> <p>
>> <a href="FILENAME.svg">DESCRIPTION</a>
>> </p></div>
>> </div>
>> ...
>>  --8<---------------cut here---------------end--------------->8--
>>
>>
>>
>>
>> Now as write this, I found I could as well use a bbdb link and come to
>> similar results...
>>
>> :-(
>>
>>
>>  Sebastian
>>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]