ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: [***SPAM***] quotationmarks just before new line
Date: Mon, 2 Jul 2012 09:46:59 +0200	[thread overview]
Message-ID: <9157AA5D-8FF3-42F4-AEF5-04A1E5F68B73@gmail.com> (raw)
In-Reply-To: <4FEE28DD.5080807@ymail.com>


Am 30.06.2012 um 00:14 schrieb d_jan:

> Hello,
> 
> It frequently happens to me that a new line in an output-document starts just after a quotation mark. So I encounter lines in my ConTeX-created .pdf like:
> 
> "And the prince of Denmark spoke: '
> how weary, stale, flat, and unprofitable seem to me all the uses of this world!' "
> 
> Its hard to say how often this happens but I'd say its roughly every 50 quotations.
> 
> A minimal example to see the problem in action: (also on http://pastebin.com/cEMiGZju)
> 
> \mainlanguage [de]
> \setuppapersize[A4]
> 
> \setuplayout[width=6cm]
> 
> \setupquotation
> [1]
> [left=„, right=“]
> 
> \setupquote
> [1]
> [left=„, right=“]
> 
> \starttext
> 
> \language[de]
> Bereiche der\quotation{waren transparent, so dass} man auf. \quotation{die darunterliegenden} Grafiken sehen konnte. \quotation{Die Paletten konnten mit der} nicht-dominanten \quotation{Hand bewegt werden} %gibberish content
> 
> \stoptext
> 
> I'm using LiveTex 2011/LuaTex typeset but the problem can be reproduced using the example code at http://live.contextgarden.net/ and the "XeTeX"-Setting.
> 
> Is there any fix to this problem?

You have to add \nobreak between the quotation mark and the text, e.g.

  \setupdelimitedtext[quotation][1][left=„\nobreak]

but I can give you better answer when you tell use why do you want to change
the delimiters as shown above because „ and “ are the default symbols for german
when you use \quotation.

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
___________________________________________________________________________________

  reply	other threads:[~2012-07-02  7:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-29 22:14 d_jan
2012-07-02  7:46 ` Wolfgang Schuster [this message]
     [not found] <mailman.178.1341221348.2194.ntg-context@ntg.nl>
2012-07-03 13:03 ` d_jan

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=9157AA5D-8FF3-42F4-AEF5-04A1E5F68B73@gmail.com \
    --to=schuster.wolfgang@gmail.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).