* BUG ??? Cannot export custom link type to ASCII :-(
@ 2010-09-05 1:37 Sebastian Rose
2010-09-05 5:59 ` Carsten Dominik
0 siblings, 1 reply; 17+ messages in thread
From: Sebastian Rose @ 2010-09-05 1:37 UTC (permalink / raw)
To: Emacs-orgmode mailing list
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.
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
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: BUG ??? Cannot export custom link type to ASCII :-(
2010-09-05 1:37 BUG ??? Cannot export custom link type to ASCII :-( Sebastian Rose
@ 2010-09-05 5:59 ` Carsten Dominik
2010-09-05 11:03 ` Sebastian Rose
0 siblings, 1 reply; 17+ messages in thread
From: Carsten Dominik @ 2010-09-05 5:59 UTC (permalink / raw)
To: Sebastian Rose; +Cc: Emacs-orgmode mailing list
Hi Sebastian,
On Sun, Sep 5, 2010 at 3:37 AM, Sebastian Rose <sebastian_rose@gmx.de> 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 ?
>
>
> 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
>
> _______________________________________________
> 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] 17+ messages in thread
* Re: BUG ??? Cannot export custom link type to ASCII :-(
2010-09-05 5:59 ` Carsten Dominik
@ 2010-09-05 11:03 ` Sebastian Rose
2010-09-05 18:05 ` Bastien
0 siblings, 1 reply; 17+ messages in thread
From: Sebastian Rose @ 2010-09-05 11:03 UTC (permalink / raw)
To: Carsten Dominik; +Cc: Emacs-orgmode mailing list
[-- Attachment #1: Type: text/plain, Size: 569 bytes --]
Carsten Dominik <carsten.dominik@gmail.com> writes:
> Hi Sebastian,
>
> On Sun, Sep 5, 2010 at 3:37 AM, Sebastian Rose <sebastian_rose@gmx.de> 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??).
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-verbatim, Size: 441 bytes --]
* 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]]
[-- Attachment #3: Type: text/plain, Size: 31 bytes --]
Exports to ASCII like this:
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #4: Type: text/x-verbatim, Size: 550 bytes --]
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
[-- Attachment #5: Type: text/plain, Size: 1542 bytes --]
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
>>
[-- Attachment #6: 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] 17+ messages in thread
* Re: BUG ??? Cannot export custom link type to ASCII :-(
2010-09-05 11:03 ` Sebastian Rose
@ 2010-09-05 18:05 ` Bastien
2010-09-05 23:01 ` Sebastian Rose
0 siblings, 1 reply; 17+ messages in thread
From: Bastien @ 2010-09-05 18:05 UTC (permalink / raw)
To: Sebastian Rose; +Cc: Emacs-orgmode mailing list, Carsten Dominik
Hi Sebastian,
Sebastian Rose <sebastian_rose@gmx.de> writes:
> Hmmm ---- this seems so deliberate... For bbdb links this even seems to
> make sense... But how could I avoid this "footnote like" behaviour?
Actually, I've wished for a long time that we can have a *real* footnote
behavior for links when exporting to ASCII.
For example:
This [[http://orgmode.org][Org]] thingy is great.
Would be exported to:
This Org¹ thingy is great.
¹ http://orgmode.org
I'm putting this on my TODO list...
--
Bastien
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: BUG ??? Cannot export custom link type to ASCII :-(
2010-09-05 18:05 ` Bastien
@ 2010-09-05 23:01 ` Sebastian Rose
2010-09-06 6:19 ` Carsten Dominik
2010-09-06 6:50 ` Bastien
0 siblings, 2 replies; 17+ messages in thread
From: Sebastian Rose @ 2010-09-05 23:01 UTC (permalink / raw)
To: Bastien; +Cc: Emacs-orgmode mailing list, Carsten Dominik
Bastien <bastien.guerry@wikimedia.fr> writes:
> Hi Sebastian,
>
> Sebastian Rose <sebastian_rose@gmx.de> writes:
>
>> Hmmm ---- this seems so deliberate... For bbdb links this even seems to
>> make sense... But how could I avoid this "footnote like" behaviour?
>
> Actually, I've wished for a long time that we can have a *real* footnote
> behavior for links when exporting to ASCII.
>
> For example:
>
> This [[http://orgmode.org][Org]] thingy is great.
>
> Would be exported to:
>
> This Org¹ thingy is great.
>
> ¹ http://orgmode.org
>
> I'm putting this on my TODO list...
Yes. But I want to avoid the footnote style for my custom "track:"
links. Look at the track I ran today.
Who reads a footnote like this one (lines are not wrapped on export):
[2010-09-05--30.994--5:32]: track:((9.707050323377189 52.37053766338069)
(9.711363315473136 52.37529308313076)
(9.710655212293204 52.375555074846474)
(9.71125602711254 52.37577776658283)
(9.711813926587638 52.37641963648109)
(9.712114333997306 52.37687810926805)
(9.711763858795166 52.37705320097925)
(9.710333347211417 52.377611655826854)
(9.709560871015128 52.37804391862884)
(9.707973003278312 52.37848927587801)
(9.706943035016593 52.37867265696918)
(9.705913066754874 52.37875124863228)
(9.705312251935538 52.37875124863228)
(9.704174995313224 52.378607163809775)
(9.70301628101879 52.37839758504682)
(9.701170921216544 52.37801772100373)
(9.699819087873038 52.37788673264495)
(9.697952270398673 52.37772954610157)
(9.696850776672363 52.377747447957255)
(9.695484638104972 52.37788673264495)
(9.694218635449943 52.378174906521316)
(9.693617820630607 52.378332091479415)
(9.692695140729484 52.37871195281822)
(9.691901206861075 52.379000121309296)
(9.691257476697501 52.379301386357405)
(9.68996286392212 52.38010518640359)
(9.690570831189689 52.38041473935315)
(9.689862728009757 52.38100415016248)
(9.689083099365234 52.38151976904499)
(9.688382148633536 52.38192099578275)
(9.687008857617911 52.38247109401651)
(9.685442447553214 52.3830604773757)
(9.684004783521232 52.383610561412425)
(9.68355417240673 52.383937989132725)
(9.68106508244091 52.384854773830995)
(9.68057155598217 52.384959548012894)
(9.680585861206055 52.385278671203096)
(9.680464267621574 52.38591560093584)
(9.680078029523429 52.38613824042515)
(9.676988124738273 52.3866620936179)
(9.675486087689933 52.38700259485967)
(9.67482089985424 52.38723832495006)
(9.673662185559806 52.38765739755821)
(9.673275947461661 52.38761810967017)
(9.668962955365714 52.38928126633751)
(9.667868614087638 52.389674128841754)
(9.667088985443115 52.38994083686471)
(9.66608762730175 52.39022413047344)
(9.664649963269767 52.39052531893909)
(9.66357707966381 52.39065626980484)
(9.660937785993156 52.390878885385035)
(9.659457206616935 52.39099674023763)
(9.65759038914257 52.39116697446916)
(9.655358791242179 52.39137649262204)
(9.651060104370117 52.391957463824156)
(9.651045799146232 52.391795525944076)
(9.650745391736564 52.391795525944076)
(9.65059518803173 52.39127173366993)
(9.650402068982658 52.39140268232121)
(9.645123481641349 52.391743146996376)
(9.644050598035392 52.39180862067127)
(9.642348289489746 52.391734853683936)
(9.640660285840568 52.39157291498709)
(9.638042449842033 52.39125863878343)
(9.636197090039786 52.39104912007113)
(9.635725021253165 52.39104912007113)
(9.6120285987854 52.388605098155104)
(9.60939645756298 52.38843005224972)
(9.606513977050781 52.38844794976713)
(9.60456132888794 52.388526524031036)
(9.602937698255118 52.38858720070138)
(9.593839645276603 52.38918959791672)
(9.590985774884757 52.38938603001387)
(9.588818550000724 52.389608652000526)
(9.587101936231193 52.38985746348047)
(9.585750102887687 52.39009317832562)
(9.57517147053295 52.39243716300863)
(9.570751190076408 52.3934323367367)
(9.556417465100822 52.396627216511874)
(9.556117057691154 52.39666649638125)
(9.554314613233146 52.39707238631737)
(9.553391933332023 52.3970592931519)
(9.552597999463615 52.39719022463179)
(9.55148220051342 52.39750445859858)
(9.54998016346508 52.39802817690401)
(9.549422263989982 52.398132919819226)
(9.549765586743888 52.398800650059)
(9.550387859235343 52.399010131973554)
(9.54998016346508 52.398800650059)
(9.550001621137199 52.39876137208931)
(9.55244779575878 52.39851261080267)
(9.554328918457031 52.39846504052878)
(9.55596685398632 52.39848642532249)
(9.55772638310009 52.39856498171639)
(9.558920860290527 52.39867452403661)
(9.562060832868156 52.39924579793869)
(9.563040733337402 52.39936843105301)
(9.562597274671134 52.39952073997389)
(9.562919139752921 52.39991351133806)
(9.563283920178947 52.40007061890479)
(9.565858840833243 52.4003717401774)
(9.566845893750724 52.40043720105169)
(9.567482471466064 52.4004550937004)
(9.566996097455558 52.40052884611255)
(9.566524028668937 52.40051575397265)
(9.565422534942627 52.4004550937004)
(9.566524028668937 52.400738319822544)
(9.566760063062247 52.40065976729783)
(9.56721067417675 52.40060739887034)
(9.567639827619132 52.40055503038069)
(9.56843376148754 52.40030627920599)
(9.570214748273429 52.400541938248544)
(9.572896957288322 52.40100016056158)
(9.573798179517325 52.40130127549049)
(9.574549198041495 52.40143219438381)
(9.574785232434806 52.40143219438381)
(9.575471877942618 52.4015762047178)
(9.5779180525642 52.402335524160186)
(9.579977989087638 52.403016282205336)
(9.58169460285717 52.40373630332267)
(9.581952094922599 52.40416831035261)
(9.582338333020743 52.40435158478429)
(9.582760334014893 52.40434329384116)
(9.582974910736084 52.40426474773463)
(9.584119319806632 52.40360539126627)
(9.584312438855704 52.40333047468344)
(9.5844197272163 52.40289845944922)
(9.584720134625968 52.402584263894525)
(9.586093425641593 52.402060599664374)
(9.586665630340576 52.40194757467914)
(9.591543674359855 52.40069904357768)
(9.591751098632812 52.401450086629026)
(9.591879844665527 52.40224868314229)
(9.592080116162833 52.403958852927005)
(9.592552184949454 52.40593556778797)
(9.595491886029777 52.40554285003161)
(9.598474502454337 52.40511085646162)
(9.59991216648632 52.40512394723801)
(9.605319499860343 52.40388030613602)
(9.603774547467765 52.40143219438381)
(9.604804515729484 52.40092160850303)
(9.60587739933544 52.400502661828874)
(9.606306552777824 52.40014917247838)
(9.606478214154777 52.39978258793848)
(9.606456756482658 52.39915415021293)
(9.606328010449943 52.398787557406315)
(9.605104923139152 52.39750445859858)
(9.605255126843986 52.397425900316655)
(9.605770110974845 52.39750445859858)
(9.607100486646232 52.398132919819226)
(9.610769748578605 52.39991351133806)
(9.611241817365226 52.400934700522484)
(9.61179256439209 52.40101805298199)
(9.614074230084952 52.40059430675374)
(9.621562957654533 52.40190349918331)
(9.62139129627758 52.402427165278084)
(9.62362289417797 52.40293773373621)
(9.624438285718497 52.4031864700754)
(9.625811576734122 52.40355302633497)
(9.627141952405509 52.403762485687324)
(9.627742767224845 52.403985035159586)
(9.628000259290275 52.403932670678884)
(9.628193378339347 52.404142128228806)
(9.62838649738842 52.40420758350921)
(9.628558158765372 52.4045610403453)
(9.629309177289542 52.4052024918148)
(9.629716873059806 52.40545121538538)
(9.629974365125236 52.40555594067981)
(9.630918502698478 52.4057392093468)
(9.631476402173575 52.40585702451638)
(9.631934165736311 52.40570822824184)
(9.63244914986717 52.40576059061506)
(9.633007049342268 52.405655865806466)
(9.633607864161604 52.40570822824184)
(9.633779525538557 52.406205668278)
(9.633486270904541 52.406830514884454)
(9.633178710719221 52.407226711831385)
(9.632835387965315 52.40761941459754)
(9.633264541407698 52.408221552048985)
(9.634323120117188 52.409173610633204)
(9.63420867898094 52.40981848548227)
(9.633865356227034 52.41008027233256)
(9.63627576828003 52.41108464685198)
(9.6360182762146 52.41154275966927)
(9.636211395263672 52.41217102093831)
(9.639644622802734 52.413610752592156)
(9.640824794769287 52.413990310381294)
(9.642019271632307 52.41445188309977)
(9.643263816615217 52.41416394602074)
(9.644808769007795 52.41392835973957)
(9.646096229334944 52.413692772199916)
(9.647169112940901 52.41327394679979)
(9.648156165858381 52.4126718783188)
(9.648585319300764 52.41238392961812)
(9.649486541529768 52.411493894475534)
(9.65043067910301 52.41089180169444)
(9.650909900665283 52.41041710251415)
(9.651811122894287 52.40934377475045)
(9.653055667877197 52.40853221690629)
(9.652626514434814 52.40821806147404)
(9.654765128871077 52.40272347023)
(9.653820991297835 52.402514005944674)
(9.65270519234764 52.402095074390665)
(9.651768207550049 52.40188211604568)
(9.650781154632568 52.399381523533336)
(9.65094566323387 52.39869110805188)
(9.651246070643538 52.398350696974575)
(9.651939868927002 52.397941327408255)
(9.652318954249495 52.39725088939249)
(9.652647972106934 52.39718193234288)
(9.654035568019026 52.39711995809259)
(9.654300212860107 52.396998628127804)
(9.655151366969221 52.39633436213493)
(9.656867980738753 52.395182129432165)
(9.657511710902327 52.39497262934492)
(9.657983779688948 52.394894066555786)
(9.660086631556624 52.39408224287874)
(9.660501480102539 52.39372521037188)
(9.660773277064436 52.3936370429092)
(9.660630226135254 52.39322762961475)
(9.660565853118896 52.39271694879391)
(9.662618636866682 52.392222848510166)
(9.663033485412598 52.39182651681883)
(9.664342403411865 52.391328914655396)
(9.665451049586409 52.39096574878025)
(9.6659517288208 52.39060869106187)
(9.666037559509277 52.39046464493288)
(9.666852951049805 52.39030750316511)
(9.667603969573975 52.389901551009025)
(9.667797088623047 52.389665835140555)
(9.668912887573242 52.389246781599624)
(9.673290252685547 52.38762291155169)
(9.673633575439453 52.38764910347806)
(9.674835205078125 52.38725622295069)
(9.675393104553223 52.38696810834162)
(9.676980972290039 52.38662760683382)
(9.680027961730957 52.38612994605956)
(9.68045711517334 52.385894210050466)
(9.680542945861816 52.385344154467134)
(9.680585861206055 52.38495125342587)
(9.681100845336914 52.38482028563506)
(9.683547019958496 52.38387730607186)
(9.684019088745117 52.38356297507495)
(9.685392379760742 52.38303908510689)
(9.687023162841797 52.38243660395847)
(9.688396453857422 52.38191270062485)
(9.689126014709473 52.381493573482)
(9.689855575561523 52.38099585483233)
(9.690542221069336 52.38041954201817)
(9.689984321594238 52.38007899000136)
(9.691271781921387 52.37931928757583)
(9.691872596740723 52.37900492412818)
(9.692559242248535 52.37874295287887)
(9.693546295166016 52.37834999309081)
(9.69419002532959 52.378166610659655)
(9.695391654968262 52.3779046344369)
(9.696807861328125 52.37777364574269)
(9.697966575622559 52.37772125015624)
(9.699769020080566 52.37785223900584)
(9.70118522644043 52.37798322746692)
(9.703073501586914 52.37840238793125)
(9.70418930053711 52.37858576938328)
(9.705305099487305 52.37874295287887)
(9.705862998962402 52.37871675566846)
(9.70693588256836 52.378690558442514)
(9.707965850830078 52.37845478270954)
(9.709510803222656 52.378009425112495)
(9.710326194763184 52.37764265665995)
(9.711785316467285 52.37704010187477)
(9.712128639221191 52.376830515674435))2010-09-05--30.994--5:32.svg
Not all the coordinates fitted in the system's clipboard, so one or two
kilometers are missing :-/ (a restriction of JavaScript strings???)
I might find time to come up with a solution the next days.
Best wishes
Sebastian
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: BUG ??? Cannot export custom link type to ASCII :-(
2010-09-05 23:01 ` Sebastian Rose
@ 2010-09-06 6:19 ` Carsten Dominik
2010-09-06 7:33 ` Sebastian Rose
2010-09-06 6:50 ` Bastien
1 sibling, 1 reply; 17+ messages in thread
From: Carsten Dominik @ 2010-09-06 6:19 UTC (permalink / raw)
To: Sebastian Rose; +Cc: Emacs-orgmode mailing list, Bastien
Hi Sebastian,
I have just pushed the code that was needed to allow custom link
formatting for ASCII export, like you have implemented it. This was
simple an omission in the ascii exporter.
So I hope it will work now....
- Carsten
On Mon, Sep 6, 2010 at 1:01 AM, Sebastian Rose <sebastian_rose@gmx.de> wrote:
> Bastien <bastien.guerry@wikimedia.fr> writes:
>> Hi Sebastian,
>>
>> Sebastian Rose <sebastian_rose@gmx.de> writes:
>>
>>> Hmmm ---- this seems so deliberate... For bbdb links this even seems to
>>> make sense... But how could I avoid this "footnote like" behaviour?
>>
>> Actually, I've wished for a long time that we can have a *real* footnote
>> behavior for links when exporting to ASCII.
>>
>> For example:
>>
>> This [[http://orgmode.org][Org]] thingy is great.
>>
>> Would be exported to:
>>
>> This Org¹ thingy is great.
>>
>> ¹ http://orgmode.org
>>
>> I'm putting this on my TODO list...
>
>
>
>
> Yes. But I want to avoid the footnote style for my custom "track:"
> links. Look at the track I ran today.
>
> Who reads a footnote like this one (lines are not wrapped on export):
>
>
> [2010-09-05--30.994--5:32]: track:((9.707050323377189 52.37053766338069)
> (9.711363315473136 52.37529308313076)
> (9.710655212293204 52.375555074846474)
> (9.71125602711254 52.37577776658283)
> (9.711813926587638 52.37641963648109)
> (9.712114333997306 52.37687810926805)
> (9.711763858795166 52.37705320097925)
> (9.710333347211417 52.377611655826854)
> (9.709560871015128 52.37804391862884)
> (9.707973003278312 52.37848927587801)
> (9.706943035016593 52.37867265696918)
> (9.705913066754874 52.37875124863228)
> (9.705312251935538 52.37875124863228)
> (9.704174995313224 52.378607163809775)
> (9.70301628101879 52.37839758504682)
> (9.701170921216544 52.37801772100373)
> (9.699819087873038 52.37788673264495)
> (9.697952270398673 52.37772954610157)
> (9.696850776672363 52.377747447957255)
> (9.695484638104972 52.37788673264495)
> (9.694218635449943 52.378174906521316)
> (9.693617820630607 52.378332091479415)
> (9.692695140729484 52.37871195281822)
> (9.691901206861075 52.379000121309296)
> (9.691257476697501 52.379301386357405)
> (9.68996286392212 52.38010518640359)
> (9.690570831189689 52.38041473935315)
> (9.689862728009757 52.38100415016248)
> (9.689083099365234 52.38151976904499)
> (9.688382148633536 52.38192099578275)
> (9.687008857617911 52.38247109401651)
> (9.685442447553214 52.3830604773757)
> (9.684004783521232 52.383610561412425)
> (9.68355417240673 52.383937989132725)
> (9.68106508244091 52.384854773830995)
> (9.68057155598217 52.384959548012894)
> (9.680585861206055 52.385278671203096)
> (9.680464267621574 52.38591560093584)
> (9.680078029523429 52.38613824042515)
> (9.676988124738273 52.3866620936179)
> (9.675486087689933 52.38700259485967)
> (9.67482089985424 52.38723832495006)
> (9.673662185559806 52.38765739755821)
> (9.673275947461661 52.38761810967017)
> (9.668962955365714 52.38928126633751)
> (9.667868614087638 52.389674128841754)
> (9.667088985443115 52.38994083686471)
> (9.66608762730175 52.39022413047344)
> (9.664649963269767 52.39052531893909)
> (9.66357707966381 52.39065626980484)
> (9.660937785993156 52.390878885385035)
> (9.659457206616935 52.39099674023763)
> (9.65759038914257 52.39116697446916)
> (9.655358791242179 52.39137649262204)
> (9.651060104370117 52.391957463824156)
> (9.651045799146232 52.391795525944076)
> (9.650745391736564 52.391795525944076)
> (9.65059518803173 52.39127173366993)
> (9.650402068982658 52.39140268232121)
> (9.645123481641349 52.391743146996376)
> (9.644050598035392 52.39180862067127)
> (9.642348289489746 52.391734853683936)
> (9.640660285840568 52.39157291498709)
> (9.638042449842033 52.39125863878343)
> (9.636197090039786 52.39104912007113)
> (9.635725021253165 52.39104912007113)
> (9.6120285987854 52.388605098155104)
> (9.60939645756298 52.38843005224972)
> (9.606513977050781 52.38844794976713)
> (9.60456132888794 52.388526524031036)
> (9.602937698255118 52.38858720070138)
> (9.593839645276603 52.38918959791672)
> (9.590985774884757 52.38938603001387)
> (9.588818550000724 52.389608652000526)
> (9.587101936231193 52.38985746348047)
> (9.585750102887687 52.39009317832562)
> (9.57517147053295 52.39243716300863)
> (9.570751190076408 52.3934323367367)
> (9.556417465100822 52.396627216511874)
> (9.556117057691154 52.39666649638125)
> (9.554314613233146 52.39707238631737)
> (9.553391933332023 52.3970592931519)
> (9.552597999463615 52.39719022463179)
> (9.55148220051342 52.39750445859858)
> (9.54998016346508 52.39802817690401)
> (9.549422263989982 52.398132919819226)
> (9.549765586743888 52.398800650059)
> (9.550387859235343 52.399010131973554)
> (9.54998016346508 52.398800650059)
> (9.550001621137199 52.39876137208931)
> (9.55244779575878 52.39851261080267)
> (9.554328918457031 52.39846504052878)
> (9.55596685398632 52.39848642532249)
> (9.55772638310009 52.39856498171639)
> (9.558920860290527 52.39867452403661)
> (9.562060832868156 52.39924579793869)
> (9.563040733337402 52.39936843105301)
> (9.562597274671134 52.39952073997389)
> (9.562919139752921 52.39991351133806)
> (9.563283920178947 52.40007061890479)
> (9.565858840833243 52.4003717401774)
> (9.566845893750724 52.40043720105169)
> (9.567482471466064 52.4004550937004)
> (9.566996097455558 52.40052884611255)
> (9.566524028668937 52.40051575397265)
> (9.565422534942627 52.4004550937004)
> (9.566524028668937 52.400738319822544)
> (9.566760063062247 52.40065976729783)
> (9.56721067417675 52.40060739887034)
> (9.567639827619132 52.40055503038069)
> (9.56843376148754 52.40030627920599)
> (9.570214748273429 52.400541938248544)
> (9.572896957288322 52.40100016056158)
> (9.573798179517325 52.40130127549049)
> (9.574549198041495 52.40143219438381)
> (9.574785232434806 52.40143219438381)
> (9.575471877942618 52.4015762047178)
> (9.5779180525642 52.402335524160186)
> (9.579977989087638 52.403016282205336)
> (9.58169460285717 52.40373630332267)
> (9.581952094922599 52.40416831035261)
> (9.582338333020743 52.40435158478429)
> (9.582760334014893 52.40434329384116)
> (9.582974910736084 52.40426474773463)
> (9.584119319806632 52.40360539126627)
> (9.584312438855704 52.40333047468344)
> (9.5844197272163 52.40289845944922)
> (9.584720134625968 52.402584263894525)
> (9.586093425641593 52.402060599664374)
> (9.586665630340576 52.40194757467914)
> (9.591543674359855 52.40069904357768)
> (9.591751098632812 52.401450086629026)
> (9.591879844665527 52.40224868314229)
> (9.592080116162833 52.403958852927005)
> (9.592552184949454 52.40593556778797)
> (9.595491886029777 52.40554285003161)
> (9.598474502454337 52.40511085646162)
> (9.59991216648632 52.40512394723801)
> (9.605319499860343 52.40388030613602)
> (9.603774547467765 52.40143219438381)
> (9.604804515729484 52.40092160850303)
> (9.60587739933544 52.400502661828874)
> (9.606306552777824 52.40014917247838)
> (9.606478214154777 52.39978258793848)
> (9.606456756482658 52.39915415021293)
> (9.606328010449943 52.398787557406315)
> (9.605104923139152 52.39750445859858)
> (9.605255126843986 52.397425900316655)
> (9.605770110974845 52.39750445859858)
> (9.607100486646232 52.398132919819226)
> (9.610769748578605 52.39991351133806)
> (9.611241817365226 52.400934700522484)
> (9.61179256439209 52.40101805298199)
> (9.614074230084952 52.40059430675374)
> (9.621562957654533 52.40190349918331)
> (9.62139129627758 52.402427165278084)
> (9.62362289417797 52.40293773373621)
> (9.624438285718497 52.4031864700754)
> (9.625811576734122 52.40355302633497)
> (9.627141952405509 52.403762485687324)
> (9.627742767224845 52.403985035159586)
> (9.628000259290275 52.403932670678884)
> (9.628193378339347 52.404142128228806)
> (9.62838649738842 52.40420758350921)
> (9.628558158765372 52.4045610403453)
> (9.629309177289542 52.4052024918148)
> (9.629716873059806 52.40545121538538)
> (9.629974365125236 52.40555594067981)
> (9.630918502698478 52.4057392093468)
> (9.631476402173575 52.40585702451638)
> (9.631934165736311 52.40570822824184)
> (9.63244914986717 52.40576059061506)
> (9.633007049342268 52.405655865806466)
> (9.633607864161604 52.40570822824184)
> (9.633779525538557 52.406205668278)
> (9.633486270904541 52.406830514884454)
> (9.633178710719221 52.407226711831385)
> (9.632835387965315 52.40761941459754)
> (9.633264541407698 52.408221552048985)
> (9.634323120117188 52.409173610633204)
> (9.63420867898094 52.40981848548227)
> (9.633865356227034 52.41008027233256)
> (9.63627576828003 52.41108464685198)
> (9.6360182762146 52.41154275966927)
> (9.636211395263672 52.41217102093831)
> (9.639644622802734 52.413610752592156)
> (9.640824794769287 52.413990310381294)
> (9.642019271632307 52.41445188309977)
> (9.643263816615217 52.41416394602074)
> (9.644808769007795 52.41392835973957)
> (9.646096229334944 52.413692772199916)
> (9.647169112940901 52.41327394679979)
> (9.648156165858381 52.4126718783188)
> (9.648585319300764 52.41238392961812)
> (9.649486541529768 52.411493894475534)
> (9.65043067910301 52.41089180169444)
> (9.650909900665283 52.41041710251415)
> (9.651811122894287 52.40934377475045)
> (9.653055667877197 52.40853221690629)
> (9.652626514434814 52.40821806147404)
> (9.654765128871077 52.40272347023)
> (9.653820991297835 52.402514005944674)
> (9.65270519234764 52.402095074390665)
> (9.651768207550049 52.40188211604568)
> (9.650781154632568 52.399381523533336)
> (9.65094566323387 52.39869110805188)
> (9.651246070643538 52.398350696974575)
> (9.651939868927002 52.397941327408255)
> (9.652318954249495 52.39725088939249)
> (9.652647972106934 52.39718193234288)
> (9.654035568019026 52.39711995809259)
> (9.654300212860107 52.396998628127804)
> (9.655151366969221 52.39633436213493)
> (9.656867980738753 52.395182129432165)
> (9.657511710902327 52.39497262934492)
> (9.657983779688948 52.394894066555786)
> (9.660086631556624 52.39408224287874)
> (9.660501480102539 52.39372521037188)
> (9.660773277064436 52.3936370429092)
> (9.660630226135254 52.39322762961475)
> (9.660565853118896 52.39271694879391)
> (9.662618636866682 52.392222848510166)
> (9.663033485412598 52.39182651681883)
> (9.664342403411865 52.391328914655396)
> (9.665451049586409 52.39096574878025)
> (9.6659517288208 52.39060869106187)
> (9.666037559509277 52.39046464493288)
> (9.666852951049805 52.39030750316511)
> (9.667603969573975 52.389901551009025)
> (9.667797088623047 52.389665835140555)
> (9.668912887573242 52.389246781599624)
> (9.673290252685547 52.38762291155169)
> (9.673633575439453 52.38764910347806)
> (9.674835205078125 52.38725622295069)
> (9.675393104553223 52.38696810834162)
> (9.676980972290039 52.38662760683382)
> (9.680027961730957 52.38612994605956)
> (9.68045711517334 52.385894210050466)
> (9.680542945861816 52.385344154467134)
> (9.680585861206055 52.38495125342587)
> (9.681100845336914 52.38482028563506)
> (9.683547019958496 52.38387730607186)
> (9.684019088745117 52.38356297507495)
> (9.685392379760742 52.38303908510689)
> (9.687023162841797 52.38243660395847)
> (9.688396453857422 52.38191270062485)
> (9.689126014709473 52.381493573482)
> (9.689855575561523 52.38099585483233)
> (9.690542221069336 52.38041954201817)
> (9.689984321594238 52.38007899000136)
> (9.691271781921387 52.37931928757583)
> (9.691872596740723 52.37900492412818)
> (9.692559242248535 52.37874295287887)
> (9.693546295166016 52.37834999309081)
> (9.69419002532959 52.378166610659655)
> (9.695391654968262 52.3779046344369)
> (9.696807861328125 52.37777364574269)
> (9.697966575622559 52.37772125015624)
> (9.699769020080566 52.37785223900584)
> (9.70118522644043 52.37798322746692)
> (9.703073501586914 52.37840238793125)
> (9.70418930053711 52.37858576938328)
> (9.705305099487305 52.37874295287887)
> (9.705862998962402 52.37871675566846)
> (9.70693588256836 52.378690558442514)
> (9.707965850830078 52.37845478270954)
> (9.709510803222656 52.378009425112495)
> (9.710326194763184 52.37764265665995)
> (9.711785316467285 52.37704010187477)
> (9.712128639221191 52.376830515674435))2010-09-05--30.994--5:32.svg
>
>
>
> Not all the coordinates fitted in the system's clipboard, so one or two
> kilometers are missing :-/ (a restriction of JavaScript strings???)
>
>
>
> I might find time to come up with a solution the next days.
>
>
> Best wishes
>
> Sebastian
>
>
>
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: BUG ??? Cannot export custom link type to ASCII :-(
2010-09-06 6:19 ` Carsten Dominik
@ 2010-09-06 7:33 ` Sebastian Rose
2010-09-06 11:16 ` Bastien
0 siblings, 1 reply; 17+ messages in thread
From: Sebastian Rose @ 2010-09-06 7:33 UTC (permalink / raw)
To: Carsten Dominik; +Cc: Emacs-orgmode mailing list, Bastien
[-- Attachment #1: Type: text/plain, Size: 324 bytes --]
Carsten Dominik <carsten.dominik@gmail.com> writes:
> Hi Sebastian,
>
> I have just pushed the code that was needed to allow custom link
> formatting for ASCII export, like you have implemented it. This was
> simple an omission in the ascii exporter.
> So I hope it will work now....
>
> - Carsten
C-c C-e A
gives me:
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-verbatim, Size: 5031 bytes --]
Debugger entered--Lisp error: (void-variable type)
(assoc type org-link-protocols)
(nth 2 (assoc type org-link-protocols))
(setq fnc (nth 2 (assoc type org-link-protocols)))
(functionp (setq fnc (nth 2 ...)))
(if (functionp (setq fnc ...)) (setq rpl (or ... rpl)) (when (and desc0 ...) (if org-export-ascii-links-to-notes ... ...)))
(if (and (> ... 8) (equal ... "coderef:")) (setq line (replace-match ... t t line)) (setq rpl (concat "[" ... "]")) (if (functionp ...) (setq rpl ...) (when ... ...)) (setq line (replace-match rpl t t line)))
(while (string-match org-bracket-link-regexp line) (setq link (match-string 1 line) desc0 (match-string 3 line) desc (or desc0 ...)) (if (and ... ...) (setq line ...) (setq rpl ...) (if ... ... ...) (setq line ...)))
(while (setq line (pop lines)) (when (and link-buffer ...) (org-export-ascii-push-links ...) (setq link-buffer nil)) (setq wrap nil) (setq line (org-html-expand-for-ascii line)) (while (string-match org-bracket-link-regexp line) (setq link ... desc0 ... desc ...) (if ... ... ... ... ...)) (when custom-times (setq line ...)) (cond (... ... ... ...) (... ... ... ...) (t ... ... ... ... ...)))
(let* ((opt-plist ...) (region-p ...) (rbeg ...) (rend ...) (subtree-p ...) (level-offset ...) (opt-plist ...) (org-current-export-dir ...) (org-current-export-file buffer-file-name) (custom-times org-display-custom-times) (org-ascii-current-indentation ...) (level 0) line txt (umax nil) (umax-toc nil) (case-fold-search nil) (bfname ...) (filename ...) (filename ...) (buffer ...) (org-levels-open ...) (odd org-odd-levels-only) (date ...) (author ...) (title ...) (email ...) (language ...) (quote-re0 ...) (todo nil) (lang-words nil) (region ...) (lines ...) thetoc have-headings first-heading-pos table-open table-buffer link-buffer link desc desc0 rpl wrap fnc) (let (...) (org-unmodified ...)) (setq org-min-level (org-get-min-level lines level-offset)) (setq org-last-level org-min-level) (org-init-section-numbers) (setq lang-words (or ... ...)) (set-buffer buffer) (erase-buffer) (fundamental-mode) (org-install-letbind) (mapc (lambda ... ...) org-export-plist-vars) (org-set-local (quote org-odd-levels-only) odd) (setq umax (if arg ... org-export-headline-levels)) (setq umax-toc (if ... ... umax)) (unless body-only (when ... ... ...) (if ... ...) (cond ... ... ...) (if ... ...) (unless ... ...)) (if (and org-export-with-toc ...) (progn ... ... ... ...)) (org-init-section-numbers) (while (setq line ...) (when ... ... ...) (setq wrap nil) (setq line ...) (while ... ... ...) (when custom-times ...) (cond ... ... ...)) (org-export-ascii-push-links (nreverse link-buffer)) (normal-mode) (when thetoc (goto-char ...) (if ... ... ...) (mapc ... thetoc) (or ... ...)) (goto-char (point-min)) (let (beg end) (while ... ... ... ... ...)) (let (beg end) (goto-char ...) (while ... ... ... ... ...) (goto-char ...) (while ... ... ... ...)) (run-hooks (quote org-export-ascii-final-hook)) (or to-buffer (save-buffer)) (goto-char (point-min)) (or (org-export-push-to-kill-ring "ASCII") (message "Exporting... done")) (if (eq to-buffer ...) (prog1 ... ...) (current-buffer)))
org-export-as-ascii(nil nil nil "*Org ASCII Export*")
org-export-as-ascii-to-buffer(nil)
call-interactively(org-export-as-ascii-to-buffer)
(if (and bg (nth 2 ass) (not ...) (not ...)) (let (...) (set-process-sentinel p ...) (message "Background process \"%s\": started" p)) (if subtree-p (progn ... ...)) (call-interactively (nth 1 ass)) (when (and bpos ...) (let ... ... ... ... ...)))
(let* ((bg ...) subtree-p (help "[t] insert the export option template\n[v] limit export to visible part of outline tree\n[1] only export the current subtree\n[SPC] publish enclosing subtree (with LaTeX_CLASS or EXPORT_FILE_NAME prop)\n\n[a/n/u] export as ASCII/Latin-1/UTF-8 [A/N/U] to temporary buffer\n\n[h] export as HTML [H] to temporary buffer [R] export region\n[b] export as HTML and open in browser\n\n[l] export as LaTeX [L] to temporary buffer\n[p] export as LaTeX and process to PDF [d] ... and open PDF file\n\n[D] export as DocBook [V] export as DocBook, process to PDF, and open\n\n[j] export as TaskJuggler [J] ... and open\n\n[m] export as Freemind mind map\n[x] export as XOXO\n[g] export using Wes Hardaker's generic exporter\n\n[i] export current file as iCalendar file\n[I] export all agenda files as iCalendar files [c] ...as one combined file\n\n[F] publish current file [P] publish current project\n[X] publish a project... [E] publish every projects") (cmds ...) r1 r2 ass (cpos ...) (cbuf ...) bpos) (save-excursion (save-window-excursion ... ... ... ... ... ... ...)) (and bpos (goto-char bpos)) (setq r2 (if ... ... r1)) (unless (setq ass ...) (error "No command associated with key %c" r1)) (if (and bg ... ... ...) (let ... ... ...) (if subtree-p ...) (call-interactively ...) (when ... ...)))
org-export(nil)
call-interactively(org-export nil nil)
[-- Attachment #3: Type: text/plain, Size: 14 bytes --]
Sebastian
[-- 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] 17+ messages in thread
* Re: BUG ??? Cannot export custom link type to ASCII :-(
2010-09-06 7:33 ` Sebastian Rose
@ 2010-09-06 11:16 ` Bastien
2010-09-06 13:13 ` Sebastian Rose
0 siblings, 1 reply; 17+ messages in thread
From: Bastien @ 2010-09-06 11:16 UTC (permalink / raw)
To: Sebastian Rose; +Cc: Emacs-orgmode mailing list, Carsten Dominik
Sebastian Rose <sebastian_rose@gmx.de> writes:
> C-c C-e A
>
> gives me:
>
> Debugger entered--Lisp error: (void-variable type)
This should now be fixed in git - please pull and try.
--
Bastien
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: BUG ??? Cannot export custom link type to ASCII :-(
2010-09-06 11:16 ` Bastien
@ 2010-09-06 13:13 ` Sebastian Rose
2010-09-29 5:55 ` Carsten Dominik
0 siblings, 1 reply; 17+ messages in thread
From: Sebastian Rose @ 2010-09-06 13:13 UTC (permalink / raw)
To: Bastien; +Cc: Emacs-orgmode mailing list, Carsten Dominik
[-- Attachment #1: Type: text/plain, Size: 330 bytes --]
Bastien <bastien.guerry@wikimedia.fr> writes:
> Sebastian Rose <sebastian_rose@gmx.de> writes:
>
>> C-c C-e A
>>
>> gives me:
>>
>> Debugger entered--Lisp error: (void-variable type)
>
> This should now be fixed in git - please pull and try.
Yes, it is fixed.
I still can return what ever I want with no effect (ASCII only):
[-- Attachment #2: Type: application/emacs-lisp, Size: 282 bytes --]
[-- Attachment #3: Type: text/plain, Size: 13 bytes --]
Org file:
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #4: Type: text/x-verbatim, Size: 86 bytes --]
* Test links
[[track:((9.707032442092896 52.37033874553582))test.svg][test-track]]
[-- Attachment #5: Type: text/plain, Size: 17 bytes --]
ASCII-export:
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #6: Type: text/x-verbatim, Size: 116 bytes --]
1 Test links
~~~~~~~~~~~~~
[test-track]
[test-track]: track:((9.707032442092896 52.37033874553582))test.svg
[-- Attachment #7: Type: text/plain, Size: 14 bytes --]
Sebastian
[-- Attachment #8: 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] 17+ messages in thread
* Re: BUG ??? Cannot export custom link type to ASCII :-(
2010-09-06 13:13 ` Sebastian Rose
@ 2010-09-29 5:55 ` Carsten Dominik
2010-09-29 22:35 ` Sebastian Rose
0 siblings, 1 reply; 17+ messages in thread
From: Carsten Dominik @ 2010-09-29 5:55 UTC (permalink / raw)
To: Sebastian Rose; +Cc: Emacs-orgmode mailing list, Bastien
Hi Sebastian,
is this still an open issue? If you, can you please summarize
again and show the code you are using for your link definition?
I am not sure if I have up to date information.
- Carsten
On Sep 6, 2010, at 3:13 PM, Sebastian Rose wrote:
> Bastien <bastien.guerry@wikimedia.fr> writes:
>> Sebastian Rose <sebastian_rose@gmx.de> writes:
>>
>>> C-c C-e A
>>>
>>> gives me:
>>>
>>> Debugger entered--Lisp error: (void-variable type)
>>
>> This should now be fixed in git - please pull and try.
>
> Yes, it is fixed.
>
>
> I still can return what ever I want with no effect (ASCII only):
>
>
> <mime-attachment>
>
> Org file:
>
> * Test links
>
> [[track:((9.707032442092896 52.37033874553582))test.svg][test-track]]
>
>
> ASCII-export:
>
> 1 Test links
> ~~~~~~~~~~~~~
>
> [test-track]
>
>
> [test-track]: track:((9.707032442092896 52.37033874553582))test.svg
>
>
> Sebastian
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: BUG ??? Cannot export custom link type to ASCII :-(
2010-09-29 5:55 ` Carsten Dominik
@ 2010-09-29 22:35 ` Sebastian Rose
2010-09-30 19:57 ` Carsten Dominik
0 siblings, 1 reply; 17+ messages in thread
From: Sebastian Rose @ 2010-09-29 22:35 UTC (permalink / raw)
To: Carsten Dominik; +Cc: Emacs-orgmode mailing list, Bastien
[-- Attachment #1: Type: text/plain, Size: 832 bytes --]
Carsten Dominik <carsten.dominik@gmail.com> writes:
> Hi Sebastian,
>
> is this still an open issue? If you, can you please summarize
> again and show the code you are using for your link definition?
> I am not sure if I have up to date information.
>
> - Carsten
Hi Carsten,
it's still an issue when exporting to ASCII. The reason is, that my
"track" links have looooong paths (all the coordinates of the track plus
the desired filename, see the comments in the code for an example link).
That causes the "footnote" for a track to span pages (worsed case).
See the example ASCII export on the bottom of this mail.
Anyway, I'll rarely export the files to ASCII, so it's not urgent at
all.
The code is here:
http://github.com/SebastianRose/org-osm/blob/master/org-osm-link.el
The function to export those links is:
[-- Attachment #2: Type: application/emacs-lisp, Size: 1011 bytes --]
[-- Attachment #3: Type: text/plain, Size: 335 bytes --]
> On Sep 6, 2010, at 3:13 PM, Sebastian Rose wrote:
>> Org file:
>> * Test links
>>
>> [[track:((9.707032442092896 52.37033874553582))test.svg][test-track]]
>>
>>
>> ASCII-export:
>> 1 Test links
>> ~~~~~~~~~~~~~
>>
>> [test-track]
>>
>>
>> [test-track]: track:((9.707032442092896 52.37033874553582))test.svg
Sebastian
[-- 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] 17+ messages in thread
* Re: BUG ??? Cannot export custom link type to ASCII :-(
2010-09-29 22:35 ` Sebastian Rose
@ 2010-09-30 19:57 ` Carsten Dominik
2010-09-30 22:15 ` Sebastian Rose
0 siblings, 1 reply; 17+ messages in thread
From: Carsten Dominik @ 2010-09-30 19:57 UTC (permalink / raw)
To: Sebastian Rose; +Cc: Emacs-orgmode mailing list, Bastien
Hi Sebastian,
I believe I have fixed the bug. But please note that there is a
typo in your function osm-org-link-export, in the last line it
must be target, not taget.
HTH
- Carsten
On Sep 30, 2010, at 12:35 AM, Sebastian Rose wrote:
> Carsten Dominik <carsten.dominik@gmail.com> writes:
>> Hi Sebastian,
>>
>> is this still an open issue? If you, can you please summarize
>> again and show the code you are using for your link definition?
>> I am not sure if I have up to date information.
>>
>> - Carsten
>
>
> Hi Carsten,
>
>
> it's still an issue when exporting to ASCII. The reason is, that my
> "track" links have looooong paths (all the coordinates of the track
> plus
> the desired filename, see the comments in the code for an example
> link).
> That causes the "footnote" for a track to span pages (worsed case).
>
> See the example ASCII export on the bottom of this mail.
>
> Anyway, I'll rarely export the files to ASCII, so it's not urgent at
> all.
>
>
>
> The code is here:
>
> http://github.com/SebastianRose/org-osm/blob/master/org-osm-link.el
>
>
> The function to export those links is:
>
> <mime-attachment>
>
>
>
>
>> On Sep 6, 2010, at 3:13 PM, Sebastian Rose wrote:
>>> Org file:
>
>>> * Test links
>>>
>>> [[track:((9.707032442092896 52.37033874553582))test.svg][test-
>>> track]]
>>>
>>>
>
>
>>> ASCII-export:
>
>>> 1 Test links
>>> ~~~~~~~~~~~~~
>>>
>>> [test-track]
>>>
>>>
>>> [test-track]: track:((9.707032442092896 52.37033874553582))test.svg
>
>
> Sebastian
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: BUG ??? Cannot export custom link type to ASCII :-(
2010-09-05 23:01 ` Sebastian Rose
2010-09-06 6:19 ` Carsten Dominik
@ 2010-09-06 6:50 ` Bastien
2010-09-06 7:29 ` Sebastian Rose
` (2 more replies)
1 sibling, 3 replies; 17+ messages in thread
From: Bastien @ 2010-09-06 6:50 UTC (permalink / raw)
To: Sebastian Rose; +Cc: Emacs-orgmode mailing list, Carsten Dominik
Sebastian Rose <sebastian_rose@gmx.de> writes:
> Yes. But I want to avoid the footnote style for my custom "track:"
> links. Look at the track I ran today.
(Er.. that's a crazy link!)
Actually it would make sense to handle how custom type links are
exported in the custom type file itself.
For example org-bbdb.el would have a function `org-bbdb-export-link'
taking care of the various way BBDB links have to be represented in
HTML, LaTeX, etc.
--
Bastien
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: BUG ??? Cannot export custom link type to ASCII :-(
2010-09-06 6:50 ` Bastien
@ 2010-09-06 7:29 ` Sebastian Rose
2010-09-06 7:52 ` Bastien
2010-09-06 7:54 ` Carsten Dominik
2 siblings, 0 replies; 17+ messages in thread
From: Sebastian Rose @ 2010-09-06 7:29 UTC (permalink / raw)
To: Bastien; +Cc: Emacs-orgmode mailing list, Carsten Dominik
Bastien <bastien.guerry@wikimedia.fr> writes:
> Sebastian Rose <sebastian_rose@gmx.de> writes:
>
>> Yes. But I want to avoid the footnote style for my custom "track:"
>> links. Look at the track I ran today.
>
> (Er.. that's a crazy link!)
>
>
> Actually it would make sense to handle how custom type links are
> exported in the custom type file itself.
>
> For example org-bbdb.el would have a function `org-bbdb-export-link'
> taking care of the various way BBDB links have to be represented in
> HTML, LaTeX, etc.
Yes!!!
We could then have the entire address as footnote! Very useful!!!
Sebastian
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: BUG ??? Cannot export custom link type to ASCII :-(
2010-09-06 6:50 ` Bastien
2010-09-06 7:29 ` Sebastian Rose
@ 2010-09-06 7:52 ` Bastien
2010-09-06 7:54 ` Carsten Dominik
2 siblings, 0 replies; 17+ messages in thread
From: Bastien @ 2010-09-06 7:52 UTC (permalink / raw)
To: Sebastian Rose; +Cc: Emacs-orgmode mailing list, Carsten Dominik
Bastien <bzg@gnu.org> writes:
> Actually it would make sense to handle how custom type links are
> exported in the custom type file itself.
... which, of course, is already the case for org-bbdb.el.
Sorry for the noise.
--
Bastien
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: BUG ??? Cannot export custom link type to ASCII :-(
2010-09-06 6:50 ` Bastien
2010-09-06 7:29 ` Sebastian Rose
2010-09-06 7:52 ` Bastien
@ 2010-09-06 7:54 ` Carsten Dominik
2 siblings, 0 replies; 17+ messages in thread
From: Carsten Dominik @ 2010-09-06 7:54 UTC (permalink / raw)
To: Bastien; +Cc: Emacs-orgmode mailing list
On Mon, Sep 6, 2010 at 8:50 AM, Bastien <bastien.guerry@wikimedia.fr> wrote:
> Sebastian Rose <sebastian_rose@gmx.de> writes:
>
>> Yes. But I want to avoid the footnote style for my custom "track:"
>> links. Look at the track I ran today.
>
> (Er.. that's a crazy link!)
>
>
> Actually it would make sense to handle how custom type links are
> exported in the custom type file itself.
>
> For example org-bbdb.el would have a function `org-bbdb-export-link'
> taking care of the various way BBDB links have to be represented in
> HTML, LaTeX, etc.
That system is present! And funny that you pick bbdb as an example,
because it is one of the link types which takes advantage of this. :)
The problem was that the ascii exporter did not honor the export settings
that are defined when org-add-link-type is called
- Carsten
>
> --
> Bastien
>
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2010-09-30 22:15 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-05 1:37 BUG ??? Cannot export custom link type to ASCII :-( Sebastian Rose
2010-09-05 5:59 ` Carsten Dominik
2010-09-05 11:03 ` Sebastian Rose
2010-09-05 18:05 ` Bastien
2010-09-05 23:01 ` Sebastian Rose
2010-09-06 6:19 ` Carsten Dominik
2010-09-06 7:33 ` Sebastian Rose
2010-09-06 11:16 ` Bastien
2010-09-06 13:13 ` Sebastian Rose
2010-09-29 5:55 ` Carsten Dominik
2010-09-29 22:35 ` Sebastian Rose
2010-09-30 19:57 ` Carsten Dominik
2010-09-30 22:15 ` Sebastian Rose
2010-09-06 6:50 ` Bastien
2010-09-06 7:29 ` Sebastian Rose
2010-09-06 7:52 ` Bastien
2010-09-06 7:54 ` Carsten Dominik
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).