Re: move siblings

2023-07-10 Thread Dominik Schrempf
Hi! Are you looking for =org-shiftmetadown= and sibling functions? I think they are bound to SHIFT-META-ArrowDown, and so on, by default. Cheers, Dominik Samuel Wales writes: > * aa > ** a > ** b > ** c > > is there a command to move entry at point to below c, or to above a?

Re: Hyphen after LaTeX fragments

2023-04-17 Thread Dominik Schrempf
Great, thank you so much! Ihor Radchenko writes: > Ihor Radchenko writes: > >> Yuchen Guo writes: >> >>> If it is deprecated in Org mode, maybe we can print a warning message in >>> echo area? >> >> Not in echo area, but we can add a linter. > > Applied, onto main. >

Re: Hyphen after LaTeX fragments

2023-03-22 Thread Dominik Schrempf
Ihor Radchenko writes: > Dominik Schrempf writes: > >> Maybe the best thing to do is drop support for $...$ completely? > > We cannot do it. Otherwise, existing Org documents may be broken. > Well, and as detailed later in my mail, I meant deprecating support

Re: Hyphen after LaTeX fragments

2023-03-21 Thread Dominik Schrempf
I like the $...$ syntax, but since it is not fully supported, I rather use \(...\) consistently; I do not really care. Maybe the best thing to do is drop support for $...$ completely? I quote the Org mode manual section about $...$ syntax: Text within the usual LaTeX math delimiters. To

Re: Hyphen after LaTeX fragments

