Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-18 Thread Suvayu Ali
On Thu, Sep 19, 2013 at 08:24:51AM +0200, Carsten Dominik wrote: > > On 19.9.2013, at 06:34, Nick Dokos wrote: > > > Carsten Dominik writes: > > > >> On 18.9.2013, at 14:14, Suvayu Ali wrote: > >> ... > >>> I think that is expected. The bug is in the desktop specific open > >>> commands. Si

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-18 Thread Carsten Dominik
On 19.9.2013, at 06:34, Nick Dokos wrote: > Carsten Dominik writes: > >> On 18.9.2013, at 14:14, Suvayu Ali wrote: >> ... >>> I think that is expected. The bug is in the desktop specific open >>> commands. Since you use none, generic open is used. That is simply a >>> shell function, and d

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-18 Thread Nick Dokos
Carsten Dominik writes: > On 18.9.2013, at 14:14, Suvayu Ali wrote: > ... >> I think that is expected. The bug is in the desktop specific open >> commands. Since you use none, generic open is used. That is simply a >> shell function, and does the right thing. > > Is there a generic open comma

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-18 Thread Carsten Dominik
On 18.9.2013, at 14:14, Suvayu Ali wrote: > Hi Eric, > > On Wed, Sep 18, 2013 at 10:07:17AM +0100, Eric S Fraga wrote: >> Suvayu Ali writes: >> >> [...] >> >>> I need some feedback from users using different desktop environments. >> >> [...] >> >>> I would like to know if other desktop env

Re: [O] [export] Should sidewaystable option automatically add rotating package?

2013-09-18 Thread Carsten Dominik
On 19.9.2013, at 00:21, Rasmus wrote: > Carsten Dominik writes: > >>> [...] >>> The output tex file looks something like this: >>> >>> \ifPDFTeX\usepackage[utf8]{inputenc}\else\fi >>> \ifPDFTeX\usepackage[T1]{fontenc}\else\fi >> >> this looks excellent. I think we will implement this as the

Re: [O] Can't get dvipng to work

2013-09-18 Thread Nick Dokos
Ken Williams writes: > Ken Williams gmail.com> writes: > >> I can try installing manually but it would be great if I could get ELPA >> working. > > So I installed org-8.1.2 manually and now it does seem to be *trying* to > process the images through LaTeX. But it's not succeeding. In the >

Re: [O] [Babel][R] Inclusion of multi-line named code blocks in R code

2013-09-18 Thread Alexander Vorobiev
Hi Tom, Unfortunately I can't have pure SQL output in my org files for two reasons: 1. The result set I am dealing with for this particular problem is about 2 records 2. My SQL server (Netezza, "big data appliance") is not supported by Babel-SQL. I configured sql-mode to work with Netezza but

Re: [O] Customizing TOCs in Derived Exporters

2013-09-18 Thread Josiah Schwab
Rasmus writes: > Josiah Schwab writes: >> Independent of the confusion it caused me while trying to figure out how >> things work, it seems strange that the ox-md exporter generates a >> non-markdown TOC using org-html-toc. But I will leave that for those >> who really use the markdown exporte

Re: [O] [Babel][R] Inclusion of multi-line named code blocks in R code

2013-09-18 Thread Thomas S. Dye
Aloha Alex, My work flow in this situation evaluates the SQL to create an Org-mode table, which serves as input to the R source code block. For me, seeing the SQL output in a table is a sanity check. hth, Tom Alexander Vorobiev writes: > I have R code which submits SQL statements to a databas

Re: [O] [export] Should sidewaystable option automatically add rotating package?

2013-09-18 Thread Rasmus
Carsten Dominik writes: >> [...] >> The output tex file looks something like this: >> >> \ifPDFTeX\usepackage[utf8]{inputenc}\else\fi >> \ifPDFTeX\usepackage[T1]{fontenc}\else\fi > > this looks excellent. I think we will implement this as the default > behavior, but only after 8.2. > Does thi

