From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xebar Saram Subject: Re: trying to write a guidebook for students using org , need help with formating Date: Wed, 23 Oct 2013 08:11:49 +0200 Message-ID: References: <20131022093943.GX6656@kuru.dyndns-at-home.com> <87iowokdi5.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8fb1fde68aa12804e9626428 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35352) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYrfc-0001fL-E1 for emacs-orgmode@gnu.org; Wed, 23 Oct 2013 02:11:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VYrfa-0008Mm-SO for emacs-orgmode@gnu.org; Wed, 23 Oct 2013 02:11:52 -0400 Received: from mail-oa0-x22d.google.com ([2607:f8b0:4003:c02::22d]:58671) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYrfa-0008Mf-KQ for emacs-orgmode@gnu.org; Wed, 23 Oct 2013 02:11:50 -0400 Received: by mail-oa0-f45.google.com with SMTP id i4so358263oah.4 for ; Tue, 22 Oct 2013 23:11:49 -0700 (PDT) In-Reply-To: <87iowokdi5.fsf@ericabrahamsen.net> 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: org mode --e89a8fb1fde68aa12804e9626428 Content-Type: text/plain; charset=ISO-8859-1 Thank you Eric and Rick! Eric: The #+OPTIONS: \n:nil didn't do much here even using the default templates for export as suggested Rick: i think i can live with the #+BEGIN_EXAMPLE blocks , is there a way to define wrapping text in the block? as you said using the block currently cuts off text towards the lines end Appreciate all the help from everyone. thanks alot! z. On Wed, Oct 23, 2013 at 4:00 AM, Eric Abrahamsen wrote: > > Xebar Saram writes: > > > Thank you all > > > > "I think `org-export-preserve-breaks' is the option you want. Try > > setting it in a single buffer with #+OPTIONS:\n:nil and see what > > happens..." > > > > that sounds interesting, but i couldn't understand how to use it > > (again im still an org novice:) ) > > do i stick this line at the start: > > #+OPTIONS:\n:nil > > > > is that ^^ syntax correct? > > Nearly correct -- we're the victim of unfortunate line wrapping. It > should look like: > > #+OPTIONS: \n:nil > > Ie, with an extra space. If you're a novice, as you say, you might like > to see the default options template for exporting. In your org buffer, > hit "C-c C-e" to get to the export dispatcher, then hit "#" for template > insertion, then pick "default". It will be a lot easier to see and edit > existing options than type them all in by hand. > > Yours, > Eric > > > > On Tue, Oct 22, 2013 at 12:39 PM, Suvayu Ali < > > fatkasuvayu+linux@gmail.com> wrote: > > > > On Tue, Oct 22, 2013 at 09:55:12AM +0200, Xebar Saram wrote: > > > > > > I'm trying to write a simple guidebook for my students in a GIS > > course. > > > Everything works great apart for the life of me i cant get the > > hang of > > > formatting and specifically how to insert (automatically?) line > > breaks so > > > that its discrete lines and not a paragraph. i think one can > > use '\\' to > > > indicate a line break but since its a guidebook "form" there > > are almost no > > > paragraphs and most line are 1 liners, so it seems to me crazy > > to go over > > > hundred lines of text and attach a \\ at the end. What am i > > missing here? > > > > > > i hope i made sense :) any help or documentation links would be > > really > > > appreciated! > > > > > > I'm attaching a short example of my org file, note that where i > > want single > > > lines i add a empty space between lines but still in the > > exporter it > > > creates a paragraph out of these lines > > > > > > > I think you are better off trying to do this with a specialised > > LaTeX > > class. A quick search led me to this TeX.SX question: > > . You could also try using > > lists, > > just disable the bullets with an option in an #+attr_latex line. > > > > > > GL, > > > > -- > > Suvayu > > > > Open source is the future. It sets us free. > > > > --e89a8fb1fde68aa12804e9626428 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Thank you Eric and Rick!

