emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Two bibliography slides using org-reveal
@ 2019-07-25 12:18 Johannes Brauer
  2019-07-25 12:41 ` Fraga, Eric
  0 siblings, 1 reply; 13+ messages in thread
From: Johannes Brauer @ 2019-07-25 12:18 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

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

Hi,

I am not sure wether this is the right place for my question. I am using org-reveal for building reveal.js slides.
The last line of my org file is something like that:
* bibliography:referenzen.bib
Since I am using reveal.js-3.8.0 I get two bibliography slides instead of one at the end of the slide deck.
Normal Html export works correctly, there I see only one bibliography header.

Any hints what's going wrong?

Johannes

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

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

* Re: Two bibliography slides using org-reveal
  2019-07-25 12:18 Two bibliography slides using org-reveal Johannes Brauer
@ 2019-07-25 12:41 ` Fraga, Eric
  2019-07-25 13:54   ` Johannes Brauer
  0 siblings, 1 reply; 13+ messages in thread
From: Fraga, Eric @ 2019-07-25 12:41 UTC (permalink / raw)
  To: Johannes Brauer; +Cc: emacs-orgmode@gnu.org

I have no idea but, on the off-chance, maybe don't make that line a
headline?
-- 
Eric S Fraga via Emacs 27.0.50, Org release_9.2.4-399-g4e6222

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

* Re: Two bibliography slides using org-reveal
  2019-07-25 12:41 ` Fraga, Eric
@ 2019-07-25 13:54   ` Johannes Brauer
  2019-07-25 13:59     ` John Kitchin
  0 siblings, 1 reply; 13+ messages in thread
From: Johannes Brauer @ 2019-07-25 13:54 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

Yes, I have tried that and indeed then I get only one bib slide. But then, in normal Html export, the bibliography appears under the preceding headline, that’s ugly.


> Am 25.07.2019 um 14:41 schrieb Fraga, Eric <e.fraga@ucl.ac.uk>:
> 
> I have no idea but, on the off-chance, maybe don't make that line a
> headline?
> -- 
> Eric S Fraga via Emacs 27.0.50, Org release_9.2.4-399-g4e6222


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

* Re: Two bibliography slides using org-reveal
  2019-07-25 13:54   ` Johannes Brauer
@ 2019-07-25 13:59     ` John Kitchin
  2019-07-25 14:27       ` Johannes Brauer
  2019-07-25 17:00       ` Jens Lechtenboerger
  0 siblings, 2 replies; 13+ messages in thread
From: John Kitchin @ 2019-07-25 13:59 UTC (permalink / raw)
  To: Johannes Brauer; +Cc: emacs-orgmode@gnu.org

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

the bibliography export is not too fancy. It is defined in the
function org-ref-bibliography-format.

I am not sure you can win, for latex export it doesn't make sense to put
the bibliography link in a heading. you might be able to add a specific
reveal export option to the export function though.

John

-----------------------------------
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu



On Thu, Jul 25, 2019 at 9:55 AM Johannes Brauer <brauer@nordakademie.de>
wrote:

> Yes, I have tried that and indeed then I get only one bib slide. But then,
> in normal Html export, the bibliography appears under the preceding
> headline, that’s ugly.
>
>
> > Am 25.07.2019 um 14:41 schrieb Fraga, Eric <e.fraga@ucl.ac.uk>:
> >
> > I have no idea but, on the off-chance, maybe don't make that line a
> > headline?
> > --
> > Eric S Fraga via Emacs 27.0.50, Org release_9.2.4-399-g4e6222
>
>

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

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

