Re: [NTG-context] bib module and hypehnation

2008-07-28 Thread Taco Hoekwater


Aditya Mahajan wrote:
 Hi,
 
 I am using the bib module with ssa style. Quite often while citing 
 articles with long author names, I find author names 
 protruding into the margin. Does bib module not support hyphenating author 
 names, or is something wrong in my setup?

Hyphenation seems to work OK here, so you had better post an example.

Best wishes,
Taco
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] bib module and hypehnation

2008-07-28 Thread Aditya Mahajan

On Mon, 28 Jul 2008, Taco Hoekwater wrote:




Aditya Mahajan wrote:

Hi,

I am using the bib module with ssa style. Quite often while citing
articles with long author names, I find author names
protruding into the margin. Does bib module not support hyphenating author
names, or is something wrong in my setup?


Hyphenation seems to work OK here, so you had better post an example.


I am attaching an example from a document that I am working on. It is 
rather big, because I need the same setup (fonts and layout) to create the 
problem. The word Kontoyiannis is not hyphenated and protrudes to the 
margin. I have tried to add it to \hyphenation, but that does not work.


I think that the trouble is due to interaction. If I switch off 
interaction, I get complelely different linebreaks, but no troubles with 
margin.


The document was compiled using
ConTeXt  ver: 2008.07.13 22:32 MKIV  fmt: 2008.7.15  int: english/english 
and

LuaTeX, Version snapshot-0.28.0-2008070423


Thanks,
Aditya\usetypescript  [serif]   [hanging] [pure]
\setupalign [hanging] 

\definetypeface [mainface] [rm] [serif] [palatino] [default] [features=oldstyle]
\definetypeface [mainface] [ss] [sans]  [delicious] [default] [features=default,
rscale=1.1]
\definetypeface [mainface] [tt] [mono]  [modern] [default] [features=default,
rscale=1.1]
\definetypeface [mainface] [mm] [math]  [palatino] [default]  [encoding=texnansi]

\setupbodyfont[mainface,12pt]

\setfontfeature{oldstyle}

\setuppapersize [letter]
[letter]

\setuplayout[
  width=middle,
 height=middle,
  %location=middle,
topspace=1.0in,
  bottomspace=.5in,
  bottomdistance=0in,
   bottom=.5in,
   backspace=1.5in,
cutspace=1.0in,
  leftmargin=1.0in,
 rightmargin=0.5in,
  leftmargindistance=0.1in,
 rightmargindistance=0.1in,
  header=0.0in,
 footer=0.25in,
   headerdistace=0.0in,
 footerdistance=0.25in,
marking=on,
]

\setupitemgroup
  [itemize]
  [each]
  [margin=1pc,
   distance=0pt,
   itemalign=left,
   headstyle=bolditalic,
   headcolor=darkred,
   afterhead=,
   before={\blank[small]},
   after={\blank[small]},
   indentnext=no]

\setupitemgroup
  [itemize]
  [each]
  [broad,fit]

\usemodule  [bib]

\setuppublications[alternative=ssa,sorttype=bbl]

\startpublication[k=Witsenhausen:1978b,t=conference,
a={Witsenhausen},y=1978,
n=193,s=Wit78]
\author[]{Hans~S.}[H.~S.]{}{Witsenhausen}
\pubyear{1978}
\arttitle{Informational aspects of stochastic control}
\title{{P}roceedings of the Oxford Conference on Stochastic Optimization}
\stoppublication
\startpublication[k=Teneketzis:phd,t=phdthesis,
a={Teneketzis},y=1979,
n=172,s=Ten79]
\author[]{Demosthenis}[D.]{}{Teneketzis}
\title{Communication in Decentralized Control}
\pubyear{1979}
\bibtype{Ph.D. Thesis}
\month{9}
\pubname{Department of EECS, MIT}
\city{Cambridge, MA}
\stoppublication
\startpublication[k=Munson:phd,t=phdthesis,
a={Munson},y=1981,
n=123,s=Mun81]
\author[]{G.}[G.]{}{Munson}
\title{Causal Information Transmission with Feedback}
\pubyear{1981}
\bibtype{Ph.D. Thesis}
\pubname{Department of Electrical Engineering, Cornell University}
\city{Ithaca, NY}
\stoppublication
\startpublication[k=GorbunovPinsker:1987,t=article,
a={{Pinsker},{Gorbunov}},y=1987,
n=67,s=PG87]
\artauthor[]{P.S.}[P.]{}{Pinsker}
\artauthor[]{A.K.}[A.]{}{Gorbunov}
\pubyear{1987}
\arttitle{Epsilon entropy with delay with small mean-square reproduction error}
\journal{Problems in Information Transmission}
\volume{23}
\issue{2}
\pages{3-8}
\month{April-June}
\stoppublication
\startpublication[k=GorbunovPinsker:1973,t=article,
a={{Gorbunov},{Pinsker}},y=1973,
n=65,s=GP73]
\artauthor[]{A.K.}[A.]{}{Gorbunov}
\artauthor[]{P.S.}[P.]{}{Pinsker}
\pubyear{1973}
\arttitle{Non-anticipatory and prognostic epsilon entropies and message
  generation rates}
