[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] exporting to latex and docx not honouring carriage returns to ta
From: |
Sharon Kimble |
Subject: |
Re: [O] exporting to latex and docx not honouring carriage returns to tabbing |
Date: |
Tue, 09 Oct 2018 17:53:56 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Eric S Fraga <address@hidden> writes:
> On Tuesday, 9 Oct 2018 at 12:06, Sharon Kimble wrote:
>> 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 -
>>
>> #+LaTeX_Header: \parskip=0pt
>> #+LaTeX_Header: \parindent=2em
>
> This is close to the default behaviour for the LaTeX article class. Did you
> have something setting these to different values?
Yes, I have a custom class called 'my-report' which has no packages
outlined in it, here it is.
--8<---------------cut here---------------start------------->8---
#+begin_src emacs-lisp
(with-eval-after-load 'ox-latex
(add-to-list 'org-latex-classes
'("my-report" "\\documentclass{report}
[NO-DEFAULT-PACKAGES]"
;;[EXTRA]"
;;("\\part{%s}" . "\\part*{%s}")
("\\chapter{%s}" . "\\chapter*{%s}")
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
("\\paragraph{%s}" . "\\paragraph*{%s}")
("\\subparagraph{%s}" . "\\subparagraph*{%s}"))))
(custom-set-variables '(org-export-allow-bind-keywords t))
#+end_src
[2016-04-14 Thu 08:47]
[2016-09-09 Fri 00:54]
[2017-01-17 Tue 13:17]
http://orgmode.org/worg/org-tutorials/org-latex-export.html
--8<---------------cut here---------------end--------------->8---
>> except for the first paragraph in a new chapter.
>
> Yes, the first paragraph after any heading will not be indented. That is
> also default and is actually what most books use.
Yes, I'm learning, and checking with the book that I'm currently reading :)
Thanks
Sharon.
--
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 9.4, fluxbox 1.3.7, emacs 25.3.4, org 9.1.14
signature.asc
Description: PGP signature
- [O] exporting to latex and docx not honouring carriage returns to tabbing, Sharon Kimble, 2018/10/08
- Re: [O] exporting to latex and docx not honouring carriage returns to tabbing, Eric S Fraga, 2018/10/08
- Re: [O] exporting to latex and docx not honouring carriage returns to tabbing, Robert Klein, 2018/10/09
- Re: [O] exporting to latex and docx not honouring carriage returns to tabbing, Sharon Kimble, 2018/10/09
- Re: [O] exporting to latex and docx not honouring carriage returns to tabbing, Eric S Fraga, 2018/10/09
- Re: [O] exporting to latex and docx not honouring carriage returns to tabbing,
Sharon Kimble <=
- Re: [O] exporting to latex and docx not honouring carriage returns to tabbing, Tim Cross, 2018/10/09
- Re: [O] exporting to latex and docx not honouring carriage returns to tabbing, Eric S Fraga, 2018/10/10
- Re: [O] exporting to latex and docx not honouring carriage returns to tabbing, Tim Cross, 2018/10/10
- Re: [O] exporting to latex and docx not honouring carriage returns to tabbing, Sharon Kimble, 2018/10/11
- Re: [O] exporting to latex and docx not honouring carriage returns to tabbing, Tim Cross, 2018/10/11