Re: [O] exporting emphasised text (bold, italics etc.) in ORGTBL

2011-06-28 Thread Bastien
Hi Benjamin,

Benjamin Slade sl...@jnanam.net writes:

 But what I was wondering is this: orgmode generally interprets *word*
 as bolding of word and /word/ as italicising of word. So is there
 a way to make it export *word* as \textbf{word} and /word/ as \textit
 {word}, when using orgtbl.

Not for now, sorry.

-- 
 Bastien



Re: [O] exporting emphasised text (bold, italics etc.) in ORGTBL

2011-06-21 Thread Nick Dokos
Benjamin Slade sl...@jnanam.net wrote:

 When I'm using orgtbl in the midst of a LaTeX document, is there a way to 
 tell it to export *bold*
 as \textbf{bold}, /italics/ as \textit{italics} etc.?

Yes, just like that. For example, the following works fine for me:

--8---cut here---start-8---

* foo

Here's a table:


|   foo | bar |
|---+-|
| 1 |   2 |
| 3 |   4 |
| \textbf{bold} | \textit{italic} |
|   | |
--8---cut here---end---8---


Not sure if you are talking about radio tables in a LaTeX file,
but that too seems to work fine (see appendix A.5.1 of the Org manual
for more details on this:

--8---cut here---start-8---
\documentclass{article}

\begin{document}
Here's a table of stuff:

% BEGIN RECEIVE ORGTBL to-buy
\begin{tabular}{rr}
foo  bar \\
\hline
1  2 \\
3  4 \\
\textbf{bold}  \textit{italic} \\
   \\
\end{tabular}
% END RECEIVE ORGTBL to-buy


%The Org table is inside a LaTeX comment.

% #+ORGTBL: SEND to-buy orgtbl-to-latex
% |   foo | bar |
% |---+-|
% | 1 |   2 |
% | 3 |   4 |
% | \textbf{bold} | \textit{italic} |
% |   | |


\end{document}

%%% Local Variables: 
%%% mode: latex
%%% TeX-master: t
%%% End: 
--8---cut here---end---8---

Nick



Re: [O] exporting emphasised text (bold, italics etc.) in ORGTBL

2011-06-21 Thread Benjamin Slade
Thanks, Nick. Yes, I understand what you're saying.

But what I was wondering is this: orgmode generally interprets *word* as
bolding of word and /word/ as italicising of word. So is there a way to
make it export *word* as \textbf{word} and /word/ as \textit{word}, when
using orgtbl.

cheers,
  --Ben

On 21 June 2011 10:28, Nick Dokos nicholas.do...@hp.com wrote:

 Benjamin Slade sl...@jnanam.net wrote:

  When I'm using orgtbl in the midst of a LaTeX document, is there a way to
 tell it to export *bold*
  as \textbf{bold}, /italics/ as \textit{italics} etc.?

 Yes, just like that. For example, the following works fine for me:

 --8---cut here---start-8---

 * foo

 Here's a table:


 |   foo | bar |
 |---+-|
 | 1 |   2 |
 | 3 |   4 |
 | \textbf{bold} | \textit{italic} |
 |   | |
 --8---cut here---end---8---


 Not sure if you are talking about radio tables in a LaTeX file,
 but that too seems to work fine (see appendix A.5.1 of the Org manual
 for more details on this:

 --8---cut here---start-8---
 \documentclass{article}

 \begin{document}
 Here's a table of stuff:

 % BEGIN RECEIVE ORGTBL to-buy
 \begin{tabular}{rr}
 foo  bar \\
 \hline
 1  2 \\
 3  4 \\
 \textbf{bold}  \textit{italic} \\
\\
 \end{tabular}
 % END RECEIVE ORGTBL to-buy


 %The Org table is inside a LaTeX comment.

 % #+ORGTBL: SEND to-buy orgtbl-to-latex
 % |   foo | bar |
 % |---+-|
 % | 1 |   2 |
 % | 3 |   4 |
 % | \textbf{bold} | \textit{italic} |
 % |   | |


 \end{document}

 %%% Local Variables:
 %%% mode: latex
 %%% TeX-master: t
 %%% End:
 --8---cut here---end---8---

 Nick




-- 
-
Benjamin Slade
Dept. of Linguistics
University of Illinois at Urbana-Champaign
[ http://www.jnanam.net/slade/ ]

Stæfcræft  Vyākaraṇa (lingblog) - http://staefcraeft.blogspot.com
The Babbage Files (techblog) - http://babbagefiles.blogspot.com

-
  *प*रो ऽक्ष॑का*मा* हि *दे*वाः
'The gods love the obscure.' (Śatapathabrāmaṇa 6.1.1.2)


[O] exporting emphasised text (bold, italics etc.) in ORGTBL

2011-06-20 Thread Benjamin Slade
When I'm using orgtbl in the midst of a LaTeX document, is there a way to
tell it to export *bold* as \textbf{bold}, /italics/ as \textit{italics}
etc.?
-- 
-
Benjamin Slade
Dept. of Linguistics
University of Illinois at Urbana-Champaign
[ http://www.jnanam.net/slade/ ]

Stæfcræft  Vyākaraṇa (lingblog) - http://staefcraeft.blogspot.com
The Babbage Files (techblog) - http://babbagefiles.blogspot.com

-
  *प*रो ऽक्ष॑का*मा* हि *दे*वाः
'The gods love the obscure.' (Śatapathabrāmaṇa 6.1.1.2)