\journal{Problems in Information Transmission}
\volume{9}
\pages{1840191}
\stoppublication
\startpublication[k=GorbunovPinsker:1974,t=article,
a={{Gorbunov},{Pinsker}},y=1974,
n=66,s=GP74]
\artauthor[]{A.K.}[A.]{}{Gorbunov}
\artauthor[]{P.S.}[P.]{}{Pinsker}
\pubyear{1974}
\arttitle{Prognostic epsilon entropy of a {Gaussian} message and a {Gaussian}
  source}
\journal{Problems in Information Transmission}
\volume{10}
\pages{184-191}
\stoppublication
\startpublication[k=Munson:phd,t=phdthesis,
a={Munson},y=1981,
n=123,s=Mun81]
\author[]{G.}[G.]{}{Munson}
\title{Causal Information Transmission with Feedback}
\pubyear{1981}
\bibtype{Ph.D. Thesis}
\pubname{Department of Electrical Engineering, Cornell University}
\city{Ithaca, NY}
\stoppublication
\startpublication[k=GorbunovPinsker:1987,t=article,
a={{Pinsker},{Gorbunov}},y=1987,
n=67,s=PG87]
\artauthor[]{P.S.}[P.]{}{Pinsker}
\artauthor[]{A.K.}[A.]{}{Gorbunov}
\pubyear{1987}
\arttitle{Epsilon entropy with delay with small 

Re: [NTG-context] bib module and hypehnation

2008-07-28 Thread Taco Hoekwater
Aditya Mahajan wrote:
 
 I think that the trouble is due to interaction. If I switch off 
 interaction, I get complelely different linebreaks, but no troubles with 
 margin.

Ah, yes. The \cite basically expands into \goto{authornames}[ref],
and context does not hyphenate the word(s) in the braced argument of
\goto. Sorry, looks like you are stuck.

Best wishes,
Taco


___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] bib module and hypehnation

2008-07-28 Thread Aditya Mahajan
On Mon, 28 Jul 2008, Taco Hoekwater wrote:

 Aditya Mahajan wrote:

 I think that the trouble is due to interaction. If I switch off
 interaction, I get complelely different linebreaks, but no troubles with
 margin.

 Ah, yes. The \cite basically expands into \goto{authornames}[ref],
 and context does not hyphenate the word(s) in the braced argument of
 \goto. Sorry, looks like you are stuck.

Thanks for confirming this. For this project, I will go without 
interaction since the output must look good on print.

Any particular reason why \goto does not break the link across lines? I 
thought that PS could not handle links split across multiple lines while 
PDF could. Is it just because \goto was implement lng time back?

Aditya
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] bib module and hypehnation

2008-07-28 Thread Peter Münster
On Mon, Jul 28 2008, Aditya Mahajan wrote:

 Any particular reason why \goto does not break the link across lines? I 
 thought that PS could not handle links split across multiple lines while 
 PDF could. Is it just because \goto was implement lng time back?

It's perhaps just a matter of time, see also:

http://foundry.supelec.fr/tracker/index.php?func=detailaid=59group_id=21atid=164

Cheers, Peter

-- 
http://pmrb.free.fr/contact/

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] bib module and hypehnation

2008-07-27 Thread Aditya Mahajan
Hi,

I am using the bib module with ssa style. Quite often while citing 
articles with long author names, I find author names 
protruding into the margin. Does bib module not support hyphenating author 
names, or is something wrong in my setup?

Aditya
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___