Re: Problem with finding css file with orgmode blogging setup

2025-04-12 Thread Christian Moe
But is your local stylesheet uploaded to the server, as it has to be for the stylesheet link in your HTML head to locate it? That's what Rohit was getting at, I think. Apologies if this is obvious and your problem is a different one, but it's not clear from your reply. You say that a link to a rem

Re: Search tools for Org (Re: Graph of writing)

2025-04-05 Thread Christian Moe
In addition to the various search packages suggested by others upthread, there are also the built-in org-agenda tools, `M-x org-agenda' (or C-c a with the suggested global keybinding) followed by either `/' (org-occur-in-agenda-files) - the search term is a regular expression, the view is a c

Re: org-glossary don't see the acronyms

2025-03-27 Thread Christian Moe
Hi, Try spelling the heading "Acronyms" without the "e", or, alternatively, try adding the French spelling to org-glossary-headings. Yours, Christian Sébastien Gendre writes: > Hello, > > I try to use org-glossary: https://code.tecosaur.net/tec/org-glossary > > But it do not recognize my acron

Re: Match any todo keyword

2025-03-12 Thread Christian Moe
Aria Groult via "General discussions about Org-mode." writes: > "Florian Lindner" writes: > >> I want to use consult-org-agenda which uses an MATCH argument like >> org-map-entries. >> >> For that, how can I match any todo keyword, i.e., any state that is not >> done? Without naming them expli

Re: Q: Documentation question on beamer and org

2025-03-12 Thread Christian Moe
David Masterson writes: > Thomas Redelberger writes: > >> Am 12.02.2025 um 22:19 schrieb David Masterson: >>> I've been looking at Beamer as a way to write a slide show to help >>> explain some projects to others. Working on it, I have developed a >>> number of questions that I'm not seeing ans

Re: I'm giving a FOSDEM talk on Org Mode

2025-02-10 Thread Christian Moe
The WebM version worked fine for me. Yours, Christian Robert Love writes: > Has anyone successfully watched this? It has very intermittent sound, > cutting out frequently then stoping for many minutes. I don’t see the > referenced QR code. > > On Feb 6, 2025, at 4:19 PM, Amy Grinn wrote:

Re: Form feed characters break odt export

