Re: [O] Strings converted to numbers in Org table?

2017-02-27 Thread Vicente Vera
Probably the issue is related to this function in `ob-core.el'? org-babel-read: "Convert the string value of CELL to a number if appropriate." Behind the curtains lies the built-in function `string-to-number'. Maybe that conversion should be made optional to leave the strings untouched.

Re: [O] org-vcard -- possible to convert .vcf files to .org ?

2017-02-27 Thread Saša Janiška
Eric Abrahamsen writes: > Glad to know you're enthusiastic, and patches are always welcome! What can you recommend for learning Elisp which might be also useful for špssobče contributibution to EBDB? > I do expect the DAV server stuff to take me a while, though. I've

Re: [O] Error on html export

2017-02-27 Thread Nicolas Goaziou
Hello, Mark Meyer writes: > I'm getting an error on HTML export, as soon as my document has a > `#+TITLE' set. > > Here's part of the stack trace: > > Debugger entered--Lisp error: (wrong-type-argument listp #("test" 0 4 > (:parent (#1 This is a common issue with mixed

Re: [O] resize org-table when exporting to latex

2017-02-27 Thread Nick Dokos
Jeremie Juste writes: > Hello, > > Is there a way to resize latex table when exporting to latex? > For now my only recourse is to export the latex table copy the latex > code back to org-mode apply \scalebox. > > Do you have a more convenient way in mind? > You need to

Re: [O] Strings converted to numbers in Org table?

2017-02-27 Thread Alan Schmitt
On 2017-02-27 10:17, "Charles C. Berry" writes: > IMHO, it is often best to handle formatting of output in the language of > the src block. There are some tools for doing this in R: the `ascii' > package is one. `xtable' is another. I've had the same problem when working

Re: [O] BUG: disparity between popup menu and pulldown menu for Agenda viewing mode

2017-02-27 Thread Kyle Meyer
"J. David Boyd" writes: > When I'm viewing the agenda, if I press v, I get a popup menu that states that > I can get to the for[t]night view, with a 't', which works. > > But I if look in the pulldown menu, it tells me that Fortnight View is > accomplished with v f. This

Re: [O] Strings converted to numbers in Org table?

2017-02-27 Thread Vicente Vera
Hello again, I'm sorry for being noisy. OK yes, `org-babel-read' is indeed converting "number strings" to numbers. Basically this is what happens: : (string-to-number "3.350") => 3.35 To leave cell values unchanged I did this clumsy hack: #+BEGIN_SRC emacs-lisp (defun

Re: [O] Error on html export

