Re: [NTG-context] \version[temporary]

2007-12-20 Thread Wolfgang Schuster
2007/12/19, Steffen Wolfrum [EMAIL PROTECTED]:
 ... and what about moving it a bit to the right? 10mm maybe?

 Steffen

Hi Steffen,

take a look at the following solution, you can change the distance
to the right margin with the distance (you can also use negativ values),
the width key has no real effect, it changes only the length of the box
for the info text.

\unprotect

\definesystemvariable {vs} % VerSion

\startconstants all
  register: register
 float: float
\stopconstants

\def\dodoversion[#1][#2]%
  {\processaction
 [#1]
 [\v!final=\chardef\conceptmode\zerocount
\overfullrule\zeropoint,
\v!concept=\chardef\conceptmode\plusone,  % simple banner
   \v!file=\chardef\conceptmode\plustwo,  % full banner
  \v!temporary=\chardef\conceptmode\plusthree % full banner plus
\overfullrule5\points]%% info in the margin
   \getparameters[\??vs][#2]%
   \doifelse\@@vsreference\v!yes
 {\let\referenceinfo\doreferenceinfo}
 {\let\referenceinfo\gobbletwoarguments}%
   \doifelse\@@vsregister\v!yes
 {\let\registerinfo\doregisterinfo}
 {\let\egisterinfo\gobbletwoarguments}%
   \doifelse\@@vsfloat\v!yes
 {\let\floatreference\dofloatreference}
 {\let\floatreference\gobbletwoarguments}}

\def\doversion[#1][#2]%
  {\ifsecondargument
 \dodoversion[#1][#2]%
   \else
 \doifassignmentelse{#1}
   {\dodoversion[][#1]}
   {\dodoversion[#1][]}%
   \fi}

\def\version
  {\dodoubleempty\doversion}

\def\doreferenceinfo{\dotestinfo\referenceinfobox}
\def\doregisterinfo  {\dotestinfo\registerinfobox}
\def\dofloatinfo {\dotestinfo\floatinfobox}

\def\doaddstatusinfo#1%
  {\setbox#1\vbox to \paperheight
 {\vsmashbox#1\box#1%
  \offinterlineskip
  \vskip\topspace
  \hsize\paperwidth
  \hfill\hbox{\placetestinfo\hskip\@@vsdistance}\vss
  \settexthoffset\hskip\texthoffset % b
 %\tlap{\placeversioninfo}\vskip.5cm}}
  \vbox to 1cm{\vss\placeversioninfo\vss}}}

\def\dotestinfo#1#2#3%
  {\ifinpagebody\else\ifnum\conceptmode=\plusthree
 \begingroup
   [EMAIL PROTECTED]
   \xdef\extratestinfo
 {#2\space\ascii}%
   \gdef\totaltestinfo
 {\global\setbox#1\vbox
{\unvbox#1\relax
 \infofont \setupinterlinespace
 \hbox
   {\strut
\expanded{\doboundtext{\extratestinfo}{\@@vswidth}{..}}%
\quad}}}%
 \endgroup
 \ifinner
   \aftergroup\totaltestinfo
 \else
   \totaltestinfo
 \fi
   \fi\fi}

\version
  [\v!final]
  [\c!reference=\v!yes,
   \c!register=\v!yes,
   \c!float=\v!yes,
   \c!distance=.5cm,
   \c!width=12em]

\protect

\version[temporary][reference=no,distance=-5pt]
%\version[temporary]
%\version[reference=no]

\definepapersize[test][width=157mm,height=232mm]
\setuppapersize[test][test]

\setuplayout
  [width=113mm,
   backspace=20mm,
   location=middle]

%\showframe

\starttext
\dorecurse{10}{text\footnote{note\index{keyword}}\par}
\stoptext

@Hans: Is \conceptmode a global macro I could myself in a third party module.

Wolfgang
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Problems with using PPCHTEX in LaTeX

2007-12-20 Thread Hans Hagen
Erik Stempel wrote:
 Dear Mr. Hagen,
 
 I have a problem with using PPCHTEX with LaTeX (MikTeX 2.6).
 After reporting this problem at GoogleGroups I get a message to report 
 the problem directly to you.
 
 The problem is, that only the including of \usepackage{m-pictex, 
 m-ch-de} makes six errors (pdflatex).
 The minimal example:
 
 \documentclass{scrartcl}
 \usepackage{m-ch-de}
 \begin{document}
 Test
 \end{document}

use the latest greatest context zips

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
-
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] SVG support

2007-12-20 Thread Hans Hagen
Zeus Gómez Marmolejo wrote:

 resultpipe = --without-gui --export-pdf=\#{outfilename}\ 2#{logfile}

the windows version performs rather random with pdf output, probably 
some internal messing around with quoting, it renders it useless

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
-
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \version[temporary]

2007-12-20 Thread Steffen Wolfrum
Jesus!
Two pages of source code for just some millimeters moving ;o) thank  
you very, very much!!

Now, finally, I can actually read the info that \version[temporary]  
prints on all my pages ... great.


Steffen



Am 20.12.2007 um 09:15 schrieb Wolfgang Schuster:

 2007/12/19, Steffen Wolfrum [EMAIL PROTECTED]:
 ... and what about moving it a bit to the right? 10mm maybe?

 Steffen

 Hi Steffen,

 take a look at the following solution, you can change the distance
 to the right margin with the distance (you can also use negativ  
 values),
 the width key has no real effect, it changes only the length of the  
 box
 for the info text.

 \unprotect

 \definesystemvariable {vs} % VerSion

 \startconstants all
   register: register
  float: float
 \stopconstants

 \def\dodoversion[#1][#2]%
   {\processaction
  [#1]
  [\v!final=\chardef\conceptmode\zerocount
 \overfullrule\zeropoint,
 \v!concept=\chardef\conceptmode\plusone,  % simple banner
\v!file=\chardef\conceptmode\plustwo,  % full banner
   \v!temporary=\chardef\conceptmode\plusthree % full banner plus
 \overfullrule5\points]%% info in the  
 margin
\getparameters[\??vs][#2]%
\doifelse\@@vsreference\v!yes
  {\let\referenceinfo\doreferenceinfo}
  {\let\referenceinfo\gobbletwoarguments}%
\doifelse\@@vsregister\v!yes
  {\let\registerinfo\doregisterinfo}
  {\let\egisterinfo\gobbletwoarguments}%
\doifelse\@@vsfloat\v!yes
  {\let\floatreference\dofloatreference}
  {\let\floatreference\gobbletwoarguments}}

 \def\doversion[#1][#2]%
   {\ifsecondargument
  \dodoversion[#1][#2]%
\else
  \doifassignmentelse{#1}
{\dodoversion[][#1]}
{\dodoversion[#1][]}%
\fi}

 \def\version
   {\dodoubleempty\doversion}

 \def\doreferenceinfo{\dotestinfo\referenceinfobox}
 \def\doregisterinfo  {\dotestinfo\registerinfobox}
 \def\dofloatinfo {\dotestinfo\floatinfobox}

 \def\doaddstatusinfo#1%
   {\setbox#1\vbox to \paperheight
  {\vsmashbox#1\box#1%
   \offinterlineskip
   \vskip\topspace
   \hsize\paperwidth
   \hfill\hbox{\placetestinfo\hskip\@@vsdistance}\vss
   \settexthoffset\hskip\texthoffset % b
  %\tlap{\placeversioninfo}\vskip.5cm}}
   \vbox to 1cm{\vss\placeversioninfo\vss}}}

 \def\dotestinfo#1#2#3%
   {\ifinpagebody\else\ifnum\conceptmode=\plusthree
  \begingroup
[EMAIL PROTECTED]
\xdef\extratestinfo
  {#2\space\ascii}%
\gdef\totaltestinfo
  {\global\setbox#1\vbox
 {\unvbox#1\relax
  \infofont \setupinterlinespace
  \hbox
{\strut
 \expanded{\doboundtext{\extratestinfo}{\@@vswidth} 
 {..}}%
 \quad}}}%
  \endgroup
  \ifinner
\aftergroup\totaltestinfo
  \else
\totaltestinfo
  \fi
\fi\fi}

 \version
   [\v!final]
   [\c!reference=\v!yes,
\c!register=\v!yes,
\c!float=\v!yes,
\c!distance=.5cm,
\c!width=12em]

 \protect

 \version[temporary][reference=no,distance=-5pt]
 %\version[temporary]
 %\version[reference=no]

 \definepapersize[test][width=157mm,height=232mm]
 \setuppapersize[test][test]

 \setuplayout
   [width=113mm,
backspace=20mm,
location=middle]

 %\showframe

 \starttext
 \dorecurse{10}{text\footnote{note\index{keyword}}\par}
 \stoptext

 @Hans: Is \conceptmode a global macro I could myself in a third  
 party module.

 Wolfgang
 __ 
 _
 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  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 __ 
 _

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Problems with using PPCHTEX in LaTeX

2007-12-20 Thread Aditya Mahajan
On Thu, 20 Dec 2007, Mojca Miklavec wrote:

 On Dec 20, 2007 11:31 AM, Hans Hagen wrote:
 Erik Stempel wrote:
 Dear Mr. Hagen,

 I have a problem with using PPCHTEX with LaTeX (MikTeX 2.6).
 After reporting this problem at GoogleGroups I get a message to report
 the problem directly to you.

 The problem is, that only the including of \usepackage{m-pictex,
 m-ch-de} makes six errors (pdflatex).
 The minimal example:

 \documentclass{scrartcl}
 \usepackage{m-ch-de}
 \begin{document}
 Test
 \end{document}

 use the latest greatest context zips

 I do, but it does't help. I get exactly the same error:

I am confused. Consider the following file:

\unexpanded\def\test{Test}
\test
\bye

Run it through ConTeXt, and it compiles fine. Run it through pdftex (plain 
format) and it gives:

This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
  %-line parsing enabled.
entering extended mode
(./plain.tex
! Missing { inserted.
to be read again
\def
l.1 \unexpanded\def
\test{Test}
?
Runaway text?
\def \test {Test} \test
! Forbidden control sequence found while scanning text of \unexpanded.


Isn't \unexpanded a primitive in pdftex? Why does it behave differently in 
ConTeXt and plain pdftex?

Aditya
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] luatex not compiling

2007-12-20 Thread Hans van der Meer
There appears to be a problem with the compilation of luatex on MacOSX  
10.5.x, but I might have found (at least one of) the cause.
On my system (MacOSX10.5.1) complation halted with:
luatexextra.c:408 error: storage size of 'sigstk' isn't known.
Further exploring showed the cause of this: SIGSTKSZ is not defined.
As it turns out SIGSTKSZ is defined in signal.h and in luatexextra.c  
read with
#include signal.h, assuming signal.h resides in /usr/include/signal.h.
That however, is not the case on this version of MacOSX: it sits in / 
usr/include/sys/signal.h.
Probably changing the code into:
#include signal.h
#ifndef _SIGNAL_H_
#include sys/signal.h
#endif
might help, but I have not tested this (some of the pie should be left  
for Taco c.s. ;-)

Hans van der Meer



___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] MKIV: µ in math-mode

2007-12-20 Thread Peter Münster
Hello,

It would be nice, if $µ$ gave the same result as $\mu$.

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Problems with using PPCHTEX in LaTeX

2007-12-20 Thread Aditya Mahajan
On Thu, 20 Dec 2007, Hans Hagen wrote:

 Aditya Mahajan wrote:
 On Thu, 20 Dec 2007, Mojca Miklavec wrote:

 On Dec 20, 2007 11:31 AM, Hans Hagen wrote:
 Erik Stempel wrote:
 Dear Mr. Hagen,

 I have a problem with using PPCHTEX with LaTeX (MikTeX 2.6).
 After reporting this problem at GoogleGroups I get a message to report
 the problem directly to you.

 The problem is, that only the including of \usepackage{m-pictex,
 m-ch-de} makes six errors (pdflatex).
 The minimal example:

 \documentclass{scrartcl}
 \usepackage{m-ch-de}
 \begin{document}
 Test
 \end{document}
 use the latest greatest context zips
 I do, but it does't help. I get exactly the same error:

 I am confused. Consider the following file:

 \unexpanded\def\test{Test}
 \test
 \bye

 Run it through ConTeXt, and it compiles fine. Run it through pdftex (plain
 format) and it gives:

 \unexpanded is a primitive in etex, introduced when context already had
 an \unexpanded macro; the same is true for \protected

 \normalunexpanded gives you the primitive

 when loaded in latex, ppchtex should restore the meaning of \unexpanded
 after loading but i cannot test that here

There is a bug in ppchtex.noc. Line 39 says

\let\unexpanded\normalunexpanded

However, on line 181 you load ppchtex. ppchtex assumes that \unexpanded 
is the context macro, not the etex primitive. The easy work around is to 
move the \let\unexpanded\normalunexpanded line to the end of the 
ppchtex.noc. This works fine on my machine.

To the OP: locate ppchtex.noc by kpsewhich ppchtex.noc and copy that file 
to your current directory. Cut line 39 (\let\unexpanded\normalunexpanded) 
and paste it after line 213 (just before the last line). After this change 
the minimal example that you posted works correctly. See if your actual 
tex file now compiles.

Aditya
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MKIV: µ in math-mode

2007-12-20 Thread Hans Hagen
Peter Münster wrote:
 Hello,
 
 It would be nice, if $µ$ gave the same result as $\mu$.

i had no time yet to sort that out (should happen by using char-mat.lua)

-
   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
-
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Problems with using PPCHTEX in LaTeX

2007-12-20 Thread Hans Hagen
Aditya Mahajan wrote:

 However, on line 181 you load ppchtex. ppchtex assumes that \unexpanded 
 is the context macro, not the etex primitive. The easy work around is to 
 move the \let\unexpanded\normalunexpanded line to the end of the 
 ppchtex.noc. This works fine on my machine.

ok, patched

(the problem with the original patch is that after adding it no one 
bothered to test it) .. thanks for looking into it

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
-
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] minimals x86_64 texlua binary

2007-12-20 Thread Martin Pokorny
I just tried using the first_setup.sh script from
http://minimals.contextgarden.net/setup/context-setup-linux-64.zip and ran into
a small problem with the texlua binary. Here's what happened when I ran the
script:

$ sudo ./first-setup.sh
receiving file list ... done

sent 95 bytes  received 178 bytes  78.00 bytes/sec
total size is 3594531  speedup is 13166.78

MtxRun | version 1.0.2 - 2007+ - PRAGMA ADE / CONTEXT

MtxRun | skipping configuration for /texmf-local/web2c from
///home/martin/luatex-cache/context/trees/d80510d450a3fa2a64df4d3741825f1d
MtxRun | skipping configuration for /texmf/web2c from
///home/martin/luatex-cache/context/trees/3113242409ded67a0ad7bd508bd26609
MtxRun | using script: ./bin/mtx-update.luareport  update: start
Error in lua file loading: /usr/local/share/texmf/context/bin/mtxrun:1398:
'popen' not supported

To solve the problem I had to download the 32-bit linux texlua binary, and then
changed first_setup.sh to copy the 32-bit binary into the bin sub-directory
after the rsync call that fetches the 64-bit binary from the minimals web site.
It seems that the installation went OK after that. I suspect that the 64-bit
linux texlua binary on the web site is old, which also seems to be the case in
comparing the timestamps on the 32-bit and 64-bit versions.

Thanks for making the minimals web site available.

-- 
Martin


___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Setting up a project

2007-12-20 Thread Joel C. Salomon
I'm trying a fairly ambitious project to teach myself practical
ConTeXt -- typesetting a book I'm writing.  As per
http://wiki.contextgarden.net/Project_structure, I've created files
for the project, environment, product, and component.  The component
file (preface.tex) is the only one with (dummy) content right now.

Side questions:
Does a project with a single product really require the full hierarchy?
Is there a dummy layout I can put into the environment file to test the set-up?

Now I want to set up the layout.  An example of what I'm trying to
achieve is at http://typophile.com/files/Layout.pdf, currently done
in OpenOffice.  I'm not yet asking about fonts; I just want to put the
text in the correct places.  It doesn't seem that 6×9 (inches) is a
built-in size, so my environment file (env_firefly.tex) needs to look
something like:

\startenvironment env_firefly
\definepapersize[sixbynine][
width=6in,height=9in,
offset=???,scale=???]
\setuppapersize[sixbynine][sixbynine]
\setuplayout[...
...]
\stopenvironment

Do I need to define  name the paper size, or is putting it in the
\setuplayout sufficient?
What are the offset  scale in the paper size?

I want to have 6″×9″ trim, inner margin of 48pt, outer margin 96pt,
top margin 72pt, bottom margin 144pt for starters.  Headers and
footers, when they exist, are allocated 12 points height and are 12pt
away from the text. (See the linked-to example.)

I have read several of the manuals, I'm just having trouble putting it
all together.  Also, I'm not looking for a recipe but guides on
developing the layout myself so I can understand it.

Thanks,
--Joel
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] A ruby script to create the font for Chinese fonts

2007-12-20 Thread Zhichu Chen
Hi,

Although Hans has made the perfect ruby script ttf2uni.rb that meets most
of our needs, I just found that sometimes embedding ttf files is very very
slow, so I made some tiny modifications on it. It will convert an oft file
to a ttf file if no ttf files are found in the names of the arguments, then
use ttf2pt1 to span it into multiple type1 binaries with fontforge.

Actually the only thing we need is the uni-??.enc, .tfm, .pfb,
.map and .afm, I don't know what is the .enc files can do but I
still kept them in a folder.

Anyway, this script only works on Linux, because I'm bad at ruby and have to
use some shell command to do what I need, like moving files into a
sub-directory, I think maybe use File.foreach can do it but I never succeed.


-- 
Best Regards
Chen


 Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
  | www.sinap.ac.cn



uniCJKt1.rb
Description: application/ruby
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] a question about s-pre-61.tex

2007-12-20 Thread Dalyoung Jeong
Dear all,

I tried to compile s-pre-61.tex to see the interaction.

At the first time, I got the font error. It had a problem to use  
Optima-nova font.
I changed the bodyfont to pagella in type-gyr.tex file and tried again.
It runs without the error, but it didn't make pdf output. I checked  
the log file and found the following strange message (1),(2), and (3).
...
(/usr/local/texlive/2007/../texmf-local/tex/context/base/type-gyr.tex)
interaction : active
color   : mpcmyk color space is supported
color   : mpspot color space is supported
color   : system rgb is global activated
system  : mark Topic defined [chapter]
system  : mark Topicnumber defined [chapternumber]
system  : mark Nopic defined [title]
system  : mark Nopicnumber defined [titlenumber]
)
systems : invalid \starttext...\stoptext structure   
(1)
systems : end file test-pre-61 at line 0   
(2)
system  : cont-err loaded
(/usr/local/texlive/2007/../texmf-local/tex/context/base/cont-err.tex
systems : no file 'cont-sys.tex', using 'cont-sys.rme' instead
)
No pages of output.
Transcript written on test-pre-61.log.
TeXUtil | parsing file test-pre-61.tui
TeXUtil | check loading of file 'test-pre-61', begin/end problem  
(3)
TeXUtil | shortcuts : 0
.

What is wrong in my tries? I am using MacTeX(TeXLive2007) and OSX 10.5.

Thank you,

Best regards,

Dalyoung
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] A ruby script to create the font for Chinese fonts

2007-12-20 Thread Zhichu Chen
Oops, seems that I've accidentally sent an old one.

On Dec 21, 2007 8:45 AM, Zhichu Chen [EMAIL PROTECTED] wrote:

 Hi,

 Although Hans has made the perfect ruby script ttf2uni.rb that meets
 most of our needs, I just found that sometimes embedding ttf files is very
 very slow, so I made some tiny modifications on it. It will convert an oft
 file to a ttf file if no ttf files are found in the names of the arguments,
 then use ttf2pt1 to span it into multiple type1 binaries with fontforge.

 Actually the only thing we need is the uni-??.enc, .tfm, .pfb,
 .map and .afm, I don't know what is the .enc files can do but I
 still kept them in a folder.

 Anyway, this script only works on Linux, because I'm bad at ruby and have
 to use some shell command to do what I need, like moving files into a
 sub-directory, I think maybe use File.foreach can do it but I never
 succeed.


 --
 Best Regards
 Chen
 

  Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
 No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
 tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
   | www.sinap.ac.cn
 




-- 
Best Regards
Chen


 Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
  | www.sinap.ac.cn



uniCJKt1.rb
Description: application/ruby
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] minimals x86_64 texlua binary

2007-12-20 Thread Mojca Miklavec
On Dec 20, 2007 6:39 PM, Martin Pokorny wrote:
 I just tried using the first_setup.sh script from
 http://minimals.contextgarden.net/setup/context-setup-linux-64.zip and ran 
 into
 a small problem with the texlua binary.

Sorry, I hope that it's fixed now and thanks for reporting. Actually I
kind-of-forgot to fix a tiny detail in setup scripts. For other
platforms it might have worked OK, but the linux-64 luatex was old as
earth until two days ago :)

Mojca
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___