* Re: Two bibliography slides using org-reveal
  2019-07-25 13:59     ` John Kitchin
@ 2019-07-25 14:27       ` Johannes Brauer
  2019-07-25 17:00       ` Jens Lechtenboerger
  1 sibling, 0 replies; 13+ messages in thread
From: Johannes Brauer @ 2019-07-25 14:27 UTC (permalink / raw)
  To: John Kitchin; +Cc: emacs-orgmode@gnu.org

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



Am 25.07.2019 um 15:59 schrieb John Kitchin <jkitchin@andrew.cmu.edu<mailto:jkitchin@andrew.cmu.edu>>:

the bibliography export is not too fancy. It is defined in the function org-ref-bibliography-format.

I am not sure you can win, for latex export it doesn't make sense to put the bibliography link in a heading
I am using only Html export (which works correctly) and org-reveal (with 2 bib slides)

. you might be able to add a specific reveal export option to the export function though.
I haven’t a clue how to do that

Johannes



On Thu, Jul 25, 2019 at 9:55 AM Johannes Brauer <brauer@nordakademie.de<mailto:brauer@nordakademie.de>> wrote:
Yes, I have tried that and indeed then I get only one bib slide. But then, in normal Html export, the bibliography appears under the preceding headline, that’s ugly.


> Am 25.07.2019 um 14:41 schrieb Fraga, Eric <e.fraga@ucl.ac.uk<mailto:e.fraga@ucl.ac.uk>>:
>
> I have no idea but, on the off-chance, maybe don't make that line a
> headline?
> --
> Eric S Fraga via Emacs 27.0.50, Org release_9.2.4-399-g4e6222



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

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

* Re: Two bibliography slides using org-reveal
  2019-07-25 13:59     ` John Kitchin
  2019-07-25 14:27       ` Johannes Brauer
@ 2019-07-25 17:00       ` Jens Lechtenboerger
  2019-07-25 21:44         ` Johannes Brauer
  1 sibling, 1 reply; 13+ messages in thread
From: Jens Lechtenboerger @ 2019-07-25 17:00 UTC (permalink / raw)
  To: Johannes Brauer; +Cc: emacs-orgmode@gnu.org, John Kitchin

I created org-re-reveal-ref [1] based on my fork org-re-reveal for
bibliographies with org-ref.  I only use it for export to reveal.js and
PDF, but HTML seems fine as well.  That package is part of emacs-reveal
[2].

Best wishes
Jens

[1] https://gitlab.com/oer/org-re-reveal-ref
[2] https://gitlab.com/oer/emacs-reveal

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

> the bibliography export is not too fancy. It is defined in the function org-ref-bibliography-format.
>
> I am not sure you can win, for latex export it doesn't make sense to put the bibliography link in a heading. you might be able to add a specific reveal export
> option to the export function though.
>
> John
>
> -----------------------------------
> Professor John Kitchin 
> Doherty Hall A207F
> Department of Chemical Engineering
> Carnegie Mellon University
> Pittsburgh, PA 15213
> 412-268-7803
> @johnkitchin
> http://kitchingroup.cheme.cmu.edu
>
> On Thu, Jul 25, 2019 at 9:55 AM Johannes Brauer <brauer@nordakademie.de> wrote:
>
>  Yes, I have tried that and indeed then I get only one bib slide. But then, in normal Html export, the bibliography appears under the preceding headline,
>  that’s ugly.
>
>  > Am 25.07.2019 um 14:41 schrieb Fraga, Eric <e.fraga@ucl.ac.uk>:
>  > 
>  > I have no idea but, on the off-chance, maybe don't make that line a
>  > headline?
>  > -- 
>  > Eric S Fraga via Emacs 27.0.50, Org release_9.2.4-399-g4e6222

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

* Re: Two bibliography slides using org-reveal
  2019-07-25 17:00       ` Jens Lechtenboerger
@ 2019-07-25 21:44         ` Johannes Brauer
  2019-07-26  6:43           ` Jens Lechtenboerger
  0 siblings, 1 reply; 13+ messages in thread
From: Johannes Brauer @ 2019-07-25 21:44 UTC (permalink / raw)
  To: Jens Lechtenboerger; +Cc: emacs-orgmode@gnu.org, John Kitchin

Thank you Jens für your hint. 
I downloaded [1] but when I try M-x load-library  followed by org-re-reveal-ref I get
"Cannot open load file: No such file or directory, org-re-reveal"
although I’ve org-ref installed. What is going wrong?

Johannes

