From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Slade Subject: exporting emphasised text (bold, italics etc.) in ORGTBL Date: Mon, 20 Jun 2011 10:12:58 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=000e0cdf8c9ae659bf04a6262cd9 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:59383) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QYgAH-0005fD-EE for emacs-orgmode@gnu.org; Mon, 20 Jun 2011 11:13:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QYgAE-0002tE-Jj for emacs-orgmode@gnu.org; Mon, 20 Jun 2011 11:13:25 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:37388) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QYgAE-0002t5-5Q for emacs-orgmode@gnu.org; Mon, 20 Jun 2011 11:13:22 -0400 Received: by wwf22 with SMTP id 22so1565445wwf.30 for ; Mon, 20 Jun 2011 08:13:20 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --000e0cdf8c9ae659bf04a6262cd9 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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.? --=20 ---------------------------------------------------------------------------= -------------------------- Benjamin Slade Dept. of Linguistics University of Illinois at Urbana-Champaign [ http://www.jnanam.net/slade/ ] St=C3=A6fcr=C3=A6ft & Vy=C4=81kara=E1=B9=87a (lingblog) - http://staefcraef= t.blogspot.com The Babbage Files (techblog) - http://babbagefiles.blogspot.com ---------------------------------------------------------------------------= -------------------------- *=E0=A4=AA*=E0=A4=B0=E0=A5=8B =E0=A4=BD=E0=A4=95=E0=A5=8D=E0=A4=B7=E0=A5= =91=E0=A4=95=E0=A4=BE*=E0=A4=AE=E0=A4=BE* =E0=A4=B9=E0=A4=BF *=E0=A4=A6=E0= =A5=87*=E0=A4=B5=E0=A4=BE=E0=A4=83 'The gods love the obscure.' (=C5=9Aatapathabr=C4=81ma=E1=B9=87a 6.1.1.= 2) --000e0cdf8c9ae659bf04a6262cd9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
[ http://www.jna= nam.net/slade/ ]=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0
=C2=A0=C2=A0
St=C3=A6fcr=C3=A6ft & Vy=C4=81kara=E1=B9=87a (lingblog) - http://staefcraeft.blogsp= ot.com
The Babbage Files (techblog) - http://babbagefiles.blogspot.com

---------------------------------------------------------------------------= --------------------------
=C2=A0 =E0=A4=AA=E0=A4=B0=E0=A5=8B =E0=A4=BD=E0=A4=95=E0=A5=8D=E0=A4= =B7=E0=A5=91=E0=A4=95=E0=A4=BE=E0=A4=AE=E0=A4=BE =E0=A4=B9=E0=A4=BF = =E0=A4=A6=E0=A5=87=E0=A4=B5=E0=A4=BE=E0=A4=83
=C2=A0 =C2=A0 'The gods love the obscure.' (=C5=9Aatapathabr=C4=81m= a=E1=B9=87a 6.1.1.2)
--000e0cdf8c9ae659bf04a6262cd9-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: exporting emphasised text (bold, italics etc.) in ORGTBL Date: Tue, 21 Jun 2011 11:28:09 -0400 Message-ID: <5026.1308670089@alphaville.dokosmarshall.org> References: Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([140.186.70.92]:48012) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZ2sX-0004zj-5t for emacs-orgmode@gnu.org; Tue, 21 Jun 2011 11:28:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZ2sT-0006sq-8s for emacs-orgmode@gnu.org; Tue, 21 Jun 2011 11:28:36 -0400 Received: from vms173019pub.verizon.net ([206.46.173.19]:50363) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZ2sS-0006sj-VK for emacs-orgmode@gnu.org; Tue, 21 Jun 2011 11:28:33 -0400 Received: from alphaville.dokosmarshall.org ([unknown] [173.76.32.106]) by vms173019.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LN500DNZCAX2V20@vms173019.mailsrvcs.net> for emacs-orgmode@gnu.org; Tue, 21 Jun 2011 10:28:15 -0500 (CDT) In-reply-to: Message from Benjamin Slade of "Mon, 20 Jun 2011 10:12:58 CDT." List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Benjamin Slade Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org Benjamin Slade 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Slade Subject: Re: exporting emphasised text (bold, italics etc.) in ORGTBL Date: Tue, 21 Jun 2011 10:51:18 -0500 Message-ID: References: <5026.1308670089@alphaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0016e6dd96c7c5645704a63ad351 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:60150) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZ3Et-0002ex-Jr for emacs-orgmode@gnu.org; Tue, 21 Jun 2011 11:51:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZ3Er-00037r-JB for emacs-orgmode@gnu.org; Tue, 21 Jun 2011 11:51:43 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:56041) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZ3Er-00037b-2X for emacs-orgmode@gnu.org; Tue, 21 Jun 2011 11:51:41 -0400 Received: by wwf22 with SMTP id 22so2517920wwf.30 for ; Tue, 21 Jun 2011 08:51:39 -0700 (PDT) In-Reply-To: <5026.1308670089@alphaville.dokosmarshall.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org --0016e6dd96c7c5645704a63ad351 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 wrote: > Benjamin Slade 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 > --=20 ---------------------------------------------------------------------------= -------------------------- Benjamin Slade Dept. of Linguistics University of Illinois at Urbana-Champaign [ http://www.jnanam.net/slade/ ] St=C3=A6fcr=C3=A6ft & Vy=C4=81kara=E1=B9=87a (lingblog) - http://staefcraef= t.blogspot.com The Babbage Files (techblog) - http://babbagefiles.blogspot.com ---------------------------------------------------------------------------= -------------------------- *=E0=A4=AA*=E0=A4=B0=E0=A5=8B =E0=A4=BD=E0=A4=95=E0=A5=8D=E0=A4=B7=E0=A5= =91=E0=A4=95=E0=A4=BE*=E0=A4=AE=E0=A4=BE* =E0=A4=B9=E0=A4=BF *=E0=A4=A6=E0= =A5=87*=E0=A4=B5=E0=A4=BE=E0=A4=83 'The gods love the obscure.' (=C5=9Aatapathabr=C4=81ma=E1=B9=87a 6.1.1.= 2) --0016e6dd96c7c5645704a63ad351 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks, Nick. Yes, I understand what you're saying.

But what I = was wondering is this: orgmode generally interprets *word* as bolding of &q= uot;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,
=C2=A0 --Ben

On 21 June 20= 11 10:28, Nick Dokos <nicholas.dokos@hp.com> wrote:
Benjamin Slade <sl= ade@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:


| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 foo | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 bar |
|---------------+-----------------|
| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 1 | =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 2 |
| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 3 | =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 4 |
| \textbf{bold} | \textit{italic} |
| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |
--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} \\
=C2=A0& =C2=A0\\
\end{tabular}
% END RECEIVE ORGTBL to-buy