2023-03-14 Thread Dominik Schrempf
Hi! I think we had this discussion quite some times already. Org Mode supports $...$ syntax wherever possible but not in all places and encourages the use of \(...\). I switched from using $...$ to \(...\) everywhere, and have not had any problems since. Dominik Yuchen Guo writes: > [[PGP

Re: Mistake in LaTeX syntax not detected, strange pdf generated

2022-11-29 Thread Dominik Schrempf
Hi! I wanted to chime in here, because sometimes I do have a similar problem. Whenever I export to LaTeX + PDF, it is pretty difficult to see if the compilation actually worked (or not). This is, because the compilation happens asynchronously, and so, the message about the compilation results in

Re: Org Haskell code blocks

2022-10-26 Thread Dominik Schrempf
Ihor Radchenko writes: > Dominik Schrempf writes: > >> Syntax highlighting is not working, for example, with the following >> snippet and code block: >> >> begin_snippet >> >> - An example of a function: >> >> #+begin_src haskell :expo

Re: Org Haskell code blocks

2022-10-26 Thread Dominik Schrempf
ell-process-type'. It turns out, I had some local configuration preferring 'cabal-repl', even without the required project files. 'haskell-process-type' 'auto' works correctly, I apologize. Thank you for your help! Dominik Ihor Radchenko writes: > Dominik Schrempf writes: > >>

Re: Org Haskell code blocks

2022-10-25 Thread Dominik Schrempf
lts output let x = 10 let y = 12 x*y [x,y] #+end_src #+results: : : ghci> 120 : [10,12] Do you get syntax highlighting when the source code is indented (for example in list items). Thanks for your reply! Dominik Bruno Barbier writes: > Hi, > > Do

Re: Org Haskell code blocks

2022-10-25 Thread Dominik Schrempf
I apologize, the settings described in Point 1 actually have no effect. Multi line input works out of the box (at least with "ghci" as described). However, the result output is still scrambled (e.g., empty lines, unnecessary "ghci>" prompts in results) Dominik Dominik Sch

Org Haskell code blocks

2022-10-25 Thread Dominik Schrempf
Hello, I have trouble using Haskell code blocks in Org Mode. 1. I need to use the following Org Mode file header: #+property: :header-args:haskell: :prologue ":{\n" :epilogue ":}\n" #+begin_src haskell :exports none :results none :set prompt-cont "" #+end_src Otherwise, the results of Haskell

Re: Question about cite_export basic

2022-09-13 Thread Dominik Schrempf
Ihor Radchenko writes: > Dominik Schrempf writes: > >> title = {{Introduction to Markov Chain Monte Carlo}}, >> ... >> Is rendered as >> >> Geyer, Charles J (2011). {Introduction to Markov Chain Monte Carlo}, CRC >> press. >> >&

Re: Images in org-mode

2022-09-10 Thread Dominik Schrempf
Maybe there are other options, but I think the canonical way is to use the variable `org-image-actual-width’. The help mentions some ATTR_XXX options, so you may find more answers there! Dominik Colin Baxter writes: > I seem to remember that the option > > #+ATTR_ORG: :width 100 > > could

Question about cite_export basic

2022-09-09 Thread Dominik Schrempf
Hello! When using the basic org cite export processor, that is: #+cite_export: basic bibliography items with curly braces are rendered in an unexpected way. For example, @InCollection{Geyer2011, author = {Geyer, Charles J}, title = {{Introduction to Markov Chain Monte

Re: LaTeX export: when is it more useful to use LuaTeX instead of pdfTeX?

2022-07-08 Thread Dominik Schrempf
FWIW: I have switched to lualatex years ago. In my opinion the additional compilation time is worth much more than my time debugging problems with weird symbols. Even when I only use Latin in the main text, most of the time, there are some special symbols that would need special attention in the

Re: citation biblatex fullcite

2022-05-11 Thread Dominik Schrempf
Hi Andreas, thank you for asking this question. I had the same problem, and I think it should be fixed. A workaround is described here as part of a lengthy discussion: https://list.orgmode.org/87r16vtpmp@gmail.com/ (add-to-list ’org-cite-biblatex-styles ’(“full” nil “fullcite” nil nil))

Re: citations: org-cite vs org-ref 3.0

2022-03-24 Thread Dominik Schrempf
I think `fullcite' is OK, although it will be a bit verbose: ┌ │ [cite/fullcite:...] └ Personally, I don’t mind using `full', and so having a duplicate between a style and a variant. But, to be honest, anything is fine with me, as long as it is readily available and documented. Thank

=org-cite= links do not work in the =#+title=

2022-03-21 Thread Dominik Schrempf
━━━ NOTES ON ━━━ When using a citation in the title, it does not seem to work when exporting to LaTeX. For example (in the .org file): Exports to (in the .tex file): \title{Notes on }

Re: citations: org-cite vs org-ref 3.0

2022-03-21 Thread Dominik Schrempf
“Bruce D’Arcus” writes: > On Mon, Mar 21, 2022 at 8:41 AM Dominik Schrempf > wrote: >> >> Thank you, I can use `citar-insert-edit` to perform this action. > > You can actually just use org-cite-insert, which is context aware. > >> Now, I failed to c

Re: citations: org-cite vs org-ref 3.0

2022-03-21 Thread Dominik Schrempf
” writes: > On Mon, Mar 21, 2022 at 4:24 AM Dominik Schrempf > wrote: > >> I am trying out `org-cite’ right now. It works much better than the last >> time (I >> am using the `biblatex’ backend right now). However, I can not find any >> document

Re: citations: org-cite vs org-ref 3.0

2022-03-21 Thread Dominik Schrempf
Hi, I am trying out `org-cite' right now. It works much better than the last time (I am using the `biblatex' backend right now). However, I can not find any documentation about the available /styles/. They are mentioned here: But no styles are

Re: citations: org-cite vs org-ref 3.0

2022-03-20 Thread Dominik Schrempf
“Bruce D’Arcus” writes: > On Sun, Mar 20, 2022 at 4:21 PM Dominik Schrempf > wrote: > >> For what it’s worth, I use `org-ref` because fine-grained citation export >> with >> LaTeX (using BibTeX or BibLaTeX) only works with `org-ref`, and not with >> `org

Re: citations: org-cite vs org-ref 3.0

2022-03-20 Thread Dominik Schrempf
“Thomas S. Dye” writes: > Ihor Radchenko writes: > >> Vikas Rawal writes: >> >>> What is the general view of the community about this? Is there a >>> comprehensive discussion of pros and cons of each? >> >> Prof. Kitchin himself provided a summary on why he decided to give up on >> using

Org lint and named source blocks

2021-09-21 Thread Dominik Schrempf
Thank you for the Haskell fix! I found another issue (not a bug but could be handled better): Running =org-lint= on an Org file containing #+NAME:Hello #+BEGIN_SRC emacs-lisp :exports code #+END_SRC I get the following error: #+begin_quote Debugger entered--Lisp error: (search-failed "^[

Re: Org lint and Haskell source code blocks

2021-09-21 Thread Dominik Schrempf
Thank you, org-lint works just fine after applying your patch! Ihor Radchenko writes: > Dominik Schrempf writes: > >> whenever I have a Haskell source code block in my Org mode file, and I >> execute >> =org-lint=, I get the following error: > > Confirmed. >

Org lint and Haskell source code blocks

2021-09-21 Thread Dominik Schrempf
Hi, whenever I have a Haskell source code block in my Org mode file, and I execute =org-lint=, I get the following error: #+begin_quote Debugger entered--Lisp error: (wrong-type-argument listp :any) #+end_quote (This was obtained with a minimal file just having: #+BEGIN_SRC haskell inc n = n+1

Re: Org babel source blocks ignore buffer-local variables

2021-09-06 Thread Dominik Schrempf
Thank you, this solution works. May I ask about the reasons of such a distinction? Dominik "Berry, Charles" writes: >> On Sep 4, 2021, at 5:30 AM, Dominik Schrempf >> wrote: >> >> Hello, >> >> I use directory local environments with =envrc= [1]

Org babel source blocks ignore buffer-local variables

2021-09-04 Thread Dominik Schrempf
Hello, I use directory local environments with =envrc= [1], and run into trouble when using (Bash) Org Babel source code blocks. The buffer local environment seems to be ignored (see the example at the bottom). This seems to have been discussed in the course of a GitHub issue of =inheritenv=

Re: Emacs as an Org LSP server

2020-12-14 Thread Dominik Schrempf
Hello! I am infrequent active participant on this list but follow some discussions. This one I found particularly interesting. I do see both of your points Tim Cross, and Jean Louis, thank you for your detailed explanations including the references. As a user of Emacs and Org mode (and not so

Re: The Website Revamp: The final stretch

2020-09-22 Thread Dominik Schrempf
Hello, thank you very much for working on the new Org Mode web site! Just one thing which might already have been said: The scrolling is weird. I use keys to scroll the browser, and there is a delay and some weird smooth scrolling behavior. Is this desired? Thanks, Dominik TEC writes: >

Re: multiple EXPORT_LATEX_HEADER lines

2020-06-12 Thread Dominik Schrempf
Hello, are you looking for, e.g., #+latex_header: \addbibresource{bibliography.bib} #+latex_header_extra: do some stuff #+latex_header_extra: and even more I don't use the EXPORT keyword at the beginning, I am not sure if it is needed. Best, Dominik Alan Schmitt writes: > Hello, > > I would

Re: Necessity of `org-fill-paragraph'

2020-06-04 Thread Dominik Schrempf
functions. Like =fill-paragraph= in this case. Instead, they usually (have to?) rebind the keys... Kind regards, Dominik Nicolas Goaziou writes: > Hello, > > Dominik Schrempf writes: > >> I am using a global keybinding for =M-q=, so that I can fill and unfill >> paragr

Necessity of `org-fill-paragraph'

2020-06-04 Thread Dominik Schrempf
Hello, I am using a global keybinding for =M-q=, so that I can fill and unfill paragraphs with one key stroke (unfill.el): : (global-set-key (kbd "s-q") 'unfill-toggle) For a long time, I thought that =fill-paragraph= was broken in Org mode, because it doesn't work well on code blocks, on

Re: [O] Feature Proposal: Titled Paragraphs

2019-10-23 Thread Dominik Schrempf
Hello! I agree with this proposal. At some point I already asked if the following structure is possible: #+begin_example * Title ** Section I Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec hendrerit tempor tellus. Donec pretium posuere tellus. Proin quam nisl, tincidunt et,

[O] org-lint reports non-existent file for html links

2019-03-13 Thread Dominik Schrempf
Hi, I have the following in-buffer variable set: #+SETUPFILE: https://path/to/some/setupfile.setup Org lint reports 17 low Non-existent setup file "https://path/to/some/seutpfile.setup This is true, but also not very relevant. Should we check for URLs with org-lint? Kind regards, Dominik

Re: [O] Latex export with \begin{equation}

2018-09-18 Thread Dominik Schrempf
ds to order in the hierarchy, not to the number of stars. -- 2.19.0 Nicolas Goaziou writes: Hello, Dominik Schrempf writes: Oh thanks, I thought it would be good to add a comment to the Org mode manual although it is of course not really Org mode related. I decided that a good

Re: [O] Latex export with \begin{equation}

2018-09-17 Thread Dominik Schrempf
-and-latex-in-html-documents][MathJax TeX and LaTeX support]]). If you prefer, you can also request that LaTeX fragments are processed into small images that will be inserted into the browser page. Before Nick Dokos writes: Dominik Schrempf writes: so I found the reason. Both Org versi

Re: [O] Latex export with \begin{equation}

2018-09-13 Thread Dominik Schrempf
a .tex file and native LaTeX. If the angles are removed, the Org Mode HTML export works: \begin{equation} k_{eff} = \frac{\sum_i w_i k_{eff}(i)}{\sum_i w_i}. \end{equation} Does anybody know why? Is this expected behavior? Can this be changed? Dominik Schrempf writes: Hi, I have the following

[O] Latex export with \begin{equation}

2018-09-13 Thread Dominik Schrempf
Hi, I have the following document: \begin{equation} foobar \end{equation} I perform an HTML export. The equation is not rendered with MathJax when using Org Mode 9.1.14 (Spacemacs). The equation is correctly rendered with =emacs -Q=; then, Org Mode 9.1.9 is used. I am sure that Spacemacs

[O] Org-capture, empty lines and date tree

2018-04-06 Thread Dominik Schrempf
Hi, I am using date trees with org-capture with the =:empty-lines n= directive. The list item of =org-capture-templates= looks similar to this one: #+BEGIN_EXAMPLE (list "j" "Journal" 'entry (list 'file+olp+datetree journal-file) "* %^{Entry}\n%?\n" :empty-lines 1) #+END_EXAMPLE

[O] [Capture] Monthly/weekly date tree

2018-02-05 Thread Dominik Schrempf
Hello, I am interested in a capture template that creates date trees collected into months (or weeks as another possibility). The reason is that creating a headline for each day (=file+old+datetree=) is too precise for my use cases and hides information in unnecessarily deep headlines. An

[O] Org capture + datetree + language specification

2016-07-13 Thread Dominik Schrempf
Hello, usually, my Org mode documents are in English. However, now I need to create an Org document in German. I would like to use Org Capture, to create a date tree in German (but only for this document). Is there a way to specify this? Thank you, Dominik

Re: [O] Bug: Error upon HTML export of LaTeX source code [8.3.4 (release_8.3.4-831-gbf93e1 @ /home/dominik/.emacs.d/org-mode/lisp/)]

2016-05-28 Thread Dominik Schrempf
now and it turns out that it doesn't need the reset anyway. Just so that you know the cause. Thanks and best wishes, Dominik On Mon, May 23 2016, Nicolas Goaziou wrote: > Hello, > > Dominik Schrempf <dominik.schre...@gmail.com> writes: > >> I try to export a fontifie

[O] Bug: Error upon HTML export of LaTeX source code [8.3.4 (release_8.3.4-831-gbf93e1 @ /home/dominik/.emacs.d/org-mode/lisp/)]

2016-05-21 Thread Dominik Schrempf
Hello, I try to export a fontified LaTeX source code listing with HTML export. It boils down to an error that is thrown upon execution of the following function during HTML export: (org-html-fontify-code "\\begin{tabular}{@{} l @{}}\n\\hline\nno leading space\n\\hline\n\\end{tabular}\n"

Re: [O] Feature Request: Time Line in Lab Book

2016-04-05 Thread Dominik Schrempf
d the task. -- Do I make myself clear now? Thanks, Dominik On Thu, Mar 31 2016, John Hendy wrote: > On Thu, Mar 31, 2016 at 3:12 AM, Dominik Schrempf > <dominik.schre...@gmail.com> wrote: >> Hello, >> > > [snip] > >> A possibl

Re: [O] Feature Request: Time Line in Lab Book

2016-03-31 Thread Dominik Schrempf
Hi Eric, thanks for your answer. I guess drawers in general are the solution to my problems because then I can associate text to a specific headline. I introduced a DESCRIPTION drawer that includes the description of my problem/task and I log the solution or outcome into the LOGBOOK drawer when

[O] Feature Request: Time Line in Lab Book

2016-03-31 Thread Dominik Schrempf
Hello, I want to write a lab book with Org mode. Thereby my workflow is as follows: New stuff is appended to the bottom of the document (with time stamps in chronological order). Sometimes, especially when I discuss something in a meeting, tasks pop up that can only be done later. These tasks

[O] Bug: Invalid search bound (wrong side of point) upon latex code execution [8.3.4 (release_8.3.4-607-gaa7815 @ /home/dominik/.emacs.d/org-mode/lisp/)]

2016-02-25 Thread Dominik Schrempf
Hello, if I try to execute the following latex code block after a list item and followed by two blank lines I get an error. If I remove one blank line the code executes fine. -- - Very convenient for typesetting the integral

Re: [O] Bug: LaTeX in HTML export [8.3.2 (release_8.3.2-380-g64aee4 @ /home/dominik/.emacs.d/org-mode/lisp/)]

2015-12-11 Thread Dominik Schrempf
Hi Rasmus, thanks for your answer. I asked the people from MathJax and the problem is HTML related.

[O] Bug: LaTeX in HTML export [8.3.2 (release_8.3.2-380-g64aee4 @ /home/dominik/.emacs.d/org-mode/lisp/)]

2015-12-11 Thread Dominik Schrempf
Hello, I am trying to export a LaTeX code block into HTML and have a problem when using lower (<) signs (maybe it also happens with greater signs but I did not check that). E.g., the following Org code leads to an error when viewing the HTML file because the '<' sign is interpreted in a wrong

[O] Bug: Org timeline does not work [8.3beta (release_8.3beta-1229-ge900eb @ /home/dominik/.emacs.d/org-mode/lisp/)]

2015-06-18 Thread Dominik Schrempf
Hello, if I want to create a timeline of an arbritrary org file, I get the following error: Symbol's function is void: org-timeline Best wishes, Dominik Emacs : GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.2) of 2015-04-20 on bitzer.hoetzel.info Package: Org-mode version

[O] Exporting selected tasks (maybe from agenda view) including their body.

2011-10-19 Thread Dominik Schrempf
Is there a possibility to export tasks including their body (text, maybe logbook etc.) from the agenda view? What I would like to do is the following: I have Tasks with a certain todo state (e.g. WAITING). I can view all these tasks in an agenda view. Now I need to leave my computer and want to