Re: [NTG-context] Context 2006.01.09 released

2006-01-10 Thread Hans Hagen

VnPenguin wrote:


On 1/9/06, Hans Hagen [EMAIL PROTECTED] wrote:
 


Just update to this release, and ... ConTeXt stops work with my files :(


 


ah ... sorry ... i hate this font name mess

in type-akb.tex search for:

\starttypescript [adobekb,berry] [t5]

and comment this typescript (see attached file)

if that works ok, i'll make a new zip

Now this is a persistent problem

- some distributions only ship with the u* font files
- others with the p* font files
- it even changes now and then
- and it was suggested that nowadays p* would work everywhere
- which it doesn't
- because vietnamese does not have p* files
- so we need to use u* ones
- till someone tells me to use p* ones
- which, of course, then will not be available everywhere
- and so on

so, now it looks like we end up with a mixture of p* for non vietnamese
and u* for vietnamese

(an option is to use the cont-fnt zip file and forget about
adobekb/berry naming but i didn't test it with vietnamese [yet])

Hans

   



I updated the file, rebuild data (texexec --make --all . like wiki page)
But that does not help, there are now another errors:
 


ok, another attempt (attacted file, no need for a format remake)

Hans
%D \module
%D   [   file=type-akb,
%Dversion=2001.07.08,
%D  title=\CONTEXT\ Typescript Macros,
%D   subtitle=Adobe's Famous Gang of Fonts,
%D author=Patrick Gundlach,
%D   date=\currentdate,
%D  copyright={Patrick Gundlach / PRAGMA}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.

%D Last Change: Tue Mar 18 16:01:03 2003

%D This module is written by Patrick Gundlach ([EMAIL PROTECTED])
%D and maps to the standard postscript fonts conforming the
%D psnfss system as used by \LaTeX.
%D
%D \starttyping
%D \setupencoding[default=texnansi]
%D \usetypescript[adobekb][\defaultencoding]
%D \stoptyping
%D
%D The following is not needed since the file is already
%D registered:
%D
%D \starttyping
%D \usetypescriptfile[akb]
%D \stoptyping

\starttypescriptcollection[adobe kb mappings]

\starttypescript [adobekb] [8r]

\loadmapfile[8r-base.map]

\definefontsynonym [8r-utmr8a] [ptmr8r]  [encoding=8r]
\definefontsynonym [8r-utmri8a][ptmri8r] [encoding=8r]
\definefontsynonym [8r-utmb8a] [ptmb8r]  [encoding=8r]
\definefontsynonym [8r-utmbi8a][ptmbi8r] [encoding=8r]

\definefontsynonym [8r-utmr8a-slanted-167] [ptmro8r] [encoding=8r]
\definefontsynonym [8r-utmb8a-slanted-167] [ptmbo8r] [encoding=8r]

\definefontsynonym [8r-uhvr8a] [phvr8r]  [encoding=8r]
\definefontsynonym [8r-uhvro8a][phvro8r] [encoding=8r]
\definefontsynonym [8r-uhvb8a] [phvb8r]  [encoding=8r]
\definefontsynonym [8r-uhvbo8a][phvbo8r] [encoding=8r]

\definefontsynonym [8r-ucrr8a] [pcrr8r]  [encoding=8r]
\definefontsynonym [8r-ucrb8a] [pcrb8r]  [encoding=8r]
\definefontsynonym [8r-ucrro8a][pcrro8r] [encoding=8r]
\definefontsynonym [8r-ucrbo8a][pcrbo8r] [encoding=8r]

\definefontsynonym [8r-uplr8a] [pplr8r]  [encoding=8r]
\definefontsynonym [8r-uplri8a][pplri8r] [encoding=8r]
\definefontsynonym [8r-uplb8a] [pplb8r]  [encoding=8r]
\definefontsynonym [8r-uplbi8a][pplbi8r] [encoding=8r]
\definefontsynonym [8r-uplr8a-slanted-167] [pplro8r] [encoding=8r]
\definefontsynonym [8r-uplb8a-slanted-167] [pplbo8r] [encoding=8r]
\definefontsynonym [8r-uplr8a-capitalized-800] [pplr8r]  [encoding=8r]

\definefontsynonym [8r-ubkl8a] [pbkl8r]  [encoding=8r]
\definefontsynonym [8r-ubkli8a][pbkli8r] [encoding=8r]
\definefontsynonym [8r-ubkd8a] [pbkd8r]  [encoding=8r]
\definefontsynonym [8r-ubkdi8a][pbkdi8r] [encoding=8r]
\definefontsynonym [8r-ubkl8a-slanted-167] [pbklo8r] [encoding=8r]
\definefontsynonym [8r-ubkd8a-slanted-167] [pbkdo8r] [encoding=8r]
\definefontsynonym [8r-ubkl8a-capitalized-800] [pbkl8r]  [encoding=8r]

\definefontsynonym [8r-uzcmi8a][pzcmi8r] [encoding=8r]

\definefontsynonym [8r-putr8a] [putr8r]  [encoding=8r]
\definefontsynonym [8r-putri8a][putri8r] [encoding=8r]
\definefontsynonym [8r-putb8a] [putr8r]  [encoding=8r]
\definefontsynonym [8r-putbi8a][putbi8r] [encoding=8r]
\definefontsynonym [8r-putr8a-slanted-167] [putro8r] [encoding=8r]
\definefontsynonym [8r-putb8a-slanted-167] [putbo8r] [encoding=8r]
\definefontsynonym [8r-putr8a-capitalized-800] [putr8r]  [encoding=8r]

\definefontsynonym [8r-bchr8a] [bchr8r]  [encoding=8r]
\definefontsynonym [8r-bchri8a][bchri8r] [encoding=8r]
\definefontsynonym [8r-bchb8a] [bchb8r]  [encoding=8r]
\definefontsynonym [8r-bchbi8a] 

Re: [NTG-context] Monospace Fonts for Verbatim

2006-01-10 Thread Hans Hagen

Louis Springer wrote:

I have a typescript I am using for a custom font, but the custom font  
has no monospace variant appropriate for verbatim text. I'm  
attempting to use Courier or some other monospace font for verbatim  
and maintain my custom font for normally typeset serf text.


My broken typescript is as follows:

\starttypescript [map][sunsans,sunserif][texnansi]
\loadmapfile[texnansi-sun-sunsans.map]
\loadmapfile[texnansi-sun-sunserif.map]
\stoptypescript

% sans serif
\starttypescript [sans] [sunsans] [name]
\definefontsynonym[Sans][SunSans-Regular]
\definefontsynonym[SansItalic][SunSans-Italic]
\definefontsynonym[SansBold][SunSans-RegularDemi]
\definefontsynonym[SansBoldItalic][SunSans-Regular-BoldOblique]
\stoptypescript


\starttypescript [sans] [sunsans] [texnansi]
\usetypescript[sans][fallback]
\definefontsynonym[SunSans-Heavy][texnansi-SunSans-Heavy] 
[encoding=texnansi]
\definefontsynonym[SunSans-Italic][texnansi-SunSans-Italic] 
[encoding=texnansi]
\definefontsynonym[SunSans-Regular-Bold][texnansi-SunSans-Regular- 
Bold][encoding=texnansi]
\definefontsynonym[SunSans-Regular-BoldOblique][texnansi-SunSans- 
Regular-BoldOblique][encoding=texnansi]
\definefontsynonym[SunSans-Regular][texnansi-SunSans-Regular] 
[encoding=texnansi]
\definefontsynonym[SunSans-RegularDemi][texnansi-SunSans-RegularDemi] 
[encoding=texnansi]

\stoptypescript


%serif
\starttypescript [serif] [sunserif] [name]
\definefontsynonym[Serif][SunSerif-Regular]
\definefontsynonym[SerifItalic][SunSerif-Italic]
\definefontsynonym[SerifBold][SunSerif-Regular-Bold]
\definefontsynonym[SerifBoldItalic][SunSerif-Regular-Bold-Italic]
\stoptypescript


\starttypescript [serif] [sunserif] [texnansi]
\usetypescript[serif][fallback]
\definefontsynonym[SunSerif-Italic][texnansi-SunSerif-Italic] 
[encoding=texnansi]
\definefontsynonym[SunSerif-Regular-Bold-Italic][texnansi-SunSerif- 
Regular-Bold-Italic][encoding=texnansi]
\definefontsynonym[SunSerif-Regular-Bold][texnansi-SunSerif-Regular- 
Bold][encoding=texnansi]
\definefontsynonym[SunSerif-Regular][texnansi-SunSerif-Regular] 
[encoding=texnansi]

\stoptypescript

%monospace
\starttypescript [mono] [sunserif] [name]
\usetypescript[mono][fallback]
\definefontsynonym[Serif][Mono]
\stoptypescript


hm, why this way? (It's Mono btw)




The last bit (around the comment monospace) is my apparently futile  
attempt to get the verbatim to use the default monospace font. I get  
the desired results with a kludge if I replace


\definefontsynonym[Serif][SunSerif-Regular]

with

\definefontsynonym[Serif][Mono]

but this affects normally typeset serif. Ideally,  I would like to  
have in the  SunSerif-Regular typeface for non-verbatim serif text.


\definetypeface[somesun][rm][serif][sunserif][default]
\definetypeface[somesun][ss][sans][sunsans][default]
\definetypeface[somesun][tt][mono][modern][default][rscale=.9]
\definetypeface[somesun][mm][math][modern][default][rscale=.9]

so, you don't need to define some fake sun mono

Hans
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Right-to-left typesetting in Farsi for Context.

2006-01-10 Thread Idris Samawi Hamid
On Tue, 10 Jan 2006 08:25:16 -0700, Idris Samawi Hamid  
[EMAIL PROTECTED] wrote:


You can use whatever font your client prefers, particularly if it does  
not involve a lot of ligatures or vowels (most fonts used in Persian  
typesetting are pretty basic in this regard, with the very important  
exception of Nastaliq, which TeX/Aleph cannot do quite yet...)


Clarification: you can use heavy vowels and ligatures; it's just a lot of  
tedious work to set up...


--
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Font memory issues ?

2006-01-10 Thread David Wooten

Greetings ConTeXters,

Just recently (after updating to the most recent i-Installer ConTeXt  
version / but also after writing/tweaking a little more), I am  
apparently running into some font memory issues.*


I have tried to increase the available memory in web2c/texmf.cnf to  
no avail. One curiosity is the pdfTeX error further down: argument  
hz,normal. I am using hz,hanging in this document.


Any clues?

Many thanks,
David


*
[27.27]
! Font \*12ptrmtf*=texnansi-LIGA-KERN-ONUM-PNUM-MinionPro-Regular at  
12.0pt not

loaded: Not enough room left.
to be read again
   \relax
\xxdododefinefont ...tspec {#4}\newfontidentifier
  \let  
\localrelativefontsiz...


\fontstrategy ...ame #1\csname #2#3#4#5\endcsname
  \tryingfontfalse \fi
inserted text ...yle \fontalternative \fontsize
  \fi \iftryingfont  
\fontstr...


\synchronizefont ...strategy \the \fontstrategies
  \relax \fi  
\ifskipfontchar...

argument \getvalue [EMAIL PROTECTED]@ \globalfontstyle }
 \edef \fontstyle  
{\globalfo...

...
l.27 \stopbackmatter

! pdfTeX error (font expansion): invalid font identifier.
\dosetfontadjusting ...pdffontexpand \handledfont
  \csname [EMAIL PROTECTED]@  
[EMAIL PROTECTED]@ #1\c...

inserted text ...ntadjusting \askedfonthandling
   
\setprotrudingfactor \aske...


\dofastenablehandling ...\everyenablefonthandling
  \edef  
\fonthandling {\csna...


\rawprocesscommaitem ...commalevel \endcsname {#1}
  \expandafter  
\rawprocessco...

argument hz,n
   ormal
\rawprocesscommalist ...er \rawprocesscommaitem #1
  ,],\global  
\advance \comma...

...
l.27 \stopbackmatter

!  == Fatal error occurred, the output PDF file is not finished!
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Font memory issues ? : bib-module?

2006-01-10 Thread David Wooten
Excuse me for replying to myself, but it is also curious that ConTeXt  
is trying to call a 12pt font. I have called 11pt in the environment.


It looks like these errors are appearing at the Bibliography. Might  
this be due to something in the the beta bib-module?


David

On Jan 10, 2006, at 11:07 AM, David Wooten wrote:


Greetings ConTeXters,

Just recently (after updating to the most recent i-Installer  
ConTeXt version / but also after writing/tweaking a little more), I  
am apparently running into some font memory issues.*


I have tried to increase the available memory in web2c/texmf.cnf to  
no avail. One curiosity is the pdfTeX error further down:  
argument hz,normal. I am using hz,hanging in this document.


Any clues?

Many thanks,
David


*
[27.27]
! Font \*12ptrmtf*=texnansi-LIGA-KERN-ONUM-PNUM-MinionPro-Regular  
at 12.0pt not

loaded: Not enough room left.
to be read again
   \relax
\xxdododefinefont ...tspec {#4}\newfontidentifier
  \let  
\localrelativefontsiz...


\fontstrategy ...ame #1\csname #2#3#4#5\endcsname
  \tryingfontfalse \fi
inserted text ...yle \fontalternative \fontsize
  \fi \iftryingfont  
\fontstr...


\synchronizefont ...strategy \the \fontstrategies
  \relax \fi  
\ifskipfontchar...

argument \getvalue [EMAIL PROTECTED]@ \globalfontstyle }
 \edef \fontstyle  
{\globalfo...

...
l.27 \stopbackmatter

! pdfTeX error (font expansion): invalid font identifier.
\dosetfontadjusting ...pdffontexpand \handledfont
  \csname [EMAIL PROTECTED]@  
[EMAIL PROTECTED]@ #1\c...

inserted text ...ntadjusting \askedfonthandling
   
\setprotrudingfactor \aske...


\dofastenablehandling ...\everyenablefonthandling
  \edef  
\fonthandling {\csna...


\rawprocesscommaitem ...commalevel \endcsname {#1}
  \expandafter  
\rawprocessco...

argument hz,n
   ormal
\rawprocesscommalist ...er \rawprocesscommaitem #1
  ,],\global  
\advance \comma...

...
l.27 \stopbackmatter

!  == Fatal error occurred, the output PDF file is not finished!
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Context 2006.01.09 released

2006-01-10 Thread VnPenguin
On 1/10/06, Hans Hagen [EMAIL PROTECTED] wrote:
 ok, another attempt (attacted file, no need for a format remake)

 Hans


This time it works :-)
Thank you,


--
http://vnoss.org
Vietnamese Open Source Software Community
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Context 2006.01.09 released

2006-01-10 Thread Idris Samawi Hamid

Hi,

On Mon, 09 Jan 2006 12:14:18 -0700, Jilani Khaldi  
[EMAIL PROTECTED] wrote:


Is there a particular procedure (read sinple) to update MikteX (for  
Windows) without breaking the already installed distribution? Or to wait  
for a while until a MikTeX Update is ready?

Thanks!


The best thing to do is install MiKTeX without ConTeXt support, and then  
extract cont-tmf.zip into
\texmf-local, then refresh the fndb. I don't know how often Christian  
updates ConTeXt so I can't speak to that-)


But in my experience, if you want to painlessly keep ConTeXt up to date,  
install your distro of choice without ConTeXt and just add it on yourself  
locally.


best
Idris

--
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Font memory issues ? : bib-module?

2006-01-10 Thread Taco Hoekwater

David Wooten wrote:
Excuse me for replying to myself, but it is also curious that ConTeXt  
is trying to call a 12pt font. I have called 11pt in the environment.


It looks like these errors are appearing at the Bibliography. Might  
this be due to something in the the beta bib-module?


Not knowingly, but it could be the last drop.

Can remove the \placepublications for a test run, and post the tail end
of the log of that (hopefully succesful) run? The bit that contains
the statistics, I mean.

Cheers, taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] i-Installer / minimal TeX installation for ConTeXt?

2006-01-10 Thread Idris Samawi Hamid
On Mon, 09 Jan 2006 12:23:17 -0700, David Wooten [EMAIL PROTECTED]  
wrote:



Greetings all,

By and by I've found that I am only using ConTeXt for my typesetting  
needs. I am curious as to whether someone can advise me how best to  
install a suitable yet minimal TeX installation:  without LaTeX, etc. I  
am currently using Gerben's very helpful i-Installer.


Perhaps it would vary too much between users to say definitively?


Such a distro exists for windows. Someone would have to take  
responsibility for a Mac setup, and I suppose that's one reason why Hans  
has not (yet) a similar package for Mac (or Linix)


Best

--
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] page breaks broken?

2006-01-10 Thread Taco Hoekwater

Idris Samawi Hamid wrote:

Dear gang,

Having serious trouble with pagebreaks:


For the 'right'  to work, you need an extra

  \setuppagenumbering[alternative=doublesided]

I don't know what's wrong with the other \page
command.

Cheers, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Problem with \placefigure

2006-01-10 Thread FrancoisFasoli



The following test file gives a good result with 
old ConteXtbut gives an error with new ConteXtIt seems that new ConteXt 
does not accept [center]What is the problem ?Thanks

\starttext

\placefigure[center]{}{}

\stoptext

error message :

(c:/MesPGM/TeXLive/texmf-local/tex/ConteXt/base/spec-fdf.tex)specials 
: fdf loaded)specials : 
fdf,tpd loaded)systems : 
begin file test at line 1floatblocks : no block 
givenfloatblocks : 1 placed! Undefined control 
sequence.\OTRONEsomeherefloat ...\dorechecknextindentation

argument ...placesomeherefloat [\v!here 
,center] 
\else \dosavefloat \fi \fi\secondoftwoarguments #1#2-#2

\dogetfloatbox ... \floatmethod \floatmethod 
}[#1] 
\fi\docompletefloat ...#5}{\preparednumber 
}}{#6}{#1} 
\fi \fi \global \insideflo...argument 
...}{figure}{center}{figure}{}\nextbox 
\else \docompletefloat {fi..l.3 
\placefigure[center]{}{}


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Font memory issues ? : bib-module?

2006-01-10 Thread David Wooten
Here are the stats, after removing placepublications:

Here is how much of TeX's memory you used:
 4760 strings out of 60999
 76752 string characters out of 611011
 32604822 words of memory out of 34111765
 40674 multiletter control sequences out of 1+5
 1974579 words of font info for 355 fonts, out of 200 for 2000
 232 hyphenation exceptions out of 5000
 62i,21n,81p,1198b,1736s stack positions out of 5000i,500n,6000p,20b,4s
PDF statistics:
 209 PDF objects out of 30
 0 named destinations out of 131072
 115969 words of extra memory for PDF output out of 128383

On Tue, 10 Jan 2006 21:22:14 +0100, Taco Hoekwater [EMAIL PROTECTED] wrote:
 David Wooten wrote:
 Excuse me for replying to myself, but it is also curious that ConTeXt
 is trying to call a 12pt font. I have called 11pt in the environment.

 It looks like these errors are appearing at the Bibliography. Might
 this be due to something in the the beta bib-module?
 
 Not knowingly, but it could be the last drop.
 
 Can remove the placepublications for a test run, and post the tail end
 of the log of that (hopefully succesful) run? The bit that contains
 the statistics, I mean.
 
 Cheers, taco
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] columnsets and footnotes (better explained)

2006-01-10 Thread Steffen Wolfrum

Hi Hans,

maybe my problem was not clear enough. So please let me try it once  
more.


The following example has main text in 2 columns and footnote text in  
3 columns:


\setupfootnotes[n=3]
\starttext
  \startcolumns
   \dorecurse{10}{\input tufte\footnote{\input ward \relax}}
  \stopcolumns
\stoptext

But as I also have to use section titles that span the columns  
(without causing pagebreaks)

I need to use columnsets (like they are used in the following example):

\definecolumnset[two][n=2]
\definecolumnsetspan[two][n=2]
\setupfootnotes[n=1,width=\hsize]
\starttext
   \startcolumnset[two]
   \input tufte\footnote{\input ward \relax}
\startcolumnsetspan[two]
  \subsubsection{Spanning all columns without page break}
\stopcolumnsetspan
   \dorecurse{10}{\input ward\footnote{\input tufte \relax}}
  \stopcolumnset
\stoptext


But I don't want the footnotes to be placed at the bottom of each  
column,
I want them to be set in 3 columns at the bottom of the page (as  
shown in the columns example above).


How can this be done?

Steffen

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Font memory issues ? : bib-module?

2006-01-10 Thread Taco Hoekwater

David Wooten wrote:

Here are the stats, after removing placepublications:

Here is how much of TeX's memory you used:
 4760 strings out of 60999
 76752 string characters out of 611011
 32604822 words of memory out of 34111765
 40674 multiletter control sequences out of 1+5
 1974579 words of font info for 355 fonts, out of 200 for 2000


That's cutting it close:

  200-1974579 = 25421.

Another five extra fonts (or so) being loaded will 'do it'.

You have to increase font_mem_size, my guess is this limit is
triggered by nothing but 'normal operation' (not a bug).

Good luck, Taco

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Problem with \placefigure

2006-01-10 Thread Hans Hagen

FrancoisFasoli wrote:


The following test file gives a good result with old ConteXt
but gives an error with new ConteXt
It seems that new ConteXt does not accept [center]
What is the problem ?


grep dorechecknextindentation *.tex
cont-new.tex:   \dorechecknextindentation}
core-des.tex:   \dorechecknextindentation}
core-itm.tex:   \dorechecknextindentation}
core-mat.tex:   \dorechecknextindentation} % here ?
core-spa.tex:\def\dorechecknextindentation
core-ver.tex:   \dorechecknextindentation}
page-one.tex:   \dorechecknextindentation}

