[O] ob-clojure can't cross source block handle :var in :noweb source block

2019-08-27 Thread numbch...@gmail.com
I have bellowing example: ```org #+NAME: read-in-wxid #+begin_src clojure :var cwd=(file-truename "~/Documents/WeChat/wxid/") (require '[clojure.java.io :as io]) (def directory (io/file cwd)) (def files (filter #(.isFile %) (file-seq directory))) #+end_src #+RESULTS[<2019-08-28 09:12:24>

Re: [O] minimal testing setup for pdf export?

2019-08-27 Thread Matt Price
On Tue, Aug 27, 2019 at 1:33 PM John Kitchin wrote: > that does suggest that pdflatex is getting called somewhere else. > > Maybe you can edebug the export function and check the value of > default-directory to see where it is getting called. > > You could also try this > > #+BEGIN_SRC

Re: [O] minimal testing setup for pdf export?

2019-08-27 Thread John Kitchin
that does suggest that pdflatex is getting called somewhere else. Maybe you can edebug the export function and check the value of default-directory to see where it is getting called. You could also try this #+BEGIN_SRC emacs-lisp (defun my-build (quoted-tex-file) (message "Building %s. Called

Re: [O] minimal testing setup for pdf export?

2019-08-27 Thread Matt Price
On Tue, Aug 27, 2019 at 8:27 AM John Kitchin wrote: > Can you manually compile the empty.tex file from the command line? eg > > pdflatex empty > > (reposting to group) pdflatex empty Seems to work fine. Hmmm... > John > > --- > Professor John Kitchin > Doherty

Re: [O] minimal testing setup for pdf export?

2019-08-27 Thread John Kitchin
Can you manually compile the empty.tex file from the command line? eg pdflatex empty John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin

Re: [O] minimal testing setup for pdf export?

2019-08-27 Thread Julius Dittmar
Am 27.08.19 um 12:34 schrieb Matt Price: > This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/Arch > Linux) (preloaded format=pdflatex) >  restricted \write18 enabled. > entering extended mode > ! I can't find file `empty.tex'. So pdflatex is called and found. Then pdflatex can't find

Re: [O] minimal testing setup for pdf export?

2019-08-27 Thread Matt Price
My empty.tex is very similar: % Created 2019-08-27 Tue 06:25 % Intended LaTeX compiler: pdflatex \documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{graphicx} \usepackage{grffile} \usepackage{longtable} \usepackage{wrapfig} \usepackage{rotating}

Re: [O] Fold headline from inside of body?

2019-08-27 Thread Nicolas Goaziou
Hello, writes: > Is it possible to fold a headline (and only this specific headline) while the > cursor is positioned inside the body? > The methods I know of ( [TAB] ) requires that the cursor is positioned on the > headline, (Shift-[TAB] acts on the whole org-file and I want to avoid

[O] Fold headline from inside of body?

2019-08-27 Thread henry35
Hello Is it possible to fold a headline (and only this specific headline) while the cursor is positioned inside the body? The methods I know of ( [TAB] ) requires that the cursor is positioned on the headline, (Shift-[TAB] acts on the whole org-file and I want to avoid folding the entire

Re: [O] [bug] Export to latex truncates long subsections (WE attached)

2019-08-27 Thread Tim Cross
I think I agree with Julius. While it may be a legitimate use case, the risk that it will break other use cases seems a bit high (I've never run into this issue in many years of org use). Perhaps add another document 'type' into 'org-latex-classes which adds the xpatch and associated change to

Re: [O] [bug] Export to latex truncates long subsections (WE attached)

2019-08-27 Thread Julius Dittmar
Hi folks, Am 27.08.19 um 08:57 schrieb Vladimir Nikishkin: > I have indeed investigated the issue, and this is the link: > https://latex.org/forum/viewtopic.php?f=47=32788 > > To make the long story short, the folowing trick is needed to allow > page breaks after headings (which is a completely

Re: [O] [bug] Export to latex truncates long subsections (WE attached)

2019-08-27 Thread Vladimir Nikishkin
I have indeed investigated the issue, and this is the link: https://latex.org/forum/viewtopic.php?f=47=32788 To make the long story short, the folowing trick is needed to allow page breaks after headings (which is a completely standard case in -org). #+begin_src latex \usepackage{xpatch}

Re: [O] minimal testing setup for pdf export?

2019-08-27 Thread Robert Klein
On Mon, 26 Aug 2019 21:20:53 -0400 Matt Price wrote: > Can someone point me to a minimal setup for testing PDF export with > "emacs -Q"? I am unable to produce a pdf with default settings and I > am pretty sure that the latex is invalid... but I'm having trouble > testing it since I 9still)