4 ms·
I do this in a sort of roundabout way, by actually using a new heading for each paragraph (helps with outlining). You can make this work by adding the :ignore:
by olivierestsage 6y ago
I do this in a sort of roundabout way, by actually using a new heading for each paragraph (helps with outlining). You can make this work by adding the :ignore: tag to the headings, which means that the heading titles won't be exported when you export the document, but the text under them will. Basically, you get an invisible outline of your document that you can tag however you like.
It requires some light setup to get working, since it's not part of the base functionality of Org. First, add these lines to your config (more details on StackExchange[1]):
(require 'ox-extra)
(ox-extras-activate '(ignore-headlines))
Now you can add the :ignore: tag, and any other tags you want, to the heading for any paragraph. When you export, you'll just get the paragraphs, not the headings or tags.
[1] https://emacs.stackexchange.com/questions/38184/org-mode-ignore-heading-when-exporting-to-latex https://emacs.stackexchange.com/questions/38184/org-mode-ign...
- nanna 6y agoThat's pretty neat, thank you! I'll give that a go. I suppose radio target links function a bit like inline tags, in a way, in that wrapping a string in <<<angle brackets>>> and C-c'ing it turns every use of that string in the file into a C-o'able link to the original radio target. Definitely not as featureful as proper :tags: but also has it's uses...