its' really defined in core-spa.tex, so, it looks like you use a new 
cont-new.tex with an old format; did you remake the formats?


(if you run a very old context you may need to remove the (e)fmt files 
manually first)


Hans
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Font memory issues ? : bib-module?

2006-01-10 Thread Hans Hagen

Taco Hoekwater wrote:


David Wooten wrote:


Here are the stats, after removing placepublications:

Here is how much of TeX's memory you used:
 4760 strings out of 60999
 76752 string characters out of 611011
 32604822 words of memory out of 34111765
 40674 multiletter control sequences out of 1+5
 1974579 words of font info for 355 fonts, out of 200 for 2000



That's cutting it close:

  200-1974579 = 25421.

Another five extra fonts (or so) being loaded will 'do it'.

You have to increase font_mem_size, my guess is this limit is
triggered by nothing but 'normal operation' (not a bug).


indeed, it may be that the bibliography module uses a (say) small or 
slanted font and since context allocates fonts on demand (only when 
needed) such a problem may surface rather late in the file


Hans
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Context 2006.01.09 released

2006-01-10 Thread Hans Hagen

VnPenguin wrote:


On 1/10/06, Hans Hagen [EMAIL PROTECTED] wrote:
 


ok, another attempt (attacted file, no need for a format remake)

Hans

   



