emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Kitchin <jkitchin@andrew.cmu.edu>
To: Joseph Vidal-Rosset <joseph@vidal-rosset.net>
Cc: org-mode-email <emacs-orgmode@gnu.org>,
	"András Simonyi" <andras.simonyi@gmail.com>
Subject: Re: citeproc-org and org-ref 3
Date: Fri, 3 Dec 2021 12:13:10 -0500	[thread overview]
Message-ID: <CAJ51ETot43nc3S_s_03Euta0RmPJBDkb4VEHfNq=Z147QMPX0w@mail.gmail.com> (raw)
In-Reply-To: <c644977f-456a-dc1c-87f6-4f8503c74454@vidal-rosset.net>


[-- Attachment #1.1: Type: text/plain, Size: 2460 bytes --]

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: 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">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: 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., &#38; 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</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



On Fri, Dec 3, 2021 at 11:49 AM Joseph Vidal-Rosset <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.

[-- Attachment #1.2: Type: text/html, Size: 3877 bytes --]

[-- Attachment #2: image.png --]
[-- Type: image/png, Size: 83713 bytes --]

[-- Attachment #3: image.png --]
[-- Type: image/png, Size: 90809 bytes --]

  reply	other threads:[~2021-12-03 17:14 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 [this message]
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
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='CAJ51ETot43nc3S_s_03Euta0RmPJBDkb4VEHfNq=Z147QMPX0w@mail.gmail.com' \
    --to=jkitchin@andrew.cmu.edu \
    --cc=andras.simonyi@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=joseph@vidal-rosset.net \
    /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).