Re: [O] Should comments break paragraphs?

2013-07-16 Thread Bastien
Hi all, I think everyone agrees that comments are an important part of Org. Nicolas, apart from the current code, what theoretically prevents Org from considering them as *empty* lines (not blank lines)? Where should one start if someone wants to propose a patch for this? Thanks, -- Bastien

Re: [O] Can't export in 7.8.11 and can't get 8.0.4 to work

2013-07-16 Thread Paul Whipp
Thanks for your help. I had failed to include (package-initialize) in my .emacs which was why 8.0.4 was not working. Problem solved! On 16 July 2013 17:06, Bastien wrote: > Hi Paul, > > Paul Whipp writes: > > > If I use the package installer to upgrade org I get version 8.0.4 but > > it then

Re: [O] some orgweb typos corrected

2013-07-16 Thread Bastien
Aris Sotiropoulos writes: > some orgweb typos corrected Applied, thanks a lot! -- Bastien

Re: [O] Orgmode fails to export specific web-links as latex/pdf

2013-07-16 Thread Nicolas Goaziou
Yury Bulka writes: > One more thing, related to unicode inside the href of the link: > > [[https://commons.wikimedia.org/wiki/File:%D0%91%D1%83%D0%B7%D0%BE%D0%BA.ogg][https://commons.wikimedia.org/wiki/File:Бузок.ogg]] > > Turns into: > \href{https://commons.wikimedia.org/wiki/File:Бузок.ogg}{\ur

[O] table references in org-babel AND latex

2013-07-16 Thread zenlines
Hi There, it might be nice to include documentation about table references in org-babel AND latex, i.e.: +begin_example numbers in table [[tab:Table]] are important. #+CAPTION: Description of system #+NAME: tab:Table | Code | |--| |1 | |2 | |4 | |8 | | 16 | | 32 | |

Re: [O] Orgmode fails to export specific web-links as latex/pdf

2013-07-16 Thread Nicolas Goaziou
Hello, Yury Bulka writes: > A quick related observation. Consider this Org-mode link: > [[https://commons.wikimedia.org/wiki/File:Lysenko-Lullaby_(%C2%AB%D0%9F%D1%96%D1%81%D0%BD%D1%8F_%D0%BF%D1%80%D0%B8_%D0%BA%D0%BE%D0%BB%D0%B8%D1%81%D1%86%D1%96%C2%BB).ogg][https://commons.wikimedia.org/wiki/Fil

[O] some orgweb typos corrected

2013-07-16 Thread Aris Sotiropoulos
some orgweb typos corrected 0001-Some-typos-corrected.patch Description: Binary data

Re: [O] Orgmode fails to export specific web-links as latex/pdf

2013-07-16 Thread Yury Bulka
One more thing, related to unicode inside the href of the link: [[https://commons.wikimedia.org/wiki/File:%D0%91%D1%83%D0%B7%D0%BE%D0%BA.ogg][https://commons.wikimedia.org/wiki/File:Бузок.ogg]] Turns into: \href{https://commons.wikimedia.org/wiki/File:Бузок.ogg}{\url{https://commons.wikimedia.org

Re: [O] Orgmode fails to export specific web-links as latex/pdf

2013-07-16 Thread Yury Bulka
A quick related observation. Consider this Org-mode link: [[https://commons.wikimedia.org/wiki/File:Lysenko-Lullaby_(%C2%AB%D0%9F%D1%96%D1%81%D0%BD%D1%8F_%D0%BF%D1%80%D0%B8_%D0%BA%D0%BE%D0%BB%D0%B8%D1%81%D1%86%D1%96%C2%BB).ogg][https://commons.wikimedia.org/wiki/File:Lysenko-Lullaby_(«Пісня_при_кол

Re: [O] Should comments break paragraphs?

2013-07-16 Thread Nicolas Goaziou
Eric Schulte writes: > So are you proposing to remove comments from Org-mode entirely? Certainly not. I'm on the "good enough" side and I simply suggest to live with it. Also, if you badly need inline comments, there's the empty "comment" macro: #+MACRO: comment Some text {{{comment(Thi

Re: [O] [PATCH] org-contacts: Update contacts cache if it contains markers with no buffer

2013-07-16 Thread Daimrod
Øyvind Stegard writes: > Hi list, Hello, > In contrib/lisp/org-contacts.el: > > The function `org-contacts-db-need-update-p' does two checks to > determine if the contacts cache should be updated: > 1. If the variable `org-contacts-last-update' is nil. > 2. If modification time of any file cont

Re: [O] Should comments break paragraphs?

2013-07-16 Thread Eric S Fraga
Nicolas Goaziou writes: > Hello, > > Andreas Leha writes: > >> In that case, I guess some confusion might come from LaTeX, for example, >> where also the newline is ignored by the comment, s.t. in LaTeX >> , >> | Some text >> | % comment >> | Some other text >> ` >> is interpreted as >>

Re: [O] Should comments break paragraphs?

2013-07-16 Thread Eric Schulte
Nicolas Goaziou writes: > Hello, > > Eric Schulte writes: > >> When Org-mode is used as a document preparation language inline comments >> are very useful. The use case being notes on the surrounding material >> which are not to be published. Both HTML and LaTeX support comments and >> at leas

Re: [O] Should comments break paragraphs?

2013-07-16 Thread Nicolas Goaziou
Hello, Eric Schulte writes: > When Org-mode is used as a document preparation language inline comments > are very useful. The use case being notes on the surrounding material > which are not to be published. Both HTML and LaTeX support comments and > at least in LaTeX they are extensively used

Re: [O] Should comments break paragraphs?

2013-07-16 Thread Eric Schulte
Nicolas Goaziou writes: > Hello, > > Christian Wittern writes: > >> Hmm. In my book, the concept of comments implies that they should be >> able to appear on any line in the text, without altering the meaning >> of the context it appears in. So to me, it would seem necessary to >> treat commen

Re: [O] clock adjustments

2013-07-16 Thread J. David Boyd
da...@adboyd.com (J. David Boyd) writes: > Are there any keystrokes/functions built in that would let me adjust the time > between to tasks auto-magically. > > I mean, I just worked on task B, after finishing task A, but forgot to clock > out of task A and into task B. > > Is there anything I can

Re: [O] tikz for multiple targets

2013-07-16 Thread Eric S Fraga
Andreas Leha writes: [...] > But since you have a dedicated latex export-only block, the simplest > solution would be to put the caption inside: D'uh! That is so obvious (in hindsight ;-) ... thanks! -- : Eric S Fraga (0xFFFCF67D), Emacs 24.3.50.1, Org release_8.0.5-337-g9f3bed

[O] import R data frame into org-mode table

2013-07-16 Thread Rob Stewart
I have an R script that generates a data frame, that I export to a CSV file. The data looks something like this: "","Variant","Xaxis","N","mean","sd","se" "1","line1",10,5,111.11,9.33,3.11 "1","line1",20,5,112.11,9.13,3.14 "1","line1",30,5,113.11,9.43,3.10 "1","line2",10,5,101.

Re: [O] Problems with LaTeX source block

2013-07-16 Thread Julien Cubizolles
Hi Eric, Eric S Fraga writes: > Interesting. I have this behaviour as well in terms of background. I > use a dark theme on all of my windows, be they emacs or xterms. The png > generated by imagemagick sets the background to transparent which means > I cannot see the images produced as the a

Re: [O] Problems with LaTeX source block

2013-07-16 Thread Julien Cubizolles
The following message is a courtesy copy of an article that has been posted to gmane.emacs.orgmode as well. Hi Andreas Andreas Leha writes: > The problem is in your external data file, I guess. > > What happens, is that org creates a temporary tex file in a temporary > directory (it is in /tmp

[O] clock adjustments

2013-07-16 Thread J. David Boyd
Are there any keystrokes/functions built in that would let me adjust the time between to tasks auto-magically. I mean, I just worked on task B, after finishing task A, but forgot to clock out of task A and into task B. Is there anything I can do while on task B that would let me incrementally ste

Re: [O] [bug?] Copy content from one to another table changes the content

2013-07-16 Thread Michael Brand
Hi Torsten On Tue, Jul 16, 2013 at 12:24 PM, Torsten Wagner wrote: > Either, I should use a different way to copy the column or this could be > considered as a bug?! Some time ago I did some experiments about just copying a field that I put into the ERT function test-org-table/copy-field in test

Re: [O] [Patch] ob-ditaa.el for Cygwin

2013-07-16 Thread Yujie Wen
Hi, Achim Thanks for your suggestion. Yes, a wrapper script will also work. I will use such a script if Org doesn't consider the Cygwin issue. Regards, Yujie 2013/7/16 Achim Gratz > Yujie Wen writes: > > Could someone please take a look and, if it is satisfactory, please > > help to appl

Re: [O] tikz for multiple targets

2013-07-16 Thread Andreas Leha
Hi Eric, Eric S Fraga writes: > Hi Eric et al., > > I now have a system I am happy with mostly for using LaTeX code blocks > heading to multiple export targets. The solution I am using is a > combination of what has been discussed in this thread (by-backend > customisation of headers for babel)

Re: [O] tikz for multiple targets

2013-07-16 Thread Eric S Fraga
Hi Eric et al., I now have a system I am happy with mostly for using LaTeX code blocks heading to multiple export targets. The solution I am using is a combination of what has been discussed in this thread (by-backend customisation of headers for babel) and using noweb substitution for the main c

Re: [O] Problems with LaTeX source block

2013-07-16 Thread Eric S Fraga
Julien Cubizolles writes: [...] > However, the following produces a png with only the axis displayed (but > the boundaries are wrong), the data points don't appear. Strangely, the > png produced is transparent: the background is the one of the Emacs buffer. Interesting. I have this behaviour a

Re: [O] [bug?] Copy content from one to another table changes the content

2013-07-16 Thread Torsten Wagner
Hi again, I think I got a bit more of an idea what is going wrong thanks to Nick. I use $1 = remote(prf94120_orig, @@#$6) which reads copy from table prf94120_orig row (@) of the current to be processed field (@#) column ($) 6 into column ($) 1. The org-mode manual refers to @# as operator fo

[O] Please Comment: a potential Innovation about proviewing latex fragement with imagemagick

2013-07-16 Thread feng shu
* Approach of previewing latex fragement with imagemagick is like this: ** The original: 1. (emacs buffer font height) -> (evalue a density value) --> (imagemagick destiny option) 2. (latex fragement) --> (tmp latex file) -> (pdf) -> (png) ( convert with above destiny option) ** Advantages 1. I

Re: [O] Should comments break paragraphs?

2013-07-16 Thread Andreas Leha
Hi Nicolas, Nicolas Goaziou writes: > Hello, > > Andreas Leha writes: > >> In that case, I guess some confusion might come from LaTeX, for example, >> where also the newline is ignored by the comment, s.t. in LaTeX >> , >> | Some text >> | % comment >> | Some other text >> ` >> is inte

Re: [O] Should comments break paragraphs?

2013-07-16 Thread Nicolas Goaziou
Hello, Andreas Leha writes: > In that case, I guess some confusion might come from LaTeX, for example, > where also the newline is ignored by the comment, s.t. in LaTeX > , > | Some text > | % comment > | Some other text > ` > is interpreted as > , > | Some text > | Some other text

Re: [O] Should comments break paragraphs?

2013-07-16 Thread Fabrice Popineau
2013/7/16 Fabrice Popineau > > Another option would be to remove every comment line before parsing the >> buffer (which is, IIRC, what previous exporter did), but it would only >> hide the situation for a while. After all I could expect to have >> comments anywhere, including some places like >>

Re: [O] Should comments break paragraphs?

2013-07-16 Thread Nicolas Goaziou
Rainer M Krug writes: > I think I see what you mean: if the comment would not be there, the text > would look as follow: > > , > | Some text > | > | Some other text > ` > > for the exporter. So the comment here > > , > | Some text > | # comment > | Some other text > ` > > is igno

Re: [O] Should comments break paragraphs?

2013-07-16 Thread Fabrice Popineau
> Another option would be to remove every comment line before parsing the > buffer (which is, IIRC, what previous exporter did), but it would only > hide the situation for a while. After all I could expect to have > comments anywhere, including some places like > On your example, why wouldn't it

Re: [O] Should comments break paragraphs?

2013-07-16 Thread Andreas Leha
Rainer M Krug writes: > Nicolas Goaziou writes: > >> Hello, >> >> Rainer M Krug writes: >> >>> I see comments as "entities which do not have any impact on the final >>> product". >>> >>> If you regard the org file as the final product, then I >>> completely agree (I use org mainly for literate

Re: [O] Should comments break paragraphs?

2013-07-16 Thread Rainer M Krug
Nicolas Goaziou writes: > Hello, > > Rainer M Krug writes: > >> I see comments as "entities which do not have any impact on the final >> product". >> >> If you regard the org file as the final product, then I >> completely agree (I use org mainly for literate programming, and I don't >> use any

Re: [O] Problems with LaTeX source block

2013-07-16 Thread Andreas Leha
Hi Julien, Julien Cubizolles writes: > Hi Andreas, I forgot to send the following remarks in my previous > post. > > I encounter a problem with pgfplots. The following works, and produces a > png with a white background > #+NAME: python-tikz > #+header: :results raw :file py2tikz_sin.png > #+hea

Re: [O] Problems with LaTeX source block

2013-07-16 Thread Julien Cubizolles
Hi Andreas, I forgot to send the following remarks in my previous post. I encounter a problem with pgfplots. The following works, and produces a png with a white background #+NAME: python-tikz #+header: :results raw :file py2tikz_sin.png #+header: :imagemagick yes :fit yes :headers '("\\usepackage

Re: [O] Should comments break paragraphs?

2013-07-16 Thread Nicolas Goaziou
Hello, Rainer M Krug writes: > I see comments as "entities which do not have any impact on the final > product". > > If you regard the org file as the final product, then I > completely agree (I use org mainly for literate programming, and I don't > use any comments unless in linger code blocks

Re: [O] Should comments break paragraphs?

2013-07-16 Thread Rainer M Krug
Nicolas Goaziou writes: > Hello, > > Christian Wittern writes: > >> Hmm. In my book, the concept of comments implies that they should be >> able to appear on any line in the text, without altering the meaning >> of the context it appears in. So to me, it would seem necessary to >> treat comme

Re: [O] Can't export in 7.8.11 and can't get 8.0.4 to work

2013-07-16 Thread Bastien
Hi Paul, Paul Whipp writes: > If I use the package installer to upgrade org I get version 8.0.4 but > it then fails to complete my initialisation with: "Symbol's function > definition is void: org-defvaralias" Please share the parts of your configuration that are relevant to this, e.g. your pac