This time it works :-)
 



ok, i'll generate a new zip

Hans
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Problem with \placefigure

2006-01-10 Thread Hans Hagen

FrancoisFasoli wrote:


The following test file gives a good result with old ConteXt
but gives an error with new ConteXt
It seems that new ConteXt does not accept [center]
What is the problem ?
Thanks
 
\starttext
 
\placefigure[center]{}{}
 
\stoptext
 
error message :
 
(c:/MesPGM/TeXLive/texmf-local/tex/ConteXt/base/spec-fdf.tex)

specials: fdf loaded
)
specials: fdf,tpd loaded
)
systems : begin file test at line 1
floatblocks : no block given
floatblocks : 1 placed
! Undefined control sequence.
\OTRONEsomeherefloat ...\dorechecknextindentation


has nothing to do with center (which has never been an option anyway) 
but with the fact that you forgot to generate the format (or use teh 
wrong one) so your format clashes with the cont-new.tex file


 
argument ...placesomeherefloat [\v!here ,center]
  \else \dosavefloat 
\fi \fi

\secondoftwoarguments #1#2-#2
 
\dogetfloatbox ... \floatmethod \floatmethod }[#1]

  \fi
\docompletefloat ...#5}{\preparednumber }}{#6}{#1}
  \fi \fi \global 
\insideflo...

argument ...}{figure}{center}{figure}{}\nextbox
  \else 
