From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?iso-8859-1?B?VmluY2VudCBCZWxh72NoZQ==?= Subject: RE: Re: Verbatim export Date: Fri, 9 Jul 2010 20:48:08 +0200 Message-ID: References: <80zky1n7o0.fsf@gmail.com> <87d3uxiu2k.fsf@gollum.intra.norang.ca>, , <87aaq0ajdm.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0887745236==" Return-path: Received: from [140.186.70.92] (port=48728 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OXIcN-0002hW-Aj for emacs-orgmode@gnu.org; Fri, 09 Jul 2010 14:48:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OXIcL-0003UV-MW for emacs-orgmode@gnu.org; Fri, 09 Jul 2010 14:48:11 -0400 Received: from blu0-omc2-s5.blu0.hotmail.com ([65.55.111.80]:15520) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OXIcL-0003UQ-Jq for emacs-orgmode@gnu.org; Fri, 09 Jul 2010 14:48:09 -0400 In-Reply-To: <87aaq0ajdm.fsf@gollum.intra.norang.ca> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: bernt@norang.ca Cc: emacs-orgmode@gnu.org --===============0887745236== Content-Type: multipart/alternative; boundary="_e434d3db-cebf-481f-a621-8865ac89f657_" --_e434d3db-cebf-481f-a621-8865ac89f657_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thanks for the feedback. BR=2C Vincent. > To: vincent.b.1@hotmail.fr > Subject: Re: [Orgmode] Re: Verbatim export > From: bernt@norang.ca > Date: Fri=2C 9 Jul 2010 09:13:09 -0400 > CC: emacs-orgmode@gnu.org >=20 > Vincent Bela=EFche writes: >=20 > > [...] > > > >> > >> > >> #+begin_example > >> - this - > >> #+end_example > >> > >> : - this one too > >> : - and that one - > >> > >> > > > > Thank you for your quick reply=2C this is not exactly what I was lookin= g > > for. What you propose will encapsulate all the text into a > >
 
