[NTG-context] unicode fontdefinition

2005-11-24 Thread sjoerd siebinga
Hi all,I am currently typesetting a collection of articles that use a great number of unicodeglyphs from 19 vectors. All the regular glyphs turn up fine, but I am unable to get the bold and italic versions of the glyphs. I have made encoding files for all the vectors using the xsl-scripts from Adam Lindsay and installed them via texfont. The sourcefile is an xml-file with decimal-unicode-entities that are mapped to the \uchar command by the \defineXMLentity command.I have defined the unicode fontsynonyms as follows:code\loadmapfile[palatinolinostar_01xx-starling-linostar]\definefontsynonym [UnicodeRegular01] [palatinolinostar_01xx-PalatinoLinoStar] [encoding=palatinolinostar_01xx]\definefontsynonym [UnicodeBold01] [palatinolinostar_01xx-PalatinoLinoStarBold] [encoding=palatinolinostar_01xx]\definefontsynonym [UnicodeItalic01] [palatinolinostar_01xx-PalatinoLinoStarItalic] [encoding=palatinolinostar_01xx]/codeMy bodyfontdefinition is as follows:code\starttypescript [map] [linostar] [texnansi,palatinolinostar_01xx]\loadmapfile [\typescripttwo-starling-linostar.map]\stoptypescript\starttypescript [serif] [linostar] [texnansi,palatinolinostar_01xx]\definefontsynonym [linostar]             [\typescriptthree-PalatinoLinoStar] [encoding=\typescriptthree]  \definefontsynonym [linostar-Italic]      [\typescriptthree-PalatinoLinoStarItalic] [encoding=\typescriptthree]  \definefontsynonym [linostar-Bold]        [\typescriptthree-PalatinoLinoStarBold] [encoding=\typescriptthree]\stoptypescript\starttypescript [serif] [linostar] [name]	\setups             [font:fallback:serif]	\definefontsynonym [Serif] [linostar]               	\definefontsynonym [SerifItalic] [linostar-Italic]     	\definefontsynonym [SerifBold] [linostar-Bold]\stoptypescript  \starttypescript	[my] [starling-linostar] [texnansi,palatinolinostar_01xx]\definetypeface [starling-linostar] [rm]	[serif]	[linostar]	[default] [encoding=\typescriptthree]\stoptypescript \usetypescript [my] [starling-linostar]\setupbodyfont[starling-linostar,rm,10pt]/codeCould somebody tell me what I am doing wrong? Kind regards,Sjoerd ___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] beginners manual - Install

2005-11-24 Thread Wolfgang Zillig

Miguel Queiros schrieb:


Hi!

 

I'm going to clean up the beginners manual (at least the source code) so 
i think this s a good moment to pick up the 'translation' thread


So the question is:

- what can go out
- what should go in
- what should be updated

as well as:

- who will participate (in translation)
- how to deal with localization (maybe dedicated language related chapters)
   



As a beginner myself and typesetting in Portuguese I can tell
you what I had troubles with:

- mainlanguage
- Special characters as º (\ordmasculine and stuff like that).

And maybe not in the beginners manual but I think there
should be an updated manual about how to install context.

I'm still using a context version from 2004.08 as it is the
only one it worked for me. I downloaded as far as I remember 
the file mswincontext.zip , the stand alone version of

context, but the newer versions need Perl and Ruby to
be installed. 

 




By the way... Are there any sugestions on the installation
of Ruby and Perl on windows ? 

 

http://www.activestate.com/   they provide avtivepearl. It's no problem 
to install it.


http://www.ruby-lang.org/en/ there you get ruby. They provide a link to 
the one click ruby installer which you will find here:

http://rubyinstaller.rubyforge.org/wiki/wiki.pl  there is the

after installing you should check if the *.exe of perl and ruby is in 
the default path. you can easily check in the command line by

   calling ruby --version
   and
   perl --version

To get the context scripts running they should also be in the default 
path (this given path is valid for my miktex installation, you probably 
have to change it)!

   C:\texmf\scripts\context\perl
   C:\texmf\scripts\context\ruby

I had to add them manually.

Regards

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


Re: [NTG-context] Lucida Fonts

2005-11-24 Thread Hans Hagen

David Arnold wrote:


All,

Now that YandY is defunct, where would one now purchase the Lucida  
font. We used to be able to get the entire set from YandY, math  
included. Does that set still exist and where can it be purchased?



http://www.tug.org/yandy/

says that tug is negotiating ...

(afaik most of yandy stuff except third party fonts like lucida is now 
transfered to and hosted by tug)


Hans

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


[NTG-context] utf8 editor problems

2005-11-24 Thread Wolfgang Zillig


hello,

I have a problem which is not directly related to context. When I create 
document in utf-8 I sometimes get ïz£ (I hope this is displayed 
correctly in the mail clients, (a screen snapshot is attached also)) 
printed on a single page (in the pdf). These letters are not displayed 
in my standard text editors (scite and notepad++). Only when I open the 
file in amaya (a xhtml editor) I see these the following letters  
and I can delete them.


Does anybody know something about this?

Thanks