\docompletefloat {fi...

...
l.3 \placefigure[center]{}{}
 
 




___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
 



___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] framed texts for boxing stuff

2006-01-10 Thread Maurice Diamantini (dom)


Le 10 janv. 06 à 00:01, Hans Hagen a écrit :


Maurice Diamantini (dom) wrote:

As the LaTeX++ concurrent package designer, you should read  
some  page of the

LaTeX reference documentation A document Preparation System
It is little book  (272 pages with the index !) and cover the core  
of  the

package.
Page 103 to 110 are related to boxes, and is what is missing in  
context.


hm, i prefer to start from user demands and personal needs; we used  
latex for

a very short time and i don't remember mini pages -)


Ok, but what I mean is the need of such a documentation on the  
ConTeXt core, not

reimplementing LaTeX in ConTeXt !



I'm not sure that ConTeXt \framed command is able to reproduce
the parbox behavior (position a framed box relatively to its  
internal  top

or bottom line and the outside baseline)


i think we can safely assume that all these things are available  
somehow

(supp-box.tex implements a lot of box types)


I saw this source file thanks to the following URL:
   http://source.contextgarden.net/supp-box.tex
There is very much interesting macro, but I see some
   %D \macros
   %D   {strutdp,strutht,strutwd}
   %D ...
