Re: [O] GFDL

2013-03-19 Thread Carsten Dominik
Hi Alan, thanks for chiming in. As Achim quoted, the GFLD says that the license should be in the document, but that makes the GFDL almost unfit for anything below a book. I have asked RMS about this, and he says that the license should be present in printed versions of the document. I find i

Re: [O] [Out-of-Thread] Re: [RFC] Org syntax (draft)

2013-03-19 Thread Nicolas Richard
Carsten Dominik writes: > Another example is the emphasis stuff. There are no in-buffer > settings for it, and they would be pretty hard to make. An in-buffer way of doing elisp is File Local Variables ; or is that not appropriate ? Maybe the question I'm askign is : why were "#+KEYWORD" lines f

[O] Open PDF under Windows on specific page using PDF-XChange Viewer

2013-03-19 Thread AW
Dear all, under Windows 7, Emacs 24.2 and orgmode 7.9.4 I would like to have a hyperlink to an external pdf. The pdf should be opened by a software called PDVXchange viewer /at a certain page/. The command on the command line in windows is: PDFXCview /A page=10 filename.pdf This works on the co

Re: [O] Open PDF under Windows on specific page using PDF-XChange Viewer

2013-03-19 Thread Thomas Holst
Hello Alexander, · AW wrote: > [... snip ...] > #+begin_source lisp > (delete '("\\.pdf\\'" . default) org-file-apps) > (add-to-list 'org-file-apps '("\\.pdf::\\([0-9]+\\)\\'" > . "PDFXCview /A 'page'=%1 \"%s\" ")) > #+end_source for me the following works under Win7: #+begin_src emacs

Re: [O] Open PDF under Windows on specific page using PDF-XChange Viewer

2013-03-19 Thread AW
Am Dienstag, 19. März 2013, 11:32:26 schrieb Thomas Holst: > Hello Alexander, > > · AW wrote: > > [... snip ...] > > #+begin_source lisp > > (delete '("\\.pdf\\'" . default) org-file-apps) > > > > (add-to-list 'org-file-apps '("\\.pdf::\\([0-9]+\\)\\'" > > . "PDFXCview /A 'page'=%1 \"%s\

[O] Changing '_archive' extension to allow Easy PG encryption: "_archive.gpg"?

2013-03-19 Thread 'Mash (Thomas Herbert)
Morning, I wanted to know how I would change the default '_archive' extension? I work with encrypted org files "foo.gpg" with Easy PG and the added header... # -*- mode: org; epa-file-encrypt-to: ("mash...@toshine.net") -*- But today I discovered that when I archive my TODO items they are of co

Re: [O] Changing '_archive' extension to allow Easy PG encryption: "_archive.gpg"?

2013-03-19 Thread Nick Dokos
'Mash (Thomas Herbert) wrote: > Morning, > > I wanted to know how I would change the default '_archive' extension? > > I work with encrypted org files "foo.gpg" with Easy PG and the > added header... > > # -*- mode: org; epa-file-encrypt-to: ("mash...@toshine.net") -*- > > But today I discove

[O] latex figure scaling question, backward compatibility and outdated manual

2013-03-19 Thread Thomas Alexander Gerds
the following page from the official manual http://orgmode.org/manual/Images-in-LaTeX-export.html says #+ATTR_LaTeX: width=5cm,angle=90 however, the new exporter does not recognize this syntax. instead the following works: #+ATTR_LaTeX: :width 5cm I was learning about this by guessing arou

Re: [O] Basic beamer export

2013-03-19 Thread JBash
On Sun, Mar 17, 2013 at 11:17 AM, Suvayu Ali wrote: > On Fri, Mar 15, 2013 at 10:59:22AM -0400, JBash wrote: > > > > M-x list-load-path-shadows output > > [...] > > > ~/emacs/lisp/org-mode/lisp/org-list hides > > /usr/share/emacs/23.4/lisp/org/org-list > > ~/emacs/lisp/org-mode/lisp/org-plot hides

