On 8/24/2013 2:08 AM, Marco Patzer wrote:
On 2013–08–24 Hans Hagen wrote:

On 8/23/2013 2:41 PM, Otared Kavian wrote:
Hi Hans,

This is a very nice feature indeed.
Out of curiosity, I wondered whether it is possible to to have \placeinitial to 
work with \definefirstline, or a variant of it: that is not only have the first 
character of the first sentence as a dropped capital, but also the first line 
(or first few words) for instance in smallcaps.

I played with that before uploading but it was somewhat tricky.
Anyway, I redid some code so now you can do this:

Did you forget to add a file?

loading         > ConTeXt Typesetting Macros / First Lines
! LuaTeX error ...o/ctx/te/tex/texmf-context/tex/context/base/typo-fln.lua:44: 
attempt to index field 'pool' (a nil value)
stack traceback:
        ...o/ctx/te/tex/texmf-context/tex/context/base/typo-fln.lua:44: in 
function 'code'
        ...o/ctx/te/tex/texmf-context/tex/context/base/util-lua.lua:84: in 
function 'loadedluacode'
        ...o/ctx/te/tex/texmf-context/tex/context/base/luat-env.lua:104: in 
function 'luafilechunk'
        ...o/ctx/te/tex/texmf-context/tex/context/base/luat-cod.lua:45: in 
function 'registercode'
        [string "\directlua "]:1: in main chunk.

system          > tex > error on line 53 in file 
/home/marco/ctx/te/tex/texmf-context/tex/context/base/typo-fln.mkiv: LuaTeX error  ...

hm, just some missing code in one of the files (i have two sets, a fast set and a traditional set, and i normally work with the fast set)

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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 via email to