2024-12-24 Thread Christian Moe
(re-sending to include the list, apologies, recent mu4e ui changes keep tripping me up) Ihor Radchenko writes: > Joseph Turner via "General discussions about Org-mode." > writes: > >> I can export the following Org content to a .odt file, but the exported >> file cannot be opened ("Read Error.

Re: Workflow for planning and scheduling tasks with org mode

2024-12-22 Thread Christian Moe
(re-sending, forgot to copy to the list) Hi, Ashish, You may get more specific advice if you exxplain exactly in what way org-agenda seems to fail for you, i.e. what you expect to see and what happens. >From what you say, it sounds as if you have items in your file agenda.org that you expect to

Re: [ANN] Ihor is now officially the new Org maintainer

2024-12-07 Thread Christian Moe
Congratulations to both of you! And best of luck forward to Ihor. It was nice to see both of you with Carsten at EmacsConf. I've been using Org as my everything app for some fifteen years now, and it's been amazing to see the development and the community. Yours, Christian Bastien writes: > De

Re: Understanding Publish (ox-publish.el)

2024-10-21 Thread Christian Moe
Ihor Radchenko writes: > Christian Moe writes: > >> It's due to Latex refusing to commit the typographic crime of leaving a >> heading at the bottom of the page. >> ... > > and is committing another typographic crime :) > I am wondering if this may s

Re: Understanding Publish (ox-publish.el)

2024-10-15 Thread Christian Moe
> As you point out, I just need to avoid having /only/ headings. Or have only headings, but insert a strategic \clearpage here and there, if you *want* the outline to have the look of headings. > Thank you so much for hand-holding me to fully understanding the > problem! You're welcome!

Re: Understanding Publish (ox-publish.el)

2024-10-14 Thread Christian Moe
It's due to Latex refusing to commit the typographic crime of leaving a heading at the bottom of the page. See: https://tex.stackexchange.com/questions/57857/overfull-box-and-broken-pagination-with-page-that-contains-only-section-headings (That one was also asked by an Org user -- the ease of o

Re: Understanding Publish (ox-publish.el)

2024-10-14 Thread Christian Moe
Hi, The default document class is article. 1. First issue: Not quite sure what you mean by saying that it "does not handle content exceeding the page length". If the problem is with placing images, tables etc., latex does its best, and manually adding \clearpage or \newpage as needed tends to

Re: [BUG] Org-persist

2024-07-30 Thread Christian Moe
traveling, and don't have much time for forensics at the moment). Yours, Christian Christian Moe writes: > Hi, > > It seems my org-persist cache has somehow been corrupted so that opening > any Org-mode file suddenly causes this odd and severe error: > > File mode spe

[BUG] Org-persist

2024-07-30 Thread Christian Moe
Hi, It seems my org-persist cache has somehow been corrupted so that opening any Org-mode file suddenly causes this odd and severe error: File mode specification error: (wrong-type-argument listp £”6C?’^c) Retyping the above since the characters may turn out wrong: (wrong-type-argument listp \27

Re: org-cite-insert function docstring and documentation don't tell how to validate

2024-07-26 Thread Christian Moe
Sébastien Gendre writes: > What does "empty input exists" mean ? I think this conversation took a wrong turn where Sebastian read "exits" as "exists". :-) That is, choose a cite, hit RET to insert it, then hit RET again to exit the loop. Yours, Christian

Re: multipage html output

2024-07-03 Thread Christian Moe
Ihor Radchenko writes: > Christian Moe writes: > >>> after my clunky publishing chain from org to gitbook with multipage >>> page output broke down recently I finally decided to tackle adding an >>> export backend for multipage html output to org-export. &g

Re: multipage html output

2024-07-03 Thread Christian Moe
Orm Finnendahl writes: > Hi, > > after my clunky publishing chain from org to gitbook with multipage > page output broke down recently I finally decided to tackle adding an > export backend for multipage html output to org-export. > > (... snip ...) > > - Is there widespread interest to fully i

Re: [POLL] ob-R, ob-julia: Should we force-disable ess-ask-for-ess-directory? (was: [BUG] Relative filenames for graphics output in ob-R.el [9.8-pre (release_9.7.4-80-g7fa169)])

2024-06-28 Thread Christian Moe
Rudolf Adamkovič writes: > Ihor Radchenko writes: > >> I'd like to hear from ob-R/ob-julia users whether the current behavior >> is something they rely on. If not, I'd prefer to follow the conventions >> we introduce in the manual and suppress the ESS's directory prompt. > > +1 from me; I have

Re: Very slow getting tags for completion after 9.7 upgrade

2024-06-07 Thread Christian Moe
Ihor Radchenko writes: > Christian Moe writes: > >> Thanks! I attach a profile report (for a largeish file with 67 tags >> across 1515 headings, 17K+ lines, 18–36 seconds wait to get tags). >> >> ... >> I tried starting emacs with an empty .emacs file;

Re: Very slow getting tags for completion after 9.7 upgrade

2024-06-07 Thread Christian Moe
Ihor Radchenko writes: > Christian Moe writes: > >> After upgrading to 9.7 (still on Emacs 27.1), I'm seeing very long waits >> when trying to use tag completion in large files, whether with C-c C-q, >> %^g in capture templates or running (org-get-buffer-tags) dire

Very slow getting tags for completion after 9.7 upgrade

2024-06-06 Thread Christian Moe
Hi, After upgrading to 9.7 (still on Emacs 27.1), I'm seeing very long waits when trying to use tag completion in large files, whether with C-c C-q, %^g in capture templates or running (org-get-buffer-tags) directly. This applies both to 9.7.1 and 9.7.2 (on two different machines with similar envi

Re: What might ‘org-element-at-point’ be doing in *scratch*?

2024-06-04 Thread Christian Moe
Ihor Radchenko writes: > Christian Moe writes: > >> After upgrading to 9.7.1 on Emacs 27.1, I get a curious warning on Emacs >> start-up: >> >> "Warning (org-element): ‘org-element-at-point’ cannot be used in non-Org >> buffer # (fundamental-mode)

What might ‘org-element-at-point’ be doing in *scratch*?

2024-06-04 Thread Christian Moe
Hi, After upgrading to 9.7.1 on Emacs 27.1, I get a curious warning on Emacs start-up: "Warning (org-element): ‘org-element-at-point’ cannot be used in non-Org buffer # (fundamental-mode)" It does not happen with 'emacs -Q', but it also did not happen before the upgrade, so I don't know what i

Re: Org-agenda: List project with deadlines

2024-03-13 Thread Christian Moe
Hi, Sébastien, A general take: Org does not tell you how to organize your notes, it provides tools for doing it any way you like, and this freedom bewilders everyone. People work out their own systems, with advantages and disadvantages. You may find it liberating to consider that there is no sin

Re: Footnotes on line and not raised

2024-03-11 Thread Christian Moe
Hi, The footnote definitions are easy to fix with CSS since they are wrapped in divs with the .footdef class. #+begin_src css .footdef sup { vertical-align: baseline; font-size: 100%; } #+end_src But as you point out, the footnote references, are not as straigthforward given the structure --

Re: Developing Moodle resources/sites with Org Mode

2024-01-18 Thread Christian Moe
Hi, Edward Edward Doolittle writes: > 2) Development of Moodle glossaries. Glossaries can be uploaded to a > Moodle site using an appropriate XML file. Glossaries could be > developed in Org mode, including JSXgraph diagrams and graphs, PNG > images, and so on, and then Org mode converted to X