Eric:
The #+OPTIONS: \n= :nil didn't do much here even using the default templates for export as= suggested

Rick:
i think i can live with the =A0#+BEGIN_EXAMPLE b= locks , is there a way to define wrapping text in the block? as you said us= ing the block currently cuts off text towards the lines end

Appreciate all the help from everyone. thanks alot!

z.

On Wed, Oct 23, 2013 at 4:00 AM, Eric Abrahamsen <eric@ericabrahamsen.net> wrote:
>
> Xebar Saram <zeltakc@gmail.com= > writes:
>
> > Thank you all
> >
> &g= t; "I think `org-export-preserve-breaks' is the option you want. T= ry
> > setting it in a single buffer with #+OPTIONS:\n:nil and see what<= br>> > happens..."
> >
> > that sounds interes= ting, but i couldn't understand how to use it
> > (again im st= ill an org novice:) )
> > do i stick this line at the start:
> > #+OPTIONS:\n:nil<= br>> >
> > is that ^^ syntax correct?
>
> Nearly= correct -- we're the victim of unfortunate line wrapping. It
> s= hould look like:
>
> #+OPTIONS: \n:nil
>
> Ie, with an extra space. If = you're a novice, as you say, you might like
> to see the default = options template for exporting. In your org buffer,
> hit "C-c C= -e" to get to the export dispatcher, then hit "#" for templa= te
> insertion, then pick "default". It will be a lot easier to s= ee and edit
> existing options than type them all in by hand.
>=
> Yours,
> Eric
>
>
> > On Tue, Oct 22, 2= 013 at 12:39 PM, Suvayu Ali <
> > fatkasuvayu+linu= x@gmail.com> wrote:
> >
> > =A0 =A0 On Tue, Oct 22= , 2013 at 09:55:12AM +0200, Xebar Saram wrote:
> > =A0 =A0 >> > =A0 =A0 > I'm trying to write a simple guidebook for my s= tudents in a GIS
> > =A0 =A0 course.
> > =A0 =A0 > Everything works great = apart for the life of me i cant get the
> > =A0 =A0 hang of
>= ; > =A0 =A0 > formatting and specifically how to insert (automaticall= y?) line
> > =A0 =A0 breaks so
> > =A0 =A0 > that its discrete lin= es and not a paragraph. i think one can
> > =A0 =A0 use '\\= 9; to
> > =A0 =A0 > indicate a line break but since its a guide= book "form" there
> > =A0 =A0 are almost no
> > =A0 =A0 > paragraphs and mo= st line are 1 liners, so it seems to me crazy
> > =A0 =A0 to go ov= er
> > =A0 =A0 > hundred lines of text and attach a \\ at the e= nd. What am i
> > =A0 =A0 missing here?
> > =A0 =A0 >
> > =A0 = =A0 > i hope i made sense :) any help or documentation links would be> > =A0 =A0 really
> > =A0 =A0 > appreciated!
> &g= t; =A0 =A0 >
> > =A0 =A0 > I'm attaching a short example= of my org file, note that where i
> > =A0 =A0 want single
> > =A0 =A0 > lines i add a empty= space between lines but still in the
> > =A0 =A0 exporter it
&= gt; > =A0 =A0 > creates a paragraph out of these lines
> > = =A0 =A0 >
> >
> > =A0 =A0 I think you are better off trying to do this with a speci= alised
> > =A0 =A0 LaTeX
> > =A0 =A0 class. =A0A quick se= arch led me to this TeX.SX question:
> > =A0 =A0 <http://tex.stackexchange.com/q/3852&= gt;. =A0You could also try using
> > =A0 =A0 lists,
> > =A0 =A0 just disable the bullets with= an option in an #+attr_latex line.
> >
> >
> > = =A0 =A0 GL,
> >
> > =A0 =A0 --
> > =A0 =A0 Suvay= u
> >
> > =A0 =A0 Open source is the future. It sets us free.
> ><= br>>
>
--e89a8fb1fde68aa12804e9626428--