emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* trying to write a guidebook for students using org , need help with formating
@ 2013-10-22  7:55 Xebar Saram
  2013-10-22  8:16 ` Glyn Millington
                   ` (3 more replies)
  0 siblings, 4 replies; 19+ messages in thread
From: Xebar Saram @ 2013-10-22  7:55 UTC (permalink / raw)
  To: org mode


[-- Attachment #1.1: Type: text/plain, Size: 957 bytes --]

Hi all

i decided to dive into the deep water and get rid of M$ word once and for
all. I'm still an org novice but since i love org i choose org for the task.

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

thx alot

Z.

[-- Attachment #1.2: Type: text/html, Size: 1159 bytes --]

[-- Attachment #2: ex_l1.1.org --]
[-- Type: application/octet-stream, Size: 2580 bytes --]

#+AUTHOR: Dr. Itai Kloog
#+TITLE:  Lesson 1
#+DATE:  
#+EMAIL:  ikloog@bgu.ac.il
#+OPTIONS: H:4
# latex options
#+LATEX_HEADER: \renewcommand{\rmdefault}{phv} % Arial
#+LATEX_HEADER: \usepackage{hyperref}
#+LATEX_HEADER: \hypersetup{
#+LATEX_HEADER:     colorlinks,%
#+LATEX_HEADER:     citecolor=black,%
#+LATEX_HEADER:     filecolor=black,%
#+LATEX_HEADER:     linkcolor=blue,%
#+LATEX_HEADER:     urlcolor=black
#+LATEX_HEADER: }


* Quick basics refresh 
** Import XY data 

-In this exercise you will learn how to map features (e.g. met stations) using their X and Y coordinates.\\

Open a new project

add a the New-England map from:

PATH/NEMIA

Select the met XY table from:

PATH/metfullgrid.dbf

and import by using "Add Data" icon

(Note: Two basic formats are recognized by ArcMap - *.txt and *.dbf, but regular excel files also work).\\
If a file you want to import is created in MS Excel, you will need to export it to one of the above formats. In doing so, you will have to redefine column headings in Excel as "Text" and any other rows as either text (e.g. towns' names) or numbers; note that no empty rows before column headings are allowed. If you cannot find any suitable table with X,Y coordinates to import – create such a table yourself in Excel);\\

Right click on the table name in the TOC panel – "Table of Contents" and then chose "Display XY data";
Define the X,Y coordinate and data (Z) fields;
Click "Edit" to define the coordinate system (use WGS84);
Click "OK";
Right click on the "event" layer newly created, go to "data"->"export data", specify a location and give the layer a name [remember: events are a temporary layer, unless you save it as a shape file, it will disappear and you will not be able to use it next time]; add it a s new layer to your project, when asked.

** Adding distances to features by using spatial joins
Open a new project and add two layers to it (one point and one polygon) 
you can find layers under the ArcTutor folder or use the previous point data (met) and a hydrology layer:

PATH/hydro

Right-click the point layer, point to "Joins and Relates," and click "Join" then select "Join data from another layer based on spatial location";
Choose the hydro as the layer you want to join attribute to;
Choose the second join option (“each point will be given…);
Type the name of the output file;
Click "OK";
Open the attribute table of the newly created file and see the distance column added;
Repeat this exercise using different layers, to practice.



^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: trying to write a guidebook for students using org , need help with formating
  2013-10-22  7:55 trying to write a guidebook for students using org , need help with formating Xebar Saram
@ 2013-10-22  8:16 ` Glyn Millington
  2013-10-22  8:25 ` Eric Abrahamsen
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 19+ messages in thread
From: Glyn Millington @ 2013-10-22  8:16 UTC (permalink / raw)
  To: emacs-orgmode

Xebar Saram <zeltakc@gmail.com> writes:

> Hi all
>
> i decided to dive into the deep water and get rid of M$ word once and
> for all. I'm still an org novice but since i love org i choose org for
> the task.
>
> 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?


Hi there,

My quick fix for this was to save a macro and then bind it to a key. From
init.el


;;;; Saved macros
;; Saved macro - adds latex end-lines to verse passages
(fset 'versify
      [?\C-a ?\C-e ?\\ ?\\ down])

(global-set-key (kbd "s-v") 'versify)


I can fix a lot of lines very quickly with this :-)


atb




Glyn

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: trying to write a guidebook for students using org , need help with formating
  2013-10-22  7:55 trying to write a guidebook for students using org , need help with formating Xebar Saram
  2013-10-22  8:16 ` Glyn Millington
@ 2013-10-22  8:25 ` Eric Abrahamsen
  2013-10-22  9:39 ` Suvayu Ali
  2013-10-22 16:42 ` Rick Frankel
  3 siblings, 0 replies; 19+ messages in thread
From: Eric Abrahamsen @ 2013-10-22  8:25 UTC (permalink / raw)
  To: emacs-orgmode

Xebar Saram <zeltakc@gmail.com> writes:

> Hi all
>
> i decided to dive into the deep water and get rid of M$ word once and
> for all. I'm still an org novice but since i love org i choose org
> for the task.
>
> 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?


Hi there,

I've never used this, but 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...

Eric

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: trying to write a guidebook for students using org , need help with formating
  2013-10-22  7:55 trying to write a guidebook for students using org , need help with formating Xebar Saram
  2013-10-22  8:16 ` Glyn Millington
  2013-10-22  8:25 ` Eric Abrahamsen
@ 2013-10-22  9:39 ` Suvayu Ali
  2013-10-22 12:14   ` Xebar Saram
  2013-10-22 16:42 ` Rick Frankel
  3 siblings, 1 reply; 19+ messages in thread
From: Suvayu Ali @ 2013-10-22  9:39 UTC (permalink / raw)
  To: emacs-orgmode

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.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: trying to write a guidebook for students using org , need help with formating
  2013-10-22  9:39 ` Suvayu Ali
@ 2013-10-22 12:14   ` Xebar Saram
  2013-10-23  1:00     ` Eric Abrahamsen
  0 siblings, 1 reply; 19+ messages in thread
From: Xebar Saram @ 2013-10-22 12:14 UTC (permalink / raw)
  To: org mode

[-- Attachment #1: Type: text/plain, Size: 1692 bytes --]

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?

best
Z


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:
> <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.
>
>

[-- Attachment #2: Type: text/html, Size: 3623 bytes --]

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: trying to write a guidebook for students using org , need  help with formating
  2013-10-22  7:55 trying to write a guidebook for students using org , need help with formating Xebar Saram
                   ` (2 preceding siblings ...)
  2013-10-22  9:39 ` Suvayu Ali
@ 2013-10-22 16:42 ` Rick Frankel
  3 siblings, 0 replies; 19+ messages in thread
From: Rick Frankel @ 2013-10-22 16:42 UTC (permalink / raw)
  To: Xebar Saram; +Cc: org mode

On 2013-10-22 03:55, Xebar Saram wrote:
> Hi all
> 
> i decided to dive into the deep water and get rid of M$ word once and
> for all. I'm still an org novice but since i love org i choose org for
> the task.
> 
> 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 think you are thinking about this in the wrong (microsoft word :)
way: format vs. semantic structure.


A series of steps should either be a list, or an example block. For
instance in your sample, try:


#+BEGIN_EXAMPLE
Right click on the table name in the TOC panel – "Table of Contents" and 
then chose "Display XY data";
Define the X,Y coordinate and data (Z) fields;
Click "Edit" to define the coordinate system (use WGS84);
Click "OK";
Right click on the "event" layer newly created, go to "data"->"export 
data", specify a location and give the layer a name [remember: events 
are a temporary layer, unless you save it as a shape file, it will 
disappear and you will not be able to use it next time]; add it a s new 
layer to your project, when asked.
#+END_EXAMPLE

or (since the lines above are too long to fit w/o truncating or 
wrapping,

- Right click on the table name in the TOC panel – "Table of Contents"
and then chose "Display XY data";
- Define the X,Y coordinate and data (Z) fields;
- Click "Edit" to define the coordinate system (use WGS84);
- Click "OK";
- Right click on the "event" layer newly created, go to
"data"->"export data", specify a location and give the layer a name
[remember: events are a temporary layer, unless you save it as a
shape file, it will disappear and you will not be able to use it
next time]; add it a s new layer to your project, when asked.

Think about the contents semantically (e.g., something is descriptive
text, or a series of steps, or a code example), instead of how you
think it should look and let org and latex may it look right.

rick

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: trying to write a guidebook for students using org , need help with formating
  2013-10-22 12:14   ` Xebar Saram
@ 2013-10-23  1:00     ` Eric Abrahamsen
  2013-10-23  6:11       ` Xebar Saram
  0 siblings, 1 reply; 19+ messages in thread
From: Eric Abrahamsen @ 2013-10-23  1:00 UTC (permalink / raw)
  To: emacs-orgmode

Xebar Saram <zeltakc@gmail.com> 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:
>     <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.
>    

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: trying to write a guidebook for students using org , need help with formating
  2013-10-23  1:00     ` Eric Abrahamsen
@ 2013-10-23  6:11       ` Xebar Saram
  2013-10-23  8:56         ` Eric Abrahamsen
  2013-10-23 13:32         ` Rick Frankel
  0 siblings, 2 replies; 19+ messages in thread
From: Xebar Saram @ 2013-10-23  6:11 UTC (permalink / raw)
  To: org mode

[-- Attachment #1: Type: text/plain, Size: 2986 bytes --]

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 <eric@ericabrahamsen.net>
wrote:
>
> Xebar Saram <zeltakc@gmail.com> 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:
> >     <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.
> >
>
>

[-- Attachment #2: Type: text/html, Size: 4072 bytes --]

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: trying to write a guidebook for students using org , need help with formating
  2013-10-23  6:11       ` Xebar Saram
@ 2013-10-23  8:56         ` Eric Abrahamsen
  2013-10-23 12:23           ` Xebar Saram
  2013-10-23 13:32         ` Rick Frankel
  1 sibling, 1 reply; 19+ messages in thread
From: Eric Abrahamsen @ 2013-10-23  8:56 UTC (permalink / raw)
  To: emacs-orgmode

Xebar Saram <zeltakc@gmail.com> 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 <
> eric@ericabrahamsen.net> wrote:
>>
>> Xebar Saram <zeltakc@gmail.com> 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:
>> >     <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.
>> >
>>
>>

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: trying to write a guidebook for students using org , need help with formating
  2013-10-23  8:56         ` Eric Abrahamsen
@ 2013-10-23 12:23           ` Xebar Saram
  2013-10-23 13:41             ` Eric Abrahamsen
  2013-10-23 14:23             ` Glyn Millington
  0 siblings, 2 replies; 19+ messages in thread
From: Xebar Saram @ 2013-10-23 12:23 UTC (permalink / raw)
  To: Eric Abrahamsen, org mode

[-- Attachment #1: Type: text/plain, Size: 3903 bytes --]

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?

best

z


On Wed, Oct 23, 2013 at 11:56 AM, Eric Abrahamsen
<eric@ericabrahamsen.net>wrote:

> Xebar Saram <zeltakc@gmail.com> 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 <
> > eric@ericabrahamsen.net> wrote:
> >>
> >> Xebar Saram <zeltakc@gmail.com> 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:
> >> >     <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.
> >> >
> >>
> >>
>
>
>

[-- Attachment #2: Type: text/html, Size: 5905 bytes --]

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: trying to write a guidebook for students using org , need  help with formating
  2013-10-23  6:11       ` Xebar Saram
  2013-10-23  8:56         ` Eric Abrahamsen
@ 2013-10-23 13:32         ` Rick Frankel
  1 sibling, 0 replies; 19+ messages in thread
From: Rick Frankel @ 2013-10-23 13:32 UTC (permalink / raw)
  To: Xebar Saram; +Cc: org mode

On 2013-10-23 02:11, Xebar Saram wrote:
> 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

Well, you can use fill-paragraph manually, but that requires lines
separated by spaces.

You could also map `do-auto-fill' to a keystroke and use that to
justify lines.

But a better approach would be to define your own latex list environment 
for
program steps and use lists:

#+BEGIN_SRC org
* Example steps:

#+ATTR_LATEX :environment step-list

- step 1
- step 2
#+END_SRC

you could also redefine the default list (=itemize=) environment...

rick

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: trying to write a guidebook for students using org , need help with formating
  2013-10-23 12:23           ` Xebar Saram
@ 2013-10-23 13:41             ` Eric Abrahamsen
  2013-10-23 14:23             ` Glyn Millington
  1 sibling, 0 replies; 19+ messages in thread
From: Eric Abrahamsen @ 2013-10-23 13:41 UTC (permalink / raw)
  To: emacs-orgmode

Xebar Saram <zeltakc@gmail.com> 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 <
> eric@ericabrahamsen.net> wrote:
>
>     Xebar Saram <zeltakc@gmail.com> 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 <
>     > eric@ericabrahamsen.net> wrote:
>     >>
>     >> Xebar Saram <zeltakc@gmail.com> 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:
>     >> >     <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.
>     >> >
>     >>
>     >>
>    
>    

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: trying to write a guidebook for students using org , need help with formating
  2013-10-23 12:23           ` Xebar Saram
  2013-10-23 13:41             ` Eric Abrahamsen
@ 2013-10-23 14:23             ` Glyn Millington
  2013-10-23 18:19               ` Xebar Saram
  1 sibling, 1 reply; 19+ messages in thread
From: Glyn Millington @ 2013-10-23 14:23 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 457 bytes --]

Xebar Saram <zeltakc@gmail.com> 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?


Hi Xebar,

This does seem to be getting rather complicated.  Does the adapted
version of your file below give you the kind of result you want? It will
probably get munged in the sending

atb

Glyn


[-- Attachment #2: ex_l1.1.org --]
[-- Type: application/vnd.lotus-organizer, Size: 2801 bytes --]

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: trying to write a guidebook for students using org , need help with formating
  2013-10-23 14:23             ` Glyn Millington
@ 2013-10-23 18:19               ` Xebar Saram
  2013-10-23 22:15                 ` Glyn Millington
  2013-10-24  5:37                 ` Eric Abrahamsen
  0 siblings, 2 replies; 19+ messages in thread
From: Xebar Saram @ 2013-10-23 18:19 UTC (permalink / raw)
  To: org mode

[-- Attachment #1: Type: text/plain, Size: 1343 bytes --]

Thanks again guys

Rick: "But a better approach would be to define your own latex list
environment for
program steps and use lists:"

ive never used latex, do you mind expanding on that a bit?

Eric: "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)"
this is how it looks in my pdf export:

https://paste.xinu.at/sYsMVz/

i just want all the line to appear in the pdf and not get cut (that is have
it auto wrap when the like nears a paper edge)

Glyn: thx alot for the example. That does work but then i really hate
manually having to add the '-' at the start of each page and then also
indenting each line, is there a solution for that?

i really appreciate all the help, you guys are great help!

z.


On Wed, Oct 23, 2013 at 5:23 PM, Glyn Millington
<glyn.millington@gmail.com>wrote:

> Xebar Saram <zeltakc@gmail.com> 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?
>
>
> Hi Xebar,
>
> This does seem to be getting rather complicated.  Does the adapted
> version of your file below give you the kind of result you want? It will
> probably get munged in the sending
>
> atb
>
> Glyn
>
>

[-- Attachment #2: Type: text/html, Size: 3078 bytes --]

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: trying to write a guidebook for students using org , need help with formating
  2013-10-23 18:19               ` Xebar Saram
@ 2013-10-23 22:15                 ` Glyn Millington
  2013-10-24  5:37                 ` Eric Abrahamsen
  1 sibling, 0 replies; 19+ messages in thread
From: Glyn Millington @ 2013-10-23 22:15 UTC (permalink / raw)
  To: emacs-orgmode

Xebar Saram <zeltakc@gmail.com> writes:

> Glyn: thx alot for the example. That does work but then i really hate
> manually having to add the '-' at the start of each page and then also
> indenting each line, is there a solution for that?

My problem is that I know a little LaTeX and less lisp!  I would just do
this the hard way.  If I was driven to automate it slightly, then not
being aware of an org-mode solution I would use latex, like this.

1. Make a file, xebar-bullets.tex, which contains this latex snippet

\begin{itemize}
\item Start typing here ....
\item This is the next item you can make these lines as long as you like!!
\item
\item
\item
\item
\item
\item
\item
\item
\item
\item
\item
\item
\item
\item
\end{itemize} 

save it somewhere safe, where you store templates etc

2. Write a function in your .emacs or init.el file like this


(defun xebar-bullets ()
"This inserts the LaTeX \itemize environment into a document - LaTeX will
take care of the wrapping of each item for me"
(interactive)
(insert-file-contents "/home/xebar/templates/xebar-bullets.tex"))

Save this. Evaluate it.


3. Add a key-binding, again in .emacs or init.el, to call this where you
want it.  s-d is the Super key plus d, or pick another - again evaluate
it.

(add-hook 'org-mode-hook
          (lambda ()
            (local-set-key (kbd "s-d") 'xebar-bullets)))

Then when you want to add a list of instructions as in your sample doc,
just hit s-d and start typing at the first item.  You can make the lines
as long as you like, and when you export, LaTeX will deal with 'em!  If
you need more items, just add them in.

I've spelled this out because you said you didn't know about LaTeX -
forgive me if it is more info than you need. 

atb

Glyn

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: trying to write a guidebook for students using org , need help with formating
  2013-10-23 18:19               ` Xebar Saram
  2013-10-23 22:15                 ` Glyn Millington
@ 2013-10-24  5:37                 ` Eric Abrahamsen
  2013-10-24 10:43                   ` Suvayu Ali
  1 sibling, 1 reply; 19+ messages in thread
From: Eric Abrahamsen @ 2013-10-24  5:37 UTC (permalink / raw)
  To: emacs-orgmode

Xebar Saram <zeltakc@gmail.com> writes:

> Thanks again guys
>
> Rick: "But a better approach would be to define your own latex list
> environment for
> program steps and use lists:"
>
> ive never used latex, do you mind expanding on that a bit?
>
> Eric: "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)"
> this is how it looks in my pdf export:
>
> https://paste.xinu.at/sYsMVz/

Oh I see -- it's latex that cuts those lines off, not the org exporter.
You'll probably want to go the list route then. See this link for how to
create a custom list environment:

http://www.troubleshooters.com/linux/lyx/ownlists.htm

Then do this in org, replacing "bogus" with the name of your new environment:

#+ATTR_LATEX: :environment bogus
- this is a
- list with some
- items in it

Hope that gets you there!

Eric

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: trying to write a guidebook for students using org , need help with formating
  2013-10-24  5:37                 ` Eric Abrahamsen
@ 2013-10-24 10:43                   ` Suvayu Ali
  2013-10-24 14:53                     ` Xebar Saram
  0 siblings, 1 reply; 19+ messages in thread
From: Suvayu Ali @ 2013-10-24 10:43 UTC (permalink / raw)
  To: emacs-orgmode

Hello Xebar,

On Thu, Oct 24, 2013 at 01:37:31PM +0800, Eric Abrahamsen wrote:
> Xebar Saram <zeltakc@gmail.com> writes:
> 
> > Thanks again guys
> >
> > Rick: "But a better approach would be to define your own latex list
> > environment for
> > program steps and use lists:"
> >
> > ive never used latex, do you mind expanding on that a bit?
> >
> > Eric: "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)"
> > this is how it looks in my pdf export:
> >
> > https://paste.xinu.at/sYsMVz/
> 
> Oh I see -- it's latex that cuts those lines off, not the org exporter.
> You'll probably want to go the list route then. See this link for how to
> create a custom list environment:
> 
> http://www.troubleshooters.com/linux/lyx/ownlists.htm
> 
> Then do this in org, replacing "bogus" with the name of your new environment:
> 
> #+ATTR_LATEX: :environment bogus
> - this is a
> - list with some
> - items in it

I guess you missed my response.  I suggested this a couple of days back.
Sadly I was in a hurry and could not provide precise instructions.  You
can achieve this using the enumitem package with the noitemsep option[1].

So inside Org all you need to do is add the following to the file header:

#+LATEX_HEADER: \usepackage{enumitem}

If you want this behaviour for all lists add the following:

#+LATEX_HEADER: \setlist{nolistsep}

If you only want to do this for a particular kind of list (say,
enumerate) add the following line instead:

\setenumerate{noitemsep}

To control this per-list you can do:

#+attr_latex: :options noitemsep
- Step 1
- Step 2
- Step 3

For more info on other options, see the documentation for enumitem
(`texdoc enumitem' or <http://ctan.org/pkg/enumitem>).

Hope this helps,


Footnotes:

[1] See this TeX.SX question for more details:
    <http://TeX.stackexchange.com/q/10684>.

-- 
Suvayu

Open source is the future. It sets us free.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: trying to write a guidebook for students using org , need help with formating
  2013-10-24 10:43                   ` Suvayu Ali
@ 2013-10-24 14:53                     ` Xebar Saram
  2013-10-27  6:49                       ` Xebar Saram
  0 siblings, 1 reply; 19+ messages in thread
From: Xebar Saram @ 2013-10-24 14:53 UTC (permalink / raw)
  To: org mode

[-- Attachment #1: Type: text/plain, Size: 2296 bytes --]

Thank you all

ill try the Latex list suggestion over the weekend as i have Zero Latex
knowledge so ill try to dig into it a bit

Best

z.


On Thu, Oct 24, 2013 at 1:43 PM, Suvayu Ali <fatkasuvayu+linux@gmail.com>wrote:

> Hello Xebar,
>
> On Thu, Oct 24, 2013 at 01:37:31PM +0800, Eric Abrahamsen wrote:
> > Xebar Saram <zeltakc@gmail.com> writes:
> >
> > > Thanks again guys
> > >
> > > Rick: "But a better approach would be to define your own latex list
> > > environment for
> > > program steps and use lists:"
> > >
> > > ive never used latex, do you mind expanding on that a bit?
> > >
> > > Eric: "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)"
> > > this is how it looks in my pdf export:
> > >
> > > https://paste.xinu.at/sYsMVz/
> >
> > Oh I see -- it's latex that cuts those lines off, not the org exporter.
> > You'll probably want to go the list route then. See this link for how to
> > create a custom list environment:
> >
> > http://www.troubleshooters.com/linux/lyx/ownlists.htm
> >
> > Then do this in org, replacing "bogus" with the name of your new
> environment:
> >
> > #+ATTR_LATEX: :environment bogus
> > - this is a
> > - list with some
> > - items in it
>
> I guess you missed my response.  I suggested this a couple of days back.
> Sadly I was in a hurry and could not provide precise instructions.  You
> can achieve this using the enumitem package with the noitemsep option[1].
>
> So inside Org all you need to do is add the following to the file header:
>
> #+LATEX_HEADER: \usepackage{enumitem}
>
> If you want this behaviour for all lists add the following:
>
> #+LATEX_HEADER: \setlist{nolistsep}
>
> If you only want to do this for a particular kind of list (say,
> enumerate) add the following line instead:
>
> \setenumerate{noitemsep}
>
> To control this per-list you can do:
>
> #+attr_latex: :options noitemsep
> - Step 1
> - Step 2
> - Step 3
>
> For more info on other options, see the documentation for enumitem
> (`texdoc enumitem' or <http://ctan.org/pkg/enumitem>).
>
> Hope this helps,
>
>
> Footnotes:
>
> [1] See this TeX.SX question for more details:
>     <http://TeX.stackexchange.com/q/10684>.
>
> --
> Suvayu
>
> Open source is the future. It sets us free.
>
>

[-- Attachment #2: Type: text/html, Size: 3498 bytes --]

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: trying to write a guidebook for students using org , need help with formating
  2013-10-24 14:53                     ` Xebar Saram
@ 2013-10-27  6:49                       ` Xebar Saram
  0 siblings, 0 replies; 19+ messages in thread
From: Xebar Saram @ 2013-10-27  6:49 UTC (permalink / raw)
  To: org mode

[-- Attachment #1: Type: text/plain, Size: 3107 bytes --]

Hi again all

so i tried playing around with the latex options, read the Latex org manual
part but still confused and i still get the lines cut.

the one thing that did work was using this:

begin{itemize}

\item testing1 the long lines testing2 the long lines testing3 the long
lines testing4 the long lines testing5 the long lines testing6 the long
lines
\item
\item
\item
\item
\end{itemize}

but that seems very cumbersome, inserting it every time, writing the lines
after the \items etc..

I am really content with using the org example method. is there no way to
make the exporter to pdf (latex i guess) auto wrap lines?

thx alot

Z



On Thu, Oct 24, 2013 at 5:53 PM, Xebar Saram <zeltakc@gmail.com> wrote:

> Thank you all
>
> ill try the Latex list suggestion over the weekend as i have Zero Latex
> knowledge so ill try to dig into it a bit
>
> Best
>
> z.
>
>
> On Thu, Oct 24, 2013 at 1:43 PM, Suvayu Ali <fatkasuvayu+linux@gmail.com>wrote:
>
>> Hello Xebar,
>>
>> On Thu, Oct 24, 2013 at 01:37:31PM +0800, Eric Abrahamsen wrote:
>> > Xebar Saram <zeltakc@gmail.com> writes:
>> >
>> > > Thanks again guys
>> > >
>> > > Rick: "But a better approach would be to define your own latex list
>> > > environment for
>> > > program steps and use lists:"
>> > >
>> > > ive never used latex, do you mind expanding on that a bit?
>> > >
>> > > Eric: "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)"
>> > > this is how it looks in my pdf export:
>> > >
>> > > https://paste.xinu.at/sYsMVz/
>> >
>> > Oh I see -- it's latex that cuts those lines off, not the org exporter.
>> > You'll probably want to go the list route then. See this link for how to
>> > create a custom list environment:
>> >
>> > http://www.troubleshooters.com/linux/lyx/ownlists.htm
>> >
>> > Then do this in org, replacing "bogus" with the name of your new
>> environment:
>> >
>> > #+ATTR_LATEX: :environment bogus
>> > - this is a
>> > - list with some
>> > - items in it
>>
>> I guess you missed my response.  I suggested this a couple of days back.
>> Sadly I was in a hurry and could not provide precise instructions.  You
>> can achieve this using the enumitem package with the noitemsep option[1].
>>
>> So inside Org all you need to do is add the following to the file header:
>>
>> #+LATEX_HEADER: \usepackage{enumitem}
>>
>> If you want this behaviour for all lists add the following:
>>
>> #+LATEX_HEADER: \setlist{nolistsep}
>>
>> If you only want to do this for a particular kind of list (say,
>> enumerate) add the following line instead:
>>
>> \setenumerate{noitemsep}
>>
>> To control this per-list you can do:
>>
>> #+attr_latex: :options noitemsep
>> - Step 1
>> - Step 2
>> - Step 3
>>
>> For more info on other options, see the documentation for enumitem
>> (`texdoc enumitem' or <http://ctan.org/pkg/enumitem>).
>>
>> Hope this helps,
>>
>>
>> Footnotes:
>>
>> [1] See this TeX.SX question for more details:
>>     <http://TeX.stackexchange.com/q/10684>.
>>
>> --
>> Suvayu
>>
>> Open source is the future. It sets us free.
>>
>>
>

[-- Attachment #2: Type: text/html, Size: 4824 bytes --]

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2013-10-27  6:49 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-22  7:55 trying to write a guidebook for students using org , need help with formating Xebar Saram
2013-10-22  8:16 ` Glyn Millington
2013-10-22  8:25 ` Eric Abrahamsen
2013-10-22  9:39 ` Suvayu Ali
2013-10-22 12:14   ` Xebar Saram
2013-10-23  1:00     ` Eric Abrahamsen
2013-10-23  6:11       ` Xebar Saram
2013-10-23  8:56         ` Eric Abrahamsen
2013-10-23 12:23           ` Xebar Saram
2013-10-23 13:41             ` Eric Abrahamsen
2013-10-23 14:23             ` Glyn Millington
2013-10-23 18:19               ` Xebar Saram
2013-10-23 22:15                 ` Glyn Millington
2013-10-24  5:37                 ` Eric Abrahamsen
2013-10-24 10:43                   ` Suvayu Ali
2013-10-24 14:53                     ` Xebar Saram
2013-10-27  6:49                       ` Xebar Saram
2013-10-23 13:32         ` Rick Frankel
2013-10-22 16:42 ` Rick Frankel

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).