Re: Question: export with tags but hide "export" tag
On 11/24, Fraga, Eric wrote: You could maybe use this hook: ,[ C-h v org-export-before-processing-hook RET ] | org-export-before-processing-hook is a variable defined in ‘ox.el’. | | Documentation: | Hook run at the beginning of the export process. | | This is run before include keywords and macros are expanded and | Babel code blocks executed, on a copy of the original buffer | being exported. Visibility and narrowing are preserved. Point | is at the beginning of the buffer. | | Every function in this hook will be called with one argument: the | back-end currently used, as a symbol. ` *if* it is invoked after the tag selection is done (I'm not sure if it is or not). You would have to write some emacs lisp to remove the :export: tags. Thanks, I'll look into it. Probably should brush up on my elisp anyway Nick
Re: Question: export with tags but hide "export" tag
On Saturday, 23 Nov 2019 at 11:59, w...@mm.st wrote: > Any ideas about how to export using this workflow without showing > the "export" tag? You could maybe use this hook: ,[ C-h v org-export-before-processing-hook RET ] | org-export-before-processing-hook is a variable defined in ‘ox.el’. | | Documentation: | Hook run at the beginning of the export process. | | This is run before include keywords and macros are expanded and | Babel code blocks executed, on a copy of the original buffer | being exported. Visibility and narrowing are preserved. Point | is at the beginning of the buffer. | | Every function in this hook will be called with one argument: the | back-end currently used, as a symbol. ` *if* it is invoked after the tag selection is done (I'm not sure if it is or not). You would have to write some emacs lisp to remove the :export: tags. -- Eric S Fraga via Emacs 27.0.50, Org release_9.2.6-552-g8c5a78
Question: export with tags but hide "export" tag
Hi fellow org people, I want to start publishing some of my notes on a website. My preferred method is either org-export-dispatch or org-publish (maybe in the future). I have one giant notes file where I keep everything. Some people prefer to have multiple files to compartmentalize, but I prefer to keep everything together to simplify searching, organizing, capturing etc. This is similar to the philosophy of dnote (a third-party, non-org-mode note taking app at https://www.getdnote.com/): being able to capture a note as quickly as possible is more important than putting it in the correct place, and being able to search all notes is more important than having them perfectly organized. Towards the top of the file are more permanent entries, like my TODO inbox, calendar, and daily checklist. Whenever I add a note, I automatically stick it at the end of the file. When headlines are completed or become more permanent, I sometimes refile them higher up in the file ("percolate up", if you will). Anyway, my preferred method of publishing would be to simply tag headlines when they're ready to be included in HTML exports. Org-mode includes this, of course, with the "org-export-select-tags" option. However, I also want to include tags in the exported HTML, but currently that means every exported headline will have the "export" tag. Any ideas about how to export using this workflow without showing the "export" tag? Thanks, Nick