Re: appearance of list as results from evaluating code blocks

2021-06-24 Thread Johannes Brauer
oherty 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 Thu, Jun 24, 2021 at 10:31 AM Johannes Brauer mailto:bra...@nordakademie.de>>

Re: appearance of list as results from evaluating code blocks

2021-06-24 Thread Johannes Brauer
What about :results code The default is a elisp code block so you get syntax coloring That works fore lisp: #+begin_src elisp :results code (list 1 2 (+ 1 2)) #+end_src #+RESULTS: #+begin_src elisp (1 2 3) #+end_src But with Clojure I get #+begin_src clojure :results code (list

Re: appearance of list as results from evaluating code blocks

2021-06-24 Thread Johannes Brauer
(list 1 2 (+ 1 2)) #+end_src #+RESULTS: #+begin_src clojure (1 2 3) #+end_src Johannes > Am 23.06.2021 um 23:14 schrieb Rodrigo Morales : > > Johannes Brauer writes: > > Johannes Brauer writes: > >> thanks, that works > > While that works, you mi

Re: appearance of list as results from evaluating code blocks

2021-06-23 Thread Johannes Brauer
Hi Juan Manuel, thanks, that works Best regards Johannes > Am 23.06.2021 um 21:43 schrieb Juan Manuel Macías : > > Hi Johannes, > > Johannes Brauer writes: > >> Hi! >> Evaluating a code block containing a list expression using org-babel for >> elisp or

appearance of list as results from evaluating code blocks

2021-06-23 Thread Johannes Brauer
Hi! Evaluating a code block containing a list expression using org-babel for elisp or Clojure, for example (list 1 2 3) I get #+RESULTS: | 1 | 2 | 3 | I would prefer #+RESULTS: ( 1 2 3 ) Is it possible to get this. I am using Aquamacs 3.5nightly GNU Emacs 25.3.50.1

Bug: html export fails after upgrading to 9.4 [9.4.1 (9.4.1-elpa @ /Users/jb/Library/Preferences/Aquamacs Emacs/Packages/elpa/org-20201212/)]

2020-12-12 Thread Johannes Brauer
Hi! Trying to export a buffer to html containing #+TITLE: Titel * header yields the error message: apply: Wrong type argument: listp, #("Titel" 0 5 (:parent (#0))) What can I do? Johannes Emacs : Aquamacs 3.5nightly GNU Emacs 25.3.50.1 (x86_64-apple-darwin19.6.0, NS appkit-1894.60 Version

How to avoid additional blank lines in html export of list

2020-11-16 Thread Johannes Brauer
Hi, exporting the list example in chapter 2.6 of orgmode manual 1. The attack of the Rohirrim 2. Eowyn's fight with the witch king + this was already my favorite scene in the book + I really like Miranda Otto. 3. Peter Jackson being shot by Legolas - on DVD only He makes a really

export of coderefs to reveal.js

2020-11-08 Thread Johannes Brauer
Hi! Using coderefs for normal html export works fine. On mouseover the target line is highlighted. But exporting the same org file to reveal.js with org-reveal I get the following error message (in Chrome): VM22943 slide-org57a7ad2:249 Uncaught ReferenceError: CodeHighlightOn is not defined

problem with org-ref

