[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: citeproc-org and org-ref 3
From: |
Joseph Vidal-Rosset |
Subject: |
Re: citeproc-org and org-ref 3 |
Date: |
Sat, 04 Dec 2021 15:31:23 +0000 |
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 references of pages in the
cite key when I need to quote pages.)
Best wishes, and thanks !
Jo.
Le 04/12/2021 à 16:07, John Kitchin a écrit :
> AFAICT this is also a style issue. This document:
>
> #+csl-style: apa-5th-edition.csl
>
> See [[cite:&scalia-2020-evaluat-scalab pg. 127]].
>
> bibliography:~/Dropbox/emacs/bibliography/references.bib
>
> exports to:
> image.png.
>
> This one:
> #+csl-style: apa-numeric-superscript-brackets.csl
>
> See [[cite:&scalia-2020-evaluat-scalab pg. 127]].
>
> bibliography:~/Dropbox/emacs/bibliography/references.bib
> exports to
> image.png
>
> and this one (note the extra HTML_HEAD lines which fixes the separate
> lines due to the div elements (Thank you for this tip Max!).
>
> #+csl-style: biochimica-et-biophysica-acta.csl
> #+HTML_HEAD: <style type="text/css">
> #+HTML_HEAD: .csl-left-margin, .csl-right-inline { display: inline; }
> #+HTML_HEAD: </style>
>
> See [[cite:&scalia-2020-evaluat-scalab pg. 127]].
>
> bibliography:~/Dropbox/emacs/bibliography/references.bib
>
>
> leads to
> image.png
>
>
> You can see that the first two styles show the locators, but the last
> one you use does not. I don't think that is something org-ref can or
> should fix. That would be something to fix in the styles themselves.
>
> John
>
> -----------------------------------
> Professor John Kitchin (he/him/his)
> Doherty Hall A207F
> Department of Chemical Engineering
> Carnegie Mellon University
> Pittsburgh, PA 15213
> 412-268-7803
> @johnkitchin
> http://kitchingroup.cheme.cmu.edu <http://kitchingroup.cheme.cmu.edu>
>
>
>
> On Sat, Dec 4, 2021 at 9:45 AM Joseph Vidal-Rosset
> <joseph@vidal-rosset.net <mailto:joseph@vidal-rosset.net>> wrote:
>
> 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 org-ref2 +
> citeproc-org , see for example:
>
>
> https://www.vidal-rosset.net/a_logical_remark_on_swinburnes_cartesian_argument_for_substance_dualism.html
>
> <https://www.vidal-rosset.net/a_logical_remark_on_swinburnes_cartesian_argument_for_substance_dualism.html>
>
> Swinburne’s argument is an amended version of Descartes’s in Discourse
> on the Method [1, p. 127]:
> )
>
> I hope that there is a solution.
>
> Best wishes,
>
> Jo.
>
> Le 03/12/2021 à 18:13, John Kitchin a écrit :
> > I think this is caused by something in the style, or in how citeproc
> > uses the style.
> >
> > This document:
> >
> > #+csl-style: biochimica-et-biophysica-acta.csl
> >
> > See [[cite:&scalia-2020-evaluat-scalab]].
> >
> > bibliography:~/Dropbox/emacs/bibliography/references.bib
> >
> > Leads to (as you have seen):
> >
> > image.png
> >
> > The html for that reference looks like:
> > <div class="csl-bib-body">
> > <div class="csl-entry"><a id="citeproc_bib_item_1"></a>
> > <div class="csl-left-margin">[1]</div><div
> > class="csl-right-inline">G. Scalia, C.A. Grambow, B. Pernici,
> Y.-P. Li,
> > W.H. Green, <a href="https://doi.org/10.1021/acs.jcim.9b00975
> <https://doi.org/10.1021/acs.jcim.9b00975>
> > <https://doi.org/10.1021/acs.jcim.9b00975
> <https://doi.org/10.1021/acs.jcim.9b00975>>">Evaluating Scalable
> > Uncertainty Estimation Methods for Deep Learning-Based Molecular
> > Property Prediction</a>, Journal of Chemical Information and
> Modeling,
> > 60 (2020) 2697-2717.</div>
> > </div>
> > </div>
> > </div>
> >
> > I don't see why there is an extra line there, I guess it is some CSS
> > styling.
> >
> > if you change the csl style to apa-numeric-superscript-brackets.csl
> >
> > you get
> > image.png
> >
> > which I think is closer to what you want. The html for this looks
> like
> > this, and does not have some of the div elements seen above. I guess
> > this is something in the style files themselves.
> >
> > <div class="csl-bib-body">
> > <div class="csl-entry"><a id="citeproc_bib_item_1"></a>1.
> Scalia, G.,
> > Grambow, C. A., Pernici, B., Li, Y.-P., & Green, W. H. (2020).
> > Evaluating Scalable Uncertainty Estimation Methods for Deep
> > Learning-Based Molecular Property Prediction. <i>Journal of Chemical
> > Information and Modeling</i>, <i>60</i>(6), 2697–2717. <a
> > href="https://doi.org/10.1021/acs.jcim.9b00975
> <https://doi.org/10.1021/acs.jcim.9b00975>
> > <https://doi.org/10.1021/acs.jcim.9b00975
>
> <https://doi.org/10.1021/acs.jcim.9b00975>>">https://doi.org/10.1021/acs.jcim.9b00975
> <https://doi.org/10.1021/acs.jcim.9b00975>
> > <https://doi.org/10.1021/acs.jcim.9b00975
> <https://doi.org/10.1021/acs.jcim.9b00975>></a></div>
> > </div>
> > </div>
> >
> >
> >
> > John
> >
> > -----------------------------------
> > Professor John Kitchin (he/him/his)
> > Doherty Hall A207F
> > Department of Chemical Engineering
> > Carnegie Mellon University
> > Pittsburgh, PA 15213
> > 412-268-7803
> > @johnkitchin
> > http://kitchingroup.cheme.cmu.edu
> <http://kitchingroup.cheme.cmu.edu>
> <http://kitchingroup.cheme.cmu.edu <http://kitchingroup.cheme.cmu.edu>>
> >
> >
> >
> > On Fri, Dec 3, 2021 at 11:49 AM Joseph Vidal-Rosset
> > <joseph@vidal-rosset.net <mailto:joseph@vidal-rosset.net>
> <mailto:joseph@vidal-rosset.net <mailto:joseph@vidal-rosset.net>>>
> wrote:
> >
> > 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 exported with
> > biochimica-et-biophysica-acta.csl and with ieee-with-url.csl Best
> > wishes, Jo.
> >
>
- Re: citeproc-org and org-ref 3, (continued)
- Re: citeproc-org and org-ref 3, Joseph Vidal-Rosset, 2021/12/02
- Re: citeproc-org and org-ref 3, Joseph Vidal-Rosset, 2021/12/02
- Re: citeproc-org and org-ref 3, John Kitchin, 2021/12/02
- Re: citeproc-org and org-ref 3, Joseph Vidal-Rosset, 2021/12/03
- Re: citeproc-org and org-ref 3, John Kitchin, 2021/12/03
- Re: citeproc-org and org-ref 3, Joseph Vidal-Rosset, 2021/12/03
- Re: citeproc-org and org-ref 3, John Kitchin, 2021/12/03
- Re: citeproc-org and org-ref 3, Max Nikulin, 2021/12/04
- Re: citeproc-org and org-ref 3, Joseph Vidal-Rosset, 2021/12/04
- Re: citeproc-org and org-ref 3, John Kitchin, 2021/12/04
- Re: citeproc-org and org-ref 3,
Joseph Vidal-Rosset <=
Re: citeproc-org and org-ref 3, John Kitchin, 2021/12/01