Re: [O] Confusion about attr_latex and new exporter

2013-03-19 Thread John Hendy
On Tue, Mar 19, 2013 at 12:07 AM, Aaron Ecay wrote: > Hi again, > > 2013ko martxoak 19an, Aaron Ecay-ek idatzi zuen: >> I’m sorry, that was a mistake. I sent a patch to the HTML backend to >> enable this behavior, but forgot all about it. Then when I checked the >> code, it looked like the funct

Re: [O] Automatically escaping single spaces

2013-03-19 Thread Ivan Andrus
Oops, forgot to reply to the list. On Mar 18, 2013, at 9:59 PM, Aaron Ecay wrote: > Hi Suvayu, > > I’ve had on my list of rainy day ideas for a while writing a function > for org-export-filter-plain-text-functions that would implement > something like this. It should be as simple as doing a te

[O] [babel] var with result from shell script?

2013-03-19 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi I want to define two variables in org: #+PROPERTY: var+ GITHASH= #+PROPERTY: var+ GITCOMMITDATE= I can get them via the following code blocks: src_sh{git rev-parse HEAD} src_sh{git show -s --format="%ci" HEAD} but how can I get the results into

Re: [O] Spelled out example of org-latex-format-headline-function customization?

2013-03-19 Thread Bastien
Hi John, John Hendy writes: > Am I missing the "docstring" (not sure what that is). The "docstring" is the documentation string attached to a function/command or a variable/option. C-h v org-latex-format-headline-function RET will show you the docstring of the variable. C-h f org-latex-for

Re: [O] Automatically escaping single spaces

2013-03-19 Thread Rasmus
Ivan Andrus writes: > Oops, forgot to reply to the list. > > On Mar 18, 2013, at 9:59 PM, Aaron Ecay wrote: > >> Hi Suvayu, >> >> I’ve had on my list of rainy day ideas for a while writing a function >> for org-export-filter-plain-text-functions that would implement >> something like this. It

Re: [O] Spelled out example of org-latex-format-headline-function customization?

2013-03-19 Thread John Hendy
On Tue, Mar 19, 2013 at 10:51 AM, Bastien wrote: > Hi John, > > John Hendy writes: > >> Am I missing the "docstring" (not sure what that is). > > The "docstring" is the documentation string attached to a > function/command or a variable/option. > > C-h v org-latex-format-headline-function RET > >

Re: [O] Spelled out example of org-latex-format-headline-function customization?

2013-03-19 Thread Charles Berry
John Hendy gmail.com> writes: > > On Tue, Mar 19, 2013 at 10:51 AM, Bastien altern.org> wrote: > > Hi John, > > > > John Hendy gmail.com> writes: > > > >> Am I missing the "docstring" (not sure what that is). THAT docstring was removed when Bastien revised ox-latex.el on Feb 23. So follow wh

Re: [O] Spelled out example of org-latex-format-headline-function customization?

2013-03-19 Thread Bastien
John Hendy writes: > So the docstring is just the documentation definition? (In this case > "Documentation: Function for formatting the headline's text..."?) Yes. >> C-h f org-latex-format-headline-default-function RET >> >> will show you the docstring of the function. > > And in this case: "(o

Re: [O] [New exporter] Org LaTeX markup

2013-03-19 Thread Charles Berry
Charles Berry ucsd.edu> writes: > [snip] > > > > Can you give me a hint? > > M-x customize-variable RET org-latex-format-headline-function RET > > then copy and paste the last part of the docstring into the window - add a > closing parenthesis at the end - and then modify it to your taste.

[O] Problems exporting LaTeX source code

2013-03-19 Thread Richard Stanton
Using org mode version 8.0-pre (release_8.0-pre-91-g437c62), I'm having trouble exporting LaTeX lists (itemize, description). Here's a sample file: #+title: Sample org file * Section 1 Some LaTeX source: #+begin_src latex :exports source \begin{itemize} \item Item 1 \item Item 2 \end{itemize} #+en

