Re: [NTG-context] \setfirstline Inside columns environment does not seem to work

2015-10-27 Thread josephcanedo
Seems to work fine with columnsets:


\setupbodyfont[pagella]


\definecolumnset[TwoColumns][n=2]


\starttext


\startcolumnset [TwoColumns]


\setupindenting[medium,yes]
\setupalign[tolerant]


\definefirstline
[fancy]
[alternative=line,
style=\tfd]


\setfirstline[fancy] \input tufte \par
\setfirstline[fancy] \input ward \par
\setfirstline[fancy] \input knuth \par
\setfirstline[fancy] \input bryson \page


\definefirstline
[fancy]
[alternative=word,
color=darkblue,
style=bold,
n=2]


\setfirstline[fancy] \input tufte \par
\setfirstline[fancy] \input ward \par
\setfirstline[fancy] \input knuth \par
\setfirstline[fancy] \input bryson \page


\stopcolumnset


\stoptext






From: josephcan...@gmail.com
Sent: ‎Monday‎, ‎October‎ ‎26‎, ‎2015 ‎3‎:‎03‎ ‎PM
To: ntg-context@ntg.nl





Dear all,




I would like to use the first line specific style magic but I cannot make it to 
work within 2 column text. I give a simple example (I’ve modified from previous 
post example on this list). Is that expected ? If you uncomment the 
\startcolumns and \stopcolumns below, the first line style disappears (both 
bigger font line and dark blue 2 first words).




I use standalone ConTeXt (installed 1 week ago or so).




$ context --version




mtx-context | ConTeXt Process Management 0.62
mtx-context |
mtx-context | main context file: 
c:/ConTeXt/tex/texmf-context/tex/context/base/context.mkiv
mtx-context | current version: 2015.10.09 21:28




Thanks

Best

Joseph Canedo




\setupbodyfont[pagella]




\starttext




% \startcolumns[n=2]




\setupindenting[medium,yes]
\setupalign[tolerant]




\definefirstline
[fancy]
[alternative=line,
style=\tfd]




\setfirstline[fancy] \input tufte \par
\setfirstline[fancy] \input ward \par
\setfirstline[fancy] \input knuth \par
\setfirstline[fancy] \input bryson \page




\definefirstline
[fancy]
[alternative=word,
color=darkblue,
style=bold,
n=2]




\setfirstline[fancy] \input tufte \par
\setfirstline[fancy] \input ward \par
\setfirstline[fancy] \input knuth \par
\setfirstline[fancy] \input bryson \page




% \stopcolumns




\stoptext

test1.pdf
Description: test1.pdf
___
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] Dropcaps in ConTeXt

2015-10-27 Thread josephcanedo
Dear all,





I try to typeset some text with dropcaps which are pdf files in a 2 column 
text. I came up with 3 possibilities as shown in the sample below (attached 
D1.pdf). So far best solution seems to use the lettrine module, but I wondered 
if it would be possible to cope with the issue with figure and text overlapping 
if the first paragraph is very short (ie avoid using \\) ? Had a look to 
lettrine module source and wondered where I could find some documentation on 
the low level ConTeXt commands used in there ? For example to amend the code to 
avoid Lines= and use the actual figure size.


Sample follows:


\definecolumnset[TwoColumns][n=2]


\usemodule[lettrine]


\starttext


\startcolumnset [TwoColumns]


\placefigure[left,none]{}{\externalfigure[D1.pdf]} % how to have left side 
figure with text wrapping around it ?
This is a first paragraph.


\input tufte


\starthanging{\externalfigure[D1.pdf]}
This is a first paragraph.\\ % how to have \par here ?
\input tufte
\stophanging


\lettrine[Image=yes, Lines=4, Nindent=0pt, Findent=0.5em]{D1.pdf} % avoid Lines 
and use actual figure size ?
This is a first paragraph.\\ % how to have \par here ?
\input tufte


\stopcolumnset


\stoptext



Thanks

Regards


Joseph Canedo

D1.pdf
Description: D1.pdf
___
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] \setfirstline for headings/titles ?

2015-10-27 Thread josephcanedo
Dear all,


Still playing with \setfirstline, I was wondering how to apply it for headings 
as well ? Naive sample below does not work for the subject title, most probably 
because headings/titles have different processing than normal paragraphs.


\definecolumnset[TwoColumns][n=2]


\definefirstline[bbigline][alternative=line,
  style=\tfa]


\starttext


\startcolumnset [TwoColumns]


\startsubject[title={\setfirstline[bbigline] A very very very long title for 
subject we know will not fit in single line of output}] % first line with 
different style as in the text below ?


\setfirstline[bbigline] Some paragraph content here. First line should be 
printed bigger than rest of lines.


\stopsubject


\stopcolumnset


\stoptext


Thanks a lot,

Best regards


Joseph Canedo___
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] issue with oxia in latest beta

2015-10-27 Thread Pablo Rodriguez
Dear list,

I have the following sample:

\definefontfamily[mainface][rm][Theano Didot]
\setupbodyfont[mainface]
\starttext
\startTEXpage[offset=.5ex]
έέ
\stopTEXpage
\stoptext

Theano Didot can be downloaded from http://ousia.tk/theano-2.0.otf.zip.

For some reason unknown to me, latest beta from 2015.10.09 21:28 only
prints epislon with tonos (from Greek the code range) and ignores
epsilon with oxia (from the extended Greek code range).

My previous beta from 2015.09.13 13:31 prints both accented Greek vowels
fine.

Could anyone confirm the bug? As far as I have tested, it only happens
with this particular font.

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___
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] issue with oxia in latest beta

2015-10-27 Thread Thomas A. Schmitz

> On 27 Oct 2015, at 22:27, Pablo Rodriguez  wrote:
> 
> My previous beta from 2015.09.13 13:31 prints both accented Greek vowels
> fine.
> 
> Could anyone confirm the bug? As far as I have tested, it only happens
> with this particular font.
> 
> Many thanks for your help,

I can confirm and have seen the bug with several Greek fonts. The latest beta 
has several problems, I’m certain Hans is busy preparing a new one...

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