Re: export an org file to a latex file but in a differerent directory

2020-09-04 Thread Ivan Tadeu Ferreira Antunes Filho
I use the code in https://github.com/itf/org-export-with-files/blob/master/org-export-with-files.el in order to define a new function that exports the current subtree to a different folder, as well as create hard copies of the files linked in the new directory and fixes the links in order to keep t

Re: Where to customize the generated ID of html export? i.e outline-container-org

2020-09-04 Thread Ivan Tadeu Ferreira Antunes Filho
I use the following code to customize the ids: http://ivanmalison.github.io/dotfiles/#usemyowndefaultnamingschemefororgheadings It replaces the function 'org-export-get-reference' with something less random. You could take a similar approach, maybe substituting the function responsible for creatin

Re: [O] blogging wih org-mode

2019-09-29 Thread Ivan Tadeu Ferreira Antunes Filho
If you want to see one more example of blog generator, I also built one to generate a blog from a single org file, exporting each heading into a new file. https://github.com/itf/org-export-head/blob/master/blog.org It is an org file with a source block: you run the source block, and call a single

Re: [O] html export with imagemagick

2019-05-22 Thread Ivan Tadeu Ferreira Antunes Filho
I was having the same problem on some latex previews. It seems that imagemagick expects the file to be in the /tmp/ directory while latex itself was putting the file in the same directory. My workaround was to use 'dvisvgm instead of 'imagemagick. (setq org-preview-latex-default-process 'dvisvgm)

[O] Org-element-put-property, bug?

2018-09-10 Thread Ivan Tadeu Ferreira Antunes Filho
y does not exist in the properties drawer. Is there a way of modifying custom properties of a headline by using org-element, and have the custom properties show up when interpreting the data? ---- *Ivan Tadeu Ferreira Antunes Filho*

Re: [O] org-element-adopt-elements, append before children

2018-09-02 Thread Ivan Tadeu Ferreira Antunes Filho
is a fairly convoluted way On Sun, Sep 2, 2018, 8:27 AM Nicolas Goaziou wrote: > Hello, > > Ivan Tadeu Ferreira Antunes Filho writes: > > > At the moment org-element-adopt-elements always appends the new elements > > after the elements original children. In many cases

[O] org-element-adopt-elements, append before children

2018-09-01 Thread Ivan Tadeu Ferreira Antunes Filho
At the moment org-element-adopt-elements always appends the new elements after the elements original children. In many cases one might want to append before the original children. I want to propose adding an argument to org-element-adopt-elements that defines if the elements should be added befo