> Am 25.07.2019 um 19:00 schrieb Jens Lechtenboerger <lechten@wi.uni-muenster.de>:
> 
> I created org-re-reveal-ref [1] based on my fork org-re-reveal for
> bibliographies with org-ref.  I only use it for export to reveal.js and
> PDF, but HTML seems fine as well.  That package is part of emacs-reveal
> [2].
> 
> Best wishes
> Jens
> 
> [1] https://gitlab.com/oer/org-re-reveal-ref
> [2] https://gitlab.com/oer/emacs-reveal
> 
> John Kitchin <jkitchin@andrew.cmu.edu> writes:
> 
>> the bibliography export is not too fancy. It is defined in the function org-ref-bibliography-format.
>> 
>> I am not sure you can win, for latex export it doesn't make sense to put the bibliography link in a heading. you might be able to add a specific reveal export
>> option to the export function though.
>> 
>> John
>> 
>> -----------------------------------
>> Professor John Kitchin 
>> Doherty Hall A207F
>> Department of Chemical Engineering
>> Carnegie Mellon University
>> Pittsburgh, PA 15213
>> 412-268-7803
>> @johnkitchin
>> http://kitchingroup.cheme.cmu.edu
>> 
>> On Thu, Jul 25, 2019 at 9:55 AM Johannes Brauer <brauer@nordakademie.de> wrote:
>> 
>> Yes, I have tried that and indeed then I get only one bib slide. But then, in normal Html export, the bibliography appears under the preceding headline,
>> that’s ugly.
>> 
>>> Am 25.07.2019 um 14:41 schrieb Fraga, Eric <e.fraga@ucl.ac.uk>:
>>> 
>>> I have no idea but, on the off-chance, maybe don't make that line a
>>> headline?
>>> -- 
>>> Eric S Fraga via Emacs 27.0.50, Org release_9.2.4-399-g4e6222


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

* Re: Two bibliography slides using org-reveal
  2019-07-25 21:44         ` Johannes Brauer
@ 2019-07-26  6:43           ` Jens Lechtenboerger
  2019-07-26 13:08             ` Johannes Brauer
  0 siblings, 1 reply; 13+ messages in thread
From: Jens Lechtenboerger @ 2019-07-26  6:43 UTC (permalink / raw)
  To: Johannes Brauer; +Cc: emacs-orgmode@gnu.org, John Kitchin

Johannes Brauer <brauer@nordakademie.de> writes:

> I downloaded [1] but when I try M-x load-library  followed by org-re-reveal-ref I get
> "Cannot open load file: No such file or directory, org-re-reveal"
> although I’ve org-ref installed. What is going wrong?

Hi Johannes,

you also need to install org-re-reveal, from MELPA or from GitLab [2].
I just updated org-re-reveal-ref to clarify this.  Sorry for the
omission.

Best wishes
Jens

[2] https://gitlab.com/oer/org-re-reveal/

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

* Re: Two bibliography slides using org-reveal
  2019-07-26  6:43           ` Jens Lechtenboerger
@ 2019-07-26 13:08             ` Johannes Brauer
  2019-07-26 19:21               ` Jens Lechtenboerger
  0 siblings, 1 reply; 13+ messages in thread
From: Johannes Brauer @ 2019-07-26 13:08 UTC (permalink / raw)
  To: Jens Lechtenboerger; +Cc: emacs-orgmode@gnu.org, John Kitchin

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

Hi Jens,

now I could export README.org<http://README.org> to a reveal.js presentation with a nice bib slide.
Thank you for your help.

When I open the developer tools Chrome shows me this error message:

GET file:///Users/jb/Downloads/org-re-reveal-ref-master/reveal.js/lib/js/head.min.js net::ERR_FILE_NOT_FOUND  README.html:173

Is this a relevant message?

Johannes

Am 26.07.2019 um 08:43 schrieb Jens Lechtenboerger <lechten@wi.uni-muenster.de<mailto:lechten@wi.uni-muenster.de>>:

Johannes Brauer <brauer@nordakademie.de<mailto:brauer@nordakademie.de>> writes:

I downloaded [1] but when I try M-x load-library  followed by org-re-reveal-ref I get
"Cannot open load file: No such file or directory, org-re-reveal"
although I’ve org-ref installed. What is going wrong?

Hi Johannes,

you also need to install org-re-reveal, from MELPA or from GitLab [2].
I just updated org-re-reveal-ref to clarify this.  Sorry for the
omission.

Best wishes
Jens

[2] https://gitlab.com/oer/org-re-reveal/


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

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

