From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: missing pagebreak using vim-module for typing
Date: Tue, 1 May 2012 20:46:12 +0200 [thread overview]
Message-ID: <73F00F07-198C-411D-94F5-507BA02C4DD4@googlemail.com> (raw)
In-Reply-To: <alpine.LNX.2.02.1205011333090.1010@ybpnyubfg.ybpnyqbznva>
Am 01.05.2012 um 19:35 schrieb Aditya Mahajan:
> On Tue, 1 May 2012, Aditya Mahajan wrote:
>
>> On Tue, 1 May 2012, Xenia wrote:
>>
>>>> Use \definetextbackground for the frame, framedtext’s are unbreakable boxes.
>>> Thanks, that works, but now the linewrapping does not work correctly
>>> (after the frame)
>>
>> The bad linebreaks also happen if you remove the background. I'll look into it (in any case, hypenation should be disabled, so there is a bug somewhere).
>
> Add:
>
> \startsetups linebreak
> \language\minusone %disable hypenation
> \raggedright %avoid overflow lines \stopsetups
>
> \unprotect
> \setupsyntaxhighlighting
> [setups={syntaxhighlighting@setup,linebreak}]
> \protect
>
> I'll add these to the main module and release a new version.
Why don’t you add a align key and use “align={flushleft,nothyphenated}” as default.
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2012-05-01 18:46 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-01 6:02 Xenia
2012-05-01 6:50 ` Aditya Mahajan
2012-05-01 10:24 ` Xenia
2012-05-01 11:02 ` Wolfgang Schuster
2012-05-01 16:14 ` Xenia
2012-05-01 16:53 ` Aditya Mahajan
2012-05-01 17:35 ` Aditya Mahajan
2012-05-01 18:29 ` Hans Hagen
2012-05-01 18:46 ` Aditya Mahajan
2012-05-01 18:46 ` Wolfgang Schuster [this message]
2012-05-01 18:49 ` Aditya Mahajan
2012-05-06 18:30 ` Xenia
2012-05-06 22:30 ` Aditya Mahajan
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=73F00F07-198C-411D-94F5-507BA02C4DD4@googlemail.com \
--to=schuster.wolfgang@googlemail.com \
--cc=ntg-context@ntg.nl \
/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.
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 NNTP newsgroup(s).