Re: kaobook tex template integration to a org file to make self-contained, portable?

2023-08-07 Thread Christian Moe
Hi, For starters, have you added the kaobook document class to the variable org-latex-classes? (If yes, ignore the rest of this message, if not, do so and see what happens.) This is needed to tell Org how to set the document class and what commands are used for sections. See the manual 13.10.2

Re: [FR] Please add support for screenplay formatting

2023-07-03 Thread Christian Moe
Ihor Radchenko writes: > Fionn Stephens writes: > >> I think support for screenplay formatting would be a useful feature to add. >> Like to how comments or quotes are done, it could be in between the tags: >> #+BEGIN_SCREENPLAY and #+END_SCREENPLAY. I think using the markdown used by >> Fo

Re: [PATCH] ox-html.el: add option to embed SVG for CSS support in SVG

2023-06-07 Thread Christian Moe
Ihor Radchenko writes: > Christian Moe writes: > >> I think there's a better approach. Tl;dr: >> >> - A better way to have active CSS in SVG images is to link to the >> external SVG file with the rather than tag, as we used >> to. > > Rea

Re: [PATCH] ox-html.el: add option to embed SVG for CSS support in SVG

2023-06-06 Thread Christian Moe
gerard.vermeu...@posteo.net writes: > On 06.06.2023 11:57, Christian Moe wrote: [...] >> 1) Embedded SVG is not the only way to have active CSS etc. in SVG >> images. Linking to an external SVG file with an OBJECT element instead >> of IMG should work fine (tested in Firefo

Re: [PATCH] ox-html.el: add option to embed SVG for CSS support in SVG

2023-06-06 Thread Christian Moe
Hi, I think there's a better approach. Tl;dr: - A better way to have active CSS in SVG images is to link to the external SVG file with the rather than tag, as we used to. - Without patching Org, you can embed an external SVG file as an SVG island in Org HTML export simply by using #+IN

Re: Org-mode publish: Some questions when use it for a blog

2023-05-10 Thread Christian Moe
>> But, generate a RSS feed with ox-rss [1] give me some problems. The >> README is not really clear on what the Org-mode file should look. And it >> seems to be done to generate RSS when all blog posts are a headline in >> the same document. But on my blog, each blog post is on a different >> d

Re: File generation from LaTeX src fails due to temporary PDF in wrong directory

2023-03-31 Thread Christian Moe
chris writes: >> [ ... snip ... ] >> Solution: >> >> Redefine org-babel-latex-preamble to remove >> the offending line. >> >> (setq org-babel-latex-preamble >> '(lambda (_) >> "\\documentclass[preview]{standalone}")) >> >> With this setup, my example >> >> #+header: :fit yes :heade

Re: File generation from LaTeX src fails due to temporary PDF in wrong directory

2023-03-30 Thread Christian Moe
chris writes: > On Wednesday, 29 March 2023 23:15:03 CEST Christian Moe wrote: >> >> Hi, >> >> Pardon the noise: It turned out to be a pretty obvious problem with my >> setup that has now been resolved. >> >> I had modified org-latex-pdf-process to

Re: File generation from LaTeX src fails due to temporary PDF in wrong directory

2023-03-29 Thread Christian Moe
back to you. Yours, Christian chris writes: > On Wednesday, 29 March 2023 10:00:35 CEST Pedro Andres Aranda Gutierrez wrote: >> On Tue, 28 Mar 2023 10:04:24 +0200, Christian Moe >> wrote >> Hi, >> >> > I'm trying and failing to export images from TikZ

File generation from LaTeX src fails due to temporary PDF in wrong directory

2023-03-28 Thread Christian Moe
Hi, I'm trying and failing to export images from TikZ code, apparently because the temporary PDF is misplaced. Here is a minimal example just exporting the PDF: #+LATEX_HEADER: \usepackage{tikz} #+header: :fit yes #+begin_src latex :exports results :file ./test-tikz-triangle.png \begin

Re: [HELP] Translate/extend `org-clock-clocktable-language-setup' for Spanish/Dutch/more languages

2023-02-03 Thread Christian Moe
Hi, Kevin, A couple of considerations: 1. I think "ALT" should be "ALLE" as in "alle filene" (the documentation says "ALL" refers to "All files when clock table includes multiple files"). 2. I like "Tid stempla", but "Tidsoversyn" or "Tidssamandrag" would stick closer to the original and be cl

Re: [POLL] Proposed syntax for timestamps with time zone info (was: [FEATURE REQUEST] Timezone support in org-mode datestamps and org-agenda)

2023-02-01 Thread Christian Moe
Hi, I have only partly been able to follow the discussion, but this seems like a very thoughtful proposal. I'm just not super happy with the ISO format running clock time and offset together, which I thinks makes clock times less readable when you're just quickly glancing through notes. >E

Re: Org-cite (oc-csl) tip: Filtering bibliography for language

2022-12-20 Thread Christian Moe
Simonyi >> wrote: >>> >>> Dear All, >>> >>> On Mon, 19 Dec 2022 at 15:49, Christian Moe wrote: >>> >>>> Refinements welcome. I'm especially wondering what would be an elegant >>>> way to generalize this for

Org-cite (oc-csl) tip: Filtering bibliography for language

2022-12-19 Thread Christian Moe
Hi, A tip some of you might find useful: I wanted to separate sub-bibliographies by language, which is not one of the out-of-the-box available properties of the PRINT_BIBLIOGRAPHY keyword.[fn:1] Specifically, I wanted to filter out Norwegian items into one subbibliography and non-Norwegian ones i

Re: Macro: exporting roman numerals formatted as small-caps

2022-12-09 Thread Christian Moe
Max Nikulin writes: > On 08/12/2022 19:38, Carlos Martínez wrote: >> #+MACRO: sc (eval (if (org-export-derived-backend-p >> org-export-current-backend 'latex) (concat "@@latex:\\textsc{@@" $1 >> "@@latex:}@@") (concat "@@odt:> text:style-name=\"T1\">@@"$1"@@odt:@@"))) > >

Re: [HELP] Translate/extend `org-clock-clocktable-language-setup' for Spanish/Dutch/more languages

2022-12-05 Thread Christian Moe
Esteban Ordóñez writes: >>> Hope it clarifies things. > > It does. Thank you very much, Christian. Just to note: The helpful clarification was Ihor's. I added a note about strings like this being tricky to localize and keeping that in mind when doing them in English. Yours, Christian

Re: [HELP] Translate/extend `org-clock-clocktable-language-setup' for Spanish/Dutch/more languages

2022-12-05 Thread Christian Moe
Ihor Radchenko writes: > Esteban Ordóñez writes: > >> El 2022-12-04 06:17, Ihor Radchenko escribió: >> >>> #+BEGIN: clocktable :scope file :maxlevel 2 >>> #+CAPTION: Clock summary at [2022-12-04 Sun 14:16] >>> | Headline | Time| >>> |--+---| >>> | *Total time* | *0

Re: LIterate programming with calc (help)

2022-10-24 Thread Christian Moe
Fraga, Eric writes: > On Monday, 24 Oct 2022 at 09:20, Ihor Radchenko wrote: >> I vaguely recall that storing variables in calc is something like >> variable := assignment (which is actually rewrite rule, but that's how >> 13.1 Storing Variables section of the calc manual explains variable >> as

Re: How do you manage complex project with Org-mode

2022-10-09 Thread Christian Moe
I nominate this as the ultimate advice on how to get things done with Org-mode :-) Jean Louis writes: > * Sébastien Gendre [2022-03-01 05:35]: >> And I don't know how to manage this kind of projects with Org-mode. > > Just use pen and paper notebook. Carry it with you.

Re: Create in Org a bilingual book with facing pages

2022-09-28 Thread Christian Moe
Hi, Juan Manuel, I keep saving your messages with process documentation for future reference should I ever attempt anything similar. Much appreciated! Yours, Christian Juan Manuel Macías writes: > Hi all, > > TL; DR: > > The bilingual critical edition (ancient Greek/Spanish) of the letters of >

Re: Simple but repetitive http links

2022-09-07 Thread Christian Moe
Hi, Org scans the file for link definitions when you visit it, so when you type in the link definition in the buffer, Org is not automatically aware that it exists. To refresh setup without reloading the file, you can `C-c C-c' with point on the line with the definition. That should do it. Also

Re: Maintaining oc-csl

2022-08-13 Thread Christian Moe
András Simonyi writes: > Dear All, > > I'd like to volunteer to maintain oc-csl.el, which currently doesn't > have an official maintainer as far as I can tell. As the author and > maintainer of citeproc-el and the author of oc-csl's precursor, > citeproc-org, I think I'm reasonably well position

[ODT][BUG] Format error on export with table in list structure

2022-08-10 Thread Christian Moe
Hi, Consider the following minimal example, a nested list with a table in a sub-item (regardless of list types and empty lines): #+BEGIN_EXAMPLE 1. List item - Sub-item | Table | #+END_EXAMPLE This causes a format error on ODT export (I'm running Org version 9.5.4). In the content.xml

Re: how obtain automatic row numbers in a table starting after the second hline?

2022-08-10 Thread Christian Moe
nd LaTeX export). Yours, Christian Uwe Brauer writes: >>>> "CM" == Christian Moe writes: > >> Hi, Uwe, >> Three ideas: > > Wow, thanks a lot of all these solutions > > I am using the new ods exporter found in > > g...@github.com:kjambunath

Re: how obtain automatic row numbers in a table starting after the second hline?

2022-08-07 Thread Christian Moe
Hi, Uwe, Three ideas: 1. Since your solution depends on the row number (@#) in any case, your use case does not actually depend on hline-relative references, does it? Then you can also assign to absolute row numbers, either by - assigning to the range rather than to the colum, which is

Re: [feature] Allow "," decimal point in table cells (was: org-table with different conventions: decimals)

2022-07-20 Thread Christian Moe
Ihor Radchenko writes: > Uwe Brauer writes: > >>> Uwe Brauer writes: >> >>> Org tables use Emacs' calc under the hood by default. >>> AFAIK, calc is unable to use "," as decimal point because it is reserved >>> as a vector separator. Which is why you got the vector addition in your >>> example

Re: Mastodon link type for capturing toots?

2022-06-21 Thread Christian Moe
Yes, I probably will write my own (and share it here). Just wanted to check first if the wheel had already been invented, as I'm feeling lazy. Thanks for confirming it probably hasn't. Yours, Christian Ihor Radchenko writes: > Christian Moe writes: > >> Has anyone w

Re: About 'inline special blocks'

2022-06-19 Thread Christian Moe
Juan Manuel Macías writes: > To add some ideas that have been occurring to me these days... > Hi, This makes sense to me. Note: For the html output in your example, I expect you don't mean contents>, but contents. That would give the desired custom style controle of the output, and would para

Mastodon link type for capturing toots?

2022-06-18 Thread Christian Moe
Hi, Has anyone written a link type for Mastodon that would allow you to org-capture the post/status ("toot") at point? I'm referring to mastodon.el (https://codeberg.org/martianh/mastodon.el), which is available via install-packages. Yours, Christian

Re: export to odt, but #text# should be coloured

2022-06-10 Thread Christian Moe
I forgot to escape the quotation marks, of course. > "@@odt:@@\\1@@odt:@@" "@@odt:@@\\1@@odt:@@"

Re: export to odt, but #text# should be coloured

2022-06-10 Thread Christian Moe
Hi, Since all formatting is defind as styles and styles are defined in separate (parts of the) files that make up an ODT file, this requires you to work with ODT styles. There may be a hack around it, I don't know. See the manual for how to use a style sheet with #+ODT_STYLES_FILE. (For a once-

Re: [tip] org-publish to work with (very) large books

2022-05-26 Thread Christian Moe
Thanks, Juan! Yours, Christian Juan Manuel Macías writes: > Hi Ihor and Christian, > > Ihor Radchenko writes: > >> Christian Moe writes: >> >>> Do I understand correctly that the main advantage of this approach (over >>> #+INCLUDE) is the ability t

Re: [tip] org-publish to work with (very) large books

2022-05-26 Thread Christian Moe
I see, thanks. Ought this to be documented at [[info:org#Publishing options]], perhaps? Yours, Christian Ihor Radchenko writes: > Christian Moe writes: > >> Do I understand correctly that the main advantage of this approach (over >> #+INCLUDE) is the ability to continuou

Re: [tip] org-publish to work with (very) large books

2022-05-26 Thread Christian Moe
Thanks for this, really interesting. Do I understand correctly that the main advantage of this approach (over #+INCLUDE) is the ability to continuously update preview of the whole book with latexmk -pvc even if you only re-export one chapter from Org-mode? I couldn't find the :body-only publish

Re: About 'inline special blocks'

2022-05-26 Thread Christian Moe
+1 Eric S Fraga writes: > On Tuesday, 24 May 2022 at 10:51, Timothy wrote: >> To me, this is another reason for comment and #+attr_X lines not to >> break paragraphs [...]. > > And, in fact, if this were true (which I would like), I personally would > see no reason for having inline special blo

Org-cite rocks!

2022-05-19 Thread Christian Moe
Hi, This is just to say that I've finally got around to testing org-cite with citeproc.el and it's awesome. A big thanks to Bruce, András, Nicolas and everyone else who's been patiently chipping away at this for years. Yours, Christian

[BUG] Agenda view fails with rx error in org-at-timestamp-p

2022-04-22 Thread Christian Moe
Hi, After updating to Org mode version 9.5.3-g69c588 via Elpa on Emacs 26.3, my Org Agenda view fails with the following backtrace: Debugger entered--Lisp error: (error "rx form ‘regexp’ requires args satisfying ‘stringp’") signal(error ("rx form ‘regexp’ requires args satisfying ‘stringp’")

Re: adding a header and/or footer when exporting to odt

2021-10-02 Thread Christian Moe
Uwe Brauer writes: >>>> "CM" == Christian Moe writes: > >> Uwe Brauer writes: > >>> Hi >>> >>> Is it possible to have a header and footer in all pages when >>> exporting to odt? I presume I have to use a odt style I creat

Re: adding a header and/or footer when exporting to odt

2021-10-01 Thread Christian Moe
Uwe Brauer writes: > Hi > > Is it possible to have a header and footer in all pages when exporting to > odt? I presume I have to use a odt style I create with Libreoffice/Openoffice? > > Thanks > > Uwe Brauer Yes, that's it. Just export your document, add the header you want (and do whatever

Re: [PATCH] Accept more :tangle-mode specification forms

2021-10-01 Thread Christian Moe
Tom Gillespie writes: > I strongly oppose this patch. It adds far too much complexity to the > org grammar. Representation of numbers is an extremely nasty part of > nearly every language, and I suggest that org steer well clear of > trying to formalize this. I'd like to understand these objec

Re: Citations merged!

2021-07-09 Thread Christian Moe
Wow, congratulations! Yours, Christian Nicolas Goaziou writes: > Hello, > > It took years, but citations are now full part of Org syntax. > > Thanks to everyone involved over the time! > > Now, it needs to be documented, but that will come a bit later. > > Regards,

Re: convert subtree or nested list to table

2021-07-08 Thread Christian Moe
Hi, Matt, Here's a version of this with a bit more processing. Define this somewhere in your document #+NAME: list2table #+BEGIN_SRC elisp :var order="columns" (let (longest) (setq data (map 'list 'flatten data)) (setq data (map 'list (lambda (x) (seq-difference x '(unordered ordered

Re: publishing: no default publishing function, or symbol is not defined

2021-06-19 Thread Christian Moe
Hi, Chris, "Symbol's function definition is void" means there is no such function defined. Try org-html-publish-to-html instead. Yours, Christian Christopher W. Ryan via General discussions about Org-mode. writes: > I'm making my first foray into publishing a project. I'm running GNU > Emacs

Re: org-critical-edition (a package for philologists and classicists)

2021-06-14 Thread Christian Moe
Very neat! Curious about a design choice: If I understand correctly, org-critical-edition puts the hidden notes in the description and the visible annotated text in the target of an org link. This is the reverse of the out-of-the-box link appearance (description visible, target hidden if descrip

Re: Cross referencing in Emacs Org mode

2021-05-19 Thread Christian Moe
Hi, The question, then, is not if you can have cross-references (as you say, they work fine), but if they will work with subtree export. I believe not (but others may have to correct me). Links/refs to parts of the document outside the exported subtree *will* be broken. The exporter does not co

Re: [PATCH] Possibility of using alternative separators in macros

2021-05-17 Thread Christian Moe
Maxim Nikulin writes: > On 17/05/2021 02:21, Christian Moe wrote: >> Maxim Nikulin writes: >>> On 03/05/2021 04:08, Christian Moe wrote: >> [snip] >>> #+MACRO: allargshack (eval (format "- /%s/ :: %s" $1 (mapconcat >>> #'identity _ "

Re: [PATCH] Possibility of using alternative separators in macros

2021-05-16 Thread Christian Moe
Maxim Nikulin writes: > On 03/05/2021 04:08, Christian Moe wrote: [snip] >> Something that would help, without adding new syntax, is >> making macro expansion smart enough to *ignore* separators when the >> macro definition contains only *one* argument anyway, as in the

Re: [PATCH] Possibility of using alternative separators in macros

2021-05-02 Thread Christian Moe
I frequently need to escape commas in macros, which is a bit of a pain and easy to forget. My most frequent use case is a macro that expands in ODT export to a margin comment (like #+begin_annotation does, but without causing a line break). It takes one argument which typically consists of severa

Re: org-refile using the ID of the target

2021-04-07 Thread Christian Moe
My approach is to tag the equivalent of your "Notes" subtree of the various projects in my agenda files with an :INBOX: tag. The following code in .emacs then makes sure they are presented as refile targets: ;; Refile (setq org-refile-targets '((org-agenda-files . (:tag . "INBOX")) ;; In

Re: How to have a repeating item within some hours?

2021-04-03 Thread Christian Moe
If it's on the same day, how about this? ** <2021-03-29 Mon 05:15-06:16 +7d> Time block Yours, Christian Marcin Borkowski writes: > Ping? > > On 2021-03-28, at 11:52, Marcin Borkowski wrote: > >> Hi Orgers, >> >> I'd like to have a repeating time block on the agenda, say every Monday >> from

Re: [PATCH] tweaks to ox-html style

2021-02-13 Thread Christian Moe
Tim Cross writes: > BTW I think it would be nice if the html export was able to produce/use > a separate CSS file rather than in-line styles. This would make it > easier to drop exported HTML files into existing sites with custom > styles or update the look of exported files without needing to r

Re: How to combine two org files that each have footnotes?

2021-02-11 Thread Christian Moe
Hi, This is actually easy because Org allows named footnotes (numbers are really just a special case of names). Make backup copies of your files for safety's sake, then visit file1.org and M-% to replace all instances of "fn:" with (for example) "fn:file1_". The footnotes will now be named fn:f

Re: Free up C-c SPC/org-table-blank-field?

2021-02-05 Thread Christian Moe
Tim Cross writes: > Eric Abrahamsen writes: > >>> Does it actually need a key binding? I've never used it and just use >>> to move to the next field, leaving the field blank. >> >> I assume it's meant for blanking a field you've already typed something >> into. But yes, I can't imagine it's a

Re: Local variables insecurities - Re: One vs many directories

2020-11-26 Thread Christian Moe
Located Eric's message and can confirm the same for mu4e (no query about setting/evaluating anything upon opening the message). cm Eric S Fraga writes: > On Wednesday, 25 Nov 2020 at 15:38, Jean Louis wrote: >> I have not configured anything. In fact I have opened the email and I >> was surpri

Re: [PATCH] org-table: Add mode flag to enable Calc units simplification mode

2020-11-24 Thread Christian Moe
Great! Thanks for following through on this, Dan! Yours, Christian Kyle Meyer writes: > Daniele Nicolodi writes: > >> Thank you for the review, Kyle. >> >> Another updated patch set is attached. > > Thank you for the update. > > Applied, tweaking the manual entry to use "a unit" rather than "a

Re: Tables: missing multi-col/row syntax

2020-11-04 Thread Christian Moe
+1 for enabling table-cell merges in export. I imagine this would be a tricky job for developers, but it would relieve me as a user of much repeated fiddling with exported drafts. +1 for doing it without adding clutter to the table syntax, but specifying merges on a separate line like formulas,

Re: org-tables with monetary amounts

2020-10-14 Thread Christian Moe
Hi, Derek, Very useful, thanks! Yours, Christian Derek Feichtinger writes: > Hi, > > On Mon, Oct 12 2020, Eric S Fraga wrote: > >> On Monday, 12 Oct 2020 at 10:22, Christian Moe wrote: >>> I think I was thinking about adding mode flags for unit computations, >&

Re: org-tables with monetary amounts

2020-10-12 Thread Christian Moe
Hi, Daniele, Good that it's working for you. I'll try to explain the unclear parts. Daniele Nicolodi writes: > On 24/09/2020 11:17, Christian Moe wrote: > >> Now, with the Calc command to simplify units, you can add dollars to >> euros and get the result in which

Re: Help: how to extend org-mode markup?

2020-09-25 Thread Christian Moe
Please disregard my response. I misunderstood both your intention and the use of font-lock keywords. Sorry for the noise. :-( Yours, Christian Pierre-Henry F. writes: > Thank you very much for your replies. > > Here is the use case: > > |---+| > | something | :next: | > |--

Re: Help: how to extend org-mode markup?

2020-09-25 Thread Christian Moe
Hello, In your example, `:next:' is a tag. Tags and keywords are different entities. https://orgmode.org/worg/dev/org-syntax.html You should be able to do what you want by customizing `org-tag-faces'. Yours, Christian Pierre-Henry F. writes: > Hello, > > I would like to extend the org-mode

Re: org-tables with monetary amounts

2020-09-24 Thread Christian Moe
Hi, Parsing numbers followed by currencies is sort of supported already through Calc's operations on units. (Calc is the built-in emacs calculator that powers the spreadsheet function of Org tables). I haven't used this or explored it much, but my impression is that it could be made more useful

Re: I'm slowly coming back

2020-04-13 Thread Christian Moe
Important work! Stay safe. Christian Bastien writes: > Dear all, > > my day job is to work for the open data public agency in France. > > I have been drown under a massive workload in the last four weeks, > due to the COVID-19 crisis. > > I am slowly freeing more time and I'll be back at reading

Re: org2blog: get horizontal scrollbar on code examples?

2020-04-04 Thread Christian Moe
Try adding .org-src-container .src { overflow: auto; white-space: nowrap } to the CSS, e.g.: #+html_head_extra: .org-src-container .src { overflow: auto; white-space: nowrap } Cheers, Christian Steinar Bang writes: > Does anyone know of a way to get horizontal scrollbars on code example

Re: Need Guidance in developing and generating code using org-mode

2020-02-28 Thread Christian Moe
Hi, Kokou, Adding to what Leslie Watter writes: >>- Under Register, and Login heading, How do i generate html forms >>which will post entries to specific destinations? and also generate code >>for capturing the data? >> >> To use forms, you'll probably will use raw HTML: > > https:/

Re: Exporting comments to comments?

2020-02-23 Thread Christian Moe
I use a rather complex comment macro to make ODT annotations without introducing unwanted paragraph breaks. I'm not sure what the Markdown comment syntax is. But e.g. for HTML, the macro could be defined as simply as: #+MACRO: comment @@html:@@ Then you can write things like This is a sente

Re: [Idea] Org Collections

2019-12-16 Thread Christian Moe
+1, that is: This is an interesting idea, there have been times when I might have found something like this handy, and I might well use if it's developed, though I'm not sure if it will ease my cognitive load or add to it. :-) Yours, Christian Moe Gustav Wikst

Re: [O] [BUG][ODT] ODT_STYLES_FILE not read as a list

2018-11-07 Thread Christian Moe
error "org-odt: Missing styles file?" L.C. Karssen writes: > On 06-11-18 16:35, Christian Moe wrote: >> >> I believe the need to use quotation marks around the style file name was >> removed at some point > > I didn't know that. I had a quick look at the change

Re: [O] [BUG][ODT] ODT_STYLES_FILE not read as a list

2018-11-06 Thread Christian Moe
;\"template.ott\"" > > Removing the quotes fixes the export to ODT. > > > Best regards, > > Lennart. > > [1] https://orgmode.org/org.html#Applying-custom-styles > > > On 05-11-18 09:49, Christian Moe wrote: >> >> Thanks, Nicolas! >> &

Re: [O] [BUG][ODT] ODT_STYLES_FILE not read as a list

2018-11-05 Thread Christian Moe
Thanks, Nicolas! I'll test on my end when it shows up in ELPA. Yours, Christian Nicolas Goaziou writes: > Hello, > > Christian Moe writes: > >> It seems the ODT exporter currently fails to read the ODT_STYLES_FILE >> option as a list, as in this example f

Re: [O] [BUG][ODT] ODT_STYLES_FILE not read as a list

2018-10-30 Thread Christian Moe
Sorry, forgot to attach the test files. #+title: ODT styles test #+ODT_STYLES_FILE: ("odt-test-styles.odt" ("styles.xml" "Pictures/120100A200B0A7D655E3F0A97ECF.png")) Place this Org file in the same directory as the accompanying file odt-test-styles.odt and export it to ODT. Expec

[O] [BUG][ODT] ODT_STYLES_FILE not read as a list

2018-10-30 Thread Christian Moe
Hi, It seems the ODT exporter currently fails to read the ODT_STYLES_FILE option as a list, as in this example from the manual ([[info:org#Applying custom styles]]): #+ODT_STYLES_FILE: ("/path/to/file.ott" ("styles.xml" "image/hdr.png")) This is needed if you want a complex style with e.g. an

Re: [O] letterhead and signature in odt export

2018-10-30 Thread Christian Moe
You should be able to make a letterhead template by placing the letterhead in the header, saving it as an ODT styles file and specifically referencing any images in a list in the ODT_STYLES_FILE header. See the manual 12.12.5, "Applying custom styles". When I try it, though, Org fails to parse th

Re: [O] [patch] Problems producing TikZ PNGs from LaTeX src blocks (was: Problems producing TikZ PNGs from LaTeX src blocks)

2018-09-30 Thread Christian Moe
changing the file name and cleaning up temporary files. Probably as a result of this failure, no PNG is created. I have also tried to apply your patch, without effect. Maybe I did it wrong, but it increasingly looks like I have some weird problem with my setup in addition to the issue you uncovered. Yours, Christian Moe

  1   2   3   4   5   6   7   >