From: Joseph Vidal-Rosset <joseph@vidal-rosset.net>
To: John Kitchin <jkitchin@andrew.cmu.edu>
Cc: org-mode-email <emacs-orgmode@gnu.org>,
"András Simonyi" <andras.simonyi@gmail.com>
Subject: Re: citeproc-org and org-ref 3
Date: Sat, 04 Dec 2021 15:31:23 +0000 [thread overview]
Message-ID: <c9000e3c-50dc-7a74-3253-450333ea25a1@vidal-rosset.net> (raw)
In-Reply-To: <CAJ51ETr0Lf7ZC6mCq1N-_1TUE6jgKjxNRnDGGb-bpBfYnx4RHQ@mail.gmail.com>
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.
> >
>
next prev parent reply other threads:[~2021-12-04 15:32 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-30 17:00 citeproc-org and org-ref 3 Joseph Vidal-Rosset
2021-11-30 17:16 ` András Simonyi
2021-11-30 17:24 ` Joseph Vidal-Rosset
2021-11-30 17:31 ` John Kitchin
2021-11-30 18:15 ` Joseph Vidal-Rosset
2021-12-01 15:49 ` Joseph Vidal-Rosset
2021-12-01 16:33 ` András Simonyi
2021-12-01 16:48 ` Joseph Vidal-Rosset
2021-12-01 22:16 ` John Kitchin
2021-12-02 13:17 ` Joseph Vidal-Rosset
2021-12-02 15:56 ` Joseph Vidal-Rosset
2021-12-02 17:35 ` John Kitchin
2021-12-03 8:04 ` Joseph Vidal-Rosset
2021-12-03 15:24 ` John Kitchin
2021-12-03 16:48 ` Joseph Vidal-Rosset
2021-12-03 17:13 ` John Kitchin
2021-12-04 14:23 ` Max Nikulin
2021-12-04 14:45 ` Joseph Vidal-Rosset
2021-12-04 15:07 ` John Kitchin
2021-12-04 15:31 ` Joseph Vidal-Rosset [this message]
2021-12-01 22:08 ` John Kitchin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c9000e3c-50dc-7a74-3253-450333ea25a1@vidal-rosset.net \
--to=joseph@vidal-rosset.net \
--cc=andras.simonyi@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=jkitchin@andrew.cmu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).