Re: [O] org-caldav will cease to work with Google Calendar

2013-03-19 Thread Vincent Beffara
Hi list, > Agreed. Now to look for a replacement ... For what it's worth: org-caldav works very well with iCloud, but finding the correct server settings is a bit non-trivial - which is certainly deliberate of Apple. Apple's support for CalDAV is not likely to go away soon AFAICT, so it might

Re: [O] Problems exporting LaTeX source code

2013-03-19 Thread Thomas S. Dye
Richard Stanton writes: > Using org mode version 8.0-pre (release_8.0-pre-91-g437c62), I'm having > trouble exporting LaTeX lists (itemize, description). Here's a sample file: > > #+title: Sample org file > * Section 1 > Some LaTeX source: > #+begin_src latex :exports source > \begin{itemize} > \

Re: [O] Problems exporting LaTeX source code

2013-03-19 Thread Richard Stanton
Thanks for the suggestion, Thomas. I changed "source" to "code" and tried again. The results were exactly the same as with "source". Best, Richard Stanton On 3/19/13 10:04 AM, "Thomas S. Dye" wrote: >Richard Stanton writes: > >> Using org mode version 8.0-pre (release_8.0-pre-91-g437c62), I

[O] tangle files from non-code blocks?

2013-03-19 Thread zhenjiang xu
Hi org-mode experts, I am wondering, is there anyway to tangle contents inside #+begin_example ... #+end_example in a similar way to tangle a code block? It doesn't work now (or do I miss anything?). IMHO, it would be a useful feature, isn't it? Thanks, Zech

[O] Include today's date in title?

2013-03-19 Thread Gary Oberbrunner
I'm primarily publishing to LaTeX/PDF from org. I have a title: #+TITLE: Weekly Status How can I get it to automatically export with today's date? Hopefully without a full babel elisp code block? Any ideas? BTW, converted to new exporter today. Pretty painless. -- Gary

Re: [O] Spreadsheet calculations (24.3/8.0-pre)

