Re: [O] issues with non-bracketed links in org 8.3

2014-11-09 Thread Nicolas Goaziou
Christopher Dannheim ch.dannh...@gmail.com writes:

 org-element-context yields:
 (paragraph (:begin 6145 :end 6166 :contents-begin 6145 :contents-end 6165
 :post-blank 1 :post-affiliated 6145 ...))

 After relaoding org:
 (link (:type textcite :path Hobart2003 :raw-link textcite:Hobart2003
 :application nil :search-option nil :begin 6145 ...))

 and the link is working again! Why is that the case?

A new type means that link syntax has to be updated. The parser didn't
do it. It should now be fixed.

Thank you for reporting the problem.


Regards,



Re: [O] issues with non-bracketed links in org 8.3

2014-11-08 Thread Nicolas Goaziou
Christopher Dannheim ch.dannh...@gmail.com writes:

 the variable org-link does contain 'textcite' (as well as all other bibtex
 and biblatex link types defined by org-ref/reftex).

 org-link-types is a variable defined in `org.el'.
 Its value is
 (http ... citep* citealt citealt* citealp citealp* citenum
 citetext citeauthor citeauthor* citeyear citeyear* Citet
 Citep Citealt Citealp Citeauthor Cite parencite Parencite
 footcite footcitetext textcite Textcite ... rmail)

OK. So what happens if you put point on you defective link, and eval

  M-: (org-element-context)

Then

  M-x org-reload M-: (org-element-context)


Regards,



Re: [O] issues with non-bracketed links in org 8.3

2014-11-08 Thread Christopher Dannheim
org-element-context yields:
(paragraph (:begin 6145 :end 6166 :contents-begin 6145 :contents-end 6165
:post-blank 1 :post-affiliated 6145 ...))

After relaoding org:
(link (:type textcite :path Hobart2003 :raw-link textcite:Hobart2003
:application nil :search-option nil :begin 6145 ...))

and the link is working again! Why is that the case? I get org with git
pull and then make autoloads, is that the problem?

Thank you for your help,
Christopher.

On Sat, Nov 8, 2014 at 8:08 PM, Nicolas Goaziou m...@nicolasgoaziou.fr
wrote:

 Christopher Dannheim ch.dannh...@gmail.com writes:

  the variable org-link does contain 'textcite' (as well as all other
 bibtex
  and biblatex link types defined by org-ref/reftex).
 
  org-link-types is a variable defined in `org.el'.
  Its value is
  (http ... citep* citealt citealt* citealp citealp* citenum
  citetext citeauthor citeauthor* citeyear citeyear* Citet
  Citep Citealt Citealp Citeauthor Cite parencite Parencite
  footcite footcitetext textcite Textcite ... rmail)

 OK. So what happens if you put point on you defective link, and eval

   M-: (org-element-context)

 Then

   M-x org-reload M-: (org-element-context)


 Regards,



Re: [O] issues with non-bracketed links in org 8.3

2014-11-07 Thread Nicolas Goaziou
Hello,

Christopher Dannheim ch.dannh...@gmail.com writes:

 in my textfiles, links created with org-ref-insert-cite-link are not enclosed
 in brackets (textcite:sth), while those created with  org-insert-link are
 ([[textcite:sth]]). Recently, the links without the  brackets are not
 recognized by my emacs anymore (clicking on them results in 'user error. no
 link found' and they are not exported to latex correctly). However, they
 are underlined and thus 'look' like links.

 My emacs-Version is 24.4.1, my org-mode version is 8.3.

 I know that I used to be able to compile the files that contained links 
 without
 brackets fine in the past. Do you have any idea what could cause this?

textcite:sth is correct as long as textcite is recognized as a link
type. Does it belong to `org-link-type' value?


Regards,

-- 
Nicolas Goaziou



Re: [O] issues with non-bracketed links in org 8.3

2014-11-07 Thread Christopher Dannheim
Hi,

the variable org-link does contain 'textcite' (as well as all other bibtex
and biblatex link types defined by org-ref/reftex).

org-link-types is a variable defined in `org.el'.
Its value is
(http ... citep* citealt citealt* citealp citealp* citenum
citetext citeauthor citeauthor* citeyear citeyear* Citet
Citep Citealt Citealp Citeauthor Cite parencite Parencite
footcite footcitetext textcite Textcite ... rmail)

Regards,
Christopher.

On Fri, Nov 7, 2014 at 9:54 PM, Nicolas Goaziou m...@nicolasgoaziou.fr
wrote:

 Hello,

 Christopher Dannheim ch.dannh...@gmail.com writes:

  in my textfiles, links created with org-ref-insert-cite-link are not
 enclosed
  in brackets (textcite:sth), while those created with  org-insert-link are
  ([[textcite:sth]]). Recently, the links without the  brackets are not
  recognized by my emacs anymore (clicking on them results in 'user error.
 no
  link found' and they are not exported to latex correctly). However, they
  are underlined and thus 'look' like links.
 
  My emacs-Version is 24.4.1, my org-mode version is 8.3.
 
  I know that I used to be able to compile the files that contained links
 without
  brackets fine in the past. Do you have any idea what could cause this?

 textcite:sth is correct as long as textcite is recognized as a link
 type. Does it belong to `org-link-type' value?


 Regards,

 --
 Nicolas Goaziou