Re: [O] [Away message] Re: Passing an image reference to source code block

2016-12-27 Thread shripad sinari
Thanks John, Setting the variable org-latex-prefer-user-labels to "t" solves the issue. Regards, Shripad Tucson, AZ On Tue, Dec 27, 2016 at 11:42 AM, John Kitchin wrote: > Set a variable like org-latex-prefer-user-labels to t. I am away from my > computer to look up

Re: [O] Passing an image reference to source code block

2016-12-27 Thread shripad sinari
8.2.10) \end{document} x-x This code compiles to the desired document. Thanks and regards, Shripad Tucson, AZ On Tue, Dec 27, 2016 at 9:05 AM, John Kitchin <jkitc...@andrew.cmu.edu> wrote: > Can you pass \ref{fig:image} in? I think that is what you woul

[O] Passing an image reference to source code block

2016-12-26 Thread shripad sinari
Hello all, I would like to know if there is a way to pass a reference for a figure to a source block as in the following example: x---x--- * Section name some text #+CAPTION: Fig Caption #+NAME: fig:image [[file:img.jpg]] some reference to figure [[fig:image]] * other section

Re: [O] scaling the text in the results block of some code chunk when exported using LaTeX

2013-04-17 Thread shripad sinari
, Apr 17, 2013 at 5:55 PM, Eric Abrahamsen e...@ericabrahamsen.netwrote: You only sent this to me! :) On 04/18/13 01:24 AM, shripad sinari wrote: Hello all, A quick update. Only the named block solution from Jay Kerns currently works. I have tried out variants of other proposed solutions

Re: [O] scaling the text in the results block of some code chunk when exported using LaTeX

2013-04-17 Thread shripad sinari
at 8:13 PM, John Hendy jw.he...@gmail.com wrote: On Wed, Apr 17, 2013 at 9:46 PM, shripad sinari shripad.sin...@gmail.com wrote: Hello all, A quick update. Only the named block solution from Jay Kerns currently works. I have tried out variants of other proposed solutions here but none

Re: [O] scaling the text in the results block of some code chunk when exported using LaTeX

2013-04-17 Thread shripad sinari
, shripad sinari shripad.sin...@gmail.com wrote: Hello John, I have tried this with text but it does not seem to resize the text. Infact what gets resized is the #+RESULTS: test and the rest of the stuff after that to the #+end_center. It might work for images but does not for text. You must

Re: [O] scaling the text in the results block of some code chunk when exported using LaTeX

2013-04-17 Thread shripad sinari
Hello John, I think I figured out what the issue is. Whenever I have the code chunks outside a headline for example: ### This does not work ### #+TITLE: *scratch* #+AUTHOR:Shripad Sinari #+DATE: 2013-04-17 Wed #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+OPTIONS: H:6 num:t toc:t

Re: [O] scaling the text in the results block of some code chunk when exported using LaTeX

2013-04-17 Thread shripad sinari
Thanks John, But I have corrected the width attribute to the correct \tiny in my latest file. It was a bit too fast copy and paste error. Regards, Shripad Tucson, AZ On Wed, Apr 17, 2013 at 9:18 PM, John Hendy jw.he...@gmail.com wrote: On Wed, Apr 17, 2013 at 10:57 PM, shripad sinari

Re: [O] scaling the text in the results block of some code chunk when exported using LaTeX

2013-04-17 Thread shripad sinari
#+END_LaTeX #+END_CENTER Best regards, John On Wed, Apr 17, 2013 at 11:20 PM, shripad sinari shripad.sin...@gmail.com wrote: Thanks John, But I have corrected the width attribute to the correct \tiny in my latest file. It was a bit too fast copy and paste error. Regards, Shripad Tucson

Re: [O] Include today's date in title?

2013-03-20 Thread shripad sinari
This seems to work for me: #+DATE: %Y-%m-%d Shripad Tucson, AZ On Wed, Mar 20, 2013 at 7:21 AM, Bastien b...@altern.org wrote: Hi Eric, Eric S Fraga e.fr...@ucl.ac.uk writes: This appears to work: #+TITLE: The title {{{modification-time(%Y-%m-%d)}}} Look in the info manual,

[O] scaling the text in the results block of some code chunk when exported using LaTeX

2013-03-18 Thread shripad sinari
Hello all, Is there a way to scale the text in the latex export of a results block produced by a code chunk? Here is the code chunk i am trying to evaluate and export: #+BEGIN_SRC R :session :exports results :results output org replace :tangle yes print(list.files(recursive = T, pattern =

Re: [O] scaling the text in the results block of some code chunk when exported using LaTeX

2013-03-18 Thread shripad sinari
Thanks you all for the suggestions! Let me try out the suggestions and I will report back on what worked. Thanks again! Shripad. Shripad Tucson, AZ On Mon, Mar 18, 2013 at 6:07 PM, Thomas S. Dye t...@tsdye.com wrote: Jay Kerns gjkerns...@gmail.com writes: I don't know of a way to scale

Re: [O] Syntax of Org Babel :results header argument

2013-03-15 Thread shripad sinari
I think Sebastian's suggestions are very nice and would be very helpful. Shripad Tucson, AZ On Fri, Mar 15, 2013 at 4:41 AM, Eric S Fraga e.fr...@ucl.ac.uk wrote: Sebastien Vauban wxhgmqzgw...@spammotel.com writes: Hello, As there was no reaction to this, I'd like to bump it up. At

Re: [O] Fwd: request regarding code chunk options in org-babel.

2013-03-14 Thread shripad sinari
Thanks Eric! Shripad Tucson, AZ On Thu, Mar 14, 2013 at 12:57 PM, Eric Schulte schulte.e...@gmail.comwrote: shripad sinari shripad.sin...@gmail.com writes: Hello Eric, The posted solution works. But the issue is that I have to do this a lot of times for selective code chunks

[O] Fwd: request regarding code chunk options in org-babel.

2013-03-13 Thread shripad sinari
Hello all, I have been using org-mode and particularly org-babel for reproducible research. From reading most of the code chunk options in the org manual it seems that the follwoing table would be how one would expect output in various formats to behave: | :results value | :exports value | In

Re: [O] Fwd: request regarding code chunk options in org-babel.

2013-03-13 Thread shripad sinari
, Shripad. Shripad Tucson, AZ On Wed, Mar 13, 2013 at 8:08 AM, Eric Schulte schulte.e...@gmail.comwrote: shripad sinari shripad.sin...@gmail.com writes: Hello all, I have been using org-mode and particularly org-babel for reproducible research. From reading most of the code chunk options