From: Kaushal Modi <kaushal.modi@gmail.com>
To: "Sébastien Gendre" <seb@k-7.ch>
Cc: emacs-org list <emacs-orgmode@gnu.org>
Subject: Re: Code blocks and quotes export style
Date: Sun, 13 Mar 2022 12:06:11 -0400 [thread overview]
Message-ID: <CAFyQvY14goSqcVTVTGytjif42ESRvy1Gm369Hpthv+r5+Jx7nw@mail.gmail.com> (raw)
In-Reply-To: <B4D7EE37-2D7F-4EBD-A14D-A48CAABE6598@k-7.ch>
[-- Attachment #1: Type: text/plain, Size: 761 bytes --]
On Sun, Mar 13, 2022, 6:55 AM Sébastien Gendre <seb@k-7.ch> wrote:
> Hello everyone. _o/
>
> When I export an Org file to LaTeX and finally PDF, the code blocks and
> quotes often exceed the width of the page.
>
Hello _o/
I fixed[1] that problem by using the LaTeX minted package that allows
wrapping around the lines using its "breaklines" option.
Well, that will at least help the code blocks going out of bounds. It won't
help the quotes.
Note that I added that to my Org mode config more than 6 years back or
something. So there might be a better way to do the same but that setup
still works! :)
[1]:
https://github.com/kaushalmodi/.emacs.d/blob/c643684ad675753c69df602d7298241d05173255/setup-files/setup-org.el#L941-L972
>
[-- Attachment #2: Type: text/html, Size: 1575 bytes --]
next prev parent reply other threads:[~2022-03-13 16:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-13 10:54 Code blocks and quotes export style Sébastien Gendre
2022-03-13 16:06 ` Kaushal Modi [this message]
2022-03-13 18:39 ` Juan Manuel Macías
2022-03-14 12:50 ` Max Nikulin
2022-03-14 18:09 ` Juan Manuel Macías
2022-03-13 18:55 ` Barton, Mark
2022-03-13 21:13 ` Tim Cross
-- strict thread matches above, loose matches on Subject: below --
2022-03-13 16:22 autofrettage
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://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAFyQvY14goSqcVTVTGytjif42ESRvy1Gm369Hpthv+r5+Jx7nw@mail.gmail.com \
--to=kaushal.modi@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=seb@k-7.ch \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).