I had an unsually long header and it didn't look great: https://ellen.idiomdrottning.org/sateotc1.png A crlf fixes it: https://ellen.idiomdrottning.org/sateotc2.png But then that shows up in the table of contents so that's not a good solution. What is the best practice for this situation?
\startsection[title={A very \\ long title},list={A very long title}]
________________________________________
Von: ntg-context
Thank you so much! That was awesome!
That was the missing puzzle piece: the book is now perfect!
\startsection[title={A very \\ long title},list={A very long title}] ________________________________________ Von: ntg-context
im Auftrag von Sandra Snan Gesendet: Samstag, 5. Juni 2021 07:59:33 An: ntg-context@ntg.nl Betreff: [NTG-context] where to break a long header I had an unsually long header and it didn't look great:
https://ellen.idiomdrottning.org/sateotc1.png
A crlf fixes it:
https://ellen.idiomdrottning.org/sateotc2.png
But then that shows up in the table of contents so that's not a good solution. What is the best practice for this situation? ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________ ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________
denis.maier@ub.unibe.ch schrieb am 05.06.2021 um 08:16:
\startsection[title={A very \\ long title},list={A very long title}]
Be careful with spaces before and after \\. In the table of contents \\ is converted to a space and in the worst case you get three spaces instead of one. \starttext \placecontent \section{First section \\ with a line break} \section{Second section\\ with a line break} \section{Third section \\with a line break} \section{Fourth section\\with a line break} \stoptext Wolfgang
This minimal I ran with «ConTeXt ver: 2021.06.04 17:28 MKI» and got two PDF files: One «test.pdf» as expected and one called «test-pdf-keep.pdf». What's the reason behind this double feature? Steffen
Am 05.06.2021 um 10:14 schrieb Wolfgang Schuster
: denis.maier@ub.unibe.ch schrieb am 05.06.2021 um 08:16:
\startsection[title={A very \\ long title},list={A very long title}]
Be careful with spaces before and after \\. In the table of contents \\ is converted to a space and in the worst case you get three spaces instead of one.
\starttext
\placecontent
\section{First section \\ with a line break}
\section{Second section\\ with a line break}
\section{Third section \\with a line break}
\section{Fourth section\\with a line break}
\stoptext
Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________
On 6/6/2021 3:34 PM, Steffen Wolfrum wrote:
This minimal I ran with «ConTeXt ver: 2021.06.04 17:28 MKI» and got two PDF files: One «test.pdf» as expected and one called «test-pdf-keep.pdf».
What's the reason behind this double feature? see thread of a few days ago
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
Am 06.06.2021 um 22:02 schrieb Hans Hagen
: On 6/6/2021 3:34 PM, Steffen Wolfrum wrote:
This minimal I ran with «ConTeXt ver: 2021.06.04 17:28 MKI» and got two PDF files: One «test.pdf» as expected and one called «test-pdf-keep.pdf». What's the reason behind this double feature? see thread of a few days ago
sure, just overlooked it (or rather my search didn't match).
participants (5)
-
denis.maier@ub.unibe.ch
-
Hans Hagen
-
Sandra Snan
-
Steffen Wolfrum
-
Wolfgang Schuster