From: Maxim Nikulin <manikulin@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: [bug] Export to latex truncates long subsections (WE attached)
Date: Thu, 19 Nov 2020 18:09:54 +0700
Message-ID: <rp5jq3$20d$1@ciao.gmane.io> (raw)
In-Reply-To: <CA+A2iZa_D1NHjti4sZxH3OZugTH4Phmp6vgMeDGeHv08y-EasQ@mail.gmail.com>
2020-11-19 Vladimir Nikishkin wrote:
>>
>> #+begin_src latex
>> \usepackage{xpatch}
>> \makeatletter
>> % This is not recommended, because it can break several things
>> \xpatchcmd{\@afterheading}{\@nobreaktrue}{\@nobreakfalse}{%
>> \typeout{WARNING: \string\@afterheading\space broken}%
>> }{%
>> \@latexerr{ERROR: Cannot patch \string\@afterheading}\@ehd%
>> }
>> \makeatother
>> #+end_src
Maybe introducing negative penalty *before* subsections would allow page
breaks without undesired splitting between usual headers and immediately
following paragraphs. I have not checked it, it is just an idea. I agree
that such tricks should not be enabled by default.
next prev parent reply other threads:[~2020-11-19 11:10 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-26 3:46 Vladimir Nikishkin
2019-08-26 9:47 ` Nicolas Goaziou
2019-08-27 6:57 ` Vladimir Nikishkin
2019-08-27 7:42 ` Julius Dittmar
2019-08-27 8:10 ` Tim Cross
2020-11-19 3:41 ` Vladimir Nikishkin
2020-11-19 4:58 ` Tim Cross
2020-11-19 9:42 ` Julius Dittmar
2020-11-19 10:13 ` Eric S Fraga
2020-11-19 11:28 ` Tim Cross
2020-11-19 12:09 ` Eric S Fraga
2020-11-19 11:09 ` Maxim Nikulin [this message]
2019-08-26 10:12 ` Julius Dittmar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://orgmode.org
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='rp5jq3$20d$1@ciao.gmane.io' \
--to=manikulin@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Org-mode mailing list
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://orgmode.org/list/0 list/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 list list/ https://orgmode.org/list \
emacs-orgmode@gnu.org
public-inbox-index list
Example config snippet for mirrors.
Newsgroups are available over NNTP:
nntp://news.yhetil.org/yhetil.emacs.orgmode
nntp://news.gmane.io/gmane.emacs.orgmode
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git