[NTG-context] Line numbering and drop caps

2005-04-06 Thread Marcus Vinicius Mesquita de Sousa
It seems that the two don't go well together.
If I use:

%
% interface=en tex=pdfetex output=pdf language=pt
\enableregime   [win]

\def\MyDroppedCaps%
{\DroppedCaps{}{Serif}{2\baselineskip}{0pt}{1\baselineskip}{2}}

\setuplinenumbering[start=1,step=5]

\starttext

\startlinenumbering

\MyDroppedCaps Text test prestou—se às expansões do
parasita. Lívia contemplava o noivo
com adoração. Para ambos eles o mundo inteiro havia
desaparecido.
Inteiro não; Viana fez casualmente alusão a Raquel, e
essa
intempestiva recordação entristeceu a moça. Ela via
que a sua
felicidade era causa da desventura da amiga, e agora
que a tinha
quase realizado, sentia morder—lhe um piedoso remorso.

\stoplinenumbering

\stoptext


then the dropped cap doesn't stay where it should.
Any suggestions?

Thanks in advance

Marcus Vinicius




__ 
Yahoo! Messenger 
Show us what our next emoticon should look like. Join the fun. 
http://www.advision.webevents.yahoo.com/emoticontest
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Hyphenation in portuguese

2005-05-20 Thread Marcus Vinicius Mesquita de Sousa
Hi everybody!

I'm having problems with hyphenation in portuguese.
Any help would be appreciated.

Minimal example and log file below:


Marcus Vinicius


***
\setupoutput[pdf]%

\enableregime [windows]

\starttext

\language[pt]

\section{Introdução}

Este documento pretende ser um guia de referência de
configuração
do sistema {\bf Linux} e seus programas, teclados e
fontes de
caracteres, permitindo sua internacionalização ou
utilização confortável
por pessoas que falem a Língua Portuguesa.

\stoptext

***

This is pdfeTeX, Version 3.141592-1.21a-2.2 (MiKTeX
2.4) (preloaded format=cont-en 2005.5.20)  20 MAY 2005
08:31
entering extended mode
**test.tex
(test.tex

ConTeXt  ver: 2004.12.17  fmt: 2005.5.20  int: english
 mes: english

language   : language en is active

system : cont-new loaded
(p:\localtexmf\tex\context\base\cont-new.tex
systems: beware: some patches loaded from
cont-new.tex!
color  : palette rollover is available
system (E-TEX) : [line 1090]
system (E-TEX) : [line 1145]
)
system : cont-old loaded
(p:\localtexmf\tex\context\base\cont-old.tex
loading: Context Old Macros
)
system : cont-fil loaded
(p:\localtexmf\tex\context\base\cont-fil.tex
loading: Context File Synonyms
)
system : cont-sys loaded
(p:\localtexmf\tex\context\user\cont-sys.tex
fonts  : [berry] [texnansi] []
(p:\localtexmf\tex\context\base\./type-syn.tex)
(p:\localtexmf\tex\context\base\./type-enc.tex)
(p:\localtexmf\tex\context\base\./type-siz.tex)
(p:\localtexmf\tex\context\base\./type-map.tex)
(p:\localtexmf\tex\context\base\./type-spe.tex)
(p:\localtexmf\tex\context\base\./type-exa.tex)
(p:\localtexmf\tex\context\base\./type-akb.tex)
fonts  : [map] [base] [all]
(p:\localtexmf\tex\context\base\./type-syn.tex)
(p:\localtexmf\tex\context\base\./type-enc.tex)
(p:\localtexmf\tex\context\base\./type-siz.tex)
(p:\localtexmf\tex\context\base\./type-map.tex)
(p:\localtexmf\tex\context\base\./type-spe.tex)
(p:\localtexmf\tex\context\base\./type-exa.tex)
(p:\localtexmf\tex\context\base\./type-akb.tex))
bodyfont   : 12pt rm is loaded
language   : patterns
pt->texnansi:texnansi->1->2:2 pt->ec:ec->2->2:2 en->d
efault:default->3->2:2 uk->default:default->4->2:2
de->texnansi:texnansi->5->2:
2 de->ec:ec->6->2:2 fr->texnansi:texnansi->7->2:2
fr->ec:ec->8->2:2 es->default
:default->9->2:2 it->texnansi:texnansi->10->2:2
it->ec:ec->11->2:2 nl->texnansi
:texnansi->12->2:2 nl->ec:ec->13->2:2 loaded
specials   : tex,postscript,rokicki loaded
system : test.top loaded
(./test.top)
specials   : loading definition file tpd
(p:\localtexmf\tex\context\base\spec-tpd.tex
specials   : loading definition file fdf
(p:\localtexmf\tex\context\base\spec-fdf.tex

system (E-TEX) : [line 2241] \ifcsname
)
specials   : fdf loaded
)
specials   : fdf,tpd loaded
(./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo)
(./test.tuo)
(./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo)
(./test.tuo)
(./test.tuo) (./test.tuo) (./test.tuo)
fonts  : using map file: all-base.map
fonts  : using map file:
original-public-vnr.map
fonts  : using map file:
original-public-csr.map
fonts  : using map file:
original-public-plr.map
fonts  : using map file:
original-public-lm.map
fonts  : using map file:
original-ams-euler.map
fonts  : using map file: original-ams-cmr.map
fonts  : using map file: texnansi-base.map
fonts  : using map file: t5-base.map
fonts  : using map file: qx-base.map
fonts  : using map file: 8r-base.map
fonts  : using map file: ec-base.map
fonts  : using map file: ec-public-lm.map
fonts  : using map file: original-base.map
systems: begin file teste at line 5
section: 1 Introdução

Overfull \hbox (20.37343pt too wide) in paragraph at
lines 11--15
\*12ptrmbf* nux \*12ptmmmr* e seus pro-gra-mas,
te-cla-dos e fon-tes de ca-rac-
te-res, per-mi-tin-do sua internacionaliza[]~ao

\hbox(8.1+2.1)x426.78743, glue set - 1.0
.\*12ptrmbf* n
.\kern-0.375
.\*12ptrmbf* u
.\*12ptrmbf* x
.\glue 3.91663 plus 1.95831 minus 1.30554
.etc.

[1.1{original-empty.map}
Warning: pdfetex (file all-base.map): cannot open font
map file
{original-public-vnr.map}{original-public-csr.map}{original-public-plr.map}{ori
ginal-public-lm.map}{original-ams-euler.map}{original-ams-cmr.map}{texnansi-bas
e.map}{t5-base.map}{qx-base.map}{8r-base.map}{ec-base.map}{ec-public-lm.map}{or
iginal-base.map}]
systems: end file teste at line 16
 )
