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 the actual name but it is s

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

2016-12-27 Thread shripad sinari
.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 wrote: > Can you pass \ref{fig:image} in? I think that is what you would do in > Latex. > > > O

[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 refere

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

2013-04-17 Thread shripad sinari
local" "m.org" "org" > [16] "org.ics" "orgmode-accessories" "projects" > [19] "t2.html" "t2.org" "t2.pdf" > [22] "t2.tex"

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 wrote: > On Wed, Apr 17, 2013 at 10:57 PM, shripad sinari > wrote: > >

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
Hello John, I am able to get your test.org to do size change but not my test file. Please find it attached herewith. I am sure it is setup issue now. Thanks, Shripad. Shripad Tucson, AZ On Wed, Apr 17, 2013 at 8:53 PM, John Hendy wrote: > On Wed, Apr 17, 2013 at 10:43 PM, shripad sin

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

2013-04-17 Thread shripad sinari
r 17, 2013 at 8:13 PM, John Hendy wrote: > On Wed, Apr 17, 2013 at 9:46 PM, 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 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
, Apr 17, 2013 at 5:55 PM, Eric Abrahamsen wrote: > 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

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 wrote: > Hi Eric, > > Eric S Fraga writes: > > > This appears to work: > > > > #+TITLE: The title {{{modification-time(%Y-%m-%d)}}} > > > > Look in the info manual, (org) Macro replacem

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 wrote: > Jay Kerns writes: > > > I don't know of a way to scale /within/ the code block, but does

[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 = "*.xl

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 wrote: > Sebastien Vauban writes: > > > Hello, > > > > As there was no reaction to this, I'd like to bump it up. At least, to > either > > have a discussio

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 wrote: > shripad sinari 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 in multiple

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

2013-03-13 Thread shripad sinari
ce and help. Regards, Shripad. Shripad Tucson, AZ On Wed, Mar 13, 2013 at 8:08 AM, Eric Schulte wrote: > shripad sinari writes: > > > Hello all, > > I have been using org-mode and particularly org-babel for reproducible > > research. From reading most of the code chunk

[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 Bu