Re: emacs + org-mode in virtual machine/docker/...
Hi. On 24/05/2020 11:03, Jens Lechtenboerger wrote: On 2020-05-23, Olivier Berger wrote: Hi. This looks quite similar to my approach to producing course material, which is documented here : https://olberger.gitlab.io/org-teaching including the use of Docker (see https://gitlab.com/olberger/docker-org-teaching-export/ ) Indeed, the philosophy of using the right source format is the same. Thanks for the pointer. What I see as differences: Emacs-reveal embeds plugins for audio and quizzes to create what I hope to be material for asynchronous learning (particularly useful in Corona times but preferable to lecturing in “normal” years as well). It supports a bibliography slide and focuses on Free and Open Educational Resources with simplified (in my view) treatment of license information. I'll have to investigate when time permits. Thanks for these details. Do you share your teaching material for “Web architecture and applications (CSC4101)”? I don't advertize it outside of my classes. But you may find it online if you're looking for "accueil du cours CSC4101" in a search engine... and know how to read french ;) Unfortunately some contents included/reused have a dubious copyright status, which prevents me from publishing it in a more public way, so I'm sticking to a class perimeter (slightly extended) now, to keep in the safe side, and given current time/effort available. Hope this gives you an interesting example though ;) Best regards, -- Olivier
Re: emacs + org-mode in virtual machine/docker/...
Hi. This looks quite similar to my approach to producing course material, which is documented here : https://olberger.gitlab.io/org-teaching including the use of Docker (see https://gitlab.com/olberger/docker-org-teaching-export/ ) Hth, Best regards, Jens Lechtenboerger writes: > On 2020-05-21, John Kitchin wrote: > >> What do you do with this image? I would be happy to continue this off-list >> if it seems better. > > I generate self-study HTML presentations with audio as OER based on > reveal.js. See there for a course about to start in two weeks: > https://oer.gitlab.io/OS/ > > Material generated from this: > https://gitlab.com/oer/OS/-/blob/master/.gitlab-ci.yml > > A howto: https://oer.gitlab.io/emacs-reveal-howto > > Best wishes > Jens > > -- Olivier BERGER https://www-public.imtbs-tsp.eu/~berger_o/ - OpenPGP 2048R/0xF9EAE3A65819D7E8 Ingenieur Recherche - Dept INF Institut Mines-Telecom, Telecom SudParis, Evry (France)
[O] Running org-mode (and emacs) inside the Web browser ?
Hi. I've had this crazy idea to try and "port" emacs to the Web browser (using some tools like [[https://browsix.org/][browsix]]), for the purpose of running org-mode inside a browser tab. Anyone having had the same idea yet ? Interestingly, porting a C program to browsix currently seem to rely on emscripten and LLVM... which might not be the best toolchain for building Gnu Emacs... but trolls aside, I'd be curious of the feasability. I'm not exactly sure why that would be worth doing... but I can imagine running that Emacs Web browser port over some kind of versioned file system, and Emacs conf files (org + tangling, of course), so that you have "your" org-mode at hand from anywhere using a URL and a browser tab... of course, using a keyboard for browsing that tab would be better than a touch screen, re keyboard shortcuts. Any clues ? I've already spotted http://www.ymacs.org/ which could be of use, for the terminal interface parts. Maybe browsix already provides everything else that's needed (LLVM, emscripten, ...). Another option could be some kind of use of WebAssembly port, for browser compatibility, maybe. Of course performance would be interesting to benchmark. Thanks for your feedback. Best regards, -- Olivier BERGER http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 Ingenieur Recherche - Dept INF Institut Mines-Telecom, Telecom SudParis, Evry (France)
Re: [O] org-info.js (un)maintained ?
Hi. Responding to myself a bit : Olivier Berger <olivier.ber...@telecom-sudparis.eu> writes: > > Maybe a useful thing to do could be to merge the changes from worg/code > into a clone on github and make sure there are pending corresponding > pull requests ? > At least this seems to be feasable, but the result would need some testing... and maybe the merge back from github to worg, as the codebase in GitHub changed too in between. My attempt at merging worg -> github : https://github.com/SebastianRose/org-info-js/pull/12 Hope this helps, Best regards. -- Olivier BERGER http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 Ingenieur Recherche - Dept INF Institut Mines-Telecom, Telecom SudParis, Evry (France)
[O] org-info.js (un)maintained ?
Hi. Looking at https://github.com/SebastianRose/org-info-js the code seems rather unmaintained. On the other hand, there's a copy inside worg/code that seems a bit more recent. Has anyone tried and avoid a fork here ? I fear the situation isn't going to improve as it is. Maybe a useful thing to do could be to merge the changes from worg/code into a clone on github and make sure there are pending corresponding pull requests ? Or, if the maintainer is unresponsive, document the "fork" in the docs under http://orgmode.org/worg/code/org-info-js/ ? I haven't tried yet to contact Sebastian Rose and thought that maybe others could enlighten me on the code's status before I dig more into the issue. Many thanks in advance. Best regards, -- Olivier BERGER http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 Ingenieur Recherche - Dept INF Institut Mines-Telecom, Telecom SudParis, Evry (France)
[O] Subtitles in HTML export render document invalid
Hi. Just a minor bug; I think. The W3C validator complains that the document is invalid for the which is nenerated when there's a #+SUBTITLE: : end tag for "br" omitted, but OMITTAG NO was specified You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">". This is problematic at least for #+HTML_DOCTYPE: xhtml-strict. Hope this helps, Best regards, -- Olivier BERGER http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 Ingenieur Recherche - Dept INF Institut Mines-Telecom, Telecom SudParis, Evry (France)
[O] No support for generation of 'HELP' setting of org-info.js in HTML export
Hi. Unless I'm mistaken, the generation of the init section in HTML export won't set the HELP variable supported by org-info.js [0], which allows to display a message advertizing the use of org-info and pointing to its help. It would be interesting to be able to set it with #+INFOJS_OPT: settings. Thanks in advance. Best regards, [0] http://orgmode.org/worg/code/org-info-js/#text-using-set -- Olivier BERGER http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 Ingenieur Recherche - Dept INF Institut Mines-Telecom, Telecom SudParis, Evry (France)
[O] Adding remarks or warning blocks to technical manuals exported to LaTeX
Hi. I'm writing technical instructions in an educational context (technical course handout, etc.). I wanted to include sections with icons and "boxes" much like what exists for alert blocks in beame, but I'm using the article layout. I've found that the bclogo LaTeX environment suits that need, which allows me to construct something like the following, using LaTeX special block: #+LaTeX_HEADER: \usepackage[tikz]{bclogo} ... #+ATTR_LATEX: :options [noborder=true,logo=\bcattention]{Important warning} #+BEGIN_bclogo Attention, students, read this carefully. #+END_bclogo I though this could be a quite generic need, for which I struggled to find instructions, thus sharing the tip with the org-mode community. Maybe there are other alternatives to bclogo [0], which may then be worth sharing too. Hope this helps, [0] http://www.ctan.org/pkg/bclogo -- Olivier BERGER http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 Ingenieur Recherche - Dept INF Institut Mines-Telecom, Telecom SudParis, Evry (France)
[O] Suggestion: provide more detailed example of :options for LaTeX special blocks
Hi. May I suggest to improve the docs of [[http://orgmode.org/manual/Special-blocks-in-LaTeX-export.html][Special blocks in LaTeX export]] to make it more explicit that the special blocks :options can contain both options or arguments of the LaTeX environment. Here's an example: #+ATTR_LATEX: :options [logo=\bcattention]{The warning} #+BEGIN_bclogo Attention, this is a warning #+END_bclogo This requires or course: #+LaTeX_HEADER: \usepackage[tikz]{bclogo} I've been struggling with trying to do this, until I read the sources of ox-latex and noticed that it wasn't limited to the '[...]' options... and much later re-read the manual to finally notice the "appends as-is to that environment's opening string" ;-) Maybe providing an example that uses both the '[...]' and the '{...}' would save others' time. Unfortunately, I'm not fluent enough in LaTeX to suggest a more "generic" environment than bclogo, readily available in an article, for a direct patch proposal to the manual sources. Hope this helps. Thanks in advance. Best regards, -- Olivier BERGER http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 Ingenieur Recherche - Dept INF Institut Mines-Telecom, Telecom SudParis, Evry (France)
Re: [O] Agenda view missing most schedules + Wrong number of arguments: (1 . 5), 6; Skipping entry
Hi. Olivier Berger <olivier.ber...@telecom-sudparis.eu> writes: > Hi. > > Since Debian testing's latest update to 9.0.3 (previously in 9.0), most > of my agenda is missing. > > I get many messages like : > Wrong number of arguments: (1 . 5), 6; Skipping entry [289 times] > > I guess something's broken. But hard to tell where given my cluelesness > in emacseries. > It seems something was broken on my side. Cleaning my startup-kit installation and mix of Debian packages vs ELPA packages seems to have solved the issue. I guess this corner case appeared since initially a V8 org from emacs' Debian package installation was loaded and used before switching to org 9... Anyway, that's solved now. Best regards, -- Olivier BERGER http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 Ingenieur Recherche - Dept INF Institut Mines-Telecom, Telecom SudParis, Evry (France)
[O] Agenda view missing most schedules + Wrong number of arguments: (1 . 5), 6; Skipping entry
Hi. Since Debian testing's latest update to 9.0.3 (previously in 9.0), most of my agenda is missing. I get many messages like : Wrong number of arguments: (1 . 5), 6; Skipping entry [289 times] I guess something's broken. But hard to tell where given my cluelesness in emacseries. Without agenda I'm lost ;-) Thanks in advance. Best regards, -- Olivier BERGER http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 Ingenieur Recherche - Dept INF Institut Mines-Telecom, Telecom SudParis, Evry (France)
[O] A modest "framework" for authoring teaching material with org-mode
Hi. For teachning this year, I've used a "framework" that consists in a set of umbrella .org documents which generate various output formats from a single included .org source. The goal is to author only a single "lesson.org" source, and generate both PDF handbooks (for students or teachers) and Web slides (using reveal.js, using org-reveal). I thinks it may be useful to some, so I've decided to document and publish it : http://www-public.tem-tsp.eu/~berger_o/org-teaching/ An example slides deck (self documenting it) : http://www-public.tem-tsp.eu/~berger_o/org-teaching/slides.html and corresponding handbook : http://www-public.tem-tsp.eu/~berger_o/org-teaching/handbook.pdf Feel free to reuse, adapt, enhance and report. Hope this helps. Best regards, -- Olivier BERGER http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 Ingenieur Recherche - Dept INF Institut Mines-Telecom, Telecom SudParis, Evry (France)
Re: [O] ox-icalendar's org-icalendar-include-todo and export for TODOs with custom DONE states
Hi. Nicolas Goaziou <m...@nicolasgoaziou.fr> writes: > Hello, > > Olivier Berger <olivier.ber...@telecom-sudparis.eu> writes: > >> I have a TODO file with additional TODO/DONE states. >> >> It seems that when org-icalendar-include-todo is set to 't', it should >> "include tasks that are not in DONE state.". >> >> In my TODO file I have the following configuration of TODO states : >> #+SEQ_TODO: TODO(t) DEMARRE(e) ATTENTE(a) RDV(v) | DONE(d) ANNULE(n) >> REPORTE(r) >> >> I would expect that exporting the TODOs would only export the ones in >> TODO, DEMARRE, ATTENTE or RDV states. >> >> However, TODOs in ANNULE state are exported too, it seems. >> >> Any hints ? > > According to `org-icalendar-include-todo' docstring, it only controls > creation of VTODO components. > > It think you need `org-export-with-tasks'. > Thanks Nicolas, actually adding #+OPTIONS: tasks:todo to the header solved the issue (originally using org-caldav-sync [0], btw) :-) Many thanks. Best regards, [0] https://github.com/dengste/org-caldav -- Olivier BERGER http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 Ingenieur Recherche - Dept INF Institut Mines-Telecom, Telecom SudParis, Evry (France)
[O] ox-icalendar's org-icalendar-include-todo and export for TODOs with custom DONE states
Hi. I have a TODO file with additional TODO/DONE states. It seems that when org-icalendar-include-todo is set to 't', it should "include tasks that are not in DONE state.". In my TODO file I have the following configuration of TODO states : #+SEQ_TODO: TODO(t) DEMARRE(e) ATTENTE(a) RDV(v) | DONE(d) ANNULE(n) REPORTE(r) I would expect that exporting the TODOs would only export the ones in TODO, DEMARRE, ATTENTE or RDV states. However, TODOs in ANNULE state are exported too, it seems. Any hints ? Thanks in advance. Best regards -- Olivier BERGER http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 Ingenieur Recherche - Dept INF Institut Mines-Telecom, Telecom SudParis, Evry (France)
[O] SCHEDULED: now needs to be on 2nd line ? - Was: Re: Compact schedule time ranges no longer supported in agenda in org 9 ?
Hi. Marco Wahl <marcowahls...@gmail.com> writes: > >> For long I've been using a compact form for defining scheduled tasks >> with a time range/interval as : >> >> SCHEDULED: <2016-11-14 lun. 14:00-15:00> >> >> instead of : >> >> SCHEDULED: <2016-11-14 lun. 14:00>--<2016-11-14 lun. 15:00> >> >> It seems this no longer works in org 9 as the tasks don't appear any >> more in the agenda views. >> > I can not confirm your statement. > > E.g. the entry > > * Meeting > SCHEDULED: <2016-11-15 Tue 14:00-15:00> > > in an agenda file tmp.org appears in my agenda as > > tmp:14:00-15:00 Scheduled: Meeting > > Maybe you can check again and provide a CME? > You're right, that still works. However, the issue is that the SCHEDULED: indication now needs to be placed on the second line right after the entry's headline, whereas it used to be recognized even in later lines before org 9... So : ** TODO meeting something SCHEDULED <2016-11-15 Tue 14:00-15:00> won't work, but : ** TODO meeting SCHEDULED <2016-11-15 Tue 14:00-15:00> something works. Bug, feature ? Thanks in advance. Best regards, -- Olivier BERGER http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 Ingenieur Recherche - Dept INF Institut Mines-Telecom, Telecom SudParis, Evry (France)
[O] Compact schedule time ranges no longer supported in agenda in org 9 ?
Hi. For long I've been using a compact form for defining scheduled tasks with a time range/interval as : SCHEDULED: <2016-11-14 lun. 14:00-15:00> instead of : SCHEDULED: <2016-11-14 lun. 14:00>--<2016-11-14 lun. 15:00> It seems this no longer works in org 9 as the tasks don't appear any more in the agenda views. I can't seem to find a reference to this "compact form" in the manual or changelog... maybe that was an undocumented feature ? Anyone else with the issue / workaround ? Thanks in advance. Best regards, -- Olivier BERGER http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 Ingenieur Recherche - Dept INF Institut Mines-Telecom, Telecom SudParis, Evry (France)
[O] Litteral :var passing buggy for shell execution in org-babel when in :session
Hi. I'm trying to apply the approach of litteral devops described in http://www.howardism.org/Technical/Emacs/literate-devops.html and noticed the following issue. I'm trying to use execute shell blocks of the following form ("remote" execution of commands inside a Vagrant VM via tramp through ssh, using a shell mode session) : #+BEGIN_SRC sh :dir /symfonyvm:/vagrant :var SYNCEDDIR="/vagrant" :results drawer :session centosvm ls $SYNCEDDIR #+END_SRC This works well when not using a session, but when using the session, the variable evaluation gets stuck, and when interrupted, I can see the following inside the "centosvm" shell buffer : /scp:symfonyvm: #$ SYNCEDDIR=$(cat <<'BABEL_TABLE' The substitution doesn't seem to happen well over tramp in that case, somehow. Typing C-c C-d in the shell session allows me to recover. I suspect an issue related to tramp + session, incompatible with the variable initialisation mechanism. Any clue ? My setup should be org-mode version : 8.3.4 and normally, ob-sh.el supposedly stock emacs in Debian testing context... Thanks in advance. Best regards, -- Olivier BERGER http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 Ingenieur Recherche - Dept INF Institut Mines-Telecom, Telecom SudParis, Evry (France)
Re: [O] HTML + RDFa export/publishing ?
Hi. I've finally devoted a bit more time to follow the lines you'd drawn in the post below, and here's the result : http://www-public.telecom-sudparis.eu/~berger_o/test-org-publishing-rdfa.html It's not perfect as it doesn't offer a universal compact way to map all RDFa constructs to some handy and compact org syntax, but given a small number of patterns, and the corresponding elisp converter code, I think it achieves a quite interesting solution. Many thanks for the suggestion. Also, any comments much welcome (and yes, my lisp is ugly ;). Best regards, John Kitchin jkitc...@andrew.cmu.edu writes: Can you give us an example of what you are trying to do? I don't think org-mode supports this rich of behavior out of the box, but see http://kitchingroup.cheme.cmu.edu/blog/2015/02/05/Extending-the-org-mode-link-syntax-with-attributes/ for an example idea of what you could imagine doing with a link type approach that could be inline with text. -- Olivier BERGER http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 Ingenieur Recherche - Dept INF Institut Mines-Telecom, Telecom SudParis, Evry (France)
[O] Extending the @@html: making for other content ?
Hi. I wonder whether the @@html:...@@ syntax for embedding raw HTML is extensible/customizable, for instance for embedding other stuff. I imagine one could use @@rdf:...@@ for instance. How would one do that ? I can't figure out much doc or matching sources to check for hints. Thanks in advance. Best regards, -- Olivier BERGER http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 Ingenieur Recherche - Dept INF Institut Mines-Telecom, Telecom SudParis, Evry (France)
[O] Colorization/masking of @@html: @@ in emacs editing mode ?
Hi. The '@@html:...@@' markers allow to embed raw HTML. Unfortunately, they are not rendered in any special way in the Emacs editing mode, AFAIU. It would be interesting, I think, to be able to colorize them, and/or mask them somehow visually, to not clutter the plain org editing. I haven't found instructions for reporting feature requests for org, so feel free to direct me to a more appropriate venue. Hope ths helps. Best regards, -- Olivier BERGER http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 Ingenieur Recherche - Dept INF Institut Mines-Telecom, Telecom SudParis, Evry (France)
Re: [O] HTML + RDFa export/publishing ?
Hi. John Kitchin jkitc...@andrew.cmu.edu writes: Can you give us an example of what you are trying to do? I don't think org-mode supports this rich of behavior out of the box, but see http://kitchingroup.cheme.cmu.edu/blog/2015/02/05/Extending-the-org-mode-link-syntax-with-attributes/ for an example idea of what you could imagine doing with a link type approach that could be inline with text. I've tried applying your link type approach, but (as reported in the blog comments too), I get : \nil[nil][nil]{kitchin-2010} instead of the expected : \cite[See for example][page 47]{kitchin-2010} Any clue what's wrong ? Best regards, -- Olivier BERGER http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 Ingenieur Recherche - Dept INF Institut Mines-Telecom, Telecom SudParis, Evry (France)
Re: [O] HTML + RDFa export/publishing ?
Hi. Olivier Berger olivier.ber...@telecom-sudparis.eu writes: Hi. John Kitchin jkitc...@andrew.cmu.edu writes: Can you give us an example of what you are trying to do? For instance, I'd like to link my WebID to publications of mine in a semantic way, using dcterm or FOAF vocabularies. This is done as RDFa by using links like : pspan about=#me rel=foaf:homepageThe canonical address of my homepage is at a href=http://example.com/~bob/;http://example.com/~bob//a/span This would ideally be encoded in org in a way that is more compact than this construct ;) FYI, I've managed to render this by using the following approach : @@html:span about=#me rel=foaf:homepage@@The canonical address of my homepage is at [[http://example.com/~bob/]]@@html:@@/span@@ But this is not exactly compact, and suffers from inability of the emancs org mode to colorize or mask the @@html: @@ constructs :-/ I'm still researching a more usable solution. Best regards, -- Olivier BERGER http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 Ingenieur Recherche - Dept INF Institut Mines-Telecom, Telecom SudParis, Evry (France)
Re: [O] HTML + RDFa export/publishing ?
Hi. Phillip Lord phillip.l...@newcastle.ac.uk writes: I've been thinking the same recently. For me, I was interested in supporting RASH which is HTML+RDFa. http://cs.unibo.it/save-sd/rash/documentation/index.html Quite interesting :-) I've been applying Linked Research [0] myself very recently. I don't know if there have been contacts between the 2 experiments... Would be nice to have an org-mode for scientific communication tool. Publishing an Emacs paper would be kind of fun also. Phil Sure. Actually, for some papers my workflow has been : 1. org-mode 2. LaTeX export - submission (PDF) 3. HTML export - preprint 4. manual editing - HTML5 + RDFa going this way would be better IMHO : 1. org-mode 2. Linked Resarch . RASH export - open publication 3. printing to RDF - submission Best regards. [0] http://linked-research.270a.info/ [1] https://www-public.tem-tsp.eu/~berger_o/weblog/2015/04/07/publishing-my-papers-as-linked-research/ -- Olivier BERGER http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 Ingenieur Recherche - Dept INF Institut Mines-Telecom, Telecom SudParis, Evry (France)
Re: [O] HTML + RDFa export/publishing ?
Hi. John Kitchin jkitc...@andrew.cmu.edu writes: Can you give us an example of what you are trying to do? For instance, I'd like to link my WebID to publications of mine in a semantic way, using dcterm or FOAF vocabularies. This is done as RDFa by using links like : pspan about=#me rel=foaf:homepageThe canonical address of my homepage is at a href=http://example.com/~bob/;http://example.com/~bob//a/span This would ideally be encoded in org in a way that is more compact than this construct ;) I don't think org-mode supports this rich of behavior out of the box, but see http://kitchingroup.cheme.cmu.edu/blog/2015/02/05/Extending-the-org-mode-link-syntax-with-attributes/ for an example idea of what you could imagine doing with a link type approach that could be inline with text. Yes, this looks interesting. Ideally, a mix of org-mode and Turtle [0] could be great, as Turtle seems the most human-friendly way to write RDF. In Turtle, the relation above is described with : #me foaf:homepage http://example.com/~bob/ . for instance. So I don't know exactly how both could be mixed... It's hard to think about a compact notation that would allow decorating org-mode stuff with RDF properties or relations on the fly... Hope this makes sense (at least for the Semantic Web aware fools ;). Best regards, [0] http://www.w3.org/TR/turtle/ -- Olivier BERGER http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 Ingenieur Recherche - Dept INF Institut Mines-Telecom, Telecom SudParis, Evry (France)
[O] HTML + RDFa export/publishing ?
Hi. I'd like to create a publishing project to export HTML pages, and I'd like to use org-mode syntax for authoring, and I'd like to embed RDFa meta-data inside the generated HTML. I'm wondering if anyone has investigated a mean in org-mode to embed such meta-data. I kinda imagine properties may be used for this, but I'm not so much familiar with using org-mode for storing structured data... Maybe POSH is the answer, but org-mode syntax and editing modes are so cool ;) Thanks in advance. Best regards, -- Olivier BERGER http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 Ingenieur Recherche - Dept INF Institut Mines-Telecom, Telecom SudParis, Evry (France)
[O] Archive scheduled (done) items to date-tree wrt scheduled date - Was: Was: Re: Can I set achive or refile target to date-tree?
Hi. I found the org-archive-subtree-defadvice.el quite useful, but I'd like to be able to archive DONE items not to today's date in a date-tree archive file, but instead to their scheduled date. Thus, it reconstructs a journal of done things, and not a journal of my archiving activity. Anyone with a suggestion ? Thanks in advance. Best regards, Osamu OKANO okano.os...@gmail.com writes: Hi, all. I wrote the defadvice of org-archive-subtree so that I can archive in a date-tree. Please (setq org-archive-location %s_archive::date-tree), then you can archive in a date-tree. http://gist.github.com/370843 Regards. -- Olivier BERGER (OpenPGP: 4096R/7C5BB6A5) http://www.olivierberger.com/weblog/
[O] Navigatable and exportable bib/notes links - Was: Re: Integration of RefTeX and LaTeX export
Hi. FWIW, I've been inspired by your code and some other posts on the topic of bibliographic references / notes management with org-mode and have summarized the results in [0]. The end result : links like [[note:abibref]] or [[bib:abibref]] which respectively point to a bibliography notes or a bibtex section in a .bib, and which both can be exported to latex as regular \cite{abibref} references would do. Hope this helps. Best regards, [0] http://www-public.it-sudparis.eu/~berger_o/weblog/2012/03/23/how-to-manage-and-export-bibliographic-notesrefs-in-org-mode/ Nick Dokos nicholas.do...@hp.com writes: I'm pretty sure the second function is not quoted properly in your org-add-link-type so it ends up actually getting called at the time of the org-add-link-type is called. Try the following: --8---cut here---start-8--- (defun rt-follow-handler (path) (message dummy handler called, path = %s path) (let ((arg (concat \\cite{ path }))) (reftex-view-crossref arg))) (defun rt-export-handler (path desc format) (message my handler is called) (cond ((eq format 'latex) (if (or (not desc) (equal 0 (search rtcite: desc))) (format \\cite{%s} path) (format \\cite[%s]{%s} desc path) (require 'org) (org-add-link-type rtcite (function rt-follow-handler) (function rt-export-handler)) --8---cut here---end---8--- By way of explanation: I had this as part of a minimal .emacs and it seems to work more or less OK: I replaced the error call with a message call, because it actually triggered and blew up :-) The rt-export-handler needs tweaking but you 'll know what to do better than I do when you see the latex output. I had to (require 'org) to pick up the definition of org-add-link-type: that seems to be a missing autoload somewhere. And finally I like to quote functions with function, not quote, for compiled-code reasons, but in most cases, it won't make any difference: use quotes if you prefer. Nick -- Olivier BERGER (OpenPGP: 4096R/7C5BB6A5) http://www.olivierberger.com/weblog/
[O] Exporting org-bibtex links as \cite{} refs in Latex
Hi. Sorry in advance if this has already been covered. AFAICT there's not yet a standard latex export for org-bibtex links. I think that the following in org-bibtex.el : (org-add-link-type bibtex 'org-bibtex-open) sets what's needed to navigate links like [[bibtex:mybib.bib::abibtexref]] (or [[file:mybib.bib::abibtexref]] ?) to the contents of the bibtex notice, but doesn't help with how the latex export needs to be. AFAIU, it lacks a second function that could be used to export the links. So all that's needed is another function as : (org-add-link-type bibtex 'org-bibtex-open 'org-bibtex-export) which would render as \cite{abibtexref}. Something like : (defun org-bibtex-export (path desc format) (let* ((search (when (string-match ::#?\\(.+\\)\\' path) (match-string 1 path))) (path (substring path 0 (match-beginning 0 (cond ((eq format 'latex) (if (or (not desc) (equal 0 (search bibtex: desc))) (format \\cite{%s} search) (format \\cite[%s]{%s} desc search)) I think this can work (see more details in [0]), and maybe that wouldn't be too hard to patch org-bibtex for something more generic ? Is this reasonable ? I'm not following the list regularly, so any feedback by email couldn't hurt. Best regards, [0] http://www-public.it-sudparis.eu/~berger_o/weblog/2012/03/23/how-to-manage-and-export-bibliographic-notesrefs-in-org-mode/ -- Olivier BERGER http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 Ingenieur Recherche - Dept INF Institut TELECOM, SudParis (http://www.it-sudparis.eu/), Evry (France)
[O] Pre-reserving options for scheduling ala doodle
Hi. I'd like to be able to mark several possible scheduling options for meetings, in a way similar to what can be done in Doodle or similar tools, with Org. That would be useful so that I remember that I've potentially announced my availability to different people for the same time frame, and that in case one option's schedule is confirmed, I can notify others that I'm no longer available. How would you manage that in org-mode ? Thanks in advance. Best regards, -- Olivier BERGER http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 Ingenieur Recherche - Dept INF Institut TELECOM, SudParis (http://www.it-sudparis.eu/), Evry (France)
[Orgmode] Toolbar buttons for common actions (helping emacs newbees)
Hi. Maybe it's just me, but I think there's no configuration in org-mode to use the emacs (23) toolbar icons/buttons, for basic actions in org. I think it may be helpful for emacs noobies mainly, to have such icons available when in org mode. I'd think of a capture icon, an agenda icon, and maybe moving arrows to rework the outline, for instance... I'm not sure how hard this would be to add... and there's probably someone smart that already tried it... however couldn't find any past reference. My collegues are somehow interested by org sometimes, but thend to be afraid by the use of complex key presses (yeah, they haven't been enlightened by the beauty of the Emacs, yet ;) What do you think ? Best regards, -- Olivier BERGER olivier.ber...@it-sudparis.eu http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 Ingénieur Recherche - Dept INF Institut TELECOM, SudParis (http://www.it-sudparis.eu/), Evry (France) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Org-mode screencasts
Hi Le vendredi 24 septembre 2010 à 11:10 +0800, Eric Abrahamsen a écrit : One thing that would be really excellent is to show keystrokes as you do the tutorial. I don't know what system you're using, but this link: http://screencasters.heathenx.org/blog/2009/04/06/smaller-key-status-monitor/ Sounds like it might be okay for Linux, and this one has some (seriously ugly) options for Windows: http://dan.hersam.com/2009/05/01/how-to-display-keystrokes-for-screencasts-on-windows/ Macs have KeyCastr or something like that… I've seen use of : http://pabloseminario.com/projects/screenkey/ on Ubuntu, that was quite nice for this I guess. My 2 cents, Best regards, -- Olivier BERGER olivier.ber...@it-sudparis.eu http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 Ingénieur Recherche - Dept INF Institut TELECOM, SudParis (http://www.it-sudparis.eu/), Evry (France) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Problem in org + beamer on B_frame BEAMER_env for subsections with BEAMER_FRAME_LEVEL: 0
Hi. It seems to me it's currently impossible to use a custom frames sequencing in org + beamer, as only positive values of BEAMER_FRAME_LEVEL seem to be working here. I'm trying to use the following simple slides document below, but it fails with : ! You can't use `\end' in internal vertical mode. \enddocument ... \endgroup \deadcycles \z@ \@@end l.60 \end{document} ! LaTeX Error: \begin{bea...@framepauses} on input line 58 ended by \end{document}. I guess it's because of the latex generated being : \begin{frame} \frametitle{Introduction} \label{sec-1} hehe\footnote{hehe } coin \begin{frame} [SNIP] \end{frame} \end{frame} being generated instead of : \begin{frame} \frametitle{Introduction} \label{sec-1} hehe\footnote{hehe } coin \end{frame} \begin{frame} [SNIP] \end{frame} Is this a known bug, or maybe linked to my latex beamer version somehow ? (org-mode being 7.01h-1 unstable Debian package) Couldn't find a mention of this problem by googling, but may have missed it. Thanks in advance. Best regards, - #+TITLE:Example presentation with org and beamer #+AUTHOR:Your name #+DATE: Your date #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+OPTIONS: H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t :t #+OPTIONS: TeX:t LaTeX:nil skip:nil d:nil todo:t pri:nil tags:not-in-toc #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+LINK_UP: #+LINK_HOME: #+XSLT: #+startup: beamer #+LaTeX_CLASS: beamer #+LaTeX_CLASS_OPTIONS: [presentation] #+BEAMER_FRAME_LEVEL: 0 #+BEAMER_HEADER_EXTRA: \usetheme{default}\usecolortheme{default} #+COLUMNS: %45ITEM %10BEAMER_env(Env) %10BEAMER_envargs(Env Args) %4BEAMER_col(Col) %8BEAMER_extra(Extra) #+PROPERTY: BEAMER_col_ALL 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 :ETC * Introduction :B_frame: :PROPERTIES: :BEAMER_env: frame :END: hehe[fn:1] coin ** Coin :B_frame: :PROPERTIES: :BEAMER_env: frame :END: ** Example subsection 1 :B_frame: :PROPERTIES: :BEAMER_env: frame :END: *** Subection 1 text *** coin * Footnotes [fn:1] hehe -- Olivier BERGER olivier.ber...@it-sudparis.eu http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 Ingénieur Recherche - Dept INF Institut TELECOM, SudParis (http://www.it-sudparis.eu/), Evry (France) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: org-mode on Nokia n800 - Was: Re: OT: orgmode on my palm TX?
Hi. Eric S Fraga ucec...@ucl.ac.uk writes: On Sat, 28 Aug 2010 10:46:23 +0200, Olivier Berger olivier.ber...@it-sudparis.eu wrote: Are there packages for nokia n800 running OS 2008 ? I happen to have one such device that could very well be used for this instead of collection dust ;) I've found a package for emacs 22 (http://danielsz.freeshell.org/code/mine/emacs-for-maemo/index.shtml) but that all seems old and requires dependencies on unabailable packages (libxaw). These are a few links I collected when I got my n800: *** nokia n800 emacs links :nokia: - emacs on maemo :: http://danielsz.freeshell.org/code/mine/emacs-for-maemo/index.shtml - installation of emacs22 :: http://djcbflux.blogspot.com/2008/02/waiting-for-22.html - list of repositories :: http://www.gronmayer.com/it/index.php?lang=ensystem=maemo4sort=hitsshow_pck=256 [2009-06-28 Sun 16:27] SNIP I found the N800 very usable with emacs, especially for capturing org notes, but eventually wanted an actual keyboard for using email (wanderlust in Emacs) so I got an N810 as well. SNIP Hope this helps! Thanks for these links. After some search and experimenting with emacs maemo packages, I was a bit frustrated, all being quite old, and some problems not well documented, as on how to use some virtual keyboard apps, etc. I finally noticed some Easy Debian [0] mentions in some forum posts, and it seems this may offer an interesting solution to run Debian packages of recent emacs and org-mode (and even git for sync-ing my notes) over the n800 maemo system (chrooted). I'm testing / tuning it at the moment. [0] http://maemo.org/downloads/product/OS2008/easy-deb-chroot/ Hope this will be a good mobile org-mode device setup. Best regards, -- Olivier BERGER olivier.ber...@it-sudparis.eu - OpenPGP: 5819D7E8 Ingénieur Recherche - Dept INF - TMSP (http://www.it-sudparis.eu) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] org-mode on Nokia n800 - Was: Re: OT: orgmode on my palm TX?
Hi. Eric S Fraga ucec...@ucl.ac.uk writes: I cannot help you directly with the Palm but, in case you wish to consider a different little computer, the Nokia N810 (an internet tablet, not a phone) does a good job of running Emacs in a phone sized form factor (but with keyboard). I was (and still am every now and again) using this specifically for org-mode. The latest incarnation of this system (which started with the N770 and progress through the N800 and N810) is the N900 which is now a phone as well as an internet table. This also, I'm told, runs Emacs. Great idea :-) Are there packages for nokia n800 running OS 2008 ? I happen to have one such device that could very well be used for this instead of collection dust ;) I've found a package for emacs 22 (http://danielsz.freeshell.org/code/mine/emacs-for-maemo/index.shtml) but that all seems old and requires dependencies on unabailable packages (libxaw). Also emacs 22 is a bit too old maybe ? Any hints would be welcome. Best regards, -- Olivier BERGER olivier.ber...@it-sudparis.eu - OpenPGP: 5819D7E8 Ingénieur Recherche - Dept INF - TMSP (http://www.it-sudparis.eu) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: OT: orgmode on my palm TX?
Hi. Matt Price mopto...@gmail.com writes: Hi folks, Nowthat GTD is starting to work for me i really really miss having org available when i don't have my laptop handy. Everyone around me is buying proprietary iphones and Android phones with 3-year contracts and expensive data plans, but i don't even really want a smartphone -- i want my calendar and orgmode, like a little notebook to carry around with me; but that's it. I *do* have an old palm tx that has been sitting on the shelf for a while. Does anyone know if there's any way at all to get some version of orgmode working on it? and preferably google calendar tooo... if the solution involves putting linux on the thing, that's good, too. This is quite an old message, but just in case, here's a pointer to an earlier post that could be useful to you I guess : http://lists.gnu.org/archive/html/emacs-orgmode/2010-03/msg00750.html Hope this helps. Best regards, -- Olivier BERGER olivier.ber...@it-sudparis.eu - OpenPGP: 6B829EEC Ingénieur Recherche - Dept INF - TMSP (http://www.it-sudparis.eu) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] camel.el, for CamelCase links
Hi. Le mercredi 04 août 2010 à 15:28 -0700, Michael Gilbert a écrit : A question for people people on the list: I'm not sure of the conventions with CamelCase and wikis (and a quick search didn't reveal the answer), but I'm wondering what might work to complete the model — that is to say include creation of remote headings as well as remote files. For example, perhaps using the # sign convention, we would write 'CamelCase#usage' and the first part would act as has been described. The second part (after the # sign) would reference a (top level?) heading in that file. If the heading existed, then great. If not, then it's created as part of the same trigger. I think that's the way I would expect it to work in most wikis (or with [[CamelCase#usage]] maybe for some. Best regards, -- Olivier BERGER olivier.ber...@it-sudparis.eu http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 Ingénieur Recherche - Dept INF Institut TELECOM, SudParis (http://www.it-sudparis.eu/), Evry (France) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Migrating from zim to org-mode ?
Hi. Le mercredi 28 juillet 2010 à 11:49 -0500, Marcelo de Moraes Serpa a écrit : Beware that, out-of-the-box, org doesn't provide any wiki functionality. Sure you can link documents, but it doesn't automatically infer links from already existing documents / camelcased words. I don't think it would be hard for a seasoned elisp developer to come up with an extension, but little interested has been shown. Thanks, I know that, but what I was looking for was also a way to import existing Zim files into Org Otherwise, the CamelCase linking would be quite convenient IMHO. I will eventually do it when my elisp skills reach the required level, though, for me it's the only thing missing. That'd be cool ;) Marcelo. Best regards, On Wed, Jul 28, 2010 at 1:00 AM, Olivier Berger olivier.ber...@it-sudparis.eu wrote: Hi. Is there docs already compiled by someone having migrated from Zim, a desktop wiki [0], to Emacs + org-mode ? Zim also uses text files, so I guess a few conversion scripts wouldn't be so hard, but of course if someone already tried it, it would save me time and effort. Some useability / convenience comparison betw Zim and Org-Mode would be interesting to me too. Thanks in advance. Best regards, [0] http://zim-wiki.org/ -- Olivier BERGER olivier.ber...@it-sudparis.eu http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 Ingénieur Recherche - Dept INF Institut TELECOM, SudParis (http://www.it-sudparis.eu/), Evry (France) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Olivier BERGER olivier.ber...@it-sudparis.eu http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 Ingénieur Recherche - Dept INF Institut TELECOM, SudParis (http://www.it-sudparis.eu/), Evry (France) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Wiki-like creating links on the fly for org
Hi. Le mercredi 28 juillet 2010 à 11:47 -0500, Marcelo de Moraes Serpa a écrit : Would it be hard to create an extension (not sure where, elisp skills still very limited) that highlights camel-cased words and, when clicking on it, would create or open a file with the name of the word + .org? This kind of features was extremely useful in Zim, to ease my efforts to the construction of hyperlinked reference docs. I'd love to see this possibility in Org-Mode. My 2 cents, For dynamic reference data (data you want to keep, and that you want to keep editing and improving over time) the concept of a wiki (even if its collaboration aspect is not being used) is perfect, in my opinion. If you try wikidpad, you'll see how organic and pragmatic it is, allowing you to just input new data and constructing an overview tree dynamically. Pretty cool. Whenever I have time, I will check the algorithm WikiDPad uses to create the visualization tree (which is also one of its greates features, in my opinion). Cheers, Marcelo. On Mon, Jul 12, 2010 at 4:36 PM, Russell Adams rlad...@adamsinfoserv.com wrote: Actually, the idea of CamelCase linking to a headline in the same file is an interesting idea, using RadioTarges for external links. ** MyTopic ** Another topic Those people who like MyTopic are totally cool. Naysayers live in file:~/doc/Woopie.org:NaySayers On Mon, Jul 12, 2010 at 01:09:00PM -0500, Marcelo de Moraes Serpa wrote: This doesn't seem to apply to what I want. It only links to org items inside the org file. Thanks for the hint, though! On Mon, Jul 12, 2010 at 12:57 PM, Erik Iverson er...@ccbr.umn.edu wrote: Perhaps I am confused, but have you tried radio targets? http://orgmode.org/org.html#Radio-targets Marcelo de Moraes Serpa wrote: Hey all! I used to be an avid user of WikiDPad, and I loved the way it automatically (or manually, using [ ]) created links and files to these links (CamelCase) for me. The way it provided a visual tree of the wiki was also pretty cool. This was awesome for reference kind of data, to build your own knowledge base. I've been trying to test different approaches with org, but none of them work as smoothly as it worked for me when using wikidpad. I divide reference data in two main categories: Dynamic and Static. Static are the notes and stuff that youl want to keep somewhere and that you'll eventually refer to later. Dynamic are the kind of that you'll be editing often, but does not fit in any other category GTD-wise. It is reference, you want to keep it somewhere, not take action on it per se (other than editing it), but you want to expand and modify it often. How difficult would it be to implement a small system that would index the files of directory, get the names (camel-case) and automatically link to these names if written on an org buffer? My elisp skills are very weak as of now. I know some of you might list a number of points against implementing this, but I really loved the way Wikdpad created links on the fly. Thanks, Marcelo ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Russell Adamsrlad...@adamsinfoserv.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint:1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Olivier BERGER olivier.ber...@it-sudparis.eu http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 Ingénieur Recherche - Dept INF Institut TELECOM, SudParis (http://www.it-sudparis.eu/), Evry (France) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Migrating from zim to org-mode ?
Hi. Is there docs already compiled by someone having migrated from Zim, a desktop wiki [0], to Emacs + org-mode ? Zim also uses text files, so I guess a few conversion scripts wouldn't be so hard, but of course if someone already tried it, it would save me time and effort. Some useability / convenience comparison betw Zim and Org-Mode would be interesting to me too. Thanks in advance. Best regards, [0] http://zim-wiki.org/ -- Olivier BERGER olivier.ber...@it-sudparis.eu http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 Ingénieur Recherche - Dept INF Institut TELECOM, SudParis (http://www.it-sudparis.eu/), Evry (France) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode