emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] org-ref in action


From: Joseph Vidal-Rosset
Subject: Re: [O] org-ref in action
Date: Mon, 30 Jun 2014 12:06:42 +0200

I thank you Eric for your quick and kind reply.

In my init.el  file  I have put this code :

(eval-after-load 'reftex-vars
  '(progn

     (add-to-list 'reftex-cite-format-builtin
                  '(org "Org-mode citation"
                        ((?\C-m . "[[cite:(%p)%l]]")
                         (?t . "[[textcite:%l]]")
                         (?p . "[[parencite:%l]]")
                         (?s . "[[posscite:%l]]")
                         (?a . "[[citeauthor:%l]]")
                         (?y . "[[citeyear:%l]]"))))))

2014-06-30 11:52 GMT+02:00 Eric Schulte <address@hidden>:
Could you be more specific?  Does org-mode generate any latex at all,
and how does it differ from what you'd expect?  If no LaTeX is
generated, and Org-mode actually throws an error then please provide a
backtrace.  I should be able to help but I'll need more information.

Thanns to the default cite action, I get for example in my org file:

 [[cite:(119–136)johansson36:_minim_formal]]

and it creates no reference at al, because via the export I get:

\cite{(119–136)johansson36:_minim_formal}

 

One thing I noticed is that I got better behavior if I didn't allow line
breaks in the link, which was easily accomplished by replacing
[[cite:(page n)one-reference-paper-year]] with
[[cite:(page~n)one-reference-paper-year]].  In general the later is
actually /preferable/ than the former, as you don't want LaTeX breaking
lines in the middle of a citation either.

It is not the issue here because I have no broken line.

I'm using bibtex here and no biblatex. Maybe biblatex is a better option, but it is another question.

Best

Jo. 



reply via email to

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