emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] ASCII export w/ citations


From: Nicolas Goaziou
Subject: Re: [O] ASCII export w/ citations
Date: Thu, 01 Jan 2015 19:36:08 +0100

Hello,

Ken Mankoff <address@hidden> writes:

> I have the following setup for citing in Org documents:
>
> (org-add-link-type
>  "textcite"  (lambda (key) (org-open-file cby-references-file t nil key))
>  (lambda (path desc format)
>    (cond
>     ((eq format 'latex) (format "\\textcite{%s}" path))
>     ((eq format 'ascii) (format "@%s" path))
>     )))
> (org-add-link-type
>  "cite"  (lambda (key) (org-open-file cby-references-file t nil key))
>  (lambda (path desc format)
>    (cond
>     ((eq format 'latex) (format "\\autocite{%s}" path))
>     ((eq format 'ascii) (format "address@hidden" path))
>     )))
>
> When I export to ASCII, things look mostly great. Except, at the bottom
> of every section, I have the "raw" Org citations repeated. That is, if I
> [[cite:Foo2001]] somewhere in the text, at the bottom I'll see:
>
> [(Foo, 2001)] cite:Foo2001
>
> Can anyone explain why ASCII export is repeating the "raw" cite commands
> at the bottom of each section and/or how to turn this off?

See `org-ascii-links-to-notes'.


Regards,

-- 
Nicolas Goaziou



reply via email to

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