emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] trying to write a guidebook for students using org , need help w


From: Eric Abrahamsen
Subject: Re: [O] trying to write a guidebook for students using org , need help with formating
Date: Wed, 23 Oct 2013 21:41:10 +0800
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux)

Xebar Saram <address@hidden> writes:

> Thx again Eric
>
> i actually like using the example block but as you mentioned i think
> the text is cut at the end when you export it , is there anyway to
> make the exporter auto wrap lines inside example blocks?

I don't think it's cut, is it? I just tried with your example and long
lines are preserved as-is (ie, quite long).

What would you like it to look like, in the end?

E

> On Wed, Oct 23, 2013 at 11:56 AM, Eric Abrahamsen <
> address@hidden> wrote:
>
>     Xebar Saram <address@hidden> writes:
>    
>     > Thank you Eric and Rick!
>     >
>     > Eric:
>     > The #+OPTIONS: \n:nil didn't do much here even using the
>     default
>     > templates for export as suggested
>    
>     Sorry! Got it backwards -- it's meant to be \n:t
>    
>     But still, other responders are probably right that what you want
>     is
>     actually a different kind of text type: a list or an example
>     block.
>    
>     E
>    
>     > 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 <
>     > address@hidden> wrote:
>     >>
>     >> Xebar Saram <address@hidden> 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 <
>     >> > address@hidden> 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:
>     >> >     <http://tex.stackexchange.com/q/3852>.  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.
>     >> >
>     >>
>     >>
>    
>    




reply via email to

[Prev in Thread] Current Thread [Next in Thread]