Here is how much of TeX's memory you used:
 1223 strings out of 64732
 18471 string characters out of 706944
 458648 words of memory out of 1075843
 33987 multiletter control sequences out of 6
 10582 words of font info for 35 fonts, out of 50
for 1000
 106 hyphenation exceptions out of 607
 44i,17n,49p,299b,407s stack po

Re: [NTG-context] Hyphenation in portuguese

2005-05-20 Thread Marcus Vinicius Mesquita de Sousa
Thank you, Hans, for the quick answer.
I did what you suggested and the problem continues...

Marcus Vinicius


--- Hans Hagen <[EMAIL PROTECTED]> wrote:
> Marcus Vinicius Mesquita de Sousa wrote:
> > Hi everybody!
> > 
> > I'm having problems with hyphenation in
> portuguese.
> > Any help would be appreciated.
> 
> what happens if you generate the format with
> 
> texexec --make --all
> 
> Hans
> 
>
-
>Hans
> Hagen | PRAGMA ADE
>Ridderstraat 27 | 8061 GH Hasselt |
> The Netherlands
>   tel: 038 477 53 69 | fax: 038 477 53 74 |
> www.pragma-ade.com
>   |
> www.pragma-pod.nl
>
-
> 
> ___
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
> 



__ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Vanishing footnotes inside \startpagenumbering ... \stoppagenumbering

2005-05-29 Thread Marcus Vinicius Mesquita de Sousa
Hi ConTeXters!

If you put a footnote inside

\startpagenumbering \stoppagenumbering

it will not appear. Any ideas?


Minimal example below:




\setupoutput[pdf]

\setuplinenumbering[start=1,step=5,style=\tfx]

\starttext

\startlinenumbering

We to those beasts, that rapid strode along,
Drew near, when Chiron took an arrow forth,
And with the notch push'd back his shaggy beard
To the cheek-bone, then his great mouth to view
Exposing, to his fellows thus exclaim'd:
``Are ye aware, that he who comes behind
Moves what he touches?  The feet of the dead
Are not so wont.´´ My trusty guide, who now
Stood near his breast, where the two natures join,
Thus made reply: ``He is indeed alive,
And solitary so must needs by me
Be shown the gloomy vale, thereto induc'd
By strict necessity, not by delight.
She left her joyful harpings in the sky,
Who this new office to my care consign'd.
He is no robber, no dark spirit I.
But by that virtue, which empowers my step
To treat so wild a path, grant us, I pray,
One of thy band, whom we may trust secure,
Who to the ford may lead us, and convey
Across, him mounted on his back; for he
Is not a spirit that may walk the air.´´
\footnote{Dante Alighieri, Inferno, Canto XII, Divina
Comedia}

\stoplinenumbering

\stoptext




__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new Resources site
http://smallbusiness.yahoo.com/resources/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Lettrine in ConTeXt

2005-05-29 Thread Marcus Vinicius Mesquita de Sousa
Hi ConTeXters!

I played a little with Taco's implementation of
Lettrine and it
worked nice, but the capital letter is always in
CMR10. The option
TextFont works fine, and one can change the font that
comes after
the dropped cap with commands like \sc (default), \it,
\sl or \bf, but
the option FontHook, which changes the font of the
capital, doesn't
seem to work when one uses, for example,

\setuplettrine[Lines=3,TextFont=\it,FontHook=\bf,Findent=0pt,Nindent=0pt]
. Did I miss something?

Marcus Vinicius

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Lettrine in ConTeXt

2005-05-30 Thread Marcus Vinicius Mesquita de Sousa
Hi Taco!

It works perfectly!

Thank you.

Marcus Vinicius


--- Taco Hoekwater <[EMAIL PROTECTED]> wrote:
> 
> The problem is that FontHook has to redefine the
> font synonym
> 'LettrineFont'. You have to do it like this:
> 
>\unexpanded\def\myfonthook
>  {\definefontsynonym[LettrineFont][SerifBold]}
> 
>\setuplettrine[Lines=3,TextFont=\it,
>  FontHook=\myfonthook,
>  Findent=0pt,Nindent=0pt]
> 
> Greetings, Taco
> 
> (I'll send a new zip with included documentation
> to Patrick soon)
> 




__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new Resources site
http://smallbusiness.yahoo.com/resources/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context