emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-ref-formatted-citation-formats for books: ISBN
@ 2023-03-10 15:07 Uwe Brauer
  2023-03-30 12:13 ` Ihor Radchenko
  0 siblings, 1 reply; 4+ messages in thread
From: Uwe Brauer @ 2023-03-10 15:07 UTC (permalink / raw)
  To: emacs-orgmode

Hi 

I have 

The following setting in my custom file

 '(org-ref-formatted-citation-formats
   '(
     ("org"
      ("misc" . "${author}, /${title}/ *${howpublished}* ${url} (${year}).")
      ("article" . "${author}, /${title}/, ${journal}, *${volume}(${number})*, ${pages} (${year}). ${doi}")
      ("inproceedings" . "${author}, /${title}/, In ${editor}, ${booktitle} (pp. ${pages}) (${year}). ${address}: ${publisher}.")
      ("book" . "${author}, /${title}/ (${year}), ${ISBN}, (pp. ${pages}) ${address}: ${publisher}.")

However when I want to export a book reference to HTML, the ISBN field
is not inserted.

Any idea what is wrong?

Thanks 


Uwe Brauer 


-- 
Warning: Content may be disturbing to some audiences
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine. 
https://addons.thunderbird.net/en-US/thunderbird/addon/gmail-conversation-view/



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: org-ref-formatted-citation-formats for books: ISBN
  2023-03-10 15:07 org-ref-formatted-citation-formats for books: ISBN Uwe Brauer
@ 2023-03-30 12:13 ` Ihor Radchenko
  2023-04-01 13:50   ` John Kitchin
  0 siblings, 1 reply; 4+ messages in thread
From: Ihor Radchenko @ 2023-03-30 12:13 UTC (permalink / raw)
  To: Uwe Brauer; +Cc: emacs-orgmode

Uwe Brauer <oub@mat.ucm.es> writes:

> The following setting in my custom file
> ...
>       ("book" . "${author}, /${title}/ (${year}), ${ISBN}, (pp. ${pages}) ${address}: ${publisher}.")
>
> However when I want to export a book reference to HTML, the ISBN field
> is not inserted.
>
> Any idea what is wrong?

Maybe it is case-sensitive.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: org-ref-formatted-citation-formats for books: ISBN
  2023-03-30 12:13 ` Ihor Radchenko
@ 2023-04-01 13:50   ` John Kitchin
  2023-04-01 15:05     ` Uwe Brauer
  0 siblings, 1 reply; 4+ messages in thread
From: John Kitchin @ 2023-04-01 13:50 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: Uwe Brauer, emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1430 bytes --]

there isn't enough information to tell what you are trying to do or if it
is the right thing to do. I don't think that is how org-ref exports to HTML
anymore, now it uses CSL. There is something like that syntax for
bibtex-completion-display-formats.

You should file an issue at https://github.com/jkitchin/org-ref/issues with
a small example org-file, bibtex example, and configuration that reproduces
your problem.

On Thu, Mar 30, 2023 at 8:11 AM Ihor Radchenko <yantar92@posteo.net> wrote:

> Uwe Brauer <oub@mat.ucm.es> writes:
>
> > The following setting in my custom file
> > ...
> >       ("book" . "${author}, /${title}/ (${year}), ${ISBN}, (pp.
> ${pages}) ${address}: ${publisher}.")
> >
> > However when I want to export a book reference to HTML, the ISBN field
> > is not inserted.
> >
> > Any idea what is wrong?
>
> Maybe it is case-sensitive.
>
> --
> Ihor Radchenko // yantar92,
> Org mode contributor,
> Learn more about Org mode at <https://orgmode.org/>.
> Support Org development at <https://liberapay.com/org-mode>,
> or support my work at <https://liberapay.com/yantar92>
>
>

-- 
John

-----------------------------------
Professor John Kitchin (he/his)
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
https://kitchingroup.cheme.cmu.edu
https://pointbreezepubs.gumroad.com/ pycse bookstore

[-- Attachment #2: Type: text/html, Size: 2476 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: org-ref-formatted-citation-formats for books: ISBN
  2023-04-01 13:50   ` John Kitchin
@ 2023-04-01 15:05     ` Uwe Brauer
  0 siblings, 0 replies; 4+ messages in thread
From: Uwe Brauer @ 2023-04-01 15:05 UTC (permalink / raw)
  To: John Kitchin; +Cc: Ihor Radchenko, Uwe Brauer, emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1035 bytes --]

>>> "JK" == John Kitchin <jkitchin@andrew.cmu.edu> writes:

> there isn't enough information to tell what you are trying to do or if it
> is the right thing to do. I don't think that is how org-ref exports to HTML
> anymore, now it uses CSL. There is something like that syntax for
> bibtex-completion-display-formats.

> You should file an issue at https://github.com/jkitchin/org-ref/issues with
> a small example org-file, bibtex example, and configuration that reproduces
> your problem.

I don't know precisely why, but after following Ihor's advice, the (old)
html export worked in the sense that it included the isbn field. 
Not sure what happened.

Regards



-- 
Warning: Content may be disturbing to some audiences
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine. 
https://addons.thunderbird.net/en-US/thunderbird/addon/gmail-conversation-view/

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-04-01 15:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-10 15:07 org-ref-formatted-citation-formats for books: ISBN Uwe Brauer
2023-03-30 12:13 ` Ihor Radchenko
2023-04-01 13:50   ` John Kitchin
2023-04-01 15:05     ` Uwe Brauer

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).