* Re: Two bibliography slides using org-reveal
  2019-07-26 13:08             ` Johannes Brauer
@ 2019-07-26 19:21               ` Jens Lechtenboerger
  2019-07-26 21:19                 ` Johannes Brauer
  0 siblings, 1 reply; 13+ messages in thread
From: Jens Lechtenboerger @ 2019-07-26 19:21 UTC (permalink / raw)
  To: Johannes Brauer; +Cc: emacs-orgmode@gnu.org, John Kitchin

Johannes Brauer <brauer@nordakademie.de> writes:

> GET file:///Users/jb/Downloads/org-re-reveal-ref-master/reveal.js/lib/js/head.min.js net::ERR_FILE_NOT_FOUND  README.html:173 
>
> Is this a relevant message?

Hi Johannes,

that message appears for newer versions of reveal.js (but does not
hurt).  You can avoid it by customizing variable
org-re-reveal-script-files to remove lib/js/head.min.js, which does not
seem to exist for your version.

Alternatively, if you added (require 'org-re-reveal) in your ~/.emacs,
you could add the following:
(setq org-re-reveal-script-files '("js/reveal.js"))

Best wishes
Jens

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

* Re: Two bibliography slides using org-reveal
  2019-07-26 19:21               ` Jens Lechtenboerger
@ 2019-07-26 21:19                 ` Johannes Brauer
  2019-07-31 21:19                   ` Two bibliography slides using org-reveal - new prblem Johannes Brauer
  0 siblings, 1 reply; 13+ messages in thread
From: Johannes Brauer @ 2019-07-26 21:19 UTC (permalink / raw)
  To: Jens Lechtenboerger; +Cc: emacs-orgmode@gnu.org, John Kitchin

Hi Jens,

thanks a lot for your detailed helpful answers.

Best wishes
Johannes