Re: [O] Customizing TOCs in Derived Exporters

2013-09-18 Thread Rasmus
Josiah Schwab writes: > Rasmus writes: > >> Josiah Schwab writes: >> >>> How does one go about overriding org-html-toc, which unlike something >>> like org-html-bold, does not appear in org-export-define-backend? I >>> don't want the TOC not to appear, rather want it to be generated by >>> anoth

Re: [O] [Babel] Padlines

2013-09-18 Thread Sebastien Vauban
Hi Eric, Eric Schulte wrote: > aditya siram writes: >> What's the rationale for having padlines by default in tangled source? It >> generates wrong programs for languages where whitespace is significant >> (Haskell) and, for me, doesn't noticeably improve the look of the tangled >> file in cases

[O] [Babel][R] Inclusion of multi-line named code blocks in R code

2013-09-18 Thread Alexander Vorobiev
I have R code which submits SQL statements to a database server. Since the SQL is rather complex, I want to put it into a separate code block in order to have proper formatting, syntax highlighting, etc: #+name: long-sql #+begin_src sql select * from many, tables where complex_

Re: [O] [Babel] Padlines

2013-09-18 Thread Eric Schulte
aditya siram writes: > Hi all, > What's the rationale for having padlines by default in tangled source? It > generates wrong programs for languages where whitespace is significant > (Haskell) and, for me, doesn't noticeably improve the look of the tangled > file in cases where it isn't. > Thanks!

Re: [O] Customizing TOCs in Derived Exporters

2013-09-18 Thread Josiah Schwab
Rasmus writes: > Josiah Schwab writes: > >> How does one go about overriding org-html-toc, which unlike something >> like org-html-bold, does not appear in org-export-define-backend? I >> don't want the TOC not to appear, rather want it to be generated by >> another function, org-md-toc or what

Re: [O] [Babel] Buffer-wide properties ignored ...

2013-09-18 Thread aditya siram
Yup running C-c C-c solved it! Didn't know about that. And I can't believe I made the "padlines" typo. Thanks for taking the time! -deech On Wed, Sep 18, 2013 at 1:59 PM, Sebastien Vauban wrote: > aditya siram wrote: > > Sebastien Vauban wrote: > >> aditya siram wrote: > >>> > >>> Here's the o

Re: [O] [Babel] Buffer-wide properties ignored ...

2013-09-18 Thread Sebastien Vauban
aditya siram wrote: > Sebastien Vauban wrote: >> aditya siram wrote: >>> >>> Here's the org-file with padlines set to "no" up top: >>> >>> #+PROPERTY: :padlines no >> ^ >> Try without the ":"... ... and without the "s" to padlines... So, the correct line is: --8<---cut

Re: [O] [Babel] Buffer-wide properties ignored ...

2013-09-18 Thread aditya siram
I tried `#+PROPERTY :padlines no` , `#+PROPERTY: padlines no` and `#+PROPERTY padlines no` all with the same result. Thanks! -deech On Wed, Sep 18, 2013 at 12:20 PM, Sebastien Vauban wrote: > aditya siram wrote: > > Here's the org-file with padlines set to "no" up top: > > #+PROPERTY: :padlines

Re: [O] Can't get dvipng to work

2013-09-18 Thread Ken Williams
Ken Williams gmail.com> writes: > I can try installing manually but it would be great if I could get ELPA > working. So I installed org-8.1.2 manually and now it does seem to be *trying* to process the images through LaTeX. But it's not succeeding. In the *Messages* buffer, I see this: ---

Re: [O] M-x fill-region equivalent for lists?

2013-09-18 Thread Nick Dokos
John Hendy writes: > P.S. Oddly, reply-all to your email composes an email to myself and > the Org-mode list, but not you directly... what might be the cause of > that? > > This is the behavior I get with gmail. Just wanted to let you know. > Not really odd: Eric F. set the Mail-followup-to head

Re: [O] [Babel] Buffer-wide properties ignored ...