2013-03-19 Thread Bastien
Hi Oliver, Oliver Večerník writes: > If I use `M-x org-table-recalculate-buffer-tables' even the headlines > get screwed up. Am I doing something wrong or are there severe problems > in the spreadsheet mode? #+CONSTANTS is meant to be used only once on the file, not per table. When used sever

Re: [O] two-way sync org agenda/ical

2013-03-19 Thread Bastien
Hi Rasmus, Rasmus writes: > Here's a start: Feel free to start this on Worg! Worg is (truly) yours. -- Bastien

Re: [O] Bug with automatic alignment of table columns in HTML export

2013-03-19 Thread Bastien
Hi Kodi, Kodi Arfer writes: > Consider an Org file with the following content: > > | a | b | > |-+---| > | 100 | 1 | > | 1 | 1 | > | | 1 | > | | 1 | > | | 1 | > | | 1 | > | | 1 | > | | 1 | > > Within Emacs, Org right-aligns the left column, as it should, since mos

Re: [O] Confusion about attr_latex and new exporter

2013-03-19 Thread Bastien
Hi John, John Hendy writes: > Thanks for the clarification, though regardless of the current > state... what is the consensus on what it *should* be? The old lingo > was: > - #+attr_latex: width=Xcm > - #+attr_html: width="Xpx" ... and the new lingo is #+attr_latex: :width Xcm #+attr_html:

Re: [O] GFDL

2013-03-19 Thread Bastien
Hi Carsten, Carsten Dominik writes: > I find it very hard to believe that this must be the case. It > bothers me mostly for the guide, where I did spend a lot of time to > make it compact, and now something like one fifth of it is license > text. We may actually consider to re-release the guid

Re: [O] Fixing footnote HTML

2013-03-19 Thread Bastien
Hi Samuel, Samuel Wales writes: > It might be good to add a blank line after the Footnotes section. The default is fine IMHO. You'd need to define the #footnotes css id for this. HTH, -- Bastien

Re: [O] [PATCH] Enable appending to multivalued-property

2013-03-19 Thread Bastien
Hi Thorsten, Thorsten Jolitz writes: > sometimes it make more sense to append a new value to a > multivalued-property than putting it in front of the old values, so here > is a patch that enables this: I actually think this should be the default, it feels more natural. I applied this change. A

Re: [O] Block agendas and filtering

2013-03-19 Thread Bastien
Hi Thomas, Thomas Moyer writes: > What I want is a block agenda, using two agenda blocks. The first will > *exclude* the entrys tagged as :chores: and the second will *include* > any entry that is tagged with :chores:. > > Is there a way to accomplish this with tags, or maybe properties? In you

Re: [O] Build fail with emacs 24.3.1

2013-03-19 Thread Bastien
Hi Achim, Achim Gratz writes: > Aside from the issue of whether using macros here is needed or > appropriate, I can't find anything wrong with the macros or their use so > far. If that upholds, the test not working points to a rather > substantial bug in either the test framework or Emacs 24.3.

Re: [O] Confusion with :PROPERTIES: insertion

2013-03-19 Thread Bastien
Hi Lawrence, Lawrence Bottorff writes: > I've got a header, after which I want to insert > > * Header >   :PROPERTIES: >   :CUSTOM_ID: [2013-03-15 Fri 11:22] >   :END: > > I've tried C-c C-x d and C-u M-x org-insert-drawer. Sometimes C-c C-x > d works (offering only [RESULTS] which creates empty

Re: [O] links in orgtbl-to-html

2013-03-19 Thread Bastien
Hi Luca, Luca Sabbatini writes: > In an html file, using orgtbl-mode, I am trying to use "install/send" > a table that has hyperlinks inside it. I've tried using org-mode > syntax: [[www.google.com]], and I've tried using html syntax href:"www.google.com">mylink. Neither works as desired. This

Re: [O] Org documentation patches party next week on IRC?

2013-03-19 Thread Bastien
Hi Eric, Eric S Fraga writes: > my schedule is such that I would find it difficult to commit to any > specific time. However, I will strive to update the beamer example and > tutorial for the new exporter by mid next week; I had already started on > it but got sidetracked by my recent move back

Re: [O] LaTeX with embedded in-line code blocks and AucTeX

2013-03-19 Thread Bastien
Hi Liam, Liam Healy writes: > The only way I can see to get AUCTeX is to use a LaTeX source code > block; this does what I want, but now the inline code blocks are not > expanded; instead, they are exported literally to the LaTeX. yes, as expected. > Is there a way to have an exportable LaTeX

Re: [O] exporting says OVERVIEW

2013-03-19 Thread Bastien
Hi Samuel, Samuel Wales writes: > Is there a possible speedup in export by not making it do some startup > operations on temporary buffers? Yes, indeed. That's now implemented. Thanks! -- Bastien

Re: [O] [new-exporter] org-export-before-parsing-hook GOTCHA

2013-03-19 Thread Bastien
Hi Charles, Charles Berry writes: > Is this a feature or a bug? A bug: the user is not supposed to be so careful. This should be fixed now, thanks! -- Bastien

Re: [O] Confusion about attr_latex and new exporter

2013-03-19 Thread Bastien
Hi John, John Hendy writes: > I also tried =:width "5cm"= for images. Despite this being options and > sounding like it needs to be in the :options string instead of :width, > it still works but quoted parts still get quotes =[width="5cm"]= in > the resultant .tex file. If I remove quotes, it wo

Re: [O] org for screenwriting

2013-03-19 Thread Bastien
Rustom Mody writes: > Something like http://fountain.io/ for org available? I don't think so. Btw, the output of fountain is very fluid (as expected), thanks for the link! -- Bastien

Re: [O] New Exporter html - latex - beamer

2013-03-19 Thread Robert Eckl
Eric S Fraga writes: > Robert Eckl writes: > >> I have to provide weekly newsletters in the format pdf and html. Up to >> now i did this with exporting to scrartcl, known as koma-script. >> Including images is a bit booring because i handle two formats, for example > > I am not sure what your la

Re: [O] Bug with automatic alignment of table columns in HTML export

2013-03-19 Thread Kodi Arfer
On 2013 Mar 19 Tue 1:26:13 PM -0400, Bastien wrote: Hi Kodi, Kodi Arfer writes: Consider an Org file with the following content: | a | b | |-+---| | 100 | 1 | | 1 | 1 | | | 1 | | | 1 | | | 1 | | | 1 | | | 1 | | | 1 | Within Emacs, Org right-aligns the left c

Re: [O] GFDL

2013-03-19 Thread Marcin Borkowski
Dnia 2013-03-19, o godz. 07:44:51 Carsten Dominik napisał(a): > Hi Alan, > > thanks for chiming in. As Achim quoted, the GFLD says that the > license should be in the document, but that makes the GFDL almost > unfit for anything below a book. > > I have asked RMS about this, and he says that t

[O] Bug formatting source code in new latex exporter

2013-03-19 Thread Rick Frankel
pgpGMFm_GispR.pgp Description: PGP message

[O] Bug formatting source code in new latex exporter

2013-03-19 Thread Rick Frankel
Sorry, previous mail seems to have gotten munged, lets' try again. There is a bug with ox-latex and long listings. If the listing has a label (name) or caption, it is wrapped in a '\begin{listing}[H]' block. This causes listings longer than one page to be truncated if they have labels, which means

Re: [O] GFDL

2013-03-19 Thread Bastien
Hi Marcin, Marcin Borkowski writes: > Just a n00b's (and IANAL's) 2cents here: what about including the GFDL > in, say 5pt font? Yes, it is awful, but at least does not take up > dozens of pages... Yes -- but I don't know how to set the font to 5pt in .texi files. AFAIK, you can change the fon

[O] python sessions

2013-03-19 Thread Gary Oberbrunner
I must be failing to understand something. I'm running Emacs 24.3 on Windows, with latest trunk org-mode. I can't get python functions to persist across blocks in session mode. Here's my foo.org: === * My Document #+BEGIN_SRC python :exports results :results output :session def foo

Re: [O] Errors on start up when loading ox-md and ox-beamer (seems caused by recent commit)

2013-03-19 Thread Bastien
Hi John, how did you "pull"? by using git pull or make update? Also, after pulling, did you run on of these? ~$ make ~$ make autoloads I miss the simplicity of having Org up and running after a simple pull... -- Bastien

Re: [O] New Exporter html - latex - beamer

2013-03-19 Thread cberry
Robert Eckl writes: > Eric S Fraga writes: > >> Robert Eckl writes: >> >>> I have to provide weekly newsletters in the format pdf and html. Up to >>> now i did this with exporting to scrartcl, known as koma-script. >>> Including images is a bit booring because i handle two formats, for example

Re: [O] Errors on start up when loading ox-md and ox-beamer (seems caused by recent commit)

2013-03-19 Thread John Hendy
On Tue, Mar 19, 2013 at 6:48 PM, Bastien wrote: > Hi John, > > how did you "pull"? by using git pull or make update? - git pull - make clean && make && make doc I'm kind of glad you asked, as this used to (I think) be the "right" method, but I have a vague notion that there's some built-in-org

Re: [O] Errors on start up when loading ox-md and ox-beamer (seems caused by recent commit)

2013-03-19 Thread Bastien
John Hendy writes: > On Tue, Mar 19, 2013 at 6:48 PM, Bastien wrote: >> Hi John, >> >> how did you "pull"? by using git pull or make update? > > - git pull > - make clean && make && make doc > > I'm kind of glad you asked, as this used to (I think) be the "right" > method, but I have a vague no

Re: [O] python sessions

2013-03-19 Thread John Hendy
On Tue, Mar 19, 2013 at 4:40 PM, Gary Oberbrunner wrote: > I must be failing to understand something. I'm running Emacs 24.3 on > Windows, with latest trunk org-mode. I can't get python functions to > persist across blocks in session mode. Here's my foo.org: > > === > > * My Documen

[O] Creating live elisp link

2013-03-19 Thread Lawrence Bottorff
I'm trying to create a link that takes an elisp expression and evaluates it in another buffer. Here's what I've come up with 1. C-c C-l 2. choose elisp: 3. In the mini buffer: Link: elisp:(with-output-to-temp-buffer "scratch" (print 20)) Description: Print 20 Okay, this calls up the scrat

[O] [BUG] ob-sql.el: probably an extra paren

2013-03-19 Thread Nick Dokos
Compiling it I get , | Compiling /home/nick/src/emacs/org/org-mode/lisp/ob-sql.el... | | In org-babel-execute:sql: | ob-sql.el:143:10:Warning: reference to free variable `cond' | ob-sql.el:170:26:Warning: `t' called as a function | ob-sql.el:181:66:Error: Invalid read syntax: ")" ` I don

Re: [O] GFDL

2013-03-19 Thread Marcin Borkowski
Dnia 2013-03-19, o godz. 22:35:59 Bastien napisał(a): > Hi Marcin, > > Marcin Borkowski writes: > > > Just a n00b's (and IANAL's) 2cents here: what about including the > > GFDL in, say 5pt font? Yes, it is awful, but at least does not > > take up dozens of pages... > > Yes -- but I don't kno

Re: [O] python sessions

2013-03-19 Thread Nick Dokos
John Hendy wrote: > On Tue, Mar 19, 2013 at 4:40 PM, Gary Oberbrunner > wrote: > > I must be failing to understand something. I'm running Emacs 24.3 on > > Windows, with latest trunk org-mode. I can't get python functions to > > persist across blocks in session mode. Here's my foo.org: > > >

Re: [O] [html] nil getting inserted

2013-03-19 Thread Brian van den Broek
On 19 March 2013 20:24, Samuel Wales wrote: > I am getting this diff in HTML output in recent git master. I don't > think I changed anything and I have no filters for links. I haven't > tried it in emacs -Q though. > > Note the nil before the >. > > === > -severe to any person who is not href="

Re: [O] Spreadsheet calculations (24.3/8.0-pre)

2013-03-19 Thread Oliver Večerník
Hi Bastien, > #+CONSTANTS is meant to be used only once on the file, not per table. that's how I understood it. > When used several times, `org-table-formula-constants-local' was > defining the same constant several times, which is wrong. I fixed > this. I can confirm this is working now. > L