> Am 26.07.2019 um 21:21 schrieb Jens Lechtenboerger <lechten@wi.uni-muenster.de>:
> 
> Johannes Brauer <brauer@nordakademie.de> writes:
> 
>> GET file:///Users/jb/Downloads/org-re-reveal-ref-master/reveal.js/lib/js/head.min.js net::ERR_FILE_NOT_FOUND  README.html:173 
>> 
>> Is this a relevant message?
> 
> Hi Johannes,
> 
> that message appears for newer versions of reveal.js (but does not
> hurt).  You can avoid it by customizing variable
> org-re-reveal-script-files to remove lib/js/head.min.js, which does not
> seem to exist for your version.
> 
> Alternatively, if you added (require 'org-re-reveal) in your ~/.emacs,
> you could add the following:
> (setq org-re-reveal-script-files '("js/reveal.js"))
> 
> Best wishes
> Jens

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

* Re: Two bibliography slides using org-reveal - new prblem
  2019-07-26 21:19                 ` Johannes Brauer
@ 2019-07-31 21:19                   ` Johannes Brauer
  2019-07-31 22:16                     ` Two bibliography slides using org-reveal - SORRY no new problem Johannes Brauer
  0 siblings, 1 reply; 13+ messages in thread
From: Johannes Brauer @ 2019-07-31 21:19 UTC (permalink / raw)
  To: Jens Lechtenboerger; +Cc: emacs-orgmode@gnu.org

Hi Jens,

I fear I updated my org-re-reveal from melpa (org-re-reveal-20190731.924) and now  I’ve got two problems:
1. With
* Bibliography
 printbibliography:referenzen.bib
   :PROPERTIES:
   :CUSTOM_ID: bibliography
   :END:
I get a bib slide with tow headlines „Bibliography“.
2. Clicking on a cite-link shows the title slide instead of the bib slide.

Have I anything to change?

Best wishes
Johannes

> Am 26.07.2019 um 23:19 schrieb Johannes Brauer <brauer@nordakademie.de>:
> 
> Hi Jens,
> 
> thanks a lot for your detailed helpful answers.
> 
> Best wishes
> Johannes
> 
>> Am 26.07.2019 um 21:21 schrieb Jens Lechtenboerger <lechten@wi.uni-muenster.de>:
>> 
>> Johannes Brauer <brauer@nordakademie.de> writes:
>> 
>>> GET file:///Users/jb/Downloads/org-re-reveal-ref-master/reveal.js/lib/js/head.min.js net::ERR_FILE_NOT_FOUND  README.html:173 
>>> 
>>> Is this a relevant message?
>> 
>> Hi Johannes,
>> 
>> that message appears for newer versions of reveal.js (but does not
>> hurt).  You can avoid it by customizing variable
>> org-re-reveal-script-files to remove lib/js/head.min.js, which does not
>> seem to exist for your version.
>> 
>> Alternatively, if you added (require 'org-re-reveal) in your ~/.emacs,
>> you could add the following:
>> (setq org-re-reveal-script-files '("js/reveal.js"))
>> 
>> Best wishes
>> Jens
> 


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

* Re: Two bibliography slides using org-reveal - SORRY no new problem
  2019-07-31 21:19                   ` Two bibliography slides using org-reveal - new prblem Johannes Brauer
@ 2019-07-31 22:16                     ` Johannes Brauer
  0 siblings, 0 replies; 13+ messages in thread
From: Johannes Brauer @ 2019-07-31 22:16 UTC (permalink / raw)
  To: Jens Lechtenboerger; +Cc: emacs-orgmode@gnu.org

Accidentally, I loaded the library org-ref-reveal instead of org-re-reveal-ref.

Sorry!

Johannes

> Am 31.07.2019 um 23:19 schrieb Johannes Brauer <brauer@nordakademie.de>:
> 
> Hi Jens,
> 
> I fear I updated my org-re-reveal from melpa (org-re-reveal-20190731.924) and now  I’ve got two problems:
> 1. With
> * Bibliography
> printbibliography:referenzen.bib
>   :PROPERTIES:
>   :CUSTOM_ID: bibliography
>   :END:
> I get a bib slide with tow headlines „Bibliography“.
> 2. Clicking on a cite-link shows the title slide instead of the bib slide.
> 
> Have I anything to change?
> 
> Best wishes
> Johannes
> 
>> Am 26.07.2019 um 23:19 schrieb Johannes Brauer <brauer@nordakademie.de>:
>> 
>> Hi Jens,
>> 
>> thanks a lot for your detailed helpful answers.
>> 
>> Best wishes
>> Johannes
>> 
>>> Am 26.07.2019 um 21:21 schrieb Jens Lechtenboerger <lechten@wi.uni-muenster.de>:
>>> 
>>> Johannes Brauer <brauer@nordakademie.de> writes:
>>> 
>>>> GET file:///Users/jb/Downloads/org-re-reveal-ref-master/reveal.js/lib/js/head.min.js net::ERR_FILE_NOT_FOUND  README.html:173 
>>>> 
>>>> Is this a relevant message?
>>> 
>>> Hi Johannes,
>>> 
>>> that message appears for newer versions of reveal.js (but does not
>>> hurt).  You can avoid it by customizing variable
>>> org-re-reveal-script-files to remove lib/js/head.min.js, which does not
>>> seem to exist for your version.
>>> 
>>> Alternatively, if you added (require 'org-re-reveal) in your ~/.emacs,
>>> you could add the following:
>>> (setq org-re-reveal-script-files '("js/reveal.js"))
>>> 
>>> Best wishes
>>> Jens
>> 
> 


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

end of thread, other threads:[~2019-07-31 22:16 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-25 12:18 Two bibliography slides using org-reveal Johannes Brauer
2019-07-25 12:41 ` Fraga, Eric
2019-07-25 13:54   ` Johannes Brauer
2019-07-25 13:59     ` John Kitchin
2019-07-25 14:27       ` Johannes Brauer
2019-07-25 17:00       ` Jens Lechtenboerger
2019-07-25 21:44         ` Johannes Brauer
2019-07-26  6:43           ` Jens Lechtenboerger
2019-07-26 13:08             ` Johannes Brauer
2019-07-26 19:21               ` Jens Lechtenboerger
2019-07-26 21:19                 ` Johannes Brauer
2019-07-31 21:19                   ` Two bibliography slides using org-reveal - new prblem Johannes Brauer
2019-07-31 22:16                     ` Two bibliography slides using org-reveal - SORRY no new problem Johannes 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).