2017-02-27 Thread Mark Meyer
On 02/27/17 12:45, Nicolas Goaziou wrote: > This is a common issue with mixed installations. You need to re-install > Org without any other version loaded otherwise. Spot on! Uninstalling org-mode `C-c C-x' and reinstalling worked. Is there a FAQ for this kind of issues? Cheers, Mark --

Re: [O] org-vcard -- possible to convert .vcf files to .org ?

2017-02-27 Thread Eric Abrahamsen
Saša Janiška writes: > Eric Abrahamsen writes: > >> Glad to know you're enthusiastic, and patches are always welcome! > > What can you recommend for learning Elisp which might be also useful for > špssobče contributibution to EBDB? What would be

[O] M-TAB in org manual and org guide

2017-02-27 Thread Thomas Rikl
Emacs : GNU Emacs 25.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.22.7) of 2017-02-07 Package: Org mode version 9.0.5 (release_9.0.5-325-g28b847) Hello, Can you please add a footnote or a link (to the completion chapter) to the first (and second) occurence of "M-TAB" in the org manual that

Re: [O] Strings converted to numbers in Org table?

2017-02-27 Thread Nicolas Goaziou
Hello, Vicente Vera writes: > It would be useful to have a header argument to prevent this > conversion. Probably somebody else has had the same issue? Since this case may be rare, what about inserting a non breaking zero-width space right before 3.350? Regards, --

[O] org-image-actual-width and org-mime-htmlize

2017-02-27 Thread Uwe Brauer
Hi I just sent a message to myself which contained. [[File:test.png]] And I used org-mime-htmlize to generate a htmlized message, however the variable org-image-actual-width did not change the size of the image in the message. Is there any possibility to achieve this? Thanks Uwe Brauer

[O] BUG: disparity between popup menu and pulldown menu for Agenda viewing mode

2017-02-27 Thread J. David Boyd
When I'm viewing the agenda, if I press v, I get a popup menu that states that I can get to the for[t]night view, with a 't', which works. But I if look in the pulldown menu, it tells me that Fortnight View is accomplished with v f. This actually puts the Agenda into follow mode, not at all what

Re: [O] Bug report: export to HTML does not escape * in example

2017-02-27 Thread Charles C. Berry
On Mon, 27 Feb 2017, dmg wrote: On Sun, Feb 26, 2017 at 11:40 PM, Nicolas Goaziou wrote: A star at the beginning of a line is always a headline. [...] ​Thank you. I guess the issue is then with org-babel. I am running a babel script that generates, as one of

Re: [O] Bug report: export to HTML does not escape * in example

2017-02-27 Thread Nick Dokos
"Charles C. Berry" writes: > On Mon, 27 Feb 2017, dmg wrote: > >> On Sun, Feb 26, 2017 at 11:40 PM, Nicolas Goaziou >> wrote: >> >>> >>> A star at the beginning of a line is always a headline. > > [...] > >> >> ​Thank you. I guess the issue is then with

Re: [O] Strings converted to numbers in Org table?

2017-02-27 Thread Vicente Vera
Yes, it is a rare case indeed. It's not necessary nor appropiate to change Babel's behavior. Long story short, I'm building several LaTeX tables from CSV files which in turn come from Excel files. I'm not the author of these Excel files and I have to reproduce them as faithful as possible. The

Re: [O] Strings converted to numbers in Org table?

2017-02-27 Thread Charles C. Berry
On Mon, 27 Feb 2017, Vicente Vera wrote: Hello again, I'm sorry for being noisy. OK yes, `org-babel-read' is indeed converting "number strings" to numbers. [proposed fix deleted] I don't have a feeling as to whether the proposed fix is appropriate. However, there are other ways to solve

[O] Error on html export

2017-02-27 Thread Mark Meyer
Hi, I'm getting an error on HTML export, as soon as my document has a `#+TITLE' set. Here's part of the stack trace: Debugger entered--Lisp error: (wrong-type-argument listp #("test" 0 4 (:parent (#1 org-element-set-contents(#("test" 0 4 (:parent (#0 apply(org-element-set-contents

Re: [O] Bug report: export to HTML does not escape * in example

2017-02-27 Thread dmg
On Sun, Feb 26, 2017 at 11:40 PM, Nicolas Goaziou wrote: > > A star at the beginning of a line is always a headline. It has > precedence over the block around it. You need to escape the star > character: > > #+begin_example > ,* hello world > #+end_example > >

Re: [O] Error on html export

2017-02-27 Thread Thomas S. Dye
Aloha Mark, Mark Meyer writes: > On 02/27/17 12:45, Nicolas Goaziou wrote: >> This is a common issue with mixed installations. You need to re-install >> Org without any other version loaded otherwise. > > Spot on! Uninstalling org-mode `C-c C-x' and reinstalling worked. > > Is there a FAQ for

Re: [O] Bug: Latest org and goto-addr problems [9.0.5 (9.0.5-elpaplus @ /home/tim/.emacs.d/elpa/org-plus-contrib-20170210/)]

2017-02-27 Thread Tim Cross
Hi Nicolas, now have at least one other report from someone able to reproduce this error using the minimal config I provided. Note that you only get the error on the first load of an org file containing source blocks. After the first one has loaded, all others load file (including re-loading of

[O] resize org-table when exporting to latex

2017-02-27 Thread Jeremie Juste
Hello, Is there a way to resize latex table when exporting to latex? For now my only recourse is to export the latex table copy the latex code back to org-mode apply \scalebox. Do you have a more convenient way in mind? Best wishes, Jeremie