Re: [O] (no subject)

2014-01-30 Thread Nick Dokos
John Hendy writes: >>> I'm having a tough time finding info on LaTeX with what makes a table >>> left or right aligned (not the columns, but the table itself). Most of >>> the hits are on how to *center* the table, which seems to suggest they >>> will be left aligned by default. >>> Does somethi

Re: [O] vertical space

2014-01-30 Thread Rustom Mody
Nick wrote: > Why exactly the last one is parsed as a literal string and not as a line > break, I don't know. Nicolas will probably explain all. The only thing I > can say is that if there is something other than whitespace on the line > before the \\, it gets parsed as a line break; if there is o

Re: [O] (no subject)

2014-01-30 Thread John Hendy
On Thu, Jan 30, 2014 at 1:17 AM, Ken Okada wrote: > John, > > Thanks for advising. > > On Org 7.8.11, placement=[l] and placement={l} parameter does not make > sense for tables as I tried. > > I tried to install the current version. (There was a compile error > arising from the fact that BSD make

[O] Preservation of white space in babel blocks, exporting to PDF

2014-01-30 Thread John Hendy
Greetings, I'm sure this is just a variable I've overlooked, but I'm wondering if it's possible to export code blocks as they appear, with whitespace preserved for better formatting in the resultant LaTeX document (I'm using Beamer in this case). Currently, the leading spaces in my blocks seem t

Re: [O] vertical space

2014-01-30 Thread Nick Dokos
Rustom Mody writes: > Im having an issue with inconsistent vertical space > > If I do latex export \\es at eol produce blank lines > However with html export they appear in output but not consistently > org version 8.2.5e > emacs version 24.3.1 > > Below a cut-down version from a file I see it ha

[O] vertical space

2014-01-30 Thread Rustom Mody
Im having an issue with inconsistent vertical space If I do latex export \\es at eol produce blank lines However with html export they appear in output but not consistently org version 8.2.5e emacs version 24.3.1 Below a cut-down version from a file I see it happening #+TITLE: Equati

Re: [O] LaTeX export controls

2014-01-30 Thread John Hendy
On Jan 30, 2014 7:36 PM, "Peter Davis" wrote: > > I'm finding the documentation on LaTeX export a bit thin. Where, for example, does the author's name come from? I noticed my documents do have my correct name, but I don't know where it's coming from. I want to add some information. I tried > > #+L

Re: [O] Clojure Code Block Results not Tabularized

2014-01-30 Thread Soapy Smith
Here are the files from testing of Clojure code blocks with the latest master: https://github.com/Greg-R/org-babel-clojure-tests?source=cc The PDF file is the result of a LaTeX export. The code blocks were forced to appear as they do in the org file by wrapping them in begin_example/end_example.

[O] LaTeX export controls

2014-01-30 Thread Peter Davis
I'm finding the documentation on LaTeX export a bit thin. Where, for example, does the author's name come from? I noticed my documents do have my correct name, but I don't know where it's coming from. I want to add some information. I tried #+LATEX_HEADER: \author{Peter Davis (addl info)} but

Re: [O] fold only DONE items at #+STARTUP

2014-01-30 Thread Nick Dokos
Piotr Isajew writes: > Hi Bastien, > > Dnia 29.01.2014 Bastien napisał/a: > >> Piotr Isajew writes: >> >>> For example, when I open .org file I would like to have subtrees >>> marked as DONE folded, but the others should be opened as with >>> #+STARTUP: content setting. Can it be done? >> >> No

Re: [O] [RFC] Syntax for macros

2014-01-30 Thread Thomas S. Dye
Florian Beck writes: > 3. Of course, since macros are only relevant when exporting, it should > be easy to write an export filter that translates arbitrary chars to > brackets. I think this might be the way forward for Org mode users who don't like the look of the current macro syntax. Backward

Re: [O] [RFC] Syntax for macros

2014-01-30 Thread Florian Beck
On 30.01.2014 17:59, Nick Dokos wrote: Are you advocating that the macro syntax should be changed without worrying about backwards compatibility? That might work if almost nobody uses macros currently[fn:1], but my impression is that they are used fairly widely. The main problem is that this w

Re: [O] Timestamps - anything goes?

2014-01-30 Thread Bastien
Hi Thorsten, Thorsten Jolitz writes: > 1. can deadlines be time-ranges? No. > 2. in time-ranges, can both entries have repeaters? No. > 3. can deadline and closed have repeaters? No. > 4. are any combinations of deadline and scheduled valid? Yes! > i.e. I want to find out which times

Re: [O] [RFC] Syntax for macros

2014-01-30 Thread Achim Gratz
Sebastien Vauban writes: > When trying to convince colleagues and friends to use macros, I get > kind of allergic reactions because of the many accolades. > > Example: > > #+MACRO: hlt @@html:$1@@ > > This {{{hlt(information)}}} is important. > > I wondered whether we could reduce the number of

Re: [O] Timestamps - anything goes?

2014-01-30 Thread Thorsten Jolitz
Bastien writes: Hi Bastien , > Thorsten Jolitz writes: > >> Is there any restriction in the use of planning/time info other than >> common sense? If so, what are the ruled-out combinations and attribute >> assignments? > > Common sense applies, but it applies best to examples. > I guess the que

Re: [O] [RFC] Syntax for macros

2014-01-30 Thread Bastien
Nick Dokos writes: > No: I'm saying that if this change is implemented, {{{foo}}} should be > deprecated (probably raising a deprecation warning when encountered) and > that both {{foo}} and {{{foo}}} should work identically, at least until > the next major release (we can debate whether that's 8

Re: [O] Timestamps - anything goes?

2014-01-30 Thread Bastien
Hi Thorsten, Thorsten Jolitz writes: > Is there any restriction in the use of planning/time info other than > common sense? If so, what are the ruled-out combinations and attribute > assignments? Common sense applies, but it applies best to examples. I guess the question is too abstract for any

[O] how to group together fields

2014-01-30 Thread Stefan Huchler
I want to use org-mode as a (tea) database. What have I done: 1. I have wrote down a tree of shops/orders/brands 2. I defined COLUMNS for Column View that give me a score per shop list What do I want as result: 1. give me a list of scores for the shops [DONE] 2. give me a list of scores for eac

Re: [O] bad link in FAQ

2014-01-30 Thread Thomas S. Dye
Aloha Mirko, Mirko Vukovic writes: > I found a bad link on http://orgmode.org/worg/org-faq.html > > The link ``skeletons'' points to an article on Nokia's phones on slashgear.com You can fix it by sending your public key to Bastien and then downloading the Worg sources: http://orgmode.org/worg

Re: [O] [RFC] Syntax for macros

2014-01-30 Thread Thorsten Jolitz
Nick Dokos writes: > "Sebastien Vauban" > writes: > >>> There is also backwards compatibility to consider. Not only that, probability of false positives matters too. E.g. inserting text snippets in PicoLisp Wiki Syntax into an Org file could easily cause errors given the frequent use of {}: ,-

Re: [O] [RFC] Syntax for macros

2014-01-30 Thread Nick Dokos
"Sebastien Vauban" writes: >> There is also backwards compatibility to consider. > > How? You know, when many, many, many keywords or options changed > between Org 7.9 and Org 8.0, there was nothing to support backward > compatibility: much too complex, I guess. > Yes, indeed: OTOH there was wi

[O] Timestamps - anything goes?

2014-01-30 Thread Thorsten Jolitz
Hi List, (headline) timestamps, deadlines, scheduled and closed items are parsed into timestamp lists with the following attributes: - timestamp-type - start date - start time - end date - end time - repeater-type - repeater-value - repeater-unit Not all attributes seem to make sense for each

Re: [O] There can only be one item with priority 1?

2014-01-30 Thread Daniel Clemente
El Thu, 30 Jan 2014 14:49:59 +0100 Fredrik va escriure: > I know there is the ABC but that doesn't support what I shown here where I add > an item in the middle of the list changes the priority of everything below it? > If you consider section order as priority, then you already have it: when y

Re: [O] There can only be one item with priority 1?

2014-01-30 Thread Thorsten Jolitz
Fredrik writes: > That would be an idea and I have tried it but when adding a new item > in the list I manually need to change the priority for all the rest > which is too much work How many categories do you need? Using ABC with :low: :medium: :high: tags or so you got already 3x3 categories -

Re: [O] There can only be one item with priority 1?

2014-01-30 Thread Fredrik
That would be an idea and I have tried it but when adding a new item in the list I manually need to change the priority for all the rest which is too much work Regards, Fredrik On 2014-01-30 16:51, Thorsten Jolitz wrote: Fredrik writes: When I think about priority I want to see if one ite

Re: [O] There can only be one item with priority 1?

2014-01-30 Thread Thorsten Jolitz
Fredrik writes: > When I think about priority I want to see if one item is more > prioritized then another. So if I have a list like this: > > * TODO Not important > * TODO Really important > * TODO Kind of import > > So setting in the priority would look like this : > > * TODO 3 Not important >

Re: [O] [RFC] Syntax for macros

2014-01-30 Thread Sebastien Vauban
Hello Nick, Nick Dokos wrote: > "Sebastien Vauban" writes: >> Bastien wrote: >>> "Sebastien Vauban" writes: Bastien wrote: > Reducing to {{...}} could be better, but I'm not sure this is > what will make your friends happy :) Not entirely, no! But I think that'd be alr

[O] bad link in FAQ

2014-01-30 Thread Mirko Vukovic
I found a bad link on http://orgmode.org/worg/org-faq.html The link ``skeletons'' points to an article on Nokia's phones on slashgear.com A better link would be: http://www.emacswiki.org/emacs/SkeletonMode Mirko

Re: [O] [RFC] Syntax for macros

2014-01-30 Thread Nick Dokos
"Sebastien Vauban" writes: > Bastien wrote: >> "Sebastien Vauban" writes: >>> Bastien wrote: >>> Reducing to {{...}} could be better, but I'm not sure this is what will make your friends happy :) >>> >>> Not entirely, no! But I think that'd be already a good >>> simplification. >> >> A

[O] There can only be one item with priority 1?

2014-01-30 Thread Fredrik
When I think about priority I want to see if one item is more prioritized then another. So if I have a list like this: * TODO Not important * TODO Really important * TODO Kind of import So setting in the priority would look like this : * TODO 3 Not important * TODO 1 Really important * TODO 2

Re: [O] Clojure Code Block Results not Tabularized

2014-01-30 Thread Soapy Smith
Great news! I will update my system to the master. I will create an org file with permutations of the :results option and export to LaTeX and HTML. Perhaps even compare to Python behavior. I will attempt to push the test files to github later today. I need the git practice! Regards, Greg On

Re: [O] Arranging images on a LaTeX page?

2014-01-30 Thread Peter Davis
On Thu, Jan 30, 2014 at 08:59:11AM +0100, Andreas Leha wrote: > > This is not solving your original problem. But the following might > spare you from some manual work. It is a simple hack that uses > =imagemagick= to do the side-by-side composition. Thanks very much, Andreas! This is a real edu

Re: [O] [bug] Macro expansion not recursive

2014-01-30 Thread Sebastien Vauban
Hello Nicolas, Nicolas Goaziou wrote: > "Sebastien Vauban" writes: > >> It was said that "Macro expansion is already recursive: the template can >> be another macro." Though, my example does not work: the second macro >> call is exported almost "verbatim". >> >> #+MACRO: highlight @@html:$2@@ >>

Re: [O] [bug] Macro expansion not recursive

2014-01-30 Thread Nicolas Goaziou
Hello, "Sebastien Vauban" writes: > It was said that "Macro expansion is already recursive: the template can > be another macro." Though, my example does not work: the second macro > call is exported almost "verbatim". > > #+MACRO: highlight @@html:$2@@ > #+MACRO: hl {{{highlight(#00,$1}}

[O] [bug] Macro expansion not recursive

2014-01-30 Thread Sebastien Vauban
Hello, It was said that "Macro expansion is already recursive: the template can be another macro." Though, my example does not work: the second macro call is exported almost "verbatim". --8<---cut here---start->8--- #+MACRO: highlight @@html:$2@@ #+MACRO: hl {

Re: [O] Changing title for outline

2014-01-30 Thread Sebastien Vauban
Erich Neuwirth wrote: > I am using eorgmode with beamer to create a slide presentation in German. > I get a nice outline page with the atuomatically created header > Outline > > How can I change this so it becomes > > Themen --8<---cut here---start->8--- (setq

Re: [O] Changing title for outline

2014-01-30 Thread Bastien
Hi Erich, Erich Neuwirth writes: > I am using eorgmode with beamer to create a slide presentation in German. > I get a nice outline page with the atuomatically created header > Outline > > How can I change this so it becomes > > Themen (setq org-beamer-outline-frame-title "Themen") HTH, --

Re: [O] Clojure Code Block Results not Tabularized

2014-01-30 Thread Bastien
Hi Greg, Soapy Smith writes: > The problem is that the results inserted into the org document should be > tabularized. This should now be fixed in master -- thanks for further testing, and thanks to Eric for giving the solution. -- Bastien

[O] Changing title for outline

2014-01-30 Thread Erich Neuwirth
I am using eorgmode with beamer to create a slide presentation in German. I get a nice outline page with the atuomatically created header Outline How can I change this so it becomes Themen ?? Erich Neuwirth signature.asc Description: Message signed with OpenPGP using GPGMail

Re: [O] Bug dragging lines in tag-restricted agenda

2014-01-30 Thread Bastien
Hi Thomas, I just fixed one issue regarding the clock not being highlighted. Let me know if you find other bugs. Thanks, -- Bastien

Re: [O] Spurious literal interpretation in :LOGBOOK: sections

2014-01-30 Thread Bastien
Hi François, François Pinard writes: > First note that I set org-hide-emphasis-markers to t, which I find to be > an extremely valuable option. :-) > > In a :LOGBOOK: entry containing many CLOCK: lines, a literal in the > description following a CLOCK: may trigger an incorrect display of the > C

Re: [O] [RFC] Syntax for macros

2014-01-30 Thread Sebastien Vauban
Bastien wrote: > "Sebastien Vauban" writes: >> Bastien wrote: >> >>> Reducing to {{...}} could be better, but I'm not sure this is >>> what will make your friends happy :) >> >> Not entirely, no! But I think that'd be already a good >> simplification. > > Added to my "will-silently-see-if-this-mak

Re: [O] [bug] Tangling a LaTeX code block creates a .latex file

2014-01-30 Thread Bastien
Julian Gehring writes: > This seems to be more general, since it also occurs for e.g. python > source blocks. Tangling a python source code block with the argument > =:tangle yes= produces a '.python' instead of a '.py' file (at least > with 8.2.5c). You need something like this: (org-babel-do

Re: [O] [RFC] Syntax for macros

2014-01-30 Thread Bastien
"Sebastien Vauban" writes: >>> Would this be possible? If so, would you want that as well? >> >> Reducing to {{...}} could be better, but I'm not sure this is >> what will make your friends happy :) > > Not entirely, no! But I think that'd be already a good > simplification. Added to my "wil

Re: [O] [bug] Tangling a LaTeX code block creates a .latex file

2014-01-30 Thread Bastien
"Sebastien Vauban" writes: > ;; (latex . t) Yes, you need to uncomment this for the LaTeX source blocks to know what extension to use. -- Bastien

Re: [O] [bug] Tangling a LaTeX code block creates a .latex file

2014-01-30 Thread Julian Gehring
Hi, This seems to be more general, since it also occurs for e.g. python source blocks. Tangling a python source code block with the argument =:tangle yes= produces a '.python' instead of a '.py' file (at least with 8.2.5c). Best wishes Julian On 01/29/2014 09:19 PM, Sebastien Vauban wrote

Re: [O] org-element-map no-recursion argument?

2014-01-30 Thread Nicolas Goaziou
Hello, James Harkins writes: > I've written some emacs-lisp using org-element-map to iterate over > source code blocks in an org buffer and insert them into another > buffer, including a listing number and caption (so it's different from > tangling). > > I was just trying to tweak it to ignore s

Re: [O] [RFC] Syntax for macros

2014-01-30 Thread Sebastien Vauban
Hi Bastien, Bastien wrote: > "Sebastien Vauban" writes: > >> This would be much more easy to read, IMO: >> >> This {hlt(information)} is important. > > But more prone to false positives. Because of the grouping for sub/super-scripts? >> Would this be possible? If so, would you want that as we

Re: [O] [ANN] google-contacts.el can now export to org-contacts.

2014-01-30 Thread Rüdiger Sonderfeld
Hello, On Wednesday 29 January 2014 18:47:39 Robert Eckl wrote: > I wanted to play with it, but if I use > *M-x google-contacts* > and type string i get > google-oauth-auth-and-store: Symbol's function definition is void: > oauth2-auth-and-store google-contacts requires oauth2.el versio

Re: [O] [bug] Tangling a LaTeX code block creates a .latex file

2014-01-30 Thread Sebastien Vauban
Hi Bastien, Bastien wrote: > "Sebastien Vauban" writes: > >> This one is quite new: tangling a code block in `latex' language now >> produces a file with a `.latex' extension, instead of the common >> `.tex' extension. > > AFAIU you need to (require 'ob-latex) first. I never did that explicitly.

Re: [O] How to use ox-bibtex

2014-01-30 Thread Ahmadou Dicko
You can also use latexmkwhich was designed to solve this kind of problem. I have this in my init.el (setq org-latex-pdf-process '("latexmk -pdflatex=xelatex -pdf -latexoption=-shell-escape %f")) On Wed, Jan 29, 2014 at 2:46 PM, Ni

Re: [O] Arranging images on a LaTeX page?

2014-01-30 Thread Andreas Leha
Peter Davis writes: > On Wed, Jan 29, 2014 at 06:29:37PM -0600, John Hendy wrote: >> >> This has come up before, and the answer is that it's not currently >> possible with just Org. See the following [probably] duplicate >> questions: >> - http://lists.gnu.org/archive/html/emacs-orgmode/2013-03/