block. This means that the font and > > background color are changed. I would not like this to happen=2C just t= he > > characters to lose their special meaning. > > > > Probably my initial email was confusing because I used the term > > "verbatim" which in LaTeX changes the font. What I am looking for is to > > make some text to be interpreted litterally=2C without having all the > > surrounding formatters to be overloaded. > > > > The dash is not a very good example because most of the time the > > solution is just not to place any dash at the beginning of a line. > > However I had the following issue: I wanted to quote some text (so usin= g > > #+begin/end_quote)=2C and this text was beginning with a dash=2C then I > > didn't know how to escape the dash. > > > > The issue which I meet more often is when there are some `[0]' which I > > don't want to be interpreted as footnotes=2C so I was proposing some > > general solution like > > > > \verbatim{EOF}In reference [0] EOF. > > > > Another solution would be to have a \relax{} macro=2C then the followin= g > > would also work > > > > In reference [\relax{}0] > > > > \relax would also make it for like for dashes: > > > > #+begin_quote > > \relax{}- this dash is not a bullet mark > > #+end_quote > > > > Well=2C there are several ways to solve the issue. I am not sure which = is > > better. >=20 > The only other thing that works today that I'm aware of is you surround > your text with equal signs as in =3D[0]=3D but this also probably doesn't= do > exactly what you want for both LaTeX and HTML export. This uses \texttt > in LaTeX and ... in HTML. >=20 > In HTML you're free to defined CSS for the block but you won't > end up with a verbatim block in LaTeX. I proposed the two previous > examples because preceeding the text with ': ' creates > a \begin{verbatim} block in LaTeX. >=20 > If you document is targeted only for LaTeX export then you can use LaTeX > macros directly in the source. >=20 > Regards=2C > Bernt >=20 > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode =20 _________________________________________________________________ D=E9couvrez Microsoft Security Essentials=2C l'antivirus gratuit par Micros= oft http://clk.atdmt.com/FRM/go/212688364/direct/01/= --_e434d3db-cebf-481f-a621-8865ac89f657_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thanks for the feedback.

BR=2C

 =3B Vincent.

>= =3B To: vincent.b.1@hotmail.fr
>=3B Subject: Re: [Orgmode] Re: Verbati= m export
>=3B From: bernt@norang.ca
>=3B Date: Fri=2C 9 Jul 2010 = 09:13:09 -0400
>=3B CC: emacs-orgmode@gnu.org
>=3B
>=3B Vin= cent Bela=EFche <=3Bvincent.b.1@hotmail.fr>=3B writes:
>=3B
&g= t=3B >=3B [...]
>=3B >=3B
>=3B >=3B>=3B
>=3B >=3B&= gt=3B
>=3B >=3B>=3B #+begin_example
>=3B >=3B>=3B - this = -
>=3B >=3B>=3B #+end_example
>=3B >=3B>=3B
>=3B >= =3B>=3B : - this one too
>=3B >=3B>=3B : - and that one -
>= =3B >=3B>=3B
>=3B >=3B>=3B
>=3B >=3B
>=3B >=3B T= hank you for your quick reply=2C this is not exactly what I was looking
= >=3B >=3B for. What you propose will encapsulate all the text into a>=3B >=3B <=3Bpre class=3D"example" >=3B <=3B/pre>=3B block. T= his means that the font and
>=3B >=3B background color are changed. = I would not like this to happen=2C just the
>=3B >=3B characters to = lose their special meaning.
>=3B >=3B
>=3B >=3B Probably my i= nitial email was confusing because I used the term
>=3B >=3B "verbat= im" which in LaTeX changes the font. What I am looking for is to
>=3B = >=3B make some text to be interpreted litterally=2C without having all th= e
>=3B >=3B surrounding formatters to be overloaded.
>=3B >= =3B
>=3B >=3B The dash is not a very good example because most of th= e time the
>=3B >=3B solution is just not to place any dash at the b= eginning of a line.
>=3B >=3B However I had the following issue: I w= anted to quote some text (so using
>=3B >=3B #+begin/end_quote)=2C a= nd this text was beginning with a dash=2C then I
>=3B >=3B didn't kn= ow how to escape the dash.
>=3B >=3B
>=3B >=3B The issue whic= h I meet more often is when there are some `[0]' which I
>=3B >=3B d= on't want to be interpreted as footnotes=2C so I was proposing some
>= =3B >=3B general solution like
>=3B >=3B
>=3B >=3B \verbati= m{EOF}In reference [0] EOF.
>=3B >=3B
>=3B >=3B Another solut= ion would be to have a \relax{} macro=2C then the following
>=3B >= =3B would also work
>=3B >=3B
>=3B >=3B In reference [\relax{= }0]
>=3B >=3B
>=3B >=3B \relax would also make it for like fo= r dashes:
>=3B >=3B
>=3B >=3B #+begin_quote
>=3B >=3B = \relax{}- this dash is not a bullet mark
>=3B >=3B #+end_quote
&g= t=3B >=3B
>=3B >=3B Well=2C there are several ways to solve the is= sue. I am not sure which is
>=3B >=3B better.
>=3B
>=3B T= he only other thing that works today that I'm aware of is you surround
&= gt=3B your text with equal signs as in =3D[0]=3D but this also probably doe= sn't do
>=3B exactly what you want for both LaTeX and HTML export. Th= is uses \texttt
>=3B in LaTeX and <=3Bcode>=3B...<=3B/code>=3B= in HTML.
>=3B
>=3B In HTML you're free to defined CSS for the &= lt=3Bcode>=3B block but you won't
>=3B end up with a verbatim block = in LaTeX. I proposed the two previous
>=3B examples because preceedin= g the text with ': ' creates
>=3B a \begin{verbatim} block in LaTeX.>=3B
>=3B If you document is targeted only for LaTeX export then = you can use LaTeX
>=3B macros directly in the source.
>=3B
&g= t=3B Regards=2C
>=3B Bernt
>=3B
>=3B ______________________= _________________________
>=3B Emacs-orgmode mailing list
>=3B Pl= ease use `Reply All' to send replies to the list.
>=3B Emacs-orgmode@g= nu.org
>=3B http://lists.gnu.org/mailman/listinfo/emacs-orgmode
=

Surfez en toute confiance avec IE8=2C le navigateur = le plus utilis=E9 au monde ! = --_e434d3db-cebf-481f-a621-8865ac89f657_-- --===============0887745236== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0887745236==--