Re: [O] Passing font size to exported LaTeX table

2011-06-12 Thread Suvayu Ali
Hi Nick, On Mon, 13 Jun 2011 01:29:03 -0400 Nick Dokos wrote: > > LaTeX commands limited within the scope of the floating environment. > > > > I'd rewrite this last line slightly - the scope belongs to the > command and the environment withing which the command is placed, > limits the scope

Re: [O] Passing font size to exported LaTeX table

2011-06-12 Thread Nick Dokos
Suvayu Ali wrote: > Hi Nick and Tom, > > On Mon, 13 Jun 2011 00:27:31 -0400 > Nick Dokos wrote: > > > Thomas S. Dye wrote: > > > > > Nick's got a good editorial eye: "compatible options" is probably > > > not correct. In the example on Worg hacks, \footnotesize is not an > > > optional argu

Re: [O] Passing font size to exported LaTeX table

2011-06-12 Thread Suvayu Ali
Hi Nick and Tom, On Mon, 13 Jun 2011 00:27:31 -0400 Nick Dokos wrote: > Thomas S. Dye wrote: > > > Nick's got a good editorial eye: "compatible options" is probably > > not correct. In the example on Worg hacks, \footnotesize is not an > > optional argument to the \table environment, it is a

Re: [O] Passing font size to exported LaTeX table

2011-06-12 Thread Nick Dokos
Thomas S. Dye wrote: > Nick's got a good editorial eye: "compatible options" is probably not > correct. In the example on Worg hacks, \footnotesize is not an optional > argument to the \table environment, it is a LaTeX command whose scope is > determined by the \table environment within which it

Re: [O] Passing font size to exported LaTeX table

2011-06-12 Thread Thomas S. Dye
Nick Dokos writes: > Suvayu Ali wrote: > >> Hello everyone, >> >> On Wed, 1 Jun 2011 12:08:25 -0700 >> Suvayu Ali wrote: >> >> > On Wed, 01 Jun 2011 14:50:34 -0400 >> > Nick Dokos wrote: >> > >> > > I've tried to keep a neutral tone in (most of) the rest of >> > > the mail, but I have to s

Re: [O] Passing font size to exported LaTeX table

2011-06-12 Thread Nick Dokos
Suvayu Ali wrote: > Hi Nick, > > On Sun, 12 Jun 2011 21:52:51 -0400 > Nick Dokos wrote: > > > The question here is: what does "compatible" mean? Compatible with > > what? Now that you added the hack to Worg, it might be better to say: > > > > "One can also take advantage of this option to pa

Re: [O] Passing font size to exported LaTeX table

2011-06-12 Thread Suvayu Ali
Hi Nick, On Sun, 12 Jun 2011 21:52:51 -0400 Nick Dokos wrote: > The question here is: what does "compatible" mean? Compatible with > what? Now that you added the hack to Worg, it might be better to say: > > "One can also take advantage of this option to pass other, unrelated > options into the

Re: [O] Passing font size to exported LaTeX table

2011-06-12 Thread Nick Dokos
Suvayu Ali wrote: > Hello everyone, > > On Wed, 1 Jun 2011 12:08:25 -0700 > Suvayu Ali wrote: > > > On Wed, 01 Jun 2011 14:50:34 -0400 > > Nick Dokos wrote: > > > > > I've tried to keep a neutral tone in (most of) the rest of > > > the mail, but I have to say that I think clever hacks like

Re: [O] Passing font size to exported LaTeX table

2011-06-12 Thread suvayu ali
On Fri, Jun 10, 2011 at 3:31 PM, Suvayu Ali wrote: > >> > They should certainly be documented as hacks on Worg, but I'm not >> > sure they should be documented in the manual. Of course, it may >> > happen that a really good hack (by some definition of "really >> > good") should be elevated to a st

Re: [O] Passing font size to exported LaTeX table

2011-06-10 Thread Suvayu Ali
Hello everyone, On Wed, 1 Jun 2011 12:08:25 -0700 Suvayu Ali wrote: > On Wed, 01 Jun 2011 14:50:34 -0400 > Nick Dokos wrote: > > > I've tried to keep a neutral tone in (most of) the rest of > > the mail, but I have to say that I think clever hacks like this are > > too clever for their own go

Re: [O] Passing font size to exported LaTeX table

2011-06-01 Thread Suvayu Ali
Hi Nick, A very big thank you for that crystal clear code commentary. On Wed, 01 Jun 2011 14:50:34 -0400 Nick Dokos wrote: > I've tried to keep a neutral tone in (most of) the rest of > the mail, but I have to say that I think clever hacks like this are > too clever for their own good - they a

Re: [O] Passing font size to exported LaTeX table

2011-06-01 Thread Nick Dokos
Thomas S. Dye wrote: > Suvayu Ali writes: > > > I am not very familiar with org-latex internals. Based on my limited > > understanding I wrote the attached patch to the org manual. I hope it > > is up to par. > > > > [patch snipped] > > This looks like an improvement to me. I'd be interested

Re: [O] Passing font size to exported LaTeX table

