From: Andreas Schneider <aksdb@gmx.de>
To: ntg-context@ntg.nl
Subject: \type and linebreak (again)
Date: Mon, 23 May 2011 11:59:16 +0200 [thread overview]
Message-ID: <9640862.20110523115916@gmx.de> (raw)
Hi,
I stumbled across the same problem that was discussed earlier this
month: \type doesn't break, even if there are opportunities. I tried
to follow the suggestions given in that thread, but with no success:
\setuppapersize[A4][A4]
\starttext
\setuptype[space=stretch]
%\setupalign[stretch]
%\setuptolerance[stretch]
\type{cp $SOMEVAR/some/very/very/very/long/directory/WITHFILE $SOMEVAR/other/long/directory}
\startitemize
\item \type{cp $SOMEVAR/some/very/very/very/long/directory/WITHFILE $SOMEVAR/other/long/directory}
\stopitemize
\stoptext
I tried with and without the \setupalign/\setuptolerance commands,
without success; both lines exceed the margins. (Tested with ConTeXt
ver: 2011.05.18 22:26 MKIV fmt: 2011.5.23)
Is there anything else I can do/setup to get such long verbatim lines
broken? I would also like an option for character-based line wraps;
i.e. it should (optionally; not in this particular case for example)
break a word even in the middle if necessary, and without hyphenation
mark. Especially in similar cases where I have a very very long
directory name, I wouldn't care if it gets broken "the hard way".
Thanks in advance!
--
Best Regards,
Andreas
___________________________________________________________________________________
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 reply other threads:[~2011-05-23 9:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-23 9:59 Andreas Schneider [this message]
2011-05-23 10:11 ` Wolfgang Schuster
2011-05-23 10:54 ` Andreas Schneider
2011-05-23 13:20 ` Wolfgang Schuster
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=9640862.20110523115916@gmx.de \
--to=aksdb@gmx.de \
--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).