2013-09-18 Thread Sebastien Vauban
aditya siram wrote: > Here's the org-file with padlines set to "no" up top: > #+PROPERTY: :padlines no ^ Try without the ":"... > * Headline > #+BEGIN_SRC c :tangle /tmp/padlines-test.c :comments link > hello world > #+END_SRC > > And the tangle file: > > /* [[file:/tmp/padline

Re: [O] Can't get dvipng to work

2013-09-18 Thread Ken Williams
Rasmus gmx.us> writes: > > So in short I think the easiest course of action is upgrading to the > newest release, e.g. using ELPA (M-x list-packages). I agree - I'm trying to update now. I hadn't used ELPA before, so I tried that route and I'm getting a ton of 'ox-*' related errors like this:

Re: [O] M-x fill-region equivalent for lists?

2013-09-18 Thread John Hendy
P.S. Oddly, reply-all to your email composes an email to myself and the Org-mode list, but not you directly... what might be the cause of that? This is the behavior I get with gmail. Just wanted to let you know. John On Wed, Sep 18, 2013 at 4:15 AM, Eric S Fraga wrote: > John Hendy writes: > >

Re: [O] M-x fill-region equivalent for lists?

2013-09-18 Thread John Hendy
On Wed, Sep 18, 2013 at 4:15 AM, Eric S Fraga wrote: > John Hendy writes: > >> Greetings, >> >> >> When editing lists after deleting words (shortening lines) and/or >> concatenating one line with the one that follows (to remedy a >> shortened line), I end up with an "unfilled" list item. Is there

Re: [O] Tag/Property that keeps headline folded during global visibility cycling?

2013-09-18 Thread Thorsten Jolitz
Carsten Dominik writes: >> Yes, in principle I'm looking for drawer-style visibility behaviour. In >> some aspects it would be more convenient though to have this behaviour >> for certain marked subtrees - for an overview, navigation, tagging, >> exporting ... a headline offers more than a drawer

Re: [O] Tag/Property that keeps headline folded during global visibility cycling?