2011-05-28 Thread Suvayu Ali
On Sat, 28 May 2011 11:21:15 -0400 Nick Dokos wrote: > Suvayu Ali wrote: > > > > > If you don't get other comments, I'd encourage you to submit > > > > this as a patch (I think this requires [PATCH] in the subject > > > > line) to see what Carsten and crew have to say about it. > > > > > > > >

Re: [O] Passing font size to exported LaTeX table

2011-05-28 Thread Nick Dokos
Suvayu Ali wrote: > > > If you don't get other comments, I'd encourage you to submit this > > > as a patch (I think this requires [PATCH] in the subject line) to > > > see what Carsten and crew have to say about it. > > > > > =46rom what I understand the patchwork server queues messages based on

Re: [O] Passing font size to exported LaTeX table

2011-05-28 Thread Suvayu Ali
Hi Tom and Seb, On Sat, 28 May 2011 09:17:18 +0200 "Sebastien Vauban" wrote: > > This looks like an improvement to me. > > I think so too. The real test will be, though, the day I will search > for additional info about the tables. And the above text seems neat > to me. > Great! All is in o

Re: [O] Passing font size to exported LaTeX table

2011-05-28 Thread Sebastien Vauban
Hi Thomas and Suvayu, Thomas S. Dye wrote: > Suvayu Ali writes: >> diff --git a/doc/org.texi b/doc/org.texi >> index aa34cd3..5fa1e22 100644 >> --- a/doc/org.texi >> +++ b/doc/org.texi >> @@ -10160,7 +10160,7 @@ All lines between these markers are exported >> literally >> @subsection Tables in

Re: [O] Passing font size to exported LaTeX table

2011-05-27 Thread Thomas S. Dye
Suvayu Ali writes: > Hello Tom, > > On Fri, 27 May 2011 07:37:50 -1000 > t...@tsdye.com (Thomas S. Dye) wrote: > >> Aloha Suvayu, >> >> I think #+ATTR_LaTeX: needs more documentation. I worked very hard to >> read between the lines of the Org-mode manual to arrive at your simple >> solution but

Re: [O] Passing font size to exported LaTeX table

2011-05-27 Thread Suvayu Ali
Hello Tom, On Fri, 27 May 2011 07:37:50 -1000 t...@tsdye.com (Thomas S. Dye) wrote: > Aloha Suvayu, > > I think #+ATTR_LaTeX: needs more documentation. I worked very hard to > read between the lines of the Org-mode manual to arrive at your simple > solution but didn't manage to come close! > >

Re: [O] Passing font size to exported LaTeX table

2011-05-27 Thread Thomas S. Dye
Suvayu Ali writes: > Hello Tom, > > On Fri, 27 May 2011 06:17:04 -1000 > t...@tsdye.com (Thomas S. Dye) wrote: > >> Aloha Suvayu, >> >> Thank you for the link to the Mori article. It is nicely written. >> >> My question was poorly written, though. I'm interested to know where >> you found the

Re: [O] Passing font size to exported LaTeX table

2011-05-27 Thread Suvayu Ali
Hello Tom, On Fri, 27 May 2011 06:17:04 -1000 t...@tsdye.com (Thomas S. Dye) wrote: > Aloha Suvayu, > > Thank you for the link to the Mori article. It is nicely written. > > My question was poorly written, though. I'm interested to know where > you found the Org-mode line: > > #+ATTR_LaTeX:

Re: [O] Passing font size to exported LaTeX table

2011-05-27 Thread Thomas S. Dye
suvayu ali writes: > Hi Tom, > > On Thu, May 26, 2011 at 11:46 PM, Thomas S. Dye wrote: >>> Although this is solved now, I found a very simple solution. >>> >>> e.g. for footnotesize just add the line: >>> >>> #+ATTR_LaTeX: placement=[]\footnotesize >> >> Aloha Suvayu, >> >> And this works, too.

Re: [O] Passing font size to exported LaTeX table

2011-05-27 Thread suvayu ali
Hi Tom, On Thu, May 26, 2011 at 11:46 PM, Thomas S. Dye wrote: >> Although this is solved now, I found a very simple solution. >> >> e.g. for footnotesize just add the line: >> >> #+ATTR_LaTeX: placement=[]\footnotesize > > Aloha Suvayu, > > And this works, too.  Thanks! > > Can I ask where you f

Re: [O] Passing font size to exported LaTeX table

2011-05-26 Thread Thomas S. Dye
suvayu ali writes: > Hello, > > On Wed, May 25, 2011 at 12:22 AM, Thomas S. Dye wrote: >>> #+LaTeX_HEADER: \usepackage{scripttab} >>> >>> * foo >>> >>> What's this? >>> >>> >>> #+tblname: foo >>> #+CAPTION: foo >>> | table | here | >>> |---+--| >>> | table | here | >>> >>> What's this? >

Re: [O] Passing font size to exported LaTeX table

2011-05-26 Thread suvayu ali
Hello, On Wed, May 25, 2011 at 12:22 AM, Thomas S. Dye wrote: >> #+LaTeX_HEADER: \usepackage{scripttab} >> >> * foo >> >> What's this? >> >> >> #+tblname: foo >> #+CAPTION: foo >> | table | here | >> |---+--| >> | table | here | >> >> What's this? >> >> >> I think this works OK. >> >> Nic