%The Org table is inside a LaTeX comment.

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


\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=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
[ http://www.jna= nam.net/slade/ ]=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0
=C2=A0=C2=A0
St=C3=A6fcr=C3=A6ft & Vy=C4=81kara=E1=B9=87a (lingblog) - http://staefcraeft.blogsp= ot.com
The Babbage Files (techblog) - http://babbagefiles.blogspot.com

---------------------------------------------------------------------------= --------------------------
=C2=A0 =E0=A4=AA=E0=A4=B0=E0=A5=8B =E0=A4=BD=E0=A4=95=E0=A5=8D=E0=A4= =B7=E0=A5=91=E0=A4=95=E0=A4=BE=E0=A4=AE=E0=A4=BE =E0=A4=B9=E0=A4=BF = =E0=A4=A6=E0=A5=87=E0=A4=B5=E0=A4=BE=E0=A4=83
=C2=A0 =C2=A0 'The gods love the obscure.' (=C5=9Aatapathabr=C4=81m= a=E1=B9=87a 6.1.1.2)
--0016e6dd96c7c5645704a63ad351-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: exporting emphasised text (bold, italics etc.) in ORGTBL Date: Tue, 28 Jun 2011 19:15:17 +0200 Message-ID: <871uyd7u8q.fsf@gnu.org> References: <5026.1308670089@alphaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:35931) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qbc9Y-0005H7-LD for emacs-orgmode@gnu.org; Tue, 28 Jun 2011 13:32:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qbc9V-0001RR-O7 for emacs-orgmode@gnu.org; Tue, 28 Jun 2011 13:32:48 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:65126) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qbc9V-0001R6-9r for emacs-orgmode@gnu.org; Tue, 28 Jun 2011 13:32:45 -0400 Received: by wyg36 with SMTP id 36so389429wyg.0 for ; Tue, 28 Jun 2011 10:32:44 -0700 (PDT) In-Reply-To: (Benjamin Slade's message of "Tue, 21 Jun 2011 10:51:18 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Benjamin Slade Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org Hi Benjamin, Benjamin Slade 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