2013-09-18 Thread Carsten Dominik
On 18.9.2013, at 15:56, Thorsten Jolitz wrote: > Nick Dokos writes: > >> Thorsten Jolitz writes: >> >>> Hi List, >>> >>> assume an Org file like >>> >>> ,--- >>> | * Topic 1 >>> | ** Comment >>> | ** Content >>> | * Topic 2 >>> | ** Comment >>> | ** Content >>> `--- >>>

Re: [O] Tag/Property that keeps headline folded during global visibility cycling?

2013-09-18 Thread Thorsten Jolitz
Nick Dokos writes: > Thorsten Jolitz writes: > >> Hi List, >> >> assume an Org file like >> >> ,--- >> | * Topic 1 >> | ** Comment >> | ** Content >> | * Topic 2 >> | ** Comment >> | ** Content >> `--- >> >> where I want the >> >> ,--- >> | ** Comment >> `--- >

Re: [O] [export] Should sidewaystable option automatically add rotating package?

2013-09-18 Thread Carsten Dominik
On 17.9.2013, at 15:24, Rasmus wrote: > Hi Carsten, > > Carsten Dominik writes: > >> I'd be interested to see a patch to this effect. > > For now here's the filter I use and a add-to-list that hopefully > works. It could be turned into a general function such that > > - Certain packages

Re: [O] [Babel] Buffer-wide properties ignored ...

2013-09-18 Thread aditya siram
Here's the org-file with padlines set to "no" up top: #+PROPERTY: :padlines no * Headline #+BEGIN_SRC c :tangle /tmp/padlines-test.c :comments link hello world #+END_SRC And the tangle file: /* [[file:/tmp/padlines-test.org::*Headline][Headline:1]] */ hello world /* Headline:1 ends here *

Re: [O] Tag/Property that keeps headline folded during global visibility cycling?

2013-09-18 Thread Nick Dokos
Thorsten Jolitz writes: > Hi List, > > assume an Org file like > > ,--- > | * Topic 1 > | ** Comment > | ** Content > | * Topic 2 > | ** Comment > | ** Content > `--- > > where I want the > > ,--- > | ** Comment > `--- > > subtrees folded all the time (during gl

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-18 Thread Suvayu Ali
Hi Eric, On Wed, Sep 18, 2013 at 10:07:17AM +0100, Eric S Fraga wrote: > Suvayu Ali writes: > > [...] > > > I need some feedback from users using different desktop environments. > > [...] > > > I would like to know if other desktop environments has the same issue: > > kde-open (KDE) and gvfs-

[O] Displaying links in tables in fixed-width font

2013-09-18 Thread Alan Schmitt
Hello, I'm using a proportional font for my text modes (including org-mode), with a little hack to make sure that code and tables are displayed in a fixed font. --8<---cut here---start->8--- ;; from http://yoo2080.wordpress.com/2013/05/30/monospace-font-in-tab

[O] Tag/Property that keeps headline folded during global visibility cycling?

2013-09-18 Thread Thorsten Jolitz
Hi List, assume an Org file like ,--- | * Topic 1 | ** Comment | ** Content | * Topic 2 | ** Comment | ** Content `--- where I want the ,--- | ** Comment `--- subtrees folded all the time (during global visibility cycling, not only at start-up), except when

Re: [O] M-x fill-region equivalent for lists?

2013-09-18 Thread Eric S Fraga
John Hendy writes: > Greetings, > > > When editing lists after deleting words (shortening lines) and/or > concatenating one line with the one that follows (to remedy a > shortened line), I end up with an "unfilled" list item. Is there an > Org equivalent to `M-x fill-region` on paragraphs to tidy

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-18 Thread Eric S Fraga
Suvayu Ali writes: [...] > I need some feedback from users using different desktop environments. [...] > I would like to know if other desktop environments has the same issue: > kde-open (KDE) and gvfs-open (Gnome, Mate, etc). So to test, just open > a directory with pdf/odt/html files in dir

Re: [O] css stylesheet

2013-09-18 Thread Christian Moe
pw writes: > ... when I look at the html code generated, I can see a bunch of css which I > do not want (see below). > > > Why this css code is here and how can I remove it ? It's included by default to make nice-looking HTML out of the box. >From the manual: "To turn inclusion of these defaul

Re: [O] [Babel] Padlines

2013-09-18 Thread Sebastien Vauban
aditya siram wrote: > What's the rationale for having padlines by default in tangled source? It generates more readable source-code, as blocks are not "glued" next to each other. > It generates wrong programs for languages where whitespace is significant > (Haskell) and, for me, doesn't noticeabl

Re: [O] [Babel] Buffer-wide properties ignored ...

2013-09-18 Thread Sebastien Vauban
Hi Aditya, aditya siram wrote: > It appears as though buffer wide properties are ignored when tangling > source blocks. This is easily reproducible by add a `#+PROPERTY: :padlines > no` to the top of the file and tangling something. The source has padlines. > I tried variations on including `#+PRO

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-18 Thread Glyn Millington
Suvayu Ali writes: > Hi, > > On Tue, Sep 17, 2013 at 10:31:41PM +0200, Carsten Dominik wrote: >> On 17.9.2013, at 22:21, Suvayu Ali >> wrote: >> > I can consistently repeat this outside of Org. I am trying with >> > dired-do-shell-command'. >> > >> > Steps: 1) (dired-do-shell-command "xdg-op

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-18 Thread Glyn Millington
Matt Price writes: > On Tue, Sep 17, 2013 at 5:25 PM, Glyn Millington > wrote: >> Carsten Dominik writes: >> >>> On 17.9.2013, at 15:56, Suvayu Ali >>> wrote: >>> On Tue, Sep 17, 2013 at 09:04:45AM +0100, Glyn Millington wrote: > Carsten Dominik writes: > >> On 17.9.2013, at