From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: trying to write a guidebook for students using org , need help with formating Date: Wed, 23 Oct 2013 16:56:21 +0800 Message-ID: <87eh7cgybu.fsf@ericabrahamsen.net> References: <20131022093943.GX6656@kuru.dyndns-at-home.com> <87iowokdi5.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46329) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYuDq-0005P5-8u for emacs-orgmode@gnu.org; Wed, 23 Oct 2013 04:55:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VYuDk-0006vz-Qi for emacs-orgmode@gnu.org; Wed, 23 Oct 2013 04:55:22 -0400 Received: from plane.gmane.org ([80.91.229.3]:34674) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYuDk-0006vq-KB for emacs-orgmode@gnu.org; Wed, 23 Oct 2013 04:55:16 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VYuDi-0001Eb-33 for emacs-orgmode@gnu.org; Wed, 23 Oct 2013 10:55:14 +0200 Received: from 123.122.44.74 ([123.122.44.74]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Oct 2013 10:55:14 +0200 Received: from eric by 123.122.44.74 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Oct 2013 10:55:14 +0200 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 Xebar Saram 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 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. >> > >> >>