Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unwanted newline #10305

Closed
champignoom opened this issue Oct 18, 2024 · 3 comments
Closed

unwanted newline #10305

champignoom opened this issue Oct 18, 2024 · 3 comments
Labels

Comments

@champignoom
Copy link

A newline is mistakenly inserted in between "some fancy" and "font".

$ cat test.md                                           
---
mainfontfallback: some fancy font
...

$ pandoc -t context -s test.md | sed '/fancy/,+1!d' 
\definefallbackfamily[mainface][rm][some fancy
font][range=0x0000-0xFFFF, check=yes, force=no]

$ pandoc -v
pandoc 3.5
Features: +server +lua
Scripting engine: Lua 5.4
User data directory: /home/exp/.local/share/pandoc
Copyright (C) 2006-2024 John MacFarlane. Web: https://pandoc.org
This is free software; see the source for copying conditions. There is no
warranty, not even for merchantability or fitness for a particular purpose.
@jgm
Copy link
Owner

jgm commented Oct 19, 2024

If you don't want hard wrapping, use --wrap=none or --wrap=preserve.
Not a bug.

@jgm jgm closed this as completed Oct 19, 2024
@jgm
Copy link
Owner

jgm commented Oct 19, 2024

To clarify: did the newline here cause compilation problems in the tex, or is your objection merely cosmetic?

@jgm jgm reopened this Oct 19, 2024
@champignoom
Copy link
Author

champignoom commented Oct 20, 2024

The extra newline fails the compilation with the latest ConTeXt.

@jgm jgm closed this as completed in 3833a9d Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants