Re: [NTG-context] [***SPAM***] quotationmarks just before new line

2012-07-03 Thread 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 
onhttp://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 athttp://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



Hello,
Thanks! That did the job as far as I can see.
I did set the Quotation Marks manually since I considered to change them 
to Guillemets (?» «) later.


Regards,
 Jan
___
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
___

[NTG-context] [***SPAM***] quotationmarks just before new line

2012-07-02 Thread 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?

Kind Regards,
Jan

___
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
___

Re: [NTG-context] [***SPAM***] quotationmarks just before new line

2012-07-02 Thread Wolfgang Schuster

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
___