Does it mean that an automatic generated documentation is available  
somewhere

on the web?
Or is it mondatoryto browse the source for using these command.


normally \framed can do what's needed, so in your case, if you can  
make

clear what you want to achieve i'm sure that someone on this list can
provide the answer



... So what is the current reference documentation about framed
  - Context the manual (page 206) ?
  - ConTeXt an excursion (page 45) ?


the manual as well as examples inside the core-ful.tex file


I havent been able to find this file!
core-fil.tex exists but doesn't seem to be about using boxes!



the most important properties of framed are

- offset (none,overlay, dimension)
- align (all kind of combinations)
- width/height (dimension or keyword)
- strut (yes|no)

just play a bit with it and you'll see the picture


Thank you for these informations, I reread the (box related) reference
manual, and better understand the thing!


...
I think there has to be two pairs of informations to position a
box (i.e. a cell text):
- how is the box is positioned relatively to its environment (the   
location=

  keyword I think),


no, location is limited to a few options; you can use macros
like \offset[...]{} or other box positioning macros; layers
are also an option


Although I guess what it mean, I didn't found the \offset command
doc neither. I suppose it has numerous
interesting options (on http://texshow.contextgarden.net/)?



- inside the box : everywhere. that implies two reals numbers
  between 0.0 and 1.0 (perhaps wider?)


what are those numbers representing?


It could just be a way to specify arbitrary position between
left (0.0) and right (1.0) or between bottom (0.0) ant top (1.0)
But the more important whould be a (uptodate) reference documentation  
about

the already existing commands.


  (but the TeX command \raise0.5ex could do that)


indeed, \raise and \lower and cousins can come in handy


Yes, I always forget TeX command! thank you very much !


(what do you use those minipages for?)

These are just (v?)boxes which can contain several paragraphs
and theyre own footnotes. Some options can be use to position
theyre internal (top or bottom) line relatively to the external
base line.

No need for now, I only used them in LaTeX for building some boxing
construction. But in context I used vboxex into hboxes (because I
didn't kwox enough about standard \framed command)

In fact, ConTeXt already contains all the needed stuffs, and only
some centralised documentation for using them is missing!

I'm waiting for the future ConTeXt book ;-)

-- Maurice

PS.
Also the ConTeXt wiki becomme more and more rich in information!
Thank you very much for all that

!

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] framed texts for boxing stuff

2006-01-10 Thread Hans Hagen

Maurice Diamantini (dom) wrote:


Although I guess what it mean, I didn't found the \offset command
doc neither. I suppose it has numerous
interesting options (on http://texshow.contextgarden.net/)?


that;s a new one indeed (that is, old but not yet documented which makes 
it new -)



It could just be a way to specify arbitrary position between
left (0.0) and right (1.0) or between bottom (0.0) ant top (1.0)
But the more important whould be a (uptodate) reference documentation  
about

the already existing commands.


hm, such things are always 'relative' because optimal heights and depth 
of lines are involved:


i will think about it


These are just (v?)boxes which can contain several paragraphs
and theyre own footnotes. Some options can be use to position
theyre internal (top or bottom) line relatively to the external
base line.


ok, so inmost cases framed with frame=off will do; local footnotes can 
be provides with the appropriate commands



I'm waiting for the future ConTeXt book ;-)


press Steve and Adam and hope for many cold and dark nights

Hans
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] framed texts for boxing stuff

2006-01-10 Thread Hans Hagen

Maurice Diamantini (dom) wrote:




the manual as well as examples inside the core-ful.tex file



I havent been able to find this file!
core-fil.tex exists but doesn't seem to be about using boxes!


core-rul.tex

Hans
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] framed texts for boxing stuff