Wolfgang

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


Re: [NTG-context] utf8 editor problems

2005-11-24 Thread Mikael Persson
I have also seen this (using SciTE and/or gedit, no difference), but
suddenly it disappeard (without upgrading context). This is not of
much help, except that you now know that you are not alone. I have a
reasonable updated ConTeXt on a TeXLive 2004 installation if that
matters...

Best regards, Micke P

On 11/24/05, Wolfgang Zillig [EMAIL PROTECTED] wrote:

 hello,

 I have a problem which is not directly related to context. When I create
 document in utf-8 I sometimes get ïz£ (I hope this is displayed
 correctly in the mail clients, (a screen snapshot is attached also))
 printed on a single page (in the pdf). These letters are not displayed
 in my standard text editors (scite and notepad++). Only when I open the
 file in amaya (a xhtml editor) I see these the following letters 
 and I can delete them.

 Does anybody know something about this?

 Thanks

 Wolfgang


 ___
 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] More to report on mfonts -- Lucida?

2005-11-24 Thread Taco Hoekwater



David Arnold wrote:


Hitting s at this point to scroll through the errors, the compile  
finishes and I have an mfonts.pdf. Of course, the Lucida stuff is  missing.


So, I have the Lucida fonts. How should I install them with texfont?


That's a question for Hans or Adam, I think. I believe it was Adam
that posted a workaround yesterday or the day before. Did you see
that?

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


Re: [NTG-context] newtexexec: post-processing pdf-files

2005-11-24 Thread Hans Hagen

Thomas A. Schmitz wrote:

I mentioned this earlier but had only now time to look into it: there  
appears to be a bug in newtexexec, it bombs out when I try to post- 
process pdf-files. Here's a log:


hm, looks like it reads the pdf file as being a tex file 
  }



l.8 ...??S??h?*??3?HzHP?V??O7?82?J?{???F?|}
  D\0I?/??/? 
(???˳0fq...


And I get a similar error (with apparently some Japanese  
characters...) when I try to run pdfcombine.


not japanese, but adobe-zip-us-english -)

Hans

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


Re: [NTG-context] kpathsea355.dll missing from 2005-11-16 mswintex.zip and mswincontext.zip

2005-11-24 Thread Hans Hagen

Adrian Drury wrote:


The mswintex.zip and mswincontext.zip files on www.pragma-ade.com,
dated 2005-11-16, are missing the kpathsea355.dll file from
root/tex/texmf-mswin/bin.

I discovered this while trying the URW Garamond installation
instructions in the wiki, and the texfont command failed running
vptovf.

The kpathsea355.dll file was in mswincontext.zip that I downloaded at
the beginning of September, so I copied it from there to my minimal
(re)installation (and successfully completed the URW Garamond
installation instructions).

For future reference, is this type of issue better tracked in the collector?
 


is that dll needed? afaik the kpse dll is: tl90kpse.dll

maybe you're calling the wrong binary?

btw 1: since the kpse library is not that suited for usage outside the 
tex collection of binaries (the interface changes now and then) i 
decided to write a ruby variant. since the ruby variants is about as 
fast as the native c version (or even faster when i auto-dump the file 
database), in due time i'll let the ruby scripts use this ruby kpse 
class. A kpsewhich kind of alternative is provided by 'tmftools':


tmftools texnansi.enc

will provide you the path; this script supports the kpsewhich switched 
for as much as they make sense. It also tries to locate the cnf file, in 
the kind of undocumented and fuzzy way of kpse -) An interesting option is


tmftools --analyze

the idea is that you can locate duplicates, compare trees, etc. i'll 
document this script when i have time.


btw 2: there are all kind of ...tools.rb scripts in the distribution

btw 3:  when you use texmfstart to start a script, some history of where 
files are is passed to subprocesses, which means that less calls to 
kpsewhich need to take place; this is one reason why newtexexec can be a 
bit more clever and still be faster


Hans

(if you run over networks, for instance have your tex tree on a nas 
system, and need to access it like //nas-1/tex , then older binaries may 
fail due to some problem in kpse; this was repaired recently)

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


Re: [NTG-context] newtexexec: post-processing pdf-files

2005-11-24 Thread Hans Hagen

Thomas A. Schmitz wrote:

I mentioned this earlier but had only now time to look into it: there  
appears to be a bug in newtexexec, it bombs out when I try to post- 
process pdf-files. Here's a log:


ah, i remember now (by looking in the source) ... it's --select now, no 
reason for a pdf prefix; i'll probably provide a backward compatible 
feature but had no time to do it yet


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


Re: [NTG-context] newtexexec: post-processing pdf-files

2005-11-24 Thread Thomas A. Schmitz

Yup, works now! Adding a backward compatible dummy would be nice...

Best

Thomas

On Nov 24, 2005, at 10:49 AM, Hans Hagen wrote:

ah, i remember now (by looking in the source) ... it's --select  
now, no reason for a pdf prefix; i'll probably provide a backward  
compatible feature but had no time to do it yet


Hans
___


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


Re: [NTG-context] utf8 editor problems

2005-11-24 Thread Hans Hagen