Re: [O] Passing font size to exported LaTeX table

2011-05-25 Thread Thomas S. Dye
Nick Dokos writes: > [Fat-fingered it and sent it prematurely - sorry about that] > > Nick Dokos wrote: > >> Nick Dokos wrote: >> >> > Thomas S. Dye wrote: >> > >> > > >> > > This appears to work for tabular environments only. When I add a >> > > caption the table is set normalsize and the

Re: [O] Passing font size to exported LaTeX table

2011-05-24 Thread Nick Dokos
[Fat-fingered it and sent it prematurely - sorry about that] Nick Dokos wrote: > Nick Dokos wrote: > > > Thomas S. Dye wrote: > > > > > > > > This appears to work for tabular environments only. When I add a > > > caption the table is set normalsize and the text following it is set > > > sc

Re: [O] Passing font size to exported LaTeX table

2011-05-24 Thread Nick Dokos
Nick Dokos wrote: > Thomas S. Dye wrote: > > > > > This appears to work for tabular environments only. When I add a > > caption the table is set normalsize and the text following it is set > > scriptsize. Or, am I doing something wrong? > > > > Oy, vey: I don't think you are doing anything

Re: [O] Passing font size to exported LaTeX table

2011-05-24 Thread Nick Dokos
Thomas S. Dye wrote: > > This appears to work for tabular environments only. When I add a > caption the table is set normalsize and the text following it is set > scriptsize. Or, am I doing something wrong? > Oy, vey: I don't think you are doing anything wrong - I get the same thing. Can \sc

Re: [O] Passing font size to exported LaTeX table

2011-05-24 Thread Nick Dokos
John Hendy wrote: > The opening brace on the \scriptsize line confuses the exporter and it > leaves the table alone. Adding a commented-out closing brace unconfuses > it. > > Nick > > Footnotes: > > [fn:1] Maybe I should add it to the FAQ? > > Perhaps -- the t

Re: [O] Passing font size to exported LaTeX table

2011-05-24 Thread Thomas S. Dye
John Hendy writes: > On Tue, May 24, 2011 at 2:25 PM, Nick Dokos wrote: > >> John Hendy wrote: >> >> > On Tue, May 24, 2011 at 11:44 AM, Sebastien Vauban < >> wxhgmqzgw...@spammotel.com> wrote: >> > >> > Hi John, >> > >> > John Hendy wrote: >> > > I can control a table font size dir

Re: [O] Passing font size to exported LaTeX table

2011-05-24 Thread Sebastien Vauban
Hi John and Nick, Nick Dokos wrote: > John Hendy wrote: >> On Tue, May 24, 2011 at 11:44 AM, Sebastien Vauban >> wrote: >> John Hendy wrote: >> > I can control a table font size directly from the .tex file like so: >> > >> > --- >> > \scriptsize{ >> > \begin{center} >>

Re: [O] Passing font size to exported LaTeX table

2011-05-24 Thread John Hendy
On Tue, May 24, 2011 at 2:25 PM, Nick Dokos wrote: > John Hendy wrote: > > > On Tue, May 24, 2011 at 11:44 AM, Sebastien Vauban < > wxhgmqzgw...@spammotel.com> wrote: > > > > Hi John, > > > > John Hendy wrote: > > > I can control a table font size directly from the .tex file like > s

Re: [O] Passing font size to exported LaTeX table

2011-05-24 Thread Nick Dokos
John Hendy wrote: > On Tue, May 24, 2011 at 11:44 AM, Sebastien Vauban > wrote: > > Hi John, > > John Hendy wrote: > > I can control a table font size directly from the .tex file like so: > > > > --- > > \scriptsize{ > > \begin{center} > > \begin{tabular}{ll

Re: [O] Passing font size to exported LaTeX table

2011-05-24 Thread John Hendy
On Tue, May 24, 2011 at 11:44 AM, Sebastien Vauban < wxhgmqzgw...@spammotel.com> wrote: > Hi John, > > John Hendy wrote: > > I can control a table font size directly from the .tex file like so: > > > > --- > > \scriptsize{ > > \begin{center} > > \begin{tabular}{lllrr} > > > > table entries here >

Re: [O] Passing font size to exported LaTeX table

2011-05-24 Thread Sebastien Vauban
Hi John, John Hendy wrote: > I can control a table font size directly from the .tex file like so: > > --- > \scriptsize{ > \begin{center} > \begin{tabular}{lllrr} > > table entries here > > \end{tabular} > \end{center} > } > --- > > Any way to pass this from org-mode? Otherwise, I keep changing th

[O] Passing font size to exported LaTeX table

2011-05-24 Thread John Hendy
Hi, I can control a table font size directly from the .tex file like so: --- \scriptsize{ \begin{center} \begin{tabular}{lllrr} table entries here \end{tabular} \end{center} } --- Any way to pass this from org-mode? Otherwise, I keep changing the org file, exporting, and then having to add th