2006-01-10 Thread Mojca Miklavec
On 1/10/06, Maurice Diamantini (dom) wrote:

 Ok, but what I mean is the need of such a documentation on the
 ConTeXt core, not
 reimplementing LaTeX in ConTeXt !

Add to the wiki what you've learned! Hans codes much faster than he
manages to document things, so it's up to the community to keep the
documentation up-to-date ;)

 I saw this source file thanks to the following URL:
 http://source.contextgarden.net/supp-box.tex
 There is very much interesting macro, but I see some
 %D \macros
 %D   {strutdp,strutht,strutwd}
 %D ...
 Does it mean that an automatic generated documentation is available
 somewhere
 on the web?
 Or is it mondatoryto browse the source for using these command.

See
http://www.logosrl.it/context/modules/
that Luigi kept preparing last summer (perhaps gave up afterwards?)

But it's HGE (I would guess that reading the source is faster even
if you see no picture).

 I'm waiting for the future ConTeXt book ;-)

:)

 PS.
 Also the ConTeXt wiki becomme more and more rich in information!
 Thank you very much for all that

Feel free to become one of those who make the wiki better.

Mojca
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Updating to Context 2006.01.09

2006-01-10 Thread Jilani Khaldi


The best thing to do is install MiKTeX without ConTeXt support, and 
then  extract cont-tmf.zip into

