Re: Code blocks and quotes export style

2022-03-14 Thread Juan Manuel Macías
Max Nikulin writes: > should be even better since, besides LaTeX "\-", HTML exporter uses > "­" or "­" (I would expect more consistent behavior > though.) Hi, Maxim. You're right, I didn't remember that there is a specific entity in Org for the discretionary hyphen. Sometimes I think too much fro

Re: Code blocks and quotes export style

2022-03-14 Thread Max Nikulin
On 14/03/2022 01:39, Juan Manuel Macías wrote: Supercali@@latex:\-@@fragilistic Supercali\shy{}fragilistic Supercali\-fragilistic should be even better since, besides LaTeX "\-", HTML exporter uses "­" or "­" (I would expect more consistent behavior though.) info "(org) Special Sy

Re: Code blocks and quotes export style

2022-03-13 Thread Tim Cross
"Barton, Mark" writes: > I manually check the pdf to see if it fits and use a code formatter to get the > line widths shorter. I use blacken for python and sqlformat for SQL within > Emacs. Even then I still hit limits where I recently changed to font size to > small for the code blocks. > > I

Re: Code blocks and quotes export style

2022-03-13 Thread Barton, Mark
I manually check the pdf to see if it fits and use a code formatter to get the line widths shorter. I use blacken for python and sqlformat for SQL within Emacs. Even then I still hit limits where I recently changed to font size to small for the code blocks. I use minted for syntax highlighting

Re: Code blocks and quotes export style

2022-03-13 Thread Juan Manuel Macías
Kaushal Modi writes: > Well, that will at least help the code blocks going out of bounds. It > won't help the quotes. With the quotes going out of bounds issue it would be nice to see a screenshot. But if a line of normal text goes outside the margin, it is usually due to a TeX overfull hbox, pe

Re: Code blocks and quotes export style

2022-03-13 Thread autofrettage
> When I export an Org file to LaTeX and finally PDF, the code blocks and > quotes often exceed the width of the page. > Is it possible to set some style of the exported blocks ? I wonder what the export engine can do about code which is too wide? As a programmer, I certainly wouldn't like some

Re: Code blocks and quotes export style

2022-03-13 Thread Kaushal Modi
On Sun, Mar 13, 2022, 6:55 AM Sébastien Gendre 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

Code blocks and quotes export style

2022-03-13 Thread Sébastien Gendre
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. Is it possible to set some style of the exported blocks ? Like we can set the size for images ? I can't found it. Thanks for your help. Séb