Re: [O] GFDL

2013-03-19 Thread Marcin Borkowski
Dnia 2013-03-20, o godz. 03:56:18 Marcin Borkowski napisał(a): > What about > > @tex > \global\font\legalese=cmr5\global\legalese > @end tex > > ... > > @tex > \global\rm > @end tex > > ? I don't have working texi2dvi on my computer, so the following is still untested, but might be better th

Re: [O] python sessions

2013-03-19 Thread Andreas Röhler
Am 20.03.2013 04:07, schrieb Nick Dokos: John Hendy wrote: On Tue, Mar 19, 2013 at 4:40 PM, Gary Oberbrunner wrote: I must be failing to understand something. I'm running Emacs 24.3 on Windows, with latest trunk org-mode. I can't get python functions to persist across blocks in session mod

Re: [O] [BUG] ob-sql.el: probably an extra paren

2013-03-19 Thread Bastien
Hi Nick, Nick Dokos writes: > Compiling it I get This is fixed, thanks. -- Bastien

Re: [O] [html] nil getting inserted

2013-03-19 Thread Bastien
Hi Samuel, Samuel Wales writes: > I am getting this diff in HTML output in recent git master. I don't > think I changed anything and I have no filters for links. I haven't > tried it in emacs -Q though. > > Note the nil before the >. Fixed, thanks. -- Bastien