2020-07-20 Thread Johannes Brauer
Hi! After having upgraded my packages I can activate org-ref anymore. (require 'org-ref) results in the error message: File error: Cannot open load file, No such file or directory, biblio Any hints what is going wrong? I am using org-ref-20200710.1516 Aquamacs 3.5 GNU Emacs 25.3.50.1

Re: equal syntax highlighting for publishing code blocks to html and pdf

2020-02-29 Thread Johannes Brauer
e.cmu.edu/> On Sat, Feb 1, 2020 at 4:28 AM Bastien mailto:b...@gnu.org>> wrote: Hi Johannes, Johannes Brauer mailto:bra...@nordakademie.de>> writes: > Frequently I publish org-mode documents containing source code blocks > to html (htmlize) and pdf (minted). I would like to see th

BUG? - opening an org file containing #+STARTUP: inlineimages results in error message ...

2019-12-30 Thread Johannes Brauer
… File mode specification error: (void-variable image-map) It seems that the problem arised since I’ve upgraded orgmode from version 9.2.6 (9.2.6-4-ge30905-elpa to version 9.3 resp. 9.3.1 On a system where the 9.2.6 is installed, images are shown. Johannes

equal syntax highlighting for publishing code blocks to html and pdf

2019-12-26 Thread Johannes Brauer
Hi! Frequently I publish org-mode documents containing source code blocks to html (htmlize) and pdf (minted). I would like to see the same colors in both export types. But I cannot figure out, what’s the best way to achieve this. Has anyone solved this problem? Are there any hints? Johannes

problem with org-toggle-inline-images - SORRY - WRONG SUBJECT

2019-12-26 Thread Johannes Brauer
Hi! Frequently I publish org-mode documents containing source code blocks to html (htmlize) and pdf (minted). I would like to see the same colors in both export types. But I cannot figure out, what’s the best way to achieve this. Has anyone solved this problem? Are there any hints? Johannes

problem with org-toggle-inline-images

2019-12-26 Thread Johannes Brauer
Hi! Frequently I publish org-mode documents containing source code blocks to html (htmlize) and pdf (minted). I would like to see the same colors in both export types. But I cannot figure out, what’s the best way to achieve this. Has anyone solved this problem? Are there any hints? Johannes

Re: problem with org-toggle-inline-images

2019-12-25 Thread Johannes Brauer
great with iimage-mode On Tue, Dec 24, 2019 at 8:09 AM Johannes Brauer mailto:bra...@nordakademie.de>> wrote: It seems that the problem arised since I’ve upgraded orgmode from version 9.2.6 (9.2.6-4-ge30905-elpa to version 9.3 (9.3-8-geab7c4-elpa. On a system where the older version is install

Re: problem with org-toggle-inline-images

2019-12-24 Thread Johannes Brauer
It seems that the problem arised since I’ve upgraded orgmode from version 9.2.6 (9.2.6-4-ge30905-elpa to version 9.3 (9.3-8-geab7c4-elpa. On a system where the older version is installed, toggling works fine. Johannes Am 24.12.2019 um 11:30 schrieb Johannes Brauer mailto:bra

Re: problem with org-toggle-inline-images

2019-12-24 Thread Johannes Brauer
Hi Marco, thank for your answer Am 24.12.2019 um 11:00 schrieb Marco Wahl mailto:marcowahls...@gmail.com>>: The following message is a courtesy copy of an article that has been posted to gmane.emacs.orgmode as well. Hi Johannes, Thanks for the report. Typing C-c C-x C-v the image is

problem with org-toggle-inline-images

2019-12-23 Thread Johannes Brauer
Hi! Typing C-c C-x C-v the image is displayed in the org buffer correctly. Typing C-c C-x C-v again the image does not disappear and I get the error message: org-toggle-inline-images: Symbol’s value as variable is void: image-map Any hints what is going wrong? I am using Aquamacs 3.5 GNU

[O] questionable result of Clojure code execution in org babel

2019-08-08 Thread Johannes Brauer
Hi executing the the following code section in an org-mode file with C-c C-c #+BEGIN_SRC clojure :results value (* 3 5) #+END_SRC I get #+RESULTS: : nil15 instead of #+RESULTS: : 15 Trying the same with emacs-lisp instead of clojure the correct result appears. My versions: ;; org-mode

Re: [O] Two bibliography slides using org-reveal - SORRY no new problem

2019-07-31 Thread Johannes Brauer
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 : > > Hi Jens, > > I fear I updated my org-re-reveal from melpa (org-re-reveal-20190731.924) and > now I’ve got

Re: [O] Two bibliography slides using org-reveal - new prblem

2019-07-31 Thread Johannes Brauer
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 : > > Hi Jens, > > thanks a lot for your detailed helpful answers. > > Best wishes > Johannes > >> Am

Re: [O] Two bibliography slides using org-reveal

2019-07-26 Thread Johannes Brauer
Hi Jens, thanks a lot for your detailed helpful answers. Best wishes Johannes > Am 26.07.2019 um 21:21 schrieb Jens Lechtenboerger > : > > Johannes Brauer writes: > >> GET >> file:///Users/jb/Downloads/org-re-reveal-ref-master/reveal.js/lib/js/head.min.js

Re: [O] Two bibliography slides using org-reveal

2019-07-26 Thread Johannes Brauer
s net::ERR_FILE_NOT_FOUND README.html:173 Is this a relevant message? Johannes Am 26.07.2019 um 08:43 schrieb Jens Lechtenboerger mailto:lech...@wi.uni-muenster.de>>: Johannes Brauer mailto:bra...@nordakademie.de>> writes: I downloaded [1] but when I try M-x load-library followe

Re: [O] Two bibliography slides using org-reveal

2019-07-25 Thread Johannes Brauer
or 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 Johann

Re: [O] Two bibliography slides using org-reveal

2019-07-25 Thread Johannes Brauer
g 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 mailto:bra...@nordakade

Re: [O] Two bibliography slides using org-reveal

2019-07-25 Thread Johannes Brauer
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 : > > I have no idea but, on the off-chance, maybe don't make that line a >

[O] Two bibliography slides using org-reveal

2019-07-25 Thread Johannes Brauer
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

Re: [O] org-ref, html-export, citation links

2018-08-01 Thread Johannes Brauer
u<http://kitchingroup.cheme.cmu.edu/> On Sun, Jul 29, 2018 at 12:23 PM, Johannes Brauer mailto:bra...@nordakademie.de>> wrote: Hi! I have an older Html-file exported from an org-mode file with org-ref citations. All citation links are internal links into the reference section, fine! But if I a

[O] org-ref, html-export, citation links

2018-07-29 Thread Johannes Brauer
Hi! I have an older Html-file exported from an org-mode file with org-ref citations. All citation links are internal links into the reference section, fine! But if I anew export the org-mode file, now, the generated citation links are external file links to (not existing) files. For example,

Re: [O] org-babel oz?

2017-11-12 Thread Johannes Brauer
> >> Hi, >> >> I am looking for a working configuration for using oz code blocks in >> org-mode file. I've installed >> Mozart2 on macOS 10.12.6 and use org-mode version 9.0.9. I've put >> (org-babel-do-load-languages >> 'org-babel-load-languages >> '((emacs-lisp . t) >> (oz . t))) >> into my

Re: [O] Emacs-orgmode Digest, Vol 141, Issue 12

2017-11-12 Thread Johannes Brauer
> >> Hi, >> >> I am looking for a working configuration for using oz code blocks in >> org-mode file. I've installed >> Mozart2 on macOS 10.12.6 and use org-mode version 9.0.9. I've put >> (org-babel-do-load-languages >> 'org-babel-load-languages >> '((emacs-lisp . t) >> (oz . t))) >> into my

[O] org-babel oz?

2017-11-09 Thread Johannes Brauer
Hi, I am looking for a working configuration for using oz code blocks in org-mode file. I've installed Mozart2 on macOS 10.12.6 and use org-mode version 9.0.9. I've put (org-babel-do-load-languages 'org-babel-load-languages '((emacs-lisp . t) (oz . t))) into my Aquamacs initialization and

Re: [O] org-ref, html-export, bibtex url, webpage

2017-09-11 Thread Johannes Brauer
n University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu<http://kitchingroup.cheme.cmu.edu/> On Sun, Sep 10, 2017 at 2:50 PM, Johannes Brauer <bra...@nordakademie.de<mailto:bra...@nordakademie.de>> wrote: Hi! isn’t it allowed to use bibtex e

[O] org-ref, html-export, bibtex url, webpage

2017-09-10 Thread Johannes Brauer
Hi! isn’t it allowed to use bibtex entries @url or @webpage? Using one of them the html export complains that the entry is not found, for example: Carro1998 not found in /Users/johannes/Documents/lehre/Informatik/Programmierparadigmen/Vorlesung/referenzen.bib org-ref-get-bibtex-entry-citation:

Re: [O] problem with org-ref after upgrading org-mode from 8.3 to 9.0.5

2017-04-05 Thread Johannes Brauer
try updating it and/or raise an issue with that package. On Mon, Apr 3, 2017 at 11:03 AM Johannes Brauer <bra...@nordakademie.de<mailto:bra...@nordakademie.de>> wrote: that’s what I get executing (require 'org-ref): Debugger entered--Lisp error: (error "Required feature ‘let-alist’

Re: [O] problem with org-ref after upgrading org-mode from 8.3 to 9.0.5

2017-04-03 Thread Johannes Brauer
that’s what I get executing (require 'org-ref): Debugger entered--Lisp error: (error "Required feature ‘let-alist’ was not provided") require(let-alist) byte-code("\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\210\300\306!\210\300\307!\210\300\310!\210\300\311!\207"

[O] problem with org-ref after upgrading org-mode from 8.3 to 9.0.5

2017-04-01 Thread Johannes Brauer
Hi, after the upgrade (require 'org-ref) results in the error message: (error "Required feature ‘let-alist’ was not provided“) I am using Aquamacs 3.3 GNU Emacs 25.1.1. I looked for let-plist using list-packages and found: let-alist 1.0.4 built-in What is going wrong?

[O] problem with html export of links

2016-09-26 Thread Johannes Brauer
Hi! I have two files. a.org contains the anchor defined by custom_id property * headline :PROPERTIES: :CUSTOM_ID: anchor :END: and b.org contains the link to a headline in a.org with custom id #anchor [[file:a.org::#anchor]] Clicking the link in b.org all works fine. But exporting

Re: [O] org-ref bibliography html export & bigblow

2016-08-14 Thread Johannes Brauer
itc...@andrew.cmu.edu<mailto:jkitc...@andrew.cmu.edu>>: Is the bibliography actually in the html but not displayed in a browser? It is hard to see how a theme would change the link export, although via few it might change what is visible. On Saturday, August 13, 2016, Johannes

[O] org-ref bibliography html export & bigblow

2016-08-13 Thread Johannes Brauer
Hi, using org-ref by John Kitchin bibliography html export works fine as long as I don’t activate the org-html-theme bigblow by Fabrice Niessen which I like very much. With this theme the bibliography doesn’t appear in the exported html anymore. Are there any ideas what I could do? Johannes

Re: [O] Scaling of image previews in org-mode

2016-08-09 Thread Johannes Brauer
acs when it is not built with imagemagick. > > Johannes Brauer writes: > >> Hi! >> >> If I insert a jpg in my org-mode document, I can preview it but not scale >> its width, like so: >> >> Add the following code to my init.el file: >> (setq org-image-

[O] bibliography html export

2016-08-07 Thread Johannes Brauer
Using ox-bibtex for bibliography html export I always get the complete content of my .bib file under the headline References. How can I achieve that the bibliography contains only the references cited in the org file? Johannes

Re: [O] Scaling of image previews in org-mode

2016-08-04 Thread Johannes Brauer
016 at 12:20 PM, Johannes Brauer <bra...@nordakademie.de<mailto:bra...@nordakademie.de>> wrote: Hi! If I insert a jpg in my org-mode document, I can preview it but not scale its width, like so: Add the following code to my init.el file: (setq org-image-actual-width nil) Then insert

[O] Scaling of image previews in org-mode

2016-08-03 Thread Johannes Brauer
Hi! If I insert a jpg in my org-mode document, I can preview it but not scale its width, like so: Add the following code to my init.el file: (setq org-image-actual-width nil) Then insert this code in my document, where I want the image to appear: #+ATTR_ORG: :width 20 [[./test.jpg]] No matter