From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sharon Kimble Subject: Re: exporting to latex and docx not honouring carriage returns to tabbing Date: Tue, 09 Oct 2018 12:06:23 +0100 Message-ID: <87r2gz751s.fsf@skimble.plus.com> References: <875zycyd5z.fsf@skimble.plus.com> <20181009082023.057dcc0b@lt70.mpip-mainz.mpg.de> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43842) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g9pqY-0003gr-UO for emacs-orgmode@gnu.org; Tue, 09 Oct 2018 07:06:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g9pqV-0007bv-NW for emacs-orgmode@gnu.org; Tue, 09 Oct 2018 07:06:38 -0400 Received: from avasout05.plus.net ([84.93.230.250]:56265) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g9pqV-0007V6-Bq for emacs-orgmode@gnu.org; Tue, 09 Oct 2018 07:06:35 -0400 In-Reply-To: <20181009082023.057dcc0b@lt70.mpip-mainz.mpg.de> (Robert Klein's message of "Tue, 9 Oct 2018 08:20:28 +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" To: Robert Klein Cc: Eric S Fraga , org-mode-email --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Robert Klein writes: > On Mon, 08 Oct 2018 16:54:39 +0100 > Eric S Fraga wrote: > >> On Monday, 8 Oct 2018 at 10:56, Sharon Kimble wrote: >> > My finished output in the pdf will have every line indented/tabbed >> > to 4 spaces and have a carriage-return at the end of each >> > paragraph, with no spacings in between paragraphs. >> > >> > I can get it how I want in org-mode, but when its exported to latex >> > and converted into a pdf file, the whole section comes out in one >> > block of text!=20=20 >>=20 >> Both LaTeX and org define new paragraphs by a blank line. Spaces at >> the start of a line only have meaning, in org, if the lines are part >> of a list (and never mean anything in LaTeX). >>=20 >> I am not sure exactly what you want to achieve so it is difficult to >> suggest anything. Try separating your paragraphs with empty lines to >> see how much closer this gets you to what you want. >>=20 > > What Eric says. > > Then try to add to the org-file a line > > #+LaTeX_Header: \parskip=3D0pt > > so the spacing between paragraphs is 0. Then add > > #+LaTeX_Header: \parindent=3D0pt > > so the first line of a paragraph isn't indented. > > If you want to get /all/ the text indented by =E2=80=9C4 spaces=E2=80=9D,= put a line > > #+LaTeX: \setlength{\leftskip}{2em} > > at the top of your document. > > > If you want only parts indented, put the line before the beginning of > the part to be indented and put this line after it: > > #+LaTeX: \setlength{\leftskip}{0em} > > Does this help? Brilliant, thanks very much Robert, you've saved the project as I didn't fancy having to work with the document in LibreOffice. These are the settings that I've finally gone with - =2D-8<---------------cut here---------------start------------->8--- #+LaTeX_Header: \parskip=3D0pt #+LaTeX_Header: \parindent=3D2em =2D-8<---------------cut here---------------end--------------->8--- and I've found that having that parindent of 2em gives a very close approximation of each paragraph beginning with four spaces, except for the first paragraph in a new chapter. Weird, but true! Just part of what my finished document has to look like, open any fiction book and you see what its supposed to look like. When it works right, its beautiful, but when its wrong, its a right mare! Thank you very much, and now I've learnt how to do it, it'll make the whole thing much easier. Sharon. =2D-=20 A taste of linux =3D http://www.sharons.org.uk TGmeds =3D http://www.tgmeds.org.uk DrugFacts =3D https://www.drugfacts.org.uk Debian 9.4, fluxbox 1.3.7, emacs 25.3.4, org 9.1.14 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAlu8i7AACgkQNoGAGQr4 g1vDXg/+KdW5iCOLnAwvXYeAMlKyCsXDmx6TiJXfvsGhuswpLCjg9cBk3uyMMJrt tbB2QcEX/XSceFITnD5HuIak/aY3nnRS6HtiT8ZrN3zUBIauW68paJZFzy84vIp2 WtMUCZBNt5CZGLDaYaHKmuwhFndcruid+3Tkj3fsOZ/AbrGtssDTFzA98NKr2sK0 0S6jI2pLoFtq1rGNToysdZoJXugQG32fq06ccI2yLdLhUS3ssMsARLUIwoIltbfs ipNV1gXNa3Ys9zWCdXI80SYotB9UmkehtWbJLcwhyImB0uWEfB7D/Nh0dP8YnZLD FvXNPFQPL7JA2Fi0pK1FrRlu1qYr5bQ4ihKIxXMey1OQAC+2GNzbD4vZdGAa7Yl6 0LJ7nAsFgcC8DpRIz0i6E4pKInXv84wH5kuRS2kI/OjxmzdQZtxorslIR07JXMYh NeVW0cl2ZBIwlfFQIdNwAVL/FavymmSDbEMACVIhCLYEWvkU8/hrWX+LFC/+T390 JShyTXvqjAGrVwGxqsvkapD02dOkJTOYz4qhxClR+D3MidAYkHaiB9sILbSrQVQK Pl/a09b+O/2Q0YUC6JxsBUB+2zdP71reWdEcPZMzI0GvD4cMJ4LEVj2lcF+d++nl 29om7DWj+tfG0emVDqG9Isz55gEJOQB3gCLNW8QHB1g0hAtjOIo= =fU2s -----END PGP SIGNATURE----- --=-=-=--