Re: [O] what settings would make original export to pdf as good as pandoc conversion?

2018-03-18 Thread Samuel Wales
[never mind the comment below.. if i use \\ instead of \, it doesn't error, but produces default packages on the first page. then the document starts on the second page.] On 3/18/18, Samuel Wales wrote: > On 3/13/18, Eric S Fraga wrote: >> Could you post a minimal example that illustrates this

[O] does this pandoc error look familiar to anybody?

2018-03-18 Thread Samuel Wales
exporting to html, then converting to pdf errors. it worked ok before. just wondering if anybody has seen this before and can guess if i did something wrong at the org level? thanks. === pandoc -o sickly--pdf-from-pandoc.pdf sickly--html.html ! LaTeX Error: Too deeply nested. See the LaTeX man

Re: [O] what settings would make original export to pdf as good as pandoc conversion?

2018-03-18 Thread Samuel Wales
On 3/13/18, Eric S Fraga wrote: > Could you post a minimal example that illustrates this? here is the minimal example. [btw, it turns out that pandoc erros now, so i have to either get your direct export code to work, or fix pandoc's export.] *** NEXTKA fixing pdf to have better paragra

[O] [PATCH v2 1/3] ob-table: Fix org-sbe's handling of quotes in cell values

2018-03-18 Thread Vladimir Panteleev
* ob-table.el (org-sbe): org-sbe did the wrong thing when given a reference to a cell containing quotes or backslashes, because it would simply wrap any $-prefixed value in quotes, without any escaping. Fix this by using "%S" (instead of "\"%s\""). * test-ob-table.el: Add test. --- lisp/ob-table.

[O] [PATCH v2 2/3] ob-table: Fix org-sbe's handling of list arguments

2018-03-18 Thread Vladimir Panteleev
* ob-table.el (org-sbe): Add an explicit case for handling list arguments. This avoids doing the wrong thing (%s-formatting a list, thus losing syntax like double-quotes). This enables passing org-table ranges through org-sbe in a simple and correct manner. * test-ob-table.el: Add test. --- lisp/

[O] [PATCH v2 0/3] org-sbe fixes

2018-03-18 Thread Vladimir Panteleev
OK, here is v2 with table-based tests. Vladimir Panteleev (3): ob-table: Fix org-sbe's handling of quotes in cell values ob-table: Fix org-sbe's handling of list arguments ob-table: Mention passing ranges as lists in org-sbe's documentation lisp/ob-table.el | 21 +-

[O] [PATCH v2 3/3] ob-table: Mention passing ranges as lists in org-sbe's documentation

2018-03-18 Thread Vladimir Panteleev
* ob-table.el (org-sbe): Add documentation note. --- lisp/ob-table.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/ob-table.el b/lisp/ob-table.el index 17810dd74..d11df9abc 100644 --- a/lisp/ob-table.el +++ b/lisp/ob-table.el @@ -89,6 +89,8 @@ NOTE: By default, string variable names

Re: [O] [PATCH 1/3] ob-table: Fix org-sbe's handling of quotes in arguments

2018-03-18 Thread Nicolas Goaziou
Vladimir Panteleev writes: > Ah! Well, thanks for the clarification, and apologies for the > confusion. Well, thanks for bearing with me. >> I consider it to be a bug if you need to write $"string" instead of >> "string" in any `org-sbe' call. We should not test such a mis-feature, >> which sho

[O] [Bug] org-global-tags-completion-table does not include tags from buffers

2018-03-18 Thread Matt Lundin
If org-tags-alist is customized by the user, the value returned by org-global-tags-completion-table does not include any tags from agenda buffers and files. This behavior contradicts the docstring of org-global-tags-completion-table, which claims to return the list of all tags in all agenda buffer

Re: [O] [PATCH 1/3] ob-table: Fix org-sbe's handling of quotes in arguments

2018-03-18 Thread Vladimir Panteleev
Hi, On 2018-03-18 22:24, Nicolas Goaziou wrote: We're clearly mis-communicating. I know the difference between a symbol and a string, and how `read' operates. I think what puzzles me is some design choices made in `org-sbe', and the fact that the second note of its docstring is clear as mud. A

Re: [O] [PATCH 1/3] ob-table: Fix org-sbe's handling of quotes in arguments

2018-03-18 Thread Nicolas Goaziou
Hello, Vladimir Panteleev writes: > On 2018-03-14 15:00, Nicolas Goaziou wrote: >> I disagree. You are testing an implementation detail here: the fact that >> "$" is not necessarily a prefix. According to the docstring, it should >> be, so the test should use that, too. What if we rewrite `org-

Re: [O] org-return does not work in magit's git-commit-setup-hook

2018-03-18 Thread kadal
OK. Thanks. I've switched to Orgalist. On 03/17/2018 02:21 AM, Nicolas Goaziou wrote: Hello, kadal writes: I have the line (add-hook 'git-commit-setup-hook 'orgstruct++-mode) but (org-return) does not work when edting the commit message. `orgstruct-mode' does not exist anymore in master br

Re: [O] About the assignment of FSF papers

2018-03-18 Thread Nicolas Goaziou
Hello, stardiviner writes: > Here is the PDF paper where has my name. How to assign this paper? Isn't it written on the file? > BTW, this paper is old. > > #+begin_src shell :dir "Data" > ls -l assignment.pdf > #+end_src > > #+RESULTS[<2018-03-18 01:48:36> 3c6dfd290d7adb1dab0192c0cbf97104dc06

Re: [O] [RFC] Add new export backend for Jekyll

2018-03-18 Thread Grant Rettke
On Sat, Mar 17, 2018 at 4:45 PM, Ɓukasz Stelmach wrote: > This is kind of work-in-progress version. "Kind of" because it satisfies > my needs and I would like to ask what others think or need. > > How to test this module? > > Please comment. That looks great. Best way to start is to put it on

Re: [O] How to keep correct filepaths when using the #+INCLUDE derivative?

2018-03-18 Thread Nicolas Goaziou
Hello, "Daniel P. Gomez" writes: > I've fixed the implementation of `org-export--prepare-file-contents` > so > that links are relative to the included file. A patch is attached. > > I've also created two org files in the test examples directory: > "includer-with-links.org" and "subdir/includee-w

[O] Defining the export height of a babel-generated image

2018-03-18 Thread Karl Voit
Hi! Some babel blocks generate image files as output. Orgmode does link them so that exporting the corresponding heading also includes the image. For example: #+BEGIN_SRC plantuml :file "foobar.svg" (*) --> "step1" --> "step2" --> (*) #+END_SRC #+RESULTS: [[foobar.svg]] Is is possible to defin

Re: [O] mktemp for orgmode

2018-03-18 Thread Karl Voit
* John Kitchin wrote: > > Can you do something like: > > #+BEGIN_SRC some-lang :results output org drawer :file (make-temp-file > "prefix-") > > #+END_SRC Awesome! I was looking in the wrong direction. #+BEGIN_SRC plantuml :file (make-temp-file "2018-03-18-testprefix-" nil ".svg") (*) -->

Re: [O] Link abbreviations: include abbreviation table and linkwords with spaces

2018-03-18 Thread ST
Thank you! Unfortunately my (lack of) elisp knowledge doesn't allow me to implement this feature myself. I'll wait until somebody finds it useful enough... On Fri, 2018-03-16 at 22:57 +0100, Nicolas Goaziou wrote: > Hello, > > ST writes: > > > to those engineers, who are responsible for adding