Wolfgang Zillig wrote:



hello,

I have a problem which is not directly related to context. When I 
create document in utf-8 I sometimes get �z� (I hope this is 
displayed correctly in the mail clients, (a screen snapshot is 
attached also)) printed on a single page (in the pdf). These letters 
are not displayed in my standard text editors (scite and notepad++). 
Only when I open the file in amaya (a xhtml editor) I see these the 
following letters  and I can delete them.


Does anybody know something about this?


your editor inserts a special sequence which (in a unicode environment) 
indicates that the file is utf encododed


(scite adds them but does not remove them when you change the encoding)

when in utf mode, context will handle this sequence but that may be too late

(if needed i can make texexec recognize it and switch to the utf regime 
automatically)


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


Re: [NTG-context] Halfway between itemizations and descriptions

2005-11-24 Thread Hans Hagen

Hi,

Something like this?

(PS. I cannot send mail to your address, it bounces, do you have an 
alternative one?)


Hans


\unprotect

\def\v!txt{txt}

\appendtoks \letvalue\v!txt  \itemgrouptext  \to \itemgroupcommands

\setfalse\txtlistitem

\def\itemgrouptext#1%
{\def\symsymbol{\doitemattributes\itemlevel\c!headstyle\c!headcolor{#1}}%
 \symbolitemtrue
 \settrue\txtlistitem
 \itemgroupitem}

\def\redostartitemgroup[#1][#2]%
{\setfalse\inlinelistitem % new, no indent (leftskip)
 \setfalse\concatnextitem % new, concat
 \setfalse\txtlistitem
 \ifhmode
   \ifconditional\autoconcatnextitem % new, concat
 \ifdim\lastskip=\itemsignal % new, concat
   \settrue\concatnextitem   % new, concat
 \fi % new, concat
   \fi   % new, concat
   \iftextitems\else\doifnotinset\v!text{#1}\par\fi % suboptimal
 \fi
 \begingroup
 \ifnum\itemlevel=\plusone % NIEUW
   \doadaptleftskip {\getitemparameter1\c!margin}%
   \doadaptleftskip {\getitemparameter1\c!leftmargin}%
   \doadaptrightskip{\getitemparameter1\c!rightmargin}%
 \fi
 \dosetraggedcommand{\getitemparameter\itemlevel\c!align}\raggedcommand
 \doifsomething{\getitemparameter\itemlevel\c!indenting}
   {% is \expanded needed?
\expanded{\setupindenting[\getitemparameter\itemlevel\c!indenting]}}%
 \doifinset\v!columns{#1}%
   {\ifinsidecolumns\else\ifnum\itemcolumndepth=\zerocount
  \globallet\itemcolumndepth\itemlevel
  \getitemparameter\itemlevel\c!before
  \processfirstactioninset
[#1]
[  \v!one=\!!counta1\relax,
   \v!two=\!!counta2\relax,
 \v!three=\!!counta3\relax,
  \v!four=\!!counta4\relax,
  \v!five=\!!counta5\relax,
   \s!unknown=[EMAIL PROTECTED]
  \startcolumns
[\c!n=\!!counta, % netter \??op\itemlevel\c!n
 \c!height=,
 \c!rule=\v!off,
 \c!balance=\v!yes,
 \c!align=\v!no]%
\fi\fi}%
 \doifinsetelse\v!intro{#1}\itemintrotrue\itemintrofalse
 \doglobal\increment\noflists
 \let\currentlist\noflists
 \newcounter\noflistelements
 \headitemfalse
 \subitemfalse
 \symbolitemfalse
 \let\marsymbol\relax
 \globallet\somdestination\empty
 \let\symsymbol\empty
 \the\itemgroupcommands
 \setitemlevel{#1}%
 \let\listitem\empty % ** start value
 \doifelsenothing{#1} % iffirstargument
   {\edef\@@opsymbol{\getitemparameter\itemlevel\c!symbol}%
\letgvalueempty{\@@globalitemsymbol\itemlevel}%
\global\letitemparameter\itemlevel\v!continue\empty
\dosetupitemgroupvariable[\itemlevel][#2]}
   {\dosetupitemgroupconstant[\itemlevel][#1]%
\dosetupitemgroupvariable[\itemlevel][#2]%
\doifinsetelse\v!continue{#1}%
{\edef\@@opsymbol{\noexpand\getvalue{\@@globalitemsymbol\itemlevel}}%
   \getitemparameter\itemlevel\v!continue}
{\edef\@@opsymbol{\noexpand\getitemparameter{\itemlevel}{\c!symbol}}%
   \global\setitemparameter\itemlevel\v!continue
 {\dosetupitemgroupconstant[\itemlevel][#1]%
  \dosetupitemgroupvariable[\itemlevel][#2]}}%
\def\docommando##1% \setitemmark resets \docommando
  {\doifnot{##1}{0}{\setitemmark{##1}}}%
\processcommalist[#1]\docommando}%
 \ifx\listitem\empty
   \setitemmark\@@opsymbol % ** default value
   \ifx\listitem\empty
 \edef\currentitemsymbol{\itemlevel}%
   \fi
 \fi
 \ifautoitemintro\ifnum\prevgraf3
   \itemintrotrue
 \fi\fi
 \ifparagraphitems
   \ifnum\itemlevel\plusone
 \letitemparameter\itemlevel\c!inbetween\empty
   \fi
 \else\ifpackeditems
   \letitemparameter\itemlevel\c!inbetween\empty
 \fi\fi
 \calculatelistwidth\itemlevel{\dimen0}%
 \ifdim\dimen0\zeropoint\relax
   \ifconditional\inlinelistitem\else
 \advance\leftskip \dimen0\relax
   \fi
 \fi}

\def\dolistitem % evt aantal items opslaan per niveau, scheelt zoeken
{\iftextitems
  % begin of item
 \else
   \par
 \fi
 \ignorespaces
 \increment\noflistelements
 \ifnum\itemcolumndepth=\zerocount \ifoptimizeitems
   \ifnum\noflistelements=\plusone% tgv bv kolommen/nesting
 \findtwopassdata\s!list{\noflists:}% % wordt soms de volgorde
   \fi% verstoord, vandaar \find
   \iftwopassdatafound
 \ifcase0\twopassdata\relax \twopassdatafoundfalse \fi
   \fi
   \iftwopassdatafound
 \ifnum\twopassdata=3
   \ifnum\noflistelements1
 \doitembreak\itemnobreak
   \fi
 \else\ifnum\twopassdata3
   \ifnum\noflistelements=2
 \ifitemintro
   \doitembreak\nobreak
 \else
   \doitembreak\itemnobreak
 \fi
   \else\ifnum\twopassdata=\noflistelements\relax
 \doitembreak\itemnobreak
   \else\ifnum\noflistelements2
 \doitembreak\itembreak
   \else
 \ifitemintro\else\doitembreak\itembreak\fi
   \fi\fi\fi
 \fi\fi
   \fi
 \fi\fi
 \noindent
 \setbox8\hbox
   {\ifheaditem
  \ifsymbolitem
\symsymbol
  \else
\doitemattributes\itemlevel\c!headstyle\c!headcolor{\listitem}%
  \fi
\else
  

Re: [NTG-context] Bug / feature request tracking

2005-11-24 Thread Steffen Wolfrum

... but I guess they are not too serious, unfortunately  :(

Steffen (collector item no.53)




Am 19.11.2005 um 17:21 schrieb Christopher Creutzig:


Taco Hoekwater wrote:


   http://context.literatesolutions.com/collector


 I especially like the deadline entries. :-)


regards,
Christopher, catching up on older mails
___
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] beginners manual

2005-11-24 Thread Otared Kavian

Hi Hans,

Thank you for your great work.
Regarding the beginners manual your are going to update, I have two  
or three suggestions.
To begin with, I think we should designate a volunteer group of  
people on this list to do some tasks in parallel:


1) Since the installation of ConTeXt seems to be not so easy for  
everyone, we should have at least three subgroups of people  
experimenting, and then explaining, how to install and update ConTeXt  
on Linux, Windows, MacOS X.
Once each subgroup has carried out the experimentation of the How  
to... instructions, they would send them to you so that you can  
include them in the Beginners Manual (abbreviated BM in the sequel...).
It is important to include in each subgroup a wizard and an  
amateur beginner: otherwise the How to... instructions may result  
in something not really usable by real beginners.
For my part I am volunteering to be a (rather dumb...) beginner  
regarding installation on MacOS X, and its use with XeTeX.
The same observation applies for the use of ConTeXt with non roman  
languages under various operating systems.


2) We should divide the BM in $n$ parts ($n \geq 2$... but maybe $n=10 
$) and designate one or two individuals for each part to test ALL the  
codes and examples you give in the BM to make sure that they work  
fine with a basic install of ConTeXt.


3) Two great features of ConTeXt are its versatility regarding  
Metapost and presentations. In the BM these features should be  
presented in a transparent way, since most beginners would not have  
the patience or the technical knowledge of going through the source  
files.


Best regards: OK

On 21 nov. 2005, at 23:03, Hans Hagen wrote:


Hi,

I'm going to clean up the beginners manual (at least the source  
code) so i think this s a good moment to pick up the 'translation'  
thread


So the question is:

- what can go out
- what should go in
- what should be updated

as well as:

- who will participate (in translation)
- how to deal with localization (maybe dedicated language related  
chapters)


Hans
___
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] Bug / feature request tracking

2005-11-24 Thread Hans Hagen

Steffen Wolfrum wrote:


... but I guess they are not too serious, unfortunately  :(


well, some requests are kind of tricky, some even impossible to implment 
in todays tex -)


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


[NTG-context] marking in columnset

2005-11-24 Thread Vit Zyka

Dear ConTeXters,

several kind of marking variants (first, last, both, ...) works 
perfectly in standard one-column layout:



\definemarking[M]

\startsetups S
  default=(\getmarking[M])~
  first=(\getmarking[M][first])~
  last=(\getmarking[M][last])~
  previous=(\getmarking[M][previous])~
  both=(\getmarking[M][both])~
  all=(\getmarking[M][all])~
  current=(\getmarking[M][current])
\stopsetups

\setupheadertexts[text]
  [\setups{S}][]
  [\setups{S}][]
\setuppagenumbering[location=footer]

\starttext

\startbuffer
  \section{Knuth}
  \marking[M]{k1}\marking[M]{k2}
  \input knuth
  \section{Zapf}
  \marking[M]{z}
  \input zapf
\stopbuffer

\dorecurse{10}{\getbuffer}

\stoptext
---

If I try the same example in columnset layout, only last variant works 
as expected:

---
\definemarking[M]

\startsetups S
  default=(\getmarking[M])~
  first=(\getmarking[M][first])~
  last=(\getmarking[M][last])~
  previous=(\getmarking[M][previous])~
  both=(\getmarking[M][both])~
  all=(\getmarking[M][all])~
  current=(\getmarking[M][current])
\stopsetups

\setupheadertexts[text]
  [\setups{S}][]
  [\setups{S}][]
\setuppagenumbering[location=none]

\definecolumnset[C][n=3]

\starttext

\startbuffer
  \section{Knuth}
  \marking[M]{k1}\marking[M]{k2}
  \input knuth
  \section{Zapf}
  \marking[M]{z}
  \input zapf
\stopbuffer

\startcolumnset[C]
\dorecurse{10}{\getbuffer}
\stopcolumnset

\stoptext
---

(Focus on page 1 and 4)

Is there any idea how to fix this?
Vit
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Bug / feature request tracking

2005-11-24 Thread Steffen Wolfrum
can you give a new deadline - or is no.53 a sad example for  
impossible to implement  :,(


Steffen



Am 24.11.2005 um 12:35 schrieb Hans Hagen:


Steffen Wolfrum wrote:


... but I guess they are not too serious, unfortunately  :(


well, some requests are kind of tricky, some even impossible to  
implment in todays tex -)


Hans



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


Re: [NTG-context] utf8 editor problems

2005-11-24 Thread Wolfgang Zillig

Hello,


Hans Hagen schrieb:


Wolfgang Zillig wrote:



hello,

I have a problem which is not directly related to context. When I 
create document in utf-8 I sometimes get �z� (I hope this is 
displayed correctly in the mail clients, (a screen snapshot is 
attached also)) printed on a single page (in the pdf). These letters 
are not displayed in my standard text editors (scite and notepad++). 
Only when I open the file in amaya (a xhtml editor) I see these the 
following letters  and I can delete them.


Does anybody know something about this?



your editor inserts a special sequence which (in a unicode 
environment) indicates that the file is utf encododed


(scite adds them but does not remove them when you change the encoding)

when in utf mode, context will handle this sequence but that may be 
too late


(if needed i can make texexec recognize it and switch to the utf 
regime automatically)


Hans


that was the hint: when I change the file encoding from my environment 
file and from the product-files to ansi it disappears from the pdf 
(utf-symols usually not needed in there).   This also explains my 
problems in my xml-testfiles where I tried in the main tex-document to 
code a footer line like: (c) by me.


Thanks

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


Re: [NTG-context] Bug / feature request tracking

2005-11-24 Thread Taco Hoekwater



Steffen Wolfrum wrote:
can you give a new deadline - or is no.53 a sad example for  impossible 
to implement  :,(


I don't think this is feasible in the current TeX engines, so
you probably have to wait for an extension to pdfetex or another
extended engine. That means you're looking for a deadline that is
a few years in the future, at the earliest.

(unless you can find a programmer to work on it)


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


Re: [NTG-context] utf8 editor problems

2005-11-24 Thread Nikolai Weibull
Hans Hagen wrote:

 (scite adds them but does not remove them when you change the
 encoding)

Wow, that's incredibly broken (even more broken than using BOMs in the
first place - or an encoding that depends on them for that matter ;-).

(Thank Rob for UTF-8!)

nikolai

-- 
Nikolai Weibull: now available free of charge at http://bitwi.se/!
Born in Chicago, IL USA; currently residing in Gothenburg, Sweden.
main(){printf(linux[\021%six\012\0],(linux)[have]+fun-97);}
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] marking in columnset

2005-11-24 Thread Hans Hagen

Vit Zyka wrote:


(Focus on page 1 and 4)

Is there any idea how to fix this?


afaiks, what you get is the markings of the last column

so, it looks like i have to fix something

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


Re[2]: [NTG-context] Halfway between itemizations and descriptions

2005-11-24 Thread Giuseppe Bilotta
Thursday, November 24, 2005 Hans Hagen wrote:

 Hi,

 Something like this?

Yes, that's a good start :) however, I would leave the
option to have both the symbol and the text, exactly as if
it was run-in \head (i.e. with the actual item test
following the \head text on the same line). However, you ma
want to have this as an option to \head ... maybe it can
already be achieved with an appropriate afterhead?


 (PS. I cannot send mail to your address, it bounces, do you have an
 alternative one?)

Hm, which address is bouncing? bigfoot is long dead, use
the one I'm sending this from.


-- 
Giuseppe Oblomov Bilotta

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


Re: [NTG-context] marking in columnset

2005-11-24 Thread Vit Zyka

Hans Hagen wrote:

Vit Zyka wrote:


(Focus on page 1 and 4)

Is there any idea how to fix this?



afaiks, what you get is the markings of the last column

so, it looks like i have to fix something

Hans


Yes, you are right. I check it on a real doc. And if no mark sign is in 
the last col, then marks from previous col(s) is taken.


It would be a great news if you succeed to fix it. I cross my fingers.
Vit
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] marking in columnset

2005-11-24 Thread Hans Hagen

Vit Zyka wrote:


It would be a great news if you succeed to fix it. I cross my fingers.


well, it's actually relatively easy to make that (works on my machine 
now) but as always .. how to interface best -)


and ... of course it takes some time to find all points where 
synchronization has to take place


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


Re: [NTG-context] marking in columnset

2005-11-24 Thread Vit Zyka

Hans Hagen wrote:

Vit Zyka wrote:


It would be a great news if you succeed to fix it. I cross my fingers.



well, it's actually relatively easy to make that (works on my machine 
now) but as always .. how to interface best -)


and ... of course it takes some time to find all points where 
synchronization has to take place


Hans


Understand. I appreciate if upgrading the whole context distro will not 
be needed. I am afraid of something works differently - and there is no 
time to fix it. So some patches/file exchanges are feasible?


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


[NTG-context] Context 2005.11.24 Released

2005-11-24 Thread Taco Hoekwater



Hello all,

I am pleased to announce that the new ConTeXt release from Hans Hagen
can be downloaded as of now from the Pragma ADE website or one of its
mirrors.

  http://www.pragma-ade.com/context/current/cont-tmf.zip
  http://context.aanhet.net/context/current/cont-tmf.zip
  http://mirror.contextgarden.net/context/current/cont-tmf.zip

If you have not updated your Latin Modern fonts in the past
month, then you will need to fetch the latest redistribution
of the LM fonts as well:

  http://www.pragma-ade.com/context/current/cont-lmt.zip
  http://context.aanhet.net/context/current/cont-lmt.zip
  http://mirror.contextgarden.net/context/current/cont-lmt.zip

The current release has version 2005.11.24. As usual, there is a
page with more detailed release notes available on the Wiki,
see: http://wiki.contextgarden.net/Context_2005.11.24


New features compared to the 2005.11.16 version:

* As of this version, ConTeXt has a new zip archive: cont-fnt.zip.

  This zip will contain font support files. Currently included
  are texfont-generated metric and map files for these font families
  (with their typescript names in braces):

- Adobe Utopia (utopia)
- Bitstream Charter (charter)
- Antykwa Poltawskiego (antykwa-poltawskiego)
- URW Bookman (bookman)
- URW Nimbus Mono (courier)
- URW Nimbus Sans (helvetica)
- URW Century Schoolbook (schoolbook)
- URW Palladio (palatino)
- URW Nimbus Roman No9 (times)
- URW Chancery (chancery)

* \txt is a new command to be used like \item, \head and \sym
  inside itemgroups (e.g. '\startitemize ... \stopitemize')

* texmfstart can be used to generate the stub commands like
  'texfont' now

Bugs fixed compared to the 2005.11.16 version:

* the new texexec (in ruby) has gained some backward compatibility
  switches, like pdfarrange.
* The incorrect LMSans-Italic font mapping has been fixed
* The command \usetypescript[adobekb][ec] works properly now


Happy TeXing,

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


[NTG-context] Moving close to Lucida but still not there

2005-11-24 Thread David Arnold

Hans, Taco, Adam et al,

I dropped all of my lucida pfb and afm fonts into a temporary  
directory, ~/tmp/lucida. Change to that directory and entered:


texfont --ve=yandy --co=lucida --ma --in

Log file is attached. I was able to compile the resulting texnansi- 
yandy-lucida.tex. Progress.


However, when you look at the log file you will see some skipping  
of the math fonts, certainly not what I want, being a mathematics  
teacher. For example,


  font identifier : LucidaNewMath-Arrows - math - skipping
  use supplied tfm : lbma

   font identifier : LucidaNewMath-Arrows-Demi - math - skipping
  use supplied tfm : lbmad

I looked in type-buy.dat and found:

# bh lucida

--en=? --ve=bh --co=lucida --re
--en=? --ve=bh --co=lucida --so=bh/lucida --ma --in --expert

Is the fact that I didn't use that --expert switch my problem? How  
can I get texfont to not skip the math fonts?




lucida.log
Description: Binary data


David


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


Re: [NTG-context] marking in columnset

2005-11-24 Thread Hans Hagen

Vit Zyka wrote:


It would be a great news if you succeed to fix it. I cross my fingers.


ok, you can uncross them; see separate mail

Hans

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


Re: [NTG-context] Halfway between itemizations and descriptions

2005-11-24 Thread Hans Hagen

Giuseppe Bilotta wrote:


Yes, that's a good start :) however, I would leave the
option to have both the symbol and the text, exactly as if
it was run-in \head (i.e. with the actual item test
following the \head text on the same line). However, you ma
want to have this as an option to \head ... maybe it can
already be achieved with an appropriate afterhead?
 



so you want

1.  somethingbold  whatever text follows in running font

2.  somethingelsebold  whatever othertext follows in running font


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


Re: [NTG-context] Halfway between itemizations and descriptions

2005-11-24 Thread Hans Hagen

Giuseppe Bilotta wrote:


(PS. I cannot send mail to your address, it bounces, do you have an
alternative one?)
   



Hm, which address is bouncing? bigfoot is long dead, use
the one I'm sending this from.

 


I get:

When trying to deliver your message, the mail server at controller-1 encountered
problems with the following addresses:

For [EMAIL PROTECTED], Site (iol.it/193.70.193.95) said: 504 controller-1: 
Helo command rejected: need fully-qualified hostname

Hans

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


Re: [NTG-context] Halfway between itemizations and descriptions

2005-11-24 Thread Taco Hoekwater

Hans Hagen wrote:

Giuseppe Bilotta wrote:


Yes, that's a good start :) however, I would leave the
option to have both the symbol and the text, exactly as if
it was run-in \head (i.e. with the actual item test
following the \head text on the same line). However, you ma
want to have this as an option to \head ... maybe it can
already be achieved with an appropriate afterhead?
 



so you want

1.  somethingbold  whatever text follows in running font

2.  somethingelsebold  whatever othertext follows in running font


That would be quite simple, like so:

  \def\itemplus{\dosingleempty\doitemplus}
  \def\doitemplus[#1]#2{\item[#1] {\bf #2}}

Right?

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


Re: [NTG-context] Context 2005.11.24 Released

2005-11-24 Thread VnPenguin
On 11/24/05, Taco Hoekwater [EMAIL PROTECTED] wrote:

[skip]

 New features compared to the 2005.11.16 version:

 * As of this version, ConTeXt has a new zip archive: cont-fnt.zip.

This zip will contain font support files. Currently included
are texfont-generated metric and map files for these font families
(with their typescript names in braces):

  - Adobe Utopia (utopia)
  - Bitstream Charter (charter)
  - Antykwa Poltawskiego (antykwa-poltawskiego)
  - URW Bookman (bookman)
  - URW Nimbus Mono (courier)
  - URW Nimbus Sans (helvetica)
  - URW Century Schoolbook (schoolbook)
  - URW Palladio (palatino)
  - URW Nimbus Roman No9 (times)
  - URW Chancery (chancery)

1. There are .tex file in root of zip file ? why not in tex/context/ ?
2. There are .bak files ?
  591  11-24-05 15:27   fonts/map/pdftex/context/ec-adobe-utopia.bak --- ?
  670  11-24-05 15:27   fonts/map/pdftex/context/ec-adobe-utopia.map
  611  11-24-05 15:28  
fonts/map/pdftex/context/ec-bitstrea-charter.bak --- ?
  693  11-24-05 15:29   fonts/map/pdftex/context/ec-bitstrea-charter.map
  483  11-24-05 15:24   fonts/map/pdftex/context/ec-public-antp.map
  854  11-24-05 15:29   fonts/map/pdftex/context/ec-urw-bookman.bak --- ?
...

Regards,
--
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 2005.11.24 Released

2005-11-24 Thread Taco Hoekwater

Boy, you are fast.

VnPenguin wrote:

1. There are .tex file in root of zip file ? why not in tex/context/ ?


They will probably go away, or move to doc/context


2. There are .bak files ?
  591  11-24-05 15:27   fonts/map/pdftex/context/ec-adobe-utopia.bak --- ?


A side-effect of calling texfont. It appends a definition to the map
file whilst saving the old one as .bak

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


Re[2]: [NTG-context] Halfway between itemizations and descriptions

2005-11-24 Thread Giuseppe Bilotta
Thursday, November 24, 2005 Taco Hoekwater wrote:

 Hans Hagen wrote:
 Giuseppe Bilotta wrote:
 
 Yes, that's a good start :) however, I would leave the
 option to have both the symbol and the text, exactly as if
 it was run-in \head (i.e. with the actual item test
 following the \head text on the same line). However, you ma
 want to have this as an option to \head ... maybe it can
 already be achieved with an appropriate afterhead?
  

 
 so you want
 
 1.  somethingbold  whatever text follows in running font
 
 2.  somethingelsebold  whatever othertext follows in running font

 That would be quite simple, like so:

\def\itemplus{\dosingleempty\doitemplus}
\def\doitemplus[#1]#2{\item[#1] {\bf #2}}

For example (where \bf is \someconfigurablecommand).

However, I find it really 'funny' that there are n different
methods to create items in an enumeration ... should these
be rather enumeration options, so that you can use the same
source code and just chang the stuff in \setup/\staritemize
to achieve the different effects?

This is why I was thinking of using \head, still, for
example.

-- 
Giuseppe Oblomov Bilotta

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


[NTG-context] No partial contents for parts after the first

2005-11-24 Thread Giuseppe Bilotta
I'm using the latest ConTeXt reported here, and I'm noticing
that partial contents for the second, third etc part are not
available. I have a bunch of files each of which goes like

\part{some part}

Some text (not always)

\placecontent

\chapter{some chapter}

Each of this file is \input from the master file. However,
only in the first part you actually see the (part-specific)
content: every other part reports

system  : part,chapter,section,subsection not found/processed


The setup for the contents is as follows:

\setupcombinedlist[content]
  [interaction=all,
   partnumber=no,
   alternative=c,
   level=subsection]

\setuphead[part][alternative=middle,placehead=yes,resetnumber=no]

The problem is the 'resetnumber': if I take that off,
everything works perfectly.

-- 
Giuseppe Oblomov Bilotta

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


[NTG-context] Can texexec enable write18 at runtime

2005-11-24 Thread David Arnold

All,

In GWTeX, I could turn on write18 here:

% Enable \write18 (run shell processes from within TeX job)
% Set to t if needed
% (I think this might have security implications, especially if you
% run tex jobs as administrator, so I keep it turned off by default
shell_escape = f

But, because of security, I am wondering if I can leave this as is  
and use texexec to enable write18 at runtime.


Is there a switch for this?

I know you can do it with pdflatex with:

pdflatex --shell-escape

David


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


Re: [NTG-context] No page number in appendix

2005-11-24 Thread Giuseppe Bilotta
Wednesday, November 23, 2005 Giuseppe Bilotta wrote:

 Hello, I just noticed that the appendix number suppresses
 page numbering. Is there a reason for that? Shouldn't this
 be configurable?

Forget about this, I was using the wrong commands. The
correct way of doing it

\startappendices
\chapter{first appendix}
\chapter{second appendix}
\stopappendices

works great :)

-- 
Giuseppe Oblomov Bilotta

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


Re[2]: [NTG-context] interline space?

2005-11-24 Thread Giuseppe Bilotta
Wednesday, November 23, 2005 Hans Hagen wrote:

 Charles Doherty wrote:


 On 23 Nov 2005, at 08:55, Giuseppe Bilotta wrote:

 How do I get a double-spaced document?
 \setupinterlinespace[big] seems to do nothing ...

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


 Giuseppe,

 I used this for my daughter's thesis recently.

 \setupinterlinespace[line=1.8\bodyfontsize] %change 1.8 to whatever
 \setupwhitespace[big]

 default is 2.8ex (.72/.28 ratio), so gb may try 5.6ex

But why doesn't \setupinterlinespace work? Or am I using the
wrong syntax?

-- 
Giuseppe Oblomov Bilotta

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


Re: [NTG-context] Can texexec enable write18 at runtime

2005-11-24 Thread Taco Hoekwater

David Arnold wrote:


But, because of security, I am wondering if I can leave this as is  and 
use texexec to enable write18 at runtime.


Is there a switch for this?


You can use --passon

  texexec --passon='--shell-escape'
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] interline space?

2005-11-24 Thread Taco Hoekwater

Giuseppe Bilotta wrote:

Wednesday, November 23, 2005 Hans Hagen wrote:



Charles Doherty wrote:




On 23 Nov 2005, at 08:55, Giuseppe Bilotta wrote:



How do I get a double-spaced document?
\setupinterlinespace[big] seems to do nothing ...


default is 2.8ex (.72/.28 ratio), so gb may try 5.6ex


But why doesn't \setupinterlinespace work? Or am I using the
wrong syntax?


This works:

  \setupinterlinespace[big]
  \starttext
  \dorecurse{10}{\input knuth}
  \stoptext

This doesn't:

  \setupinterlinespace[big]
  \switchtobodyfont[10pt]
  \starttext
  \dorecurse{10}{\input knuth}
  \stoptext

But I don't know whether that's a bug or a feature or a side-effect.

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


Re: [NTG-context] Halfway between itemizations and descriptions

2005-11-24 Thread Taco Hoekwater

Giuseppe Bilotta wrote:

However, I find it really 'funny' that there are n different
methods to create items in an enumeration ... should these
be rather enumeration options, so that you can use the same
source code and just chang the stuff in \setup/\staritemize
to achieve the different effects?

This is why I was thinking of using \head, still, for
example.


Ah, I see. So instead of just the

   \setupitemize[symbol=]

have something more like

   \setupitemize[textcommand=,
 numbercommand=,
 command=]

as for heads and such?

Taco



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


Re: [NTG-context] Can texexec enable write18 at runtime

2005-11-24 Thread Hans Hagen

David Arnold wrote:


All,

In GWTeX, I could turn on write18 here:

% Enable \write18 (run shell processes from within TeX job)
% Set to t if needed
% (I think this might have security implications, especially if you
% run tex jobs as administrator, so I keep it turned off by default
shell_escape = f

But, because of security, I am wondering if I can leave this as is  
and use texexec to enable write18 at runtime.


Is there a switch for this?

I know you can do it with pdflatex with:

pdflatex --shell-escape

the latest version of pdftex can determine if write18 is enables so we 
can indeed make context/texexec a bit more clever; however, i'm always a 
bit carefull with such things because