Re: citeproc-org and org-ref 3

2021-12-04 Thread Joseph Vidal-Rosset
Dear John, It is in fact an org cite issue. With org-ref 2, I used to write: something like [[cite:key][page n]] with C-l + description . With org-ref 3, I see that I must write now: [[cite:key page n]] and it works with ieee csl style also. (I still do not know how to quote directly reference

Re: citeproc-org and org-ref 3

2021-12-04 Thread Joseph Vidal-Rosset
Dear John, Another more important point. It is now more probably a point where org-ref 3 needs to be improved: it seems to me that the format [numerical_reference, page] or (name_reference, page) cannot be produced for the html export. (The format [numerical_reference, page] was produced with

Re: citeproc-org and org-ref 3

2021-12-04 Thread Max Nikulin
On 04/12/2021 00:13, John Kitchin wrote:     [1]class="csl-right-inline">G. Scalia, C.A. Grambow, B. Pernici, Y.-P. Li, W.H. Green, https://doi.org/10.1021/acs.jcim.9b00975 I don't see why there is an extra line there, I guess it is some CSS styling. by default is a block-level element,

Re: citeproc-org and org-ref 3

2021-12-03 Thread Joseph Vidal-Rosset
Le 03/12/2021 à 16:24, John Kitchin a écrit : > I have seen this happen at times, and I think it is style and maybe > browser dependent. > > Could you send me a small example (including the csl file you use) that > I could look at? Dear John, In attachment, two small examples, the same text expo

Re: citeproc-org and org-ref 3

2021-12-03 Thread John Kitchin
I have seen this happen at times, and I think it is style and maybe browser dependent. Could you send me a small example (including the csl file you use) that I could look at? Joseph Vidal-Rosset writes: > Hi John, > > A detail about exporting with org-ref 3 in html when the csl style is > for

Re: citeproc-org and org-ref 3

2021-12-03 Thread Joseph Vidal-Rosset
Hi John, A detail about exporting with org-ref 3 in html when the csl style is for numeric references. With org-ref 2 + citeproc-org, I got this: [1] R. Descartes, Meditations on First Philosophy: with Selections from the Objections and Replies. Oxford: OUP Oxford, 2008. (see the references here

Re: citeproc-org and org-ref 3

2021-12-02 Thread John Kitchin
Glad to hear it is working again for you! Best wishes, Joseph Vidal-Rosset writes: > Dear all, > > > I just succeeded in solving my problem. > > l-210-235 of myblogexporter.el, I changed the code for: > > (defun org-export-head-export-headers (directory-name backend) >"Exports each heading t

Re: citeproc-org and org-ref 3

2021-12-02 Thread Joseph Vidal-Rosset
Dear all, I just succeeded in solving my problem. l-210-235 of myblogexporter.el, I changed the code for: (defun org-export-head-export-headers (directory-name backend) "Exports each heading to directory-name using backend" (if (equal backend "html") (org-export-head--run-on-each-h

Re: citeproc-org and org-ref 3

2021-12-02 Thread Joseph Vidal-Rosset
Dear John (cc. Ivan), First, thanks for your help and for your patience, that's very kind of you. The good news is that indeed, org-ref 3 exports nicely the html bibliography with my CSL file, it works well with your org file and your bibliography. My error was simple: I did not use the specific

Re: citeproc-org and org-ref 3

2021-12-01 Thread John Kitchin
nil entries are not that uncommon in bibtex entries that are retrieved with org-ref, especially for ASAP articles which typically have not been assigned volumes, pages, etc. I usually put nil in as a placeholder so that the empty fields don't get deleted when you clean the entry. They are also easy

Re: citeproc-org and org-ref 3

2021-12-01 Thread John Kitchin
Joseph Vidal-Rosset writes: > Dear Andras, > > You are very probably right. I will have a look on this entry in my > default bibliography file. > > The code > > (let ((org-export-before-parsing-hook '(org-ref-csl-preprocess-buffer))) > (org-open-file (org-html-export-to-html))) > > pu

Re: citeproc-org and org-ref 3

2021-12-01 Thread Joseph Vidal-Rosset
Dear Andras, You are very probably right. I will have a look on this entry in my default bibliography file. The code (let ((org-export-before-parsing-hook '(org-ref-csl-preprocess-buffer))) (org-open-file (org-html-export-to-html))) put in .emacs.d/personal/preload/myorgexport.el pro

Re: citeproc-org and org-ref 3

2021-12-01 Thread András Simonyi
Dear Joseph, based on the error message there seems to be a problem with the 'curley-nil-on-bennet-spinoz' bibliography entry, is it possible that it contains a 'year = nil' row? If yes then I don't think that is well-formed, at least citeproc-el cannot currently parse it. Anyhow, apparently I nee

Re: citeproc-org and org-ref 3

2021-12-01 Thread Joseph Vidal-Rosset
Dear John, I must say that to export references in html with org-ref 3, I meet a lot of problems (with LaTeX, it's fine). I am using prelude emacs and GNU Emacs 29.0.50 . Starting emacs --daemon, the code (let ((org-export-before-parsing-hook '(org-ref-csl-preprocess-buffer))) (org-open-

Re: citeproc-org and org-ref 3

2021-11-30 Thread Joseph Vidal-Rosset
Many thanks John ! I will try and I will inform all of you. Best wishes, Jo. Le 30/11/2021 à 18:31, John Kitchin a écrit : > See https://www.youtube.com/watch?v=rRR-5NSpKyE > for an overview of what to > do. basically you need a csl file that provid

Re: citeproc-org and org-ref 3

2021-11-30 Thread John Kitchin
See https://www.youtube.com/watch?v=rRR-5NSpKyE for an overview of what to do. basically you need a csl file that provides the style you want, and you specify it like this in the org file or in default settings. You may also need a locale file if you are not blogging in english. #+csl-style: apa-5

Re: citeproc-org and org-ref 3

2021-11-30 Thread Joseph Vidal-Rosset
Many thanks Andras for this first clarification. There is no hurry and after John's advice, I will take the most convenient decision. Many thanks to both of you for your very helpful works. Best wishes, Jo. Le 30/11/2021 à 18:16, András Simonyi a écrit : > Dear Joseph, > > unfortunately, my not

Re: citeproc-org and org-ref 3

2021-11-30 Thread András Simonyi
Dear Joseph, unfortunately, my note on the `citeproc-org` page has become kind of misleading and has to be updated because org-ref didn't switch to the new org-cite citation syntax after all, although this was the plan for a while. I think if you wish to use org-ref 3 then you should simply remove

citeproc-org and org-ref 3

2021-11-30 Thread Joseph Vidal-Rosset
Dear John, and dear Andras, Having updated my org-ref to the last version, I see that the html export of bibliography does not work any longer for my blog. Reading Andras's note here https://github.com/andras-simonyi/citeproc-org I confess that I am lost. What have I to do to not waste too muc