\texmf-local, then refresh the fndb.


Just doing:
texexec --make
or something else?

Thanks!
jk

--
Jilani KHALDI
http://jkhaldi.oltrelinux.com

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Why PDF files generated by ConTeXt are so big?

2006-01-10 Thread Jilani Khaldi
I have translated some docs from LaTeX to ConTeXt and I found that the 
PDF files generated by ConTeXt are almost 3 times bigger than the ones 
generated by LaTeX (*). Why all this difference?


jk

(*) MikTeX under Windows

--
Jilani KHALDI
http://jkhaldi.oltrelinux.com

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] i-Installer / minimal TeX installation for ConTeXt?

2006-01-10 Thread Gerben Wierda

On Jan 10, 2006, at 21:22, Idris Samawi Hamid wrote:

By and by I've found that I am only using ConTeXt for my typesetting 
needs. I am curious as to whether someone can advise me how best to 
install a suitable yet minimal TeX installation:  without LaTeX, etc. 
I am currently using Gerben's very helpful i-Installer.


If someone can tell me which part of my redistro should stay, I can 
easily rearrange matters such that such a minimal install is possible.


G

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Font memory issues ?

2006-01-10 Thread David Wooten


On Jan 10, 2006, at 1:54 PM, Hans Hagen wrote:


