Re: [O] Export datetree item subtree with its date, not the file's
Göktuğ Kayaalp writes: > Hello, > > Thanks for your response. As you suggest, I switched to using the > EXPORT_DATE property. It works as expected. > > Now a little problem that I have is that I cannot have timestamps like > «10 September 2015» in my exports, but a literal inactive timestamp. > This is because in the related capture template, I have to use `%u' to > add a timestamp, which adds an inactive timestamp, reusing the date that > I entered into the datetree prompt. There is the %<...> directive for > the capture templates which allows me to put in a time format, as in > `format-time-string', but it gets its value from `current-time', not > from the date of the datetree prompt. Now I do not know if this is a > feature or a bug, but if I want to copy over lecture notes from some > time ago, it's a problem. Perhaps someone can suggest a better method, but what about adding an export filter that formats inactive timestamps the way you want? Something like (setq org-latex-inactive-timestamp-format "%s") (defun u/format-inactive-timestamp (text backend info) (when (org-export-derived-backend-p backend 'latex) (format-time-string "%D" (apply #'encode-time (org-parse-time-string text) (add-to-list 'org-export-filter-timestamp-functions 'u/format-inactive-timestamp) -- Kyle
Re: [O] How to make ~evil-leader~ work for for ~org-src-mode~?
Hi Ben, It doesn't work because evil-leader/set-key-for-mode sets keys for major modes and org-src-mode is a minor mode. Unfortunately I don't know the answer to your implied question "how do I make it work?", but that is why it doesn't work. Best, Ista On Tue, Oct 20, 2015 at 10:22 AM, Ben wrote: > Dear all, > > I want to set some evil-leader keys for org-src-mode with the following > code: > > (evil-leader/set-key-for-mode 'org-src-mode > "k" 'org-edit-src-abort > "s" 'org-edit-src-save > "'" 'org-edit-src-exit) > > But it doesn't work. Why is that? > > Thanks, > Ben
Re: [O] Format of links in PDF beamer export
On Tuesday, 20 Oct 2015 at 15:01, Loris Bennett wrote: > Hi, > > How can I control the appearance of link in a PDF beamer presentation. beamer export uses hyperref so customise this package using \hypersetup. -- : Eric S Fraga (0xFFFCF67D), Emacs 24.5.1, Org release_8.3.2-164-g50a182
Re: [O] Format of links in PDF beamer export
Hi Loris, I put #+LATEX_HEADER: \hypersetup{colorlinks=true} in my org files and let hyperref do the styling. -- Sebastian > On Tue, 20 Oct 2015 15:01:57 +0200, "Loris Bennett" > said: > > Hi, > How can I control the appearance of link in a PDF beamer presentation. > > I'm using the default beamer style with the following > > [[http://www.dfg.de/foerderung/programme/infrastruktur/wgi/forschungsgrossgeraete/index.html][Übersicht]] > > which works, but it is not visually obvious in the PDF that "Übersicht" > is a link, unless I move the mouse over it. > > Cheers, > > Loris > > -- > This signature is currently under construction. > > >
[O] Org-agenda-leaders
Hi all, when I switched to the orgmode 8.3.2 quite a lot of entries in my weekly agenda disappeared. This seems to be related to the fact that I renamed the agenda leaders like so: '(org-agenda-deadline-leaders (quote ("FRIST: " "In %3d d.: "))) '(org-agenda-scheduled-leaders (quote ("TERMIN: " "TERMIN.%2dx: "))) So renaming a scheduled item with the leader "SCHEDULED" brings it back into the agenda list. Hm. I wanted Orgmode to speak German with me, and it worked perfectly up to orgmode 8.2. or so. Is someone out there who can confirm this new behavior of orgmode 8.3.? Is it a bug or did I miss some change in the configuration of orgmode? Thanks in advance for any hint. Best, Uwe Jochum
Re: [O] Export datetree item subtree with its date, not the file's
Hello, Thanks for your response. As you suggest, I switched to using the EXPORT_DATE property. It works as expected. Now a little problem that I have is that I cannot have timestamps like «10 September 2015» in my exports, but a literal inactive timestamp. This is because in the related capture template, I have to use `%u' to add a timestamp, which adds an inactive timestamp, reusing the date that I entered into the datetree prompt. There is the %<...> directive for the capture templates which allows me to put in a time format, as in `format-time-string', but it gets its value from `current-time', not from the date of the datetree prompt. Now I do not know if this is a feature or a bug, but if I want to copy over lecture notes from some time ago, it's a problem. -gk On Sat, Oct 17 2015 at 10:33:08 am EEST, Kyle Meyer wrote: > Hello, > > s...@gkayaalp.com (Göktuğ Kayaalp) writes: > >> Hi, >> >> This is my first post to this group, so I'm sorry if I'm skipping any >> conventions. > > Welcome to the list. Sorry for the lack of responses to your post. > It's a high traffic list, and sometimes posts fall through. > >> My overall structure is like this: > [...] >> #+DATE: >> * 2015 >> ** 2015-09 September >> *** 2015-09-16 Wednesday >> İtalyanca Dil Uygulamaları I :2015_2016:ITDE2016: >> [2015-09-16 Wed] > [...] >> When I export-subtree the bottommost entry, I want the date in the >> exported pdf to be 2015-09-16, not today, nor the date in "#+DATE:", >> which is deliberately empty to not let a wrong date to appear in the >> exported file. >> >> I tried setting a date property which didn't have an effect, and also >> adding a "#+DATE: [a date...]" under every lecture note entry heading, >> in which case the date of the last entry in the file got used, so if I >> exported the notes from 2015-09-16, and the last time I added a note was >> the 19th, the exported file had the date 2015-09-19. > > Have you tried the EXPORT_DATE property? I believe it'd look something > like this > > * 2015 > ** 2015-09 September > *** 2015-09-16 Wednesday > İtalyanca Dil Uygulamaları I :2015_2016:ITDE2016: > :PROPERTIES: > :EXPORT_DATE: 2015-09-16 > :END: > > which you could export using with export scope set to "subtree". > > -- > Kyle -- İ. Göktuğ Kayaalp. http://gkayaalp.com/
[O] How to make ~evil-leader~ work for for ~org-src-mode~?
Dear all, I want to set some evil-leader keys for org-src-mode with the following code: (evil-leader/set-key-for-mode 'org-src-mode "k" 'org-edit-src-abort "s" 'org-edit-src-save "'" 'org-edit-src-exit) But it doesn't work. Why is that? Thanks, Ben
[O] Format of links in PDF beamer export
Hi, How can I control the appearance of link in a PDF beamer presentation. I'm using the default beamer style with the following [[http://www.dfg.de/foerderung/programme/infrastruktur/wgi/forschungsgrossgeraete/index.html][Übersicht]] which works, but it is not visually obvious in the PDF that "Übersicht" is a link, unless I move the mouse over it. Cheers, Loris -- This signature is currently under construction.
Re: [O] Show first leaf heading on startup
You could set a VISIBILITY property manually, but that solution of course is not robust to changes in outline and does not automatically carry over to other documents. [[info:org#Initial visibility]] Yours, Christian Shankar Rao writes: > How can I make it so that on startup, only the content of the first "leaf" > heading is revealed, so that the document looks like: > > * Heading A > ** Subheading AA > *** Subsubheading AAA > Stuff about topic AAA > *** Subsubheading AAB ... > ** Subheading AB ... > * Heading B ... > > Shankar Rao