ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* hanging punctuation
@ 2001-07-10  4:55 Lutz Haseloff
  2001-07-10  6:57 ` Hans Hagen
  2001-07-10  8:57 ` Lutz Haseloff
  0 siblings, 2 replies; 36+ messages in thread
From: Lutz Haseloff @ 2001-07-10  4:55 UTC (permalink / raw)


Hi all,

is there anybody who can provide me a minimal
file with working hanging punctuation?
I didn`t got it with the TeX Fonts Manual.

Thanks in advance

Lutz


^ permalink raw reply	[flat|nested] 36+ messages in thread
* Hanging punctuation
@ 2014-06-22 18:51 Tomas Hala
  2014-06-23  8:39 ` Wolfgang Schuster
  0 siblings, 1 reply; 36+ messages in thread
From: Tomas Hala @ 2014-06-22 18:51 UTC (permalink / raw)
  To: ntg-context

Hello,

I tried hanging punctuation with Trebuchet font but without any success
whereas for Latin Modern or Libertine (without simplefonts) it works OK.

Is the \setupalign feature for hanging punctuation available for 
simplefonts module? Or did I forget some option?

Minimal example:

% CTX from TeXlive 2013
\usemodule[simplefonts]   
\setmainfont[Trebuchet MS]
\setupalign[hz,hyphenated,justified,hanging]
\starttext 
\input knuth
\stoptext

Thanks 

Tomáš Hála

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


^ permalink raw reply	[flat|nested] 36+ messages in thread
* Re: Re: lowerleftdoubleninequote
@ 2003-03-08 21:15 Wolfgang Werners-Lucchini
  2003-03-09 14:07 ` Re: Hanging punctuation WAS lowerleftdoubleninequote John Culleton
  0 siblings, 1 reply; 36+ messages in thread
From: Wolfgang Werners-Lucchini @ 2003-03-08 21:15 UTC (permalink / raw)


Hallo!

In order to understand the appended puzzle, I am looking for documentations
about:

\definefonthandling
\startfonthandling
\usehandling

I have found the example about 'hanging punctuation', but I could'nt even
understand this
example. 
What ist the correlation between 'punctuation', 'alpha' and 'def'????

> I have tried that, but with strange results:
> 
> 
> \startfonthandling[cmrfix]
>  \definecharacter quotedblbase     {,\kern -.1em,}
> \stopfonthandling
> 
> %\setupfontsynonym[Serif][handling=cmrfix]
> 
> \setupbodyfont[14pt]
> \starttext
> \mainlanguage[de]
> \startquotation
> To \TEX\ or not to \TEX. 
> \stopquotation
> \stoptext
> 
> 
> The definition of quotedblbase in line two is used without even
> activating the cmrfix font-handler. How do I use the handler properly?

^ permalink raw reply	[flat|nested] 36+ messages in thread
* hanging punctuation
@ 2003-01-29 21:29 Patrick Gundlach
  2003-01-29 23:45 ` Hans Hagen
  0 siblings, 1 reply; 36+ messages in thread
From: Patrick Gundlach @ 2003-01-29 21:29 UTC (permalink / raw)


Hello,


From an example posted earlier on this list:

% output=pdftex
\usetypescript [berry][8r]
\setupfontsynonym[Serif][handling=pure]
\showframe
\starttext
   \setupalign[hanging]
   \setupbodyfont[pos,10pt]
   \dorecurse{100}{testtest, }
\input tufte
\stoptext


Why is the hyphen (cat-) not hanging in the right margin?

As far as I can see it should stick out completely?!?

(from hand-def.tex)

\startfonthandling [pure]

  \defineprotrudefactor , 0 1
  \defineprotrudefactor . 0 1
  \defineprotrudefactor : 0 1
  \defineprotrudefactor ; 0 1

  \defineprotrudefactor hyphen 0 1   % <------------------
  \defineprotrudefactor endash 0 .5  
  \defineprotrudefactor emdash 0 .33 % .5 

\stopfonthandling

Patrick

^ permalink raw reply	[flat|nested] 36+ messages in thread
* hanging punctuation
@ 2002-06-22  4:20 Idris S Hamid
  2002-06-22 12:37 ` John Culleton
                   ` (2 more replies)
  0 siblings, 3 replies; 36+ messages in thread
From: Idris S Hamid @ 2002-06-22  4:20 UTC (permalink / raw)


using pdfetex mode I'm trying to get hanging punctuation to no avail. 

\startalignment[hanging]
%\usetypescript [serif,sans,mono] [hanging] [pure] \setupalign[hanging]

``What is hanging punctuation?''

\stopalignment

