Re: org-ref-helm-insert-cite-link (using bibtex) when exporting to html

2022-02-17 Thread Uwe Brauer
>>> "JK" == John Kitchin  writes:

> I guess you are using the older org-ref version 2 here. If so, there isn't
> a real way to customize that, it comes from org-ref-get-html-bibliography
> which hard codes an unordered list.

This kludge «solves» it 

(defun org-ref-get-html-bibliography ( sort)
  "Create an html bibliography when there are keys.
If one of SORT and `org-ref-bib-html-sorted' is non-nil,
the bibliography is alphabetically sorted."
  (let ((keys (org-ref-get-bibtex-keys (or sort org-ref-bib-html-sorted
(when keys
  (concat org-ref-bib-html ""
  "\n\n" ; a kludge to obtain a numbered list 
UB:18.02.2022:
  (mapconcat (lambda (x) (org-ref-get-bibtex-entry-html x)) keys 
"\n")
  "\n" ;second part of the kludge 
UB:18.02.2022:
  "\n"


> In version 3, you can use csl for this.

I remember running into issues with version 3. But in the future, if time
permits, I have to try it again.



smime.p7s
Description: S/MIME cryptographic signature


Re: org-ref-helm-insert-cite-link (using bibtex) when exporting to html

2022-02-17 Thread John Kitchin
I guess you are using the older org-ref version 2 here. If so, there isn't
a real way to customize that, it comes from org-ref-get-html-bibliography
which hard codes an unordered list.

In version 3, you can use csl for this.

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 Thu, Feb 17, 2022 at 3:19 PM Uwe Brauer  wrote:

> "JK" == John Kitchin  writes:

>>> There aren't enough details here to figure out what you mean. The
>> bibliography formatting should be determined by the CSL style.
>>
> I am not sure whether I should send here all my settings, but I convert
> the org file either with the standard org exporter or as in this example
> using org-mime-htmlize the result is an unnumbered list.
>
> MR2980528 <#m_-6043399637367556315_MR2980528>
>
> MR2779087 <#m_-6043399637367556315_MR2779087>
>
> MR2608125 <#m_-6043399637367556315_MR2608125>
>
> Bibliography
>
>- [MR2980528] Coutand & Shkoller, Well-posedness in smooth function
>spaces for the moving-boundary three-dimensional compressible Euler
>equations in physical vacuum, *Arch. Ration. Mech. Anal.*, *206(2)*,
>515-616 (2012). link . doi
>.
>- [MR2779087] Coutand & Shkoller, Well-posedness in smooth function
>spaces for moving-boundary 1-D compressible Euler equations in physical
>vacuum, *Comm. Pure Appl. Math.*, *64(3)*, 328-366 (2011). link
>. doi
>.
>- [MR2608125] Coutand, Lindblad, Shkoller & Steve, A priori estimates
>for the free-boundary 3D compressible Euler equations in physical vacuum, 
> *Comm.
>Math. Phys.*, *296(2)*, 559-587 (2010). link
>. doi
>.
>
>


Re: org-ref-helm-insert-cite-link (using bibtex) when exporting to html

2022-02-17 Thread Uwe Brauer
The correct conversion should be 

* An example

cite:MR2980528

cite:MR2779087

cite:MR2608125

bibliographystyle:amsalpha-url
bibliography:/home/oub/ALLES/HGs/tex/bib/free.bib



Re: org-ref-helm-insert-cite-link (using bibtex) when exporting to html

2022-02-17 Thread Uwe Brauer

>>> "JK" == John Kitchin  writes:

> There aren't enough details here to figure out what you mean.
> The bibliography formatting should be determined by the CSL style.

I am not sure whether I should send here all my settings, but I convert the org 
file either with the standard org exporter or as in this example using 
org-mime-htmlize the result is an unnumbered list.



cite:MR2980528

cite:MR2779087

cite:MR2608125

bibliographystyle:amsalpha-url
bibliography:/home/oub/ALLES/HGs/tex/bib/free.bib






smime.p7s
Description: S/MIME cryptographic signature


Re: org-ref-helm-insert-cite-link (using bibtex) when exporting to html

2022-02-17 Thread John Kitchin
There aren't enough details here to figure out what you mean.

The bibliography formatting should be determined by the CSL style.

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 Thu, Feb 17, 2022 at 10:57 AM Uwe Brauer  wrote:

>
> Hi
>
> I have a small org file with some bibtex references I insert using
> org-ref-helm-insert-cite-link.
>
> When I export the file to html, the list of reference gets a bullet
> list.
>
> Any change to get a numerated list (I am not sure I asked that in the
> past...)?
>
> Regards
>
> Uwe Brauer
>
>
>


Re: Org-ref-helm-insert-cite-link

2021-02-23 Thread Kyle Meyer
Marvin M. Doyley writes:

> Hi there,
>
> For some reason org-ref-helm-insert-cite-link is not working anymore
> for me. When I try to execute it, I get the following error
> helm-bibtex-candidates-formatter: Symbol’s function definition is
> void: bibtex-completion-candidates-formatter

I don't use org-ref or helm-bibtex, but, based on poking around in their
repos, helm-bibtex removed bibtex-completion-candidates-formatter way
back in 390e9c3 (move helm-specific code to helm-bibtex.el, 2016-09-27),
which in turn led to 400c4f4 (use helm-bibtex-candidates-formatter,
2016-10-01) on org-ref's side.  So...

> Does anybody know how to fix this?

... while it's not really a satisfying answer, I suspect your issue will
be fixed by uninstalling both packages, including the *.elc files, and
reinstalling.