did you remake the format after increasing the memory values?


This means texexec --make --all ?

I did try the above, but the  numbers in the log when running my file  
do not change. I can only imagine that there is another place to  
change the memory settings. In my context.cnf, the numbers are  
identical to yours below, although I did try to raise the  
font.mem.size.context as we've been discussing.



hz lets pdftex internally generate additional font instances

these are my texmf.cnf values

buf_size.context =  20 % needed for omega bug
extra_mem_bot.context= 200
extra_mem_top.context= 400
font_max.context =2000
font_mem_size.context= 100
hash_extra.context   =   75000
main_memory.context  = 200
max_strings.context  =  25
nest_size.context= 500
obj_tab_size.context =  30 % 8388607
pdf_mem_size.context =  50 % 524288
dest_names_size.context  =  30 % 131072
param_size.context   =   1
pool_free.context=   47500
pool_size.context= 200
save_size.context=   5
stack_size.context   =   1
string_vacancies.context =  125000
trie_size.context=  25
hyph_size.context=8191 % prime

(texmfstart --bin youreditor kpse:texmf.cnf)

Hans

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] i-Installer / minimal TeX installation for ConTeXt?

2006-01-10 Thread Idris Samawi Hamid
On Tue, 10 Jan 2006 17:00:19 -0700, Gerben Wierda [EMAIL PROTECTED]  
wrote:



On Jan 10, 2006, at 21:22, Idris Samawi Hamid wrote:

By and by I've found that I am only using ConTeXt for my typesetting  
needs. I am curious as to whether someone can advise me how best to  
install a suitable yet minimal TeX installation:  without LaTeX, etc.  
I am currently using Gerben's very helpful i-Installer.


If someone can tell me which part of my redistro should stay, I can  
easily rearrange matters such that such a minimal install is possible.


In addition to Hans' comments, I would suggest just taking the independent  
windows package


http://www.pragma-ade.com/context/install/mswincontext.zip

and replacing the windows-specific stuff (e.g. batch files and  
executables) with osx stuff. That should do it!


Idris

--
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context