What's the trick to get this working?

Best wishes
Idris

-- 
Dr. Idris S Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80526


^ permalink raw reply	[flat|nested] 36+ messages in thread
* hanging punctuation
@ 2002-05-27  6:59 Denis B. Roegel
  2002-05-27 11:37 ` Bill McClain
  0 siblings, 1 reply; 36+ messages in thread
From: Denis B. Roegel @ 2002-05-27  6:59 UTC (permalink / raw)
  Cc: Denis B. Roegel

I have been unable to test hanging punctuation. The documentation
in mfonts.pdf is not that clear to me. What command should I issue?

I tried the following, but nothing happens. Can somebody give
me a small file illustrating character protruding?

Thanks,

Denis

%output=pdftex

\setupalign[hanging]
\starttext

A test with protruding characters. Does anything protrude in
this paragraph? Let's try again. 
A test with protruding characters. Does anything protrude in
this paragraph? Let's try again. 
A test with protruding characters. Does anything protrude in
this paragraph? Let's try again. 
A test with protruding characters. Does anything protrude in
this paragraph? Let's try again. 
A test with protruding characters. Does anything protrude in
this paragraph? Let's try again. 

\stoptext


^ permalink raw reply	[flat|nested] 36+ messages in thread
* hanging punctuation
@ 2001-05-10 14:10 Patrick Gundlach
  2001-05-11 16:05 ` Hans Hagen
  0 siblings, 1 reply; 36+ messages in thread
From: Patrick Gundlach @ 2001-05-10 14:10 UTC (permalink / raw)


Hi there,

what would be a simple file where hanging punctuation can be used?
I've tried something like this, but it did not work:

\starttext
\showframe[text]
\usetypescript[serif,sans,mono][hanging][pure]
\setupalign[hanging]
\input tufte
\stoptext

ConTeXt  ver: 2001.4.26  fmt: 2001.5.9  int: english  mes: english

This is pdfeTeX, Version 3.14159-14h-released-20010417-2.1 (Web2C 7.3.3.1)
entering extended mode

Do I need something special in pdftex.cfg?

-- 
Viele Grüße, 

    Patrick Gundlach


^ permalink raw reply	[flat|nested] 36+ messages in thread

end of thread, other threads:[~2014-07-01 20:20 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-10  4:55 hanging punctuation Lutz Haseloff
2001-07-10  6:57 ` Hans Hagen
2001-07-10  8:57 ` Lutz Haseloff
2001-07-10 15:00   ` Hans Hagen
2001-07-11  5:02   ` Lutz Haseloff
2001-07-11  9:01     ` Hans Hagen
2001-07-11 15:07       ` Eckhart Guthöhrlein
2001-07-11 15:40         ` Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2014-06-22 18:51 Hanging punctuation Tomas Hala
2014-06-23  8:39 ` Wolfgang Schuster
2014-06-24  7:42   ` Tomas Hala
2014-06-24 18:56     ` Pablo Rodriguez
2014-06-24 21:36       ` Wolfgang Schuster
2014-07-01 20:20       ` Tomas Hala
2003-03-08 21:15 Re: lowerleftdoubleninequote Wolfgang Werners-Lucchini
2003-03-09 14:07 ` Re: Hanging punctuation WAS lowerleftdoubleninequote John Culleton
2003-03-09 14:30   ` Hanging punctuation Bill McClain
2003-01-29 21:29 hanging punctuation Patrick Gundlach
2003-01-29 23:45 ` Hans Hagen
2003-01-30 10:17   ` Patrick Gundlach
2003-01-31 23:02     ` Hans Hagen
2003-02-02 14:34       ` Patrick Gundlach
2003-02-02 17:23         ` Adam Lindsay
2003-02-02 17:49           ` Patrick Gundlach
2002-06-22  4:20 Idris S Hamid
2002-06-22 12:37 ` John Culleton
2002-06-22 14:54   ` Bill McClain
2002-06-23 23:27     ` Idris S Hamid
2002-06-24 13:44       ` Bill McClain
2002-06-22 16:31 ` Idris S Hamid
2002-06-23 23:04   ` Hans Hagen
2002-06-23 23:01 ` Hans Hagen
2002-05-27  6:59 Denis B. Roegel
2002-05-27 11:37 ` Bill McClain
2001-05-10 14:10 Patrick Gundlach
2001-05-11 16:05 ` Hans Hagen
2001-05-11 18:37   ` Patrick Gundlach
2001-05-13 13:33     ` Hans Hagen
2001-05-13 15:19       ` Patrick Gundlach
2001-05-18 10:03         ` Hans Hagen

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).