Re: [NTG-context] Index

2005-11-14 Thread Duncan Hothersall
Hans, many thanks for the recent fixes on index sorting in the new ruby
scripts. Can I offer another test file in which some errors still show
up, in the hope that these too can be ironed out?

The following shows two problems, culled from a much bigger project. It
should be clear from the output what the problems are, but basically

1. there are three separate spans (\startregister...\stopregister pairs)
with the same term content (these three separate spans coalesce) which
get coalesced into one strange a-b-c-d span, despite having been given
different sort keys (I added numbers to the end of the sort keys to
differentiate them).

2. there are three refs and a span all with the same term content
(these mixed refs and spans are in the wrong order), and they get
sorted into the wrong order in the output (the span comes before the
refs, despite coming after in page order).

So in my output, my index page at the back has the following content:

these mixed refs and spans are in the
wrong order 1/12–1/13, 1/2, 1/10,
1/14
these three separate spans coalesce
1/1–1/2–1/5–1/7

whereas what I'd hope to see is:

these mixed refs and spans are in the
wrong order 1/2, 1/10, 1/12–1/13,
1/14
these three separate spans coalesce
1/1–1/2, 1/3–1/5, 1/6–1/7

Really hope you can hammer out these two bugs, it would really help me!

Thanks,

Duncan


\defineregister[Index][Indices]
\setupregister[Index][2,balance=no,distance=1em,partnumber=no,chapternumber=yes,pagestyle=,separator=/,indicator=no]

\starttext
\startbodymatter
\setuppagenumbering[state=start,alternative={singlesided,doublesided},
location=bottom,way=bychapter,partnumber=no,
chapternumber=yes,numberseparator={/}]

\chapter{Economic Concepts, Issues and Tools}
\input knuth\par {\bf ttssc span 1 starts}
\startregister[Index][these three separate spans coalesce1]{these three
separate spans coalesce}%
\dorecurse{4}{\input knuth\par} {\bf ttssc span 1 stops}
\stopregister[Index][these three separate spans coalesce1]%
\input knuth {\bf tmrasaitwo ref 1}
\Index[these mixed refs and spans are in the wrong order1]{these mixed
refs and spans are in the wrong order}%
\dorecurse{4}{\input knuth\par} {\bf ttssc span 2 starts}
\startregister[Index][these three separate spans coalesce2]{these three
separate spans coalesce}%
\dorecurse{8}{\input knuth\par} {\bf ttssc span 2 stops}
\stopregister[Index][these three separate spans coalesce2]%
\dorecurse{4}{\input knuth\par} {\bf ttssc span 3 starts}
\startregister[Index][these three separate spans coalesce3]{these three
separate spans coalesce}%
\dorecurse{5}{\input knuth\par} {\bf ttssc span 3 stops}
\stopregister[Index][these three separate spans coalesce3]%
\dorecurse{8}{\input knuth\par}
\input knuth {\bf tmrasaitwo ref 2}
\Index[these mixed refs and spans are in the wrong order2]{these mixed
refs and spans are in the wrong order}%
\dorecurse{8}{\input knuth\par} {\bf tmrasaitwo span 1 starts}
\startregister[Index][these mixed refs and spans are in the wrong
order3]{these mixed refs and spans are in the wrong order}%
\dorecurse{4}{\input knuth\par} {\bf tmrasaitwo span 1 stops}
\stopregister[Index][these mixed refs and spans are in the wrong order3]%
\dorecurse{4}{\input knuth\par}
\input knuth {\bf tmrasaitwo ref 3}
\Index[these mixed refs and spans are in the wrong order4]{these mixed
refs and spans are in the wrong order}%
\dorecurse{3}{\input knuth\par}
\stopbodymatter
\startbackmatter
\chapter{Index}
\setuppagenumbering[numberseparator=/]\placeIndex\page[yes]
\stopbackmatter
\stoptext


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


Re: [NTG-context] Index

2005-11-14 Thread Hans Hagen

Duncan Hothersall wrote:


Hans, many thanks for the recent fixes on index sorting in the new ruby
scripts. Can I offer another test file in which some errors still show
up, in the hope that these too can be ironed out?

The following shows two problems, culled from a much bigger project. It
should be clear from the output what the problems are, but basically
 



i'll send you a patch (your example code is part of the problem -)

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


Re: [NTG-context] Warning Trojan.Agent.EZ in texmfstart

2005-11-13 Thread Hans Hagen

Willi Egger wrote:


Hi,

I know this has been asked before, only that I did not experience the 
problem ...


Since months I use Bitdefender antivirus software. I never experienced 
any problem running texmfstart. However since three days Bitdefender 
thinks, that the executable texmfstart from 27-07- 2005 contains a 
Trojan. I checked the size of texmfstart.exe. I got an older version 
which is 580kB the one which gives problems has 596kB. Copying the 
older version into the tex-tree works fine and Bitdefender does not 
complain.
First question is: which is the actual version and size of 
texmfstart.exe?
Provided that there is nothing wrong with texmfstart.exe with the size 
of 596kB should I contact the Bitdefender developpers?



this exe file is just the ruby dll + some ruby scripts in a 
self-unzipping  (on a temp path) format; so, it's most is not really  
executable code (which is what they assume from the exe) but compressed 
ruby code (which should be treated as such)


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


Re: [NTG-context] Index

2005-11-10 Thread Thomas A. Schmitz
Hans can give a more authoritative answer, of course, but as a  
provisional one: no, the command name hasn't changed, you don't need  
to worry. The way ConTeXt is organized is that the binary texexec  
(which resides in texmf/ARCH/bin/) is just a small shell-script, a  
stub, that calls the real script in turn. This has been texexec.pl  
(in texmf/scripts/context/perl/), but you can of course modify it so  
it runs another script. Hans has been toying with ruby lately, so we  
now have texmf/scripts/ruby/newtexexec.rb which, I suppose, will  
replace the old texexec in due time. But as you have seen, it's not  
yet quite ready for prime time, it's still missing a few features (I  
don't think it can post-process pdf-files yet) and has a few buglets...


So relax and vatch das blinkenlight!

All best

Thomas

On Nov 10, 2005, at 9:33 AM, Gerben Wierda wrote:


Correction: I goofed up; after correcting the file, I get exactly
what I expected. AFAICS, index generation now works flawlessly with
newtexexec! Great, wonderful, kudos to you!


Um, I just noticed. newtexexec? Has the command name changed?  
Please say
no. Because a command name change would mean that I have to  
redistribute
the binaries (where the command lives) and not just the context  
trees in

texmf.

G


___
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] Index

2005-11-09 Thread Hans Hagen

Thomas A. Schmitz wrote:



On Nov 9, 2005, at 2:11 PM, Hans Hagen wrote:

not with headphones, which i normally wear when i'm in that kind of  
debugging mode -)



try a megaphone? ;-)





I'm with you :))


so, what was the test file?

Hans



Compile this with newtexexec:

\starttext

\index{This} This \index{and} and  \index{That} That.

\page

\placeindex

\stoptext



can you play a bit with the following: (patch context/ruby/base/texutil.rb)

   def preset(shortcuts=[],expansions=[],reductions=[],divisions=[])
   # maybe we should move this to sort-def.tex
   'a'.upto('z') do |c| expander(c) ; division(c) end
   'A'.upto('Z') do |c| expander(c) ; division(c) end # ! ! ! ! 
! ! ! added ! ! ! ! ! ! ! !
   expander('1','b') ; expander('2','c') ; expander('3','e') ; 
expander('4','f')
   expander('5','g') ; expander('6','h') ; expander('7','i') ; 
expander('8','i')

   expander('9','j') ; expander('0','a') ; expander('-','-') ;
   # end potential move
   shortcuts.each  do |s| shortcut(s[0],s[1]) end
   expansions.each do |e| expander(e[0],e[1]) end
   reductions.each do |r| reducer(r[0],r[1]) end
   divisions.each  do |d| division(d[0],d[1]) end
   end

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


Re: [NTG-context] Mini-survey -- Community

2005-11-08 Thread Hans Hagen

andrea valle wrote:


Just a curiosity.
Can anyone estimate how many people are using ConTeXt?


hard to say

- the list currently has some 435 members of which some are dormant

- people come and go but the list is still growing

- i know of people using context and not on the list (personal mails i get)

- how many users expose themselves? i dunno: i use ruby, gs, etc and am 
not on any of the assiciated lists;


- i don't keep track of downloads / website so no info from that

- there are different kind of users (simple docs, no problem to get it 
running) or more advanced work; my impression is (when i compare usage 
with what i see at for instance user group meetings) that on the context 
list there are rather advanced (demanding) users (special layouts, 
fonts, etc)


- so ... it hard to make a guess

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


Re: [NTG-context] ConTeXt release of october 27.

2005-10-31 Thread Taco Hoekwater


Hi.

Its this new feature (+ manual):

http://archive.contextgarden.net/message/20050914.194648.8538a42d.en.html

http://www.pragma-ade.com/general/manuals/xmanipulate.pdf

Cheers, Taco

Nikolai Weibull wrote:

Taco Hoekwater wrote:



I've created a wiki page for the new release Hans made last thursday:
http://wiki.contextgarden.net/Release_Notes



It mentions support for file preprocessing.  Is there any
documentation available?  I'm guessing that this is to allow us to add
things like syntax highlighting (me and Mojca?) through Vim.  Is this
correct?  If so, it would be nice to know how to use it soon, so that we
can get cracking.  I'd rather use Vim's Ruby highlighting than writing a
verb-ruby.tex...

nikolai


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


Re: [NTG-context] Elided page numbers in registers

2005-10-06 Thread Vit Zyka

Duncan Hothersall wrote:

On 31 Aug I wrote:



I have page ranges in my index, such as 1/1-1/3, or 2/24-2/26.

I would like these ranges to be elided - in other words, the first one
would read 1/1-3 (remove repeated chapter number), and the second would
read 2/24-6 (remove repeated chapter number and also the repeated 2 in
page number).

Question: is there an already existing system to do this? I guess no :-)

Followup: I would be willing to help to code this if it doesn't exist (I
have some experience with such systems) if someone can point me at the
right bit of code to look at (things seem to be changing around
texutils, newtexexec etc. so I don't want to start at the wrong place).



Sorry to be a pain, but can anyone help with this? I'm converting a
legacy system, in which everything (cross referencing, tables of
contents, indices) was hand-coded in plain tex and Perl, across to
ConTeXt. The advantage of having hand-coded the indexing stuff was that
I could easily add features like eliding, or funny sort orders. I now
need to reproduce the same output. I suspect I could apply the same
techniques to the ConTeXt code, but I don't want to embark on a fool's
errand if (a) it's already done somewhere, or


My experience: It is not implemented in (old) texutil.pl. It is even not 
implemented in simpler only-page-number case.
In the code there is secret switch '$CollapseEntries', by default it is 
off. Switching manually on leads to all index page entries collaps to 
one (generally noncontinuous) range.


The same sad result you obtain if you use startregister...stopregister pair.

If you know Perl it is not difficult to insert such stuff for one 
application. It is very difficult to create a general solution.


I have no (positive and deep) experience with new ruby texutil equivalent.

vit

 (b) the code I hack is about to be replaced.


Thanks,

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



--
===
Ing. Vít Zýka, Ph.D. TYPOkvítek

database publishing  databazove publikovani
data maintaining and typesetting in typographic quality
priprava dat a jejich sazba v typograficke kvalite

tel.: (+420) 777 198 189 www: http://typokvitek.com
===

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


Re: [NTG-context] DOC/RTF to ConTeXt via XML

2005-09-28 Thread Christopher Creutzig
Idris Samawi Hamid wrote:
 Ok, you guys have lost me now-) Maybe the best thing to do is try something 

 Just ignore the detail of what xslt can and can't do for the moment.
That just influences the choice of tools for one particular step and we
all agree that there are tools for this step.

 it to ConTeXt. From what I gather so far the process goes something like
 
 doc  = rtf 
 rtf  = OO.o
 OO.o = xml

 No need for rtf.  That would loose lots of information anyway, wouldn't it?

 \startHans
 converting open office xml is not always easy; stay away from tab's and use 
 high level constructs as much as possible
 \stopHans

 I'm not really sure what Hand meant by this.  I assume he does have a
valid point, since so far I only had a short and theoretical look at the
format, but I can only guess what it is.  Hans, could you give an
example or two?

From this discussion it seems that I (as an xml ignoramous) would be better 
 off converting to ConTeXt code rather than processing pure xml blocks (but 
 maybe I'm wrong).

 XML is much, much easier to parse than just about anything else.  That
means that whatever your conversion process uses, you can simply reuse
an XML parser in whatever language you want to use.  (Interpreting the
file may be easy or hard, depending on the xml structure at hand.)  The
only exception I can see right now would be a rather large and
error-prone “Visual” Basic program to create a sort of export filter for
Word to write ConTeXt.  I certainly don't think that's easier.

 Once I get a sane xml file (this seems to be the biggest problem) what is the 
 best tool to convert this to ConTeXt?

 It depends on who is going to write the conversion.  From the languages
I've used so far, it's probably easiest to do in xslt, but if you
are/have at hand a programmer who's good at ruby but would have to learn
xslt first, the whole thing may not be big enough to warrant learning
another language first.  Unless that programmer wants to, which would be
a very good sign.  Learning a new language per year is not really a bad
idea.

 We are all extremely busy, of course, but if anyone finds this interesting I 
 can send a sample doc article from my journal. Maybe we can do a MyWay or 
 something to document this process for ourselves and others, as well as find 

 It might be a pretty specific thing, though.  My guess is that you
could make more progress by thinking about what sort of structurals you
would like to have, rather than looking at what you have right now.


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


Re: [NTG-context] DOC/RTF to ConTeXt via XML

2005-09-27 Thread Christopher Creutzig
Duncan Hothersall wrote:
 Well, XSLT seems to have been designed, and certainly tends to be
 implemented, as a tool for simple transformations of small XML chunks.

 No, xslt is a tool for arbitrary xml - xml conversions (and a little
more than that).  With a good implementation (say, saxon), working with
moderately large trees is pretty fast.  The stylesheet is actually
compiled before running.

 Obviously complex transformations can be constructed from a bunch of
 simple transformations, but there comes a point when you should really

 Just about any programming language gives you simple operations to
build whatever you want from.

 just use a better tool - though these tend to cost serious money (e.g.

 „Better“ depends on your task at hand.

 OmniMark). Also, most XSLT implementations use the DOM model, which is

 XSLT uses a DOM model, which is different from the W3C DOM model.

 fine for a 50Kb file but will be incredibly resource-hungry if you're
 processing files of 5Mb. At that point you want a streaming model, and

 That depends on what you want to do with your data.  For many of my
needs, a streaming model simply wouldn't work without keeping lots of
information (to be processed later) in memory, defeating the model.

 I have found splitting my data into files that form conceptional units
to be a good way, both for editing the files and for turnaround times.
(I am using Makefiles, so the granularity of finding unchanged items for
me is the file.)  We are talking about almost 15MB here, which I regard
as pretty much, considering it is almost pure text.

 Again, I don't mind using something else on XML data.  I'm doing it
myself.  It all depends on what you want to do.  In the case of
transforming xml to ConTeXt, I would go for an xslt implementation, but
ymmv.  After all, the choice of tools always depends on many factors,
including familiarity.  (I've continued using perl instead of ruby for
ages, until recently, for that reason.)

 for a streaming model you want a better suited language than XSLT. As I
 say, horses for courses. For article-length pieces and simple
 transforms, XSLT might suffice.

 For number crunching, xslt is certainly inadequate.  Transforming books
of average length (say, 300-500 pages) is certainly doable, although I
would go for a transformation chapter-by-chapter,especially considering
that we are talking about a process where crossreferences etc. are going
to be handled later in the chain.  But I thought we were talking about
article-length pieces anyway?


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


Re: [NTG-context] ruby, Lua, Megapost, tcl, ...

2005-09-19 Thread Maurice Diamantini


Le 12 mai 05 à 09:01, Hans Hagen a écrit :


luigi.scarso wrote:

A little off-topic: why ruby and not python ?


- i didn't like those tabs/indentation
- ruby's reminded me of modula which i used a (real) lot in the past
- ruby has a small footprint
- i just like it

Hans


I agree with the previous points.
Also ruby is available in most of the operating systems
but ...

then Giuseppe Bilotta wrote (~ 18 sept 2005)


Perl, Ruby, Lua ... what next?



What about Lua, Adding one more dependency to ConTeXt make it
more difficult to install and maintain.
So what is the advantage of luo in conTeXt instead of ruby?

-- Maurice




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


Re: [NTG-context] ruby, Lua, Megapost, tcl, ...

2005-09-19 Thread Hans Hagen

Maurice Diamantini wrote:


What about Lua, Adding one more dependency to ConTeXt make it
more difficult to install and maintain.
So what is the advantage of luo in conTeXt instead of ruby?


perl, python, ruby are 'huge', and distributing them with tex is a problem; lua is 'made for embedding' and adds less that 100k to the binary: lean and mean; i love ruby, but it's a big machinery. 

Anyway, once we have lua in place, there will also be an api to tex's internals; when that is done, interfacing to ruby should be no problem. Maybe our next project will then be a 

 .tex (dot tex) 

framework -) 



Hans 



-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-

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


Re: [NTG-context] ruby, Lua, Megapost, tcl, ...

2005-09-19 Thread Hans Hagen

Maurice Diamantini wrote:


What about Lua, Adding one more dependency to ConTeXt make it
more difficult to install and maintain.


btw, it's not a dependency: lua will be 'always pesent in the binary' 
and since we nowadays only have one binary ... also, my guess is that 
adding it to aleph is easy


ok, secret link: http://www.pragma-ade.com/general/manuals/luatex.pdf

Hans

-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-

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


Re: [NTG-context] ruby, Lua, Megapost, tcl, ...

2005-09-19 Thread Taco Hoekwater


Hi Maurice,

Maurice Diamantini wrote:


What about Lua, Adding one more dependency to ConTeXt make it
more difficult to install and maintain.
So what is the advantage of luo in conTeXt instead of ruby?


Lua will not be 'in context', but 'in pdftex': the lua library
will be integrated in the executable, as a true extension language
that can be used besides and interleaved with TeX's normal syntax.

Lua is probably the best language for this sort thing, because
its code is small and very easy to extend/embed.

On the user side of things, nothing will change compared to the
current 'update  your pdftex release' stuff. Using LuaTeX will
eventually probably mean extra functionality, but the most likely
sort-term result is a gain in processing speed, because the in-line
scripting can reduce the number of needed TeX runs.

Greetings,

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


Re: [NTG-context] ruby, Lua, Megapost, tcl, ...

2005-09-19 Thread luigi.scarso

Hans Hagen wrote:



btw, it's not a dependency: lua will be 'always pesent in the binary' 
and since we nowadays only have one binary ... also, my guess is that 
adding it to aleph is easy


ok, secret link: http://www.pragma-ade.com/general/manuals/luatex.pdf


FANTASTIC!! It's what I want.

I always think about embedding python; but now  this can be a
private project .

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


Re: [NTG-context] lilypond inclusion + pdf crop (getting off-topic)

2005-09-18 Thread Hans Hagen

Giuseppe Bilotta wrote:


Perl, Ruby, Lua ... what next?
 

megapost (by Giuseppe Bilotta) 
lualeph  (by Giuseppe Bilotta) 

i'm told that he will start with that when he finished his thesis -) 

(btw, could you do your thesis work without megapost? i thought that it was a prerequisite) 

Hans 


-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-

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


Re[2]: [NTG-context] lilypond inclusion + pdf crop (getting off-topic)

2005-09-18 Thread Giuseppe Bilotta
Sunday, September 18, 2005 Hans Hagen wrote:

 Giuseppe Bilotta wrote:

Perl, Ruby, Lua ... what next?
  

 megapost (by Giuseppe Bilotta) 
 lualeph  (by Giuseppe Bilotta) 

 i'm told that he will start with that when he finished his thesis -)

Who's this nutcase? ;)

Seriously, as long as it keeps being hobbistic, I'd better
stick to a single project at a time :)

 (btw, could you do your thesis work without megapost? i
 thought that it was a prerequisite) 

No, my thesis only deals with the theory behind Kinch's
method to convert fonts, and how it can be improved.
Megapost would only fit the scene because it could be
possible to implement such conversion directly in it,
whereas metapost doesn't have enough precision.

-- 
Giuseppe Oblomov Bilotta


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


Re: [NTG-context] lilypond inclusion + pdf crop (getting off-topic)

2005-09-17 Thread Taco Hoekwater

luigi.scarso wrote:

Henning Hraban Ramm wrote:

wait till you see what a lua enhancec context can do (playing with 
it  now) -)   



Oh no, not another language!

TeX and MetaPost and PostScript, Perl and Ruby for ConTeXt, Guile for 
LilyPond, Perl, Python, PHP, Slang, VB and Shell for work, and now Lua 
- who will learn that lot?



I understand this very well


You guys are missing the point. Hans and I are going to learn Lua so
you won't have to :-)

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


Re[2]: [NTG-context] lilypond inclusion + pdf crop (getting off-topic)

2005-09-17 Thread Giuseppe Bilotta
Friday, September 16, 2005 Hans Hagen wrote:

 Adam Lindsay wrote:


This cuts very close to my day job, yet I never would have imagined
ConTeXt could enable this for people...
  

 wait till you see what a lua enhancec context can do (playing with it
 now) -)

Perl, Ruby, Lua ... what next?

-- 
Giuseppe Oblomov Bilotta

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


Re: [NTG-context] lilypond inclusion

2005-09-16 Thread Hans Hagen

Mojca Miklavec wrote:


Thanks a lot for the module! I didn't manage yet to make it work
properly, but it's promising.

Just a note: calling epstopdf is pretty optimistic, I'm affraid that
even on linux systems this command is not always present or at least
it has some other name. I don't know about other versions, but under
windows lilypond has gs built in and can already output pdf files
(besides the fact that they can perhaps already be included in ConTeXt
out-of-the-box, I don't know). If I delete -b eps --ps in
Christopher's module, it complains about The postscript backend does
not support the 'classic' framework, whatever this means. I have no
experiences with lilypond, but this message does not occur when
processing other lilypond files.
 


context ships with pdftops (or better use the the updatex version, called 
newpstopdf)

probably few know, but texutil has functionality similar to epstopdf (which is a trick sebastian rahtz posted to the pdftex list in the early days of pdftex); the texutil variant does a few more things (like removing interfering crap in the ps file) and the stand alone ruby variants know a few more tricks. 

Hans 



-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-

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


Re: [NTG-context] lilypond inclusion + pdf crop (getting off-topic)

2005-09-16 Thread Henning Hraban Ramm
wait till you see what a lua enhancec context can do (playing with it  
now) -) 

Oh no, not another language!

TeX and MetaPost and PostScript, Perl and Ruby for ConTeXt, Guile for LilyPond, 
Perl, Python, PHP, Slang, VB and Shell for work, and now Lua - who will learn 
that lot?

Your personal-bandwidth-restricted Hraban
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] new feature / manual

2005-09-15 Thread Thomas A. Schmitz

bin there, done that (with the file you posted yesterday:

#!/bin/sh
ruby /usr/local/teTeX/share/texmf.local/scripts/context/ruby/ 
texmfstart.rb texexec.pl $@


Is that the right method?

Thomas

On Sep 15, 2005, at 1:35 PM, Hans Hagen wrote:


then you should replace your stub file


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


Re: [NTG-context] new feature / manual

2005-09-15 Thread Hans Hagen

Thomas A. Schmitz wrote:


bin there, done that (with the file you posted yesterday:

#!/bin/sh
ruby /usr/local/teTeX/share/texmf.local/scripts/context/ruby/ 
texmfstart.rb texexec.pl $@


not texexex.pl but just texexec 


-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-

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


Re: [NTG-context] new feature / manual

2005-09-15 Thread Thomas A. Schmitz

OK, works like a charm!!

On Sep 15, 2005, at 2:38 PM, Hans Hagen wrote:


Thomas A. Schmitz wrote:



bin there, done that (with the file you posted yesterday:

#!/bin/sh
ruby /usr/local/teTeX/share/texmf.local/scripts/context/ruby/  
texmfstart.rb texexec.pl $@




not texexex.pl but just texexec
-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-

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



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


Re: [NTG-context] free keycaps font

2005-09-13 Thread Hans Hagen

Brooks Moses wrote:


At 02:16 PM 9/12/2005, you wrote:


On Mon, 2005-09-12 at 23:08 +0200, Nikolai Weibull wrote:
 Very nice!  I would like them to lay closer to a standard baseline,
 though,

I'm not sure what you mean by lay closer to a standard baseline. The
baseline of the glyph inside the key is aligned with text outside the
key. I waffled back and forth trying to find the most attractive
position while building the font. The majority of keycaps fonts I looked
at chose the same baseline.



Having looked at the uploaded .pdf, I agree: very nice!

I do agree with Nikolai that there appears at first glance to be a bit 
of a baseline problem.  As you mention, though, the baselines are 
right.  The actual difficulty, in my opinion, is that the font is 
just a bit too small, and so the _tops_ of the keys are too low -- it 
looks odd for them to be lower than the tops of the capital letters, 
when the depth of the keys is so large.


Why not just center the characters? No problem for most of them since 
they have the same height (due to the upppercase char); All keyboards 
are different in positioning, so it does not hurt that much. By 
centering on gets a better look and feel.


Concerning the 'construct a key' approach, how about the following:

- provide shapes for a single, double-wide, tripple-wide, tripple 
height, enter-shape keys.
- next we can make a series of virtual fonts using the new condensed 
latin modern (sans or monospaced)


that way also keyboards for other languages can be constructed; I guess 
that a simple perl/ruby script can construct the virtual font.


Nice initiative

Hans



-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-

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


Re: [NTG-context] lgrind...

2005-09-13 Thread Taco Hoekwater



Andre van der Vlies wrote:

Hi,
I use 'lgrind' to format my 'source code' (C, python, sricpts, etc.). I
like the  'layout' (highlighting, line numbering...). Is there something
equivalent (or better :) in/for ConTeXt?


I personally do not know of anything that is comparable right away, but
I could be wrong.

Side note: I looked at the source of lgrind and it looks rather simple,
so it may be possible to replace the lgrind executable with a perl (or
ruby) script that can be targeted at ConTeXt as well as LaTeX.

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


Re: [NTG-context] lgrind...

2005-09-13 Thread Andre van der Vlies

Taco Hoekwater said:

 Side note: I looked at the source of lgrind and it looks rather simple,
 so it may be possible to replace the lgrind executable with a perl (or
 ruby) script that can be targeted at ConTeXt as well as LaTeX.


Mkee, but I'll need to know what to produce (even the LaTeX ouput looks
obscure to me); and I'll do it in python...



--
   Andre van der Vlies [EMAIL PROTECTED]
   Certifiable UNIX engineer
   Homepage: http://vandervlies.xs4all.nl/~andre
Key fingerprint = 397C 7479 67DB 9306 23DC B423 7B58 CD5A 6EFF 5CF8
--
()  ascii ribbon campaign - against html e-mail
/\- against microsoft attachments
  ^[^#]
--

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


[NTG-context] towards some more consistency in regimes unicode support

2005-09-13 Thread Mojca Miklavec


Hello,

Sorry for a slightly longer mail. I wanted to send it to context-dev, 
but probably there's someone else besides Adam out there who could 
contribute (for example to re-chech Greek or Cyrillic section of Unicode 
or even add some missing Hebrew definitions for example). If someone 
thinks that it's more appropriate, please feel free to continue the 
discussion on context-dev.



I. in regi-utf it would be fine to add:

\defineregimesynonym[utf-8][utf]
\defineregimesynonym[utf8][utf]

II. After a long time I finally decided to write my first ruby script. I 
took UnicodeData.txt, adobe glyph list, enco-uc.tex, collected 
averything together, removed characters  (in case someone needs 
them they can trivially be added again, but I don't think that anyone is 
planning to name them shortly), did some manual corrections ... and here 
are the results:

http://pub.mojca.org/tex/enco/contextlist/
http://pub.mojca.org/tex/enco/contextbase/regi-temp.tex

The idea behind is that there is no definite refence to the ConTeXt 
glyph names, which means that every new regime that should be supported 
needs a lot of manual work and leads to many inconsistencies.


The file contextnames.txt contains the Unicode hexadecimal number, pdf 
name (from Adobe Glyph List), ConTeXt name and the Unicode name. This 
could then be a source of information when adding new regimes, writing 
unicode vectors (unic-*), mapping to font encodings, 
uppercasing/lowercasing information for font encoding and other files 
can now be derived directly from unicode and this list (unicode already 
contains information about upper/lowercase variants of the letters) ...


There is some more info missing, which should be either packed within 
the same file or in separate files:

- ConTeXt synonyms (like \Dcroat - \Dstroke, ...)
- pdf synonyms (dbar - dcroat), to help recognize the glyphs in .enc or 
.afm and automate support for it

- faking the characters (\ccaron - \buildtextaccent\textcaron{C})
- unaccented version of the characters (\Aacute - A, ...)
- other characters not present in unicode (Caron, Acute - these are 
accents for uppercase letters, ...)
- (I'm sure that I wanted to add some more points, but I don't remember 
any other right now)


When I wanted to add the names from unic-34.tex, I realized that we 
don't really need to have a command for every single unicode character 
(we certainly don't need to map math characters into that region), but 
if someone already has a file with unicode integrals, it costs nothing 
to give him those characters in output.
(Shortly: 0x2211, N-ARY SUMMATION should expand into $\sum$, but not 
the other way round)
I have to slightly change the syntax in the context glyph names file to 
note this difference and to be able to define math (and other) signs 
properly.



III. Now I need some help - someone should help me revise the file 
contextname.txt (I prepared a HTML version of it): correct mistakes (if 
any are spotted), add new definitions, help to prepare a list of 
synonyms, a list of expansions (\buildtextaccent), ...



Here are some points which I spotted, but can't fix them alone

1. Characters missing (needed by some regimes):

0020-007F section

037A GREEK YPOGEGRAMMENI
0384 GREEK TONOS
0385 GREEK DIALYTIKA TONOS
2015 HORIZONTAL BAR
2017 DOUBLE LOW LINE
20AA NEW SHEQEL SIGN
20AB DONG SIGN
20AF DRACHMA SIGN
2116 NUMERO SIGN
200E LEFT-TO-RIGHT MARK
200F RIGHT-TO-LEFT MARK

1Exx section

2. Greek - there are some name inconsistencies when compared to the 
unic-031 vector, but I don't know anything about old greek. I didn't 
check Cyrillic at all.


3. Punctuation and accents - mostly names for quotes and language 
dependency (lowerleftuppersixquote in comparison to lftdblquote ... or 
whatever they are called) (+ tricks, I already asked about quotes  
hyphenation approximately a week ago).
I have problems understanding the difference between letter modifiers 
(U+02Cx) and usual accents (U+00Bx), Combining Diacritical Marks 
(U+03xx) should be supported somehow as well. I have no idea how to make 
U+0065 U+0301 (e + combining acute accent) into eacute.


4. should hungarumlaut be doubleacute and hungarumlaut only its synonym 
or the other way round?


5. tbar vs. tstroke: compare 0166 and 023E

6. cedilla/commaaccent dilema: there's a huge problem with t with 
cedilla (0162): t with comma below (021A) sould be used instead (at 
least this is stated in Unicode reference), but most regimes map a 
character to t with cedilla (0162), which seems stupid to me. Adobe 
glyph list therefore uses tcommaaccent for t with cedilla, which looks 
like t with comma accent, but is on the wrong place. lmr have both 
tcommaaccent and tcedilla. \tcedilla should be t with cedilla in my 
opinion and \tcommaaccent t with comma accent. That currently isn't

Re: [NTG-context] lgrind...

2005-09-13 Thread Brooks Moses

At 01:44 AM 9/13/2005, Taco Hoekwater wrote:

Andre van der Vlies wrote:

I use 'lgrind' to format my 'source code' (C, python, sricpts, etc.). I
like the  'layout' (highlighting, line numbering...). Is there something
equivalent (or better :) in/for ConTeXt?


I personally do not know of anything that is comparable right away, but
I could be wrong.


I don't know of anything either.  The LaTeX listings package is mostly 
just TeX at its core, so it's feasible to think of translating it -- but, 
even if it's only 5% LaTeX, that's still quite a lot of code, so it's still 
a good bit of work!


The lgrind documentation does refer to an earlier tgrind which worked in 
Plain TeX; this might also work in ConTeXt.



Side note: I looked at the source of lgrind and it looks rather simple,
so it may be possible to replace the lgrind executable with a perl (or
ruby) script that can be targeted at ConTeXt as well as LaTeX.


In my opinion, that would be a useful thing, since lgrind itself is 
non-free.  (Specifically, it's based on code with a no-commercial 
license.)  An implementation that was careful to avoid any literal copying 
would get around that, and be a useful thing to have.


Meanwhile, though, after looking through the code, I don't think there's 
actually much need to modify the executable.  Lgrind mostly doesn't write 
LaTeX (which is why Andre found it so obscure) -- it writes TeXcode that 
uses its own simple commands, which are then defined in lgrind.sty.  To use 
Lgrind in ConTeXt, one needs to translate the style file into a 
t-lgrind.tex, at which point the same Lgrind output files can be used in 
both systems.


If you do re-implement it as a Python script, I would suggest keeping 
things similarly flexible, as it would be good to be able to use the 
re-implementation in LaTeX as well (due to the aforementioned license 
issues, an also just because it's convenient to be able to use the same 
system, for those of us likely to be writing papers in LaTeX and 
presentations in ConTeXt).


- Brooks

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


[NTG-context] kpse

2005-08-16 Thread Hans Hagen

Hi,

The latest distribution has an experimental ruby kpse class in 
kpsefast.rb (expects updates -). As far as i can measure it's not slower 
than native kpse and once loaded in a ruby prog it's faster of than 
reinvoking kpse each time;  it can (optionaly) dump the database in a 
home/temp path which halves loading time. I will probably use this 
mechanism in the coming texexec/texutil (maybe also in texmfstart).


The associated variant of kpsewhich is 'tmftools' (no help yet). Apart 
from basic kpsewhich  functionality  it will harbor more tree tools.


texmfstart tfmtools --analyze --root=/whatever/tex

texmfstart tfmtools --analyze --root=/whatever/tex 
--trees=texmf,texmf-local


can be very instructive on duplicate files on your machine and point you 
to problems. It has a --delete option which can be used as follows


texmfstart tfmtools --analyze --root=/whatever/tex  --delete 
texmf-local/fonts/.*/lm


this will remove dups in texmf-local (to be sure, one needs to pass 
--force as well)


Hans



-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-

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


Re: [NTG-context] alpha version

2005-08-09 Thread Vit Zyka

Hans Hagen wrote:

Hi,

For those interested in sorting registers ...


OK, I am very interesting. Now I set aside some time to help with Cz part.


... the alpha release has sort-* files in it.


I looked at it. Seems that basic sorting rules can be set by macro, more 
difficult by Rubu module, right? Let start with macro.


I derrived test file from your example. The only difference is that I 
replace \ccaron by č in IL2 and put \enableregime[IL2] to very 
beginning. Seems such char is not recognized by sorting rules. What is 
wrong?


I see there are 4 macros. I guess their meaning:

\exportsortrule {zacron}{z+1} ... replaces two lines:
  \exportsortexpansion {ccaron}  {cz} ... char to string replacement
  \exportsortdivision  {cz}  {ccaron} ... reverse

\exportsortreduction{ch}{c} ... second pass replacement ???
  if I want 'ch' be sorted between 'h' and 'i' so I do
  \exportsortreduction{ch}{h+1} ??

vit


For the moment you need to load:

 \readfile{sort-ini}{}{}

After that

mainlanguage[sl]

\starttext
   test \index {aa1}  test \index {ab1} test \index {aa2}
   test \index {ab2}  test \index {aa10}test \index {aa8}
   test \index {aa9}  test \index {aa11}test \index {aa10}
   test \index {} test \index {\ccaron ccc} test \index {\cacute ccc}
   test \index {caaa} test \index {\ccaron aaa} test \index {\cacute aaa}
   \placeindex
\stoptext

will adapt itself to the language. Sort orders are defined in sort-lan.tex.
You need to run 'newtexexec' (ruby reimplementation of texexec), which 
uses the texutil module/class instead of the program (faster).
The reimplementation of texutil permits user plugins and such (more 
about that later).


I need more info on sort order about for instance czech and german and ... 
Hans

-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-

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



--
===
Ing. Vít Zýka, Ph.D. TYPOkvítek

database publishing  databazove publikovani
data maintaining and typesetting in typographic quality
priprava dat a jejich sazba v typograficke kvalite

tel.: (+420) 777 198 189 www: http://typokvitek.com
===

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


[NTG-context] alpha version

2005-08-08 Thread Hans Hagen

Hi,

For those interested in sorting registers ...

... the alpha release has sort-* files in it.

For the moment you need to load:

 \readfile{sort-ini}{}{}

After that

mainlanguage[sl]

\starttext
   test \index {aa1}  test \index {ab1} test \index {aa2}
   test \index {ab2}  test \index {aa10}test \index {aa8}
   test \index {aa9}  test \index {aa11}test \index {aa10}
   test \index {} test \index {\ccaron ccc} test \index {\cacute ccc}
   test \index {caaa} test \index {\ccaron aaa} test \index {\cacute aaa}
   \placeindex
\stoptext

will adapt itself to the language. Sort orders are defined in sort-lan.tex. 

You need to run 'newtexexec' (ruby reimplementation of texexec), which uses the texutil module/class instead of the program (faster). 


The reimplementation of texutil permits user plugins and such (more about that 
later).

I need more info on sort order about for instance czech and german and ...  

Hans 


-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-

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


Re: [NTG-context] Scite spelling support

2005-08-01 Thread Hans Hagen

Taco Hoekwater wrote:




Coydell Rivers wrote:

Hello Han, I'm responding to your PS{}.I've just downloaded 
mswincontext.zip.
This program AVG Free Edition Program version: 7.0.338 virus base: 
267.9.7/60

Release date: 7/28/2005 3:15:00 PM
will not let you use a detected virus file(.)

texmfstart.exe file-size 610,304 dated 7/30/2005 DETECTED
texmfstart.exe file-size 610,304 dated 7/27/2005 DETECTED
I had to replace the above with:
texmfstart.exe file-size 584,000 dated 12/20/2004
So is this program the bomb or what.



It could be infected if Hans' machine is, because some local dlls
are included in the compiled version by the rubyscript to exe
compiler. Perhaps he should download AVG to check his local system?


i've tested with the latest mcafee and it's ok; i've installed avg in a virtual machine (not in the mood to slow down my main machine) and avl reports a virus when scanning the zipped file but not on the unzipped stuff so my guess is that there is some strange interaction between the windows unzip functionality and avg checking; if i copy files as-is to the virtual machine i see no problem; [in th eend each pattern will be a virus i guess] 


texmfstart.exe is just ruby binaries+scripts+somelibs

Hans 



-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-

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


[NTG-context] Sparklines to be in ConTeXt?

2005-07-31 Thread Tobias Wolf
Hey,
what do you people actually think about E. Tufte's Sparklines?²
They are a great and innovative thing in my mind; both in the
information mediating and the typographic sense.
There's a bare-bones LaTeX package on CTAN, but when I think about it,
this technique could find a perfect place in ConTeXt's framework (say
MetaPost, XML, Scripting and so on. There's even some kind of Ruby
implementation³).
- Tobias

² http://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=0001ORtopic_id=1
³ http://redhanded.hobix.com/inspect/sparklinesForMinimalists.html
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Regimes to be supported; Comments?

2005-07-29 Thread Mojca Miklavec

Hello,

Some time ago there was a discussion about extending support for 
different regimes in ConTeXt. The list of (to-be-)supported regimes 
probably depends strongly on the implementation (ruby+iconv?). I 
collected a preliminary list of candidate regimes and possible synonyms 
(some synonyms are listed there for backward compatibility and have to 
remain there), leaving out most of eastern encodings (not because they 
shouldn't be on the list, but because I'm completely ignorant about that).


Hans suggested to post this to the mailing list first to get some useful 
comments and suggestions.


#

The following question should probably go in a separate thread, but it's 
a very similar thematic. In July 2006 Ljubljana will host people from 
around 85 coutries of the world. One of the very ambitious organizers is 
dreaming for already a couple of years to print the participant names 
(on honourable mentions for example, ...) in both latinic transcription 
and as they are written in original (under an assumption that the names 
are properly entered in a UTF-8 database). This is probably not possible 
to do for every single obscure language, but does it in general sound like:

a) Good luck (I don't want to be on your place)!
b) Take a good (commercial) program
c) If you're ready to invest the rest of your time (forget about 
hobbies!), it's probably doable in LaTeX or ConTeXt until then
č) Forget about TeX - it will be possible to solve this problem one day 
with unicode  one of the new TeX engines. But until then, it's not 
worth the effort, because any effort you may invest will become obsolete 
in a couple of years.


To be honest, even some people who will thanslate the materials into the 
native language, will probably do that with paper, pencil  scanner.


#


Mojca

And here the encodings:

# ISO
ISO-8859-1  Western
ISO-8859-2  Central European
ISO-8859-3  South European
ISO-8859-4  Baltic
ISO-8859-5  Cyrillic
ISO-8859-6  Arabic
ISO-8859-7  Greek
ISO-8859-8  Hebrew Visual
ISO-8859-8-I Hebrew (???) What is that?
ISO-8859-9  Turkish
ISO-8859-10 Nordic
ISO-8859-11 Thai
ISO-8859-13 Baltic
ISO-8859-14 Celtic
ISO-8859-15 Western
ISO-8859-16 Romanian

\defineregimesynonym[il*][iso-8859-*], *=1-16\12
\defineregimesynonym[latin*][iso-8859-*], *=1-16\12
\defineregimesynonym[cp819][iso-8859-1]

% I'm not sure that anyone needs these:
\defineregimesynonym[iso-ir-100][iso-8859-1]
\defineregimesynonym[iso-ir-101][iso-8859-2]
\defineregimesynonym[iso-ir-109][iso-8859-3]
\defineregimesynonym[iso-ir-110][iso-8859-4]
\defineregimesynonym[iso-ir-144][iso-8859-5]
\defineregimesynonym[iso-ir-127][iso-8859-6]
\defineregimesynonym[iso-ir-126][iso-8859-7]
\defineregimesynonym[iso-ir-138][iso-8859-8]
\defineregimesynonym[iso-ir-148][iso-8859-9]
\defineregimesynonym[iso-ir-157][iso-8859-10]
\defineregimesynonym[iso-ir-179][iso-8859-13]
\defineregimesynonym[iso-ir-199][iso-8859-14]
\defineregimesynonym[iso-ir-203][iso-8859-15]
\defineregimesynonym[iso-ir-226][iso-8859-16]

% backward compatibility
\defineregimesynonym[iso88595][iso-8859-5]

(recode also recognises arabic, greek, cyrillic, hebrew as 
an alias for those encodings: I don't if this is a good idea as there 
are other charset operating with the same language groups as well)


# APPLE
MacArabic
MacCeltic
MacCentralEuropean
% CentEur, CentralEurope or CentralEuropean? or all of them?
MacChineseSimplified
MacChineseTraditional
MacCroatian
MacCyrillic
MacDevanagari
MacDingbats
MacFarsi
MacGaelic
MacGreek
MacGujarati
MacGurmukhi
MacHebrew
MacIcelandic
MacInuit
MacJapanese
MacKeyboard
MacKorean
MacRoman
MacRomanian
MacSymbol
MacThai
MacTurkish
MacUkrainian

\defineregimesynonym[MacCE][MacCentralEuropean]
\defineregimesynonym[mac][MacRoman]
\defineregimesynonym[maccyr][MacCyrillic]
\defineregimesynonym[macukr][MacUkrainian]

(I also need some help here: sometimes Mac encodings are defined using 
adjectives, sometimes using nouns, like Ukraine/Ukrainian. Should only 
one of them (which?) be used or both of them? On the unicode page, Mac 
encodings appear twice. The second time under Microsoft/Apple, 
containing MacCyrillic, MacGreek, MacIceland, MacLatin2, MacRoman, 
MacTurkish. I didn't really get the point for that.)


# IBM
% essentially the same as under Microsoft, with some minor changes 
(to be processed manually, if these are to be supported)

# MICROSOFT
EBCDIC % plenty of them are missing on the web
cp037
cp500
cp875
cp1026
PC
cp437 LatinUS
cp737 Greek
cp775 BaltRim
cp850 Latin1
cp852 Latin2
cp855 Cyrillic
cp857 Turkish
cp860 Portuguese
cp861 Icelandic
cp862 Hebrew

Antwort: Re: [NTG-context] Update to the newest ConTeXt version

2005-07-27 Thread Jessica Holle

I think I'm a little bit stupid this week

I've done everythink like on this site :
http://contextgarden.net/TeTeX_3.0_installation

I've only a softlink to texhash in /usr/sbin looks like:
texhash - /usr/local/teTeX/bin/i686-pc-linux-gnu/texhash

and a softlink to texmfstart
texmfstart -
/usr/local/teTeX/share/texmf/scripts/context/ruby/texmfstart.rb

and a softliink to
mktexlsr - /usr/local/teTeX/bin/i686-pc-linux-gnu/mktexlsr
because when I'm doing fmtutil-sys --edit like in the doku
explained, this was expected.

The scripts in the folders
/usr/local/teTeX/share/texmf/scripts/context/ruby
/usr/local/teTeX/share/texmf/scripts/context/perl
are executable


Because of this output I've thought mktextfm must have an sl to
/usr/sbin
Now I've canceled all softlinks in /usr/sbin
except the sl's I've said up in my mail  and the kpse*



rzvlabwks:/usr/local/teTeX/share/texmf # texmfstart texexec.pl
--version

 TeXExec 5.4.2 - ConTeXt / PRAGMA ADE 1997-2005

   texexec : TeXExec 5.4.2 - ConTeXt / PRAGMA ADE
1997-2005
   texutil : kpathsea: Running mktextfm ec-lmr12
mktextfm: No such file or directory
kpathsea: Appending font creation commands to missfont.log.
kpathsea: Running mktextfm ec-lmr7
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmr9
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmbx7
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmbx9
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmbx12
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmro10
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmro9
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmro12
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmri10
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmri9
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmri12
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmbxo10
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmbxo10
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmbxo10
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmbxi10
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmbxi10
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmbxi10
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmcsc10
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmcsc10
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmcsc10
mktextfm: No such file or directory
   tex : pdfeTeX, 3.141592-1.21a-2.2 (Web2C 7.5.4)
   context : ver: 2005.07.21
   cont-en : ver: 2005.07.21  fmt: 2005.7.27  mes:
english
kpathsea: Running mktextfm ec-lmr12
mktextfm: No such file or directory
kpathsea: Appending font creation commands to missfont.log.
kpathsea: Running mktextfm ec-lmr7
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmr9
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmbx7
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmbx9
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmbx12
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmro10
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmro9
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmro12
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmri10
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmri9
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmri12
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmbxo10
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmbxo10
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmbxo10
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmbxi10
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmbxi10
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmbxi10
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmcsc10
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmcsc10
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmcsc10
mktextfm: No such file or directory
   cont-nl : ver: 2005.07.21  fmt: 2005.7.27  mes: dutch

total run time : 2 seconds

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


Re: [NTG-context] Basic question on Unicode and ConTeXt

2005-07-22 Thread Christopher Creutzig

Mojca Miklavec wrote:


A1.) prepare the files to be used as a source of transformation from
any character set to utf and prepare a list of synonyms for
encodings


 In my point of view, that should only be a fallback.  We already have 
Iconv in ruby and can, if we know that ISO-8859-2 is a single byte 
coding system, simply say


conv = Iconv.new(UTF-16, ISO-8859-2)
255.times { |i| puts lookup[conv.iconv(%c % i)] }

to get the whole list, assuming we've filled the lookup hash first.


 As you've said, I'd combine steps A2 and A3, to make ConTeXt run 
faster.  If you want, for whatever reason, to use \textellipsis for an 
ellipsis (it just looks horribly wrong to me) instead of \dots, you'd 
need to invoke the ruby script which generates the regi-* files.


 The whole thing should not require any change at all to ConTeXt 
itself, since the regi-* files could look exactly as they do now, just 
being generated automatically.  (For the multibyte encodings, the whole 
thing gets much more tricky.)



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


Re: [NTG-context] Basic question on Unicode and ConTeXt

2005-07-22 Thread Mojca Miklavec
Christopher Creutzig wrote:
 We already have
 Iconv in ruby and can, if we know that ISO-8859-2 is a single byte
 coding system, simply say
 
 conv = Iconv.new(UTF-16, ISO-8859-2)
 255.times { |i| puts lookup[conv.iconv(%c % i)] }
 
 to get the whole list, assuming we've filled the lookup hash first.

Great!

Sorry for all my philosophising! I don't know ruby (yet) and I didn't
even think about this possibility. My last idea was to parse and
combine the data on http://www.unicode.org/Public/MAPPINGS/VENDORS/, 
http://www.unicode.org/Public/UNIDATA/UnicodeData.txt and
http://partners.adobe.com/public/developer/en/opentype/aglfn13.txt,
but your idea is hundred times faster and better! Thanks a lot!

 As you've said, I'd combine steps A2 and A3, to make ConTeXt run faster.

That's OK for me. If there's a simple internal ruby tool (called every
time when unicode-tex mapping changes or some more encoding support
is added) instead of one-time-script, there should be no problem to do
that directly.

 If you want, for whatever reason, to use \textellipsis for an
 ellipsis (it just looks horribly wrong to me) instead of \dots, you'd
 need to invoke the ruby script which generates the regi-* files.

I just wanted to give an example that changes are sometimes needed and
that it is difficult to trace all the places where they should have
been made. Sorry, this example wasn't very ilustrative, I don't even
know what \textellipses stands for, I just saw some comments about
changes made in regi-* files or some discrepancies.

   The whole thing should not require any change at all to ConTeXt
 itself, since the regi-* files could look exactly as they do now, just
 being generated automatically.  (For the multibyte encodings, the whole
 thing gets much more tricky.)

I noticed (perhaps I'm wrong) that TeX community support for cyrillic
may be better than that in unicode and in the available old 8bit
encodings. ConTeXt is also already supporting those strange regimes
(ctt, dbk, mls, mnk, mos, ncc, ...) that I was unable to find anywhere
else. In this case one should also be careful in order not to spoil
this already available feature.

I'm still slighlty confused by the encoding files (texnansi, ec,...,
in one case iso-8859-7 is used). Does it mean that it is impossible
(or at least very complex or slow) to access more than 256 characters
from a single font at once?

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


[NTG-context] Re: some beta software (fontinstaller)

2005-07-20 Thread Patrick Gundlach
Hello again,

finally a follow-up. I have been working on my font installer for the
last few (insert your favourite time period here). It has come to a
state where it is actually usable. Although not very fancy yet. 

For those who don't know: it is a set of ruby libraries to create a
font installer as well as some example installers. It can handle a
single font (like afm2tfm) and a font family (like fontinst). 

Included in the distribution is a program called afm2tfm.rb. You might
guess that this is meant as a replacement for afm2tfm (comes with
dvips). It can do a bit more than afm2tfm, for example, it can also
handle truetype fonts and keep kerning and ligature information in the
tfm file.

Another program included is 'rfont', a simple installer for font
families (regular, bold, italic, ...). But for that program, I need
some help for implementing ConTeXt font support. LaTeX support is
already working (although very preliminary - I'd appreciate help
there, too).

Prerequisites:

* ruby 1.8  (I guess, I have not tested it with 1.6)
* pltotf, vptovf (come with your TeX distribution)
* ttf2afm (pdftex), if you want to install truetype fonts
* patience (not everything is bug free)
* subversion if you want to stay up to date and can't wait a few hours
  for the nightly snapshot.

This release is dedicated to Mojca and Nikolai (who have to wait for
the changes in texshow-web - I was just too busy with this)

 Here is the project page: https://foundry.supelec.fr/projects/rfil/

 and here is the 'home page' of the project:
 https://rfil.groups.foundry.supelec.fr/ (documentation in rdoc format)

There is also a mailinglist at that site. You can find it at the
project page.

Because the upload of the foundry server is not working for me at the
moment, I have put the current cvs snapshot at
http://levana.de/tmp/rfil-104.tgz. This will go away soon. You can
always downoad the nightly svn snapshot.


Any kind of feedback is welcome.

Patrick
-- 
ConTeXt wiki and more: http://contextgarden.net
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Basic question on Unicode and ConTeXt

2005-07-20 Thread Christopher Creutzig

Hans Hagen wrote:


So why not mapping the characters to unicode first and defining the
mapping from unicode to \TeXcommand only once? regi-* files (at least
in the meaning they have now) could be prepared automatically by a
script, less error-prone and without the need to say Some more
definitions will be added later.
 


you mean ...

\defineactivetoken 123 {\uchar{...}{...}}

it is an option but it's much slower and take much more memory


 I may be wrong, of course, but I think Mojca proposed something 
different (and something that should be really easy to implement):  Have 
the unicode vectors stored in a format easily parsed by an external ruby 
script and create the regi-* files from that, using the conversion 
tables provided by your operating system or iconv or wherever ruby gets 
them from.



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


Re: [NTG-context] Basic question on Unicode and ConTeXt

2005-07-20 Thread Mojca Miklavec
Christopher Creutzig wrote:
 Hans Hagen wrote:
  So why not mapping the characters to unicode first and defining the
  mapping from unicode to \TeXcommand only once? regi-* files (at least
  in the meaning they have now) could be prepared automatically by a
  script, less error-prone and without the need to say Some more
  definitions will be added later.
 
  you mean ...
 
  \defineactivetoken 123 {\uchar{...}{...}}
 
  it is an option but it's much slower and take much more memory
 
   I may be wrong, of course, but I think Mojca proposed something
 different (and something that should be really easy to implement):  Have
 the unicode vectors stored in a format easily parsed by an external ruby
 script and create the regi-* files from that, using the conversion
 tables provided by your operating system or iconv or wherever ruby gets
 them from.

Yes, I had something different in mind.

A1.) prepare the files to be used as a source of transformation from
any character set to utf and prepare a list of synonyms for
encodings

(example: a file that says that in ISO-8859-2, character 0xA3
represents an unicode character 0x0141 (lstroke): for every character,
for every Mac/Windows/iso/[...] encoding that we want to support)

A2.) write a script which automatically generates regi-* files from
those files, but regi-* files would contain only the mapping to
unicode number

(example:
\startregime[iso-8859-2]
...
\somecommandtomapacharactertounicode {163}{1}{65} % lstroke
...
\stopregime)

A3.) prepare a huge file with mapping from unicode numbers to ConTeXt commands

(example:
...
\somecommandtomapfromunicodetocontext {1}{65}{\lstroke}
...)

A4.) ... I don't mind what ConTeXt does with this \lstroke afterwards,
but it seems it is already clever enough to produce the (proper) glyph
at the end

What should ConTeXt do with that?
B1.) The file under A3 should be processed at the beginning. As it may
become really huge, exotic definitions should be only preloaded if
asked for (\usemodule[korean]), while there is probably no harm if
(accented) latin, greek, cyrillic and punctuation (TM, copyright, ..)
are preloaded by default

B2.) Once the \enableregime[iso-8859-2] or any other regime is
requested, the file with the corresponding regime definitions is
processed. However, as \somecommandtomapacharactertounicode
{163}{1}{65} is processed, the character '163' is not stored as
\uchar{1}{65}, but as \lstroke. '\somecommandtomapacharactertounicode'
would first take a look which ConTeXt command is saved under
\uchar{1}{65} and call the
\defineactivetoken 179 {\lstroke} as a result.

I don't know the details of the ConTeXt internal stuff, but I think
(hope) that it should be possible to do it this way. B1 (preloading
mapping from unicode to tex commands) is probably the only hungry
step in the whole story.

I think that it doesn't make any sense to ask the user to \input
regi-whatever. \enableregime and some additional definitions should
be clever enough to find out which file to process in order to enable
the proper regime.

%

Christopher's idea is actually yet another alternative, which combines
the steps A2 and A3. If the mapping unicode-ConTeXt is in some
easy-to-parse format, there's actually no additional effort if the
script writes directly the ConTeXt commands instead of unicode numbers
into regi-* files, so that B2 has some less work to do. As long as it
is guaranteed that nobody will change these files manually, this is
OK. The only drawback is that if someone notices that \textellipsis
is more suitable than \dots, the script has to be changed and the
files have to be generated once more. If the character is mapped to
(0x2026 HORIZONTAL ELLIPSIS) instead, only one line in the file with
unicode-ConTeXt mapping (A3) has to be changed.

If B2 cannot work as described, the Christopher's proposal would be
the only proper way to go.

%

I wanted to test \showcharacters on the live.contextgarden.net (as
Hans suggested that my map files are probably not OK), but it didn't
compile there. (I hope it's not because of my buggy contributions in
the last few days.)

Is there any tool or macro to visialize all the glyphs available in a
font? \showcharacters (if it works) shows only the glyphs that ConTeXt
is aware of. What about the rest?

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


Re: [NTG-context] Some gardening

2005-07-02 Thread Taco Hoekwater


Hi there!

Mojca Miklavec wrote:

Hello,

Here's some more work for you Patrick, in case you get bored.
(I guess I'll soon be removed from the list as a spammer/abuser if I
continue writing mails such as this one :)


I do not think that will happen, but if you keep this up you might
find yourself being volunteered for various tasks :-)


What do the others think about it?

# Source browser


I don't normally use this part of the garden, because grepping the
harddisk is a whole lot faster and gives more functionality, but
all your remarks sound nice to me. Not being the one that has to
do the programming, that's an easy thing to say :)


# texshow-web

I've just noticed that there's no possibility to describe single
options for the commands.
Take \setuplayout for example. Describing such huge collection of
parameters in plain text is not clear, synoptic any more. It would be
great if there would be a possibility to add descriptions for:
- the command as such (already there)
- every pair of braces (only one for \setuplayout), has to be visible
if it is optional or not


This is already there, but perhaps a bit too subtle: optional arguments
are typeset using darkred braces and brackets (instead of black)


- every parameter inside a single brace
- every single option for that parameter (for example: width=middle
means that ...), default has to be marked


I believe that information is not in the XML file, but I guess it
should be. Would requires quite some a bit of effort on the data-
entry side (deriving the used defaults from the actual sources).


Enabling the Wiki functionality (bold, italic, tables ... texcode
and context) and linking it to the source browser (to the place
where \def\thisspecificcommand is) would also add another
dimensionality. It would probably not be 100% compatible with the
pretty-much-textbased texshow program, but ... I could imagine that
one day something similar as modules.pdf (texshow.pdf) could be made
from that page with pretty good documentation of (all ?) ConTeXt
commands.


standalone texshow is on the list to be re-done anyway, so I can
make it do whatever texshow-web does without much extra effort
(esp. since it will also become a ruby script).


The ability to add commands is already there I think (I have never
tried it out yet). What about adding commands for (official and
third-party) modules? It should be separated from the main page, but
still offering the same functionality.


This was on the todo list, IIRC. There is also metapost/metafun and
LaTeX commands to consider. :)

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


[NTG-context] texsync

2005-06-23 Thread Stuart Jansen
Is the newest version available through texsync? I performed:

ruby /data/tex/texmf-local/scripts/context/ruby/texsync.rb --force
--update --tree=tex --destination=/data/tex/
ruby /data/tex/texmf-local/scripts/context/ruby/texsync.rb --force
--update --tree=linux-64 --destination=/data/tex/
ruby /data/tex/texmf-local/scripts/context/ruby/texsync.rb --force
--update --tree=doc --destination=/data/tex/doc/
texexec --make --all

But /data/tex/texmf-local/tex/context/base/context.tex contains
\def\contextversion{2005.03.16}

-- 
Stuart Jansen [EMAIL PROTECTED]
Guru Labs, L.C.


signature.asc
Description: This is a digitally signed message part
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] texsync

2005-06-23 Thread Hans Hagen

Stuart Jansen wrote:

Is the newest version available through texsync? I performed:

ruby /data/tex/texmf-local/scripts/context/ruby/texsync.rb --force
--update --tree=tex --destination=/data/tex/
ruby /data/tex/texmf-local/scripts/context/ruby/texsync.rb --force
--update --tree=linux-64 --destination=/data/tex/
ruby /data/tex/texmf-local/scripts/context/ruby/texsync.rb --force
--update --tree=doc --destination=/data/tex/doc/
texexec --make --all

But /data/tex/texmf-local/tex/context/base/context.tex contains
\def\contextversion{2005.03.16}


i need to update the tree (i ran out of diskspace on the machine that i use for 
generating those things so i need to do a cleanup first)


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

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


Re: [NTG-context] tcsh

2005-06-09 Thread Adam Lindsay
Taco Hoekwater said this at Thu, 9 Jun 2005 16:24:39 +0200:



Otared Kavian wrote:
 Dear Contexters,
 
 Recently I upgraded to MacOS X 10.4 and after that ConTeXt didn't  work: 
 upon trying to typeset a file it says:
 
 tcsh: /sw/bin/init.csh: No such file or directory.

Sound like a problem in TeXShop (or possibly gwTeX). ConTeXt does
not deal with tcsh, all included scripts are driven by either perl
or ruby. From the website I understand that perhaps you have to
update TeXShop for 10.4, but I'm only guessing...

It's because you installed fink once and it is no longer installed. (I
hate fink.) You could track down which of the files fink modified and
delete the line referring to the /sw/bin/init.csh file. (look in
~/.tcshrc and ~/.login first)

If you don't find anything you could try to put a dummy file in that place:
 mkdir -p /sw/bin
 touch /sw/bin/init.csh

(You probably will need to prefix both commands with 'sudo' and enter
your password at the prompt the first time.)
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED]
 Lancaster University, InfoLab21+44(0)1524/510.514
 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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


Re: [NTG-context] How do Windows users call texexec etc.

2005-06-09 Thread John R. Culleton
On Thursday 09 June 2005 09:05 pm, Willi Egger wrote:
 Dear John,

 I would suggest, that those beginners would adopt Scite as their editor.
 I find it an excellent editor for my purposes. The advantage is, that
 this editor is very well integrated with Context. There is normally no
 command window necessary! So if you give these people a minimal context
 with Scite they surely are on the good track.

 Kind regards Willi


Thanks to all who responded.

So there seems to be three candidates, Scite, TeXnicenter and
texmfstart. Does Scite require that the newbie user also install
and configure Ruby? Or is there an exe available that just runs?
I am reading the Steve Peter paper which seems to imply that Ruby
is required.
-- 

John Culleton
The answers to all your publishing questions are found 
in the excellent books listed in the word-famous shortlist!
http://wexfordpress.com/tex/shortlist.pdf

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


Re: [NTG-context] new version

2005-05-26 Thread Adam Lindsay
Hans Hagen said this at Wed, 25 May 2005 17:34:24 +0200:

 the next (main) release will probably have a new texexec (ruby 
version, smoother, faster, more clever, no ini file etc)

Hmm. I hand-updated to the latest, and now texexec wants to rebuild the
format on every run. 

I'm not used to seeing this, anyone have any hints on where to poke around?

(the format is in texmf.local/web2c/ and in a pdfetex subdir. I've
texhashed, too.)

adam

 fixing texformat path : .:{/Users/atl/Library/texmf,!!/usr/local/teTeX/
share/texmf.local,!!/usr/local/teTeX/share/texmf.gwtex,!!/usr/local/
teTeX/share/texmf.tetex,!!/usr/local/teTeX/share/texmf}/web2c/{$ENGINE,}/{,}//
0
executable : pdfetex
format : cont-en
 inputfile : 
output : pdftex
 interface : en
  current mode : none
   TeX run : 1

This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
 \write18 enabled.
 (/usr/local/teTeX/share/texmf.local/web2c/natural.tcx)
kpathsea: Running mktexfmt cont-en.fmt
fmtutil: running `pdfetex -ini   -jobname=cont-en -progname=context
-8bit *cont-en.ini' ...
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) (INITEX)

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED]
 Lancaster University, InfoLab21+44(0)1524/510.514
 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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


Re: [NTG-context] new version

2005-05-26 Thread Hans Hagen

Adam Lindsay wrote:

the next (main) release will probably have a new texexec (ruby 
version, smoother, faster, more clever, no ini file etc)


what does

  texmfstart newtexexec --make --all

do?

Hans



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

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


[NTG-context] new version

2005-05-25 Thread Hans Hagen

Hi,

I posted a new version of context. There are a few new things, like pattern snow 
being part of the zip, and runtime graphic conversions (more about that when i 
have more time); the next (main) release will probably have a new texexec (ruby 
version, smoother, faster, more clever, no ini file etc)


btw, i need a miktex user who wants to test the ruby texexec version

it's upto taco to write the usual announcement -)

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

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


Re: [NTG-context] ruby

2005-05-12 Thread luigi.scarso
Hans Hagen wrote:
Hi,
when pondering about some ruby to bin for unix and googling a bit,
A little off-topic: why ruby and not python ?
i ran into:
http://www.erikveen.dds.nl/ruby.html
amazing stuff, not only rubyscript2exe (cross platform)!
bookmarked
luigi

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


Re: [NTG-context] ruby

2005-05-12 Thread Hans Hagen
luigi.scarso wrote:
A little off-topic: why ruby and not python ?
- i didn't like those tabs/indentation
- ruby's reminded me of modula which i used a (real) lot in the past
- ruby has a small footprint
- i just like 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
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ruby

2005-05-11 Thread Nikolai Weibull
Hans Hagen, May 11:

   when pondering about some ruby to bin for unix 

  Why would you want to do that?

 because ruby is not always installed (for some reason distribution do
 install tons of useless games and all kind of progs whose name i
 instantly forget, but no forget to install a recent ruby -); it's also
 handy when one runs from cd

Hm, true,
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] INstalling a new version of context

2005-05-09 Thread John R. Culleton
On Sunday 08 May 2005 08:44 pm, Hans Hagen wrote:

 wget www.pragma-ade.com/context/install/linuxtex.zip
 unzip linuxtex.zip
 cd tex
 . setuptex
 texexec --make --all

 after that, for each shell:

 . ~/tex/setuptex ~/tex

 (given tat you're in your home path)

Following the above as a cookbook approach there is a problem
with the texexec line. First I should mention that my default
system path points to the TeXLive path of
/usr/TeX/bin/i386-linux.  so
texexec --make --all will execute that program. If I go to the
new texexec and execute it specifically:
/usr/local/tex/texmf-linux/bin/texexec --make --all
then it can't find Ruby. 

Also, the setuptex program as distributed is not marked as
executable. If i mark it as executable and execute it the
execution is in the blink of an eye. I am not sure it actually
does anything. When I do 
set |less
the value  of TEXROOT does not show up. 

In the directory usr/local/tex/texmf-linux/bin 
if I execute 
./pdfetex
I get version 1.20a-2.2 (Web2C 7.5.3

But if I go to /usr/share/texmf/bin (the Slackware distribution
of TeX)
and execute 
./pdfetex 
I get
1.21a-2.2 (Web2C 7.5.4)

So the download of linuxtex.zip from Pragma gives an older version of
crucial software than the straight Slackware install. Hence I
will revert to that path.

 
John Culleton
The answers to all your publishing questions are found 
in the excellent books listed in the word-famous shortlist!
http://wexfordpress.com/tex/shortlist.pdf

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


Re: FW: [NTG-context] install help

2005-05-02 Thread Skip Collins
 if you download the latest alpha release, the engine subpath stuff
 should work; if not, run:

Please pardon my tedious questions. I have tried doing what you
suggest, but I must be doing something wrong. I downloaded the alpha
cont-tmf.zip. Then I unzipped it into an empty ~/texmf. Then I ran
texhash and saw that it updated ~/texmf/ls-R.

 ctxtools --make --all(ruby script)

To invoke ctxtools, I ran
ruby ~/texmf/scripts/context/ruby/ctxtools.rb --make --all
Nothing happened except the following output:
CtxTools | version 1.2.2 - 2004/2005 - PRAGMA ADE/POD

CtxTools | --bbeditinterfacegenerate bbedit syntax files [--pipe]
CtxTools | --contextversion report context version
CtxTools | --documentation  generate documentation file [--type=]
[filename]CtxTools | --jeditinterface generate jedit syntax files
[--pipe]
CtxTools | --patternfiles   generate pattern files [languagecode|all]
CtxTools | --purgefiles remove temporary files [--all] [basename]
CtxTools | --rawinterface   generate raw syntax files [--pipe]
CtxTools | --sciteinterface generate scite syntax files [--pipe]
CtxTools | --touchcontextfile   update context version
CtxTools | --translateinterface generate interface files (xml) [nl de ..]

Inovking texexec on my tex file in either of the following
incantations results in an error:
perl ~/texmf/scripts/context/perl/texexec.pl --pdf myfile.tex
/usr/TeX/bin/i386-linux/texexec --pdf myfile.tex

This is a summary of all `failed' messages and warnings:
`pdfetex -ini  -jobname=cont-en -progname=context -8bit *cont-en.ini' failed
warning: kpathsea: mktexpk output `! I can't read pdfetex.pool; bad
path?' instead of a filename.
Sorry, I can't find the format `cont-en.fmt'; will try `context.fmt'.
kpathsea: Running mktexfmt context.fmt
fmtutil: no info for format `context'.
I can't find the format file `context.fmt'!


So perhaps there are some other steps I am missing? Do I need to move
updated scripts into
/usr/TeX/bin/i386-linux ?


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


Re: [NTG-context] install help

2005-05-01 Thread h h extern
Skip Collins wrote:
Sorry for rambling. I guess this goes with the territory when living
on the bleeding edge. As you can see, I am in need of some basic
guidance for getting a newish context working properly. I have spent
some time looking for step-by-step instructions, but all I get is more
confused. The contextgarden wiki could be updated with more complete
instructions. I would be happy to help with this if I could only
figure out the correct recipe.
if you download the latest alpha release, the engine subpath stuff should work; 
if not, run:

ctxtools --make --all(ruby script)
and process your document with:
texexec --pdf yourfile.tex   (perl script)
there is also a rather up to date minimal context for linux on the website
Hans
-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] OT: german Ruby book

2005-04-23 Thread Henning Hraban Ramm
[If you can't read German this won't be of any interest for you.]
Ich habe ein Buch zu verschenken:
David Thomas / Andrew Hurt: Programmieren mit Ruby
Addison-Wesley 2002
siehe http://www.amazon.de/exec/obidos/ASIN/382731965X/
Da ConTeXt ja teilweise Ruby-Skripte einsetzt, würde ich es gerne einem 
aktiven ConTeXter zukommen lassen.
Ich dachte mal, ich sollte es selbst lernen, bin aber mit Python und 
Perl gut bedient.

Grüßlis vom Hraban!
---
http://www.fiee.net/texnique/
http://contextgarden.net
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: [dev-context] Re: new beta Re: Context index and sorting question

2005-04-22 Thread Hans Hagen
Vit Zyka wrote:
in a similar fashion, much texutil functionality is already present in 
ctxtools, which is a prelude to rewriting texutil i.e. a new sorting / 
index etc mechanism  (maybe xml based)

Great Hans you are thinking about (Czech:) sorting. How do you want to 
implement national deviations? For an example I attache brief Czech 
sorting rules overview (please see section 3).
indeed sorting is on the agenda, but i want to do it in ruby; once i've redone 
texutil (most is actually already redone) i will implement a sorting mechanims 
where language dependent methods can be hooked into; that way i can delegate 
part of the problem; for instance to you -)

Hans
-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] texexec in a shell script

2005-04-19 Thread Hans Hagen
Robert Ullrey wrote:
I know someone out there has the answer to this. If I run texexec 
through a shell, even with the full path to texexec, I get an error, 
//usr/local/teTeX/bin/powerpc-apple-darwin-current/texexec: line 1: 
sed: command not found
`.pl' not found.
you can use the call:
  texmfstart texexec ...
alternative you can replace texexec in you bin path by:
  #!/bin/sh
  texmfstart texexec.pl $@
first of all, texmfstart only depends on ruby, and more important, it knows how 
to locate things in the texmftree (the tds structure occasionally changes and 
texmfstart can adapt to that)

Hans
-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] new beta

2005-04-18 Thread Hans Hagen
David Munger wrote:
Thanks for trying, but it is not the correct way. Sorry for being
unclear. The point is that shell escaping was not done in the proper
way. Fix 1 used to do it in the configuration file (texexec.ini) which
is basically a bad idea. Shell escaping has to be done properly by
texexec.
i've rewritten the make code in ruby and will do some testing asap
Hans
-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


RE: [NTG-context] chancery font

2005-04-03 Thread Idris Samawi Hamid
= Original Message From mailing list for ConTeXt users 
ntg-context@ntg.nl =
Rob Ermers said this at Sun, 3 Apr 2005 16:03:24 +0200:

I completely agree. Context works fine but, like you, I have not
succeeded in installing any new font thusfar.

Okay, I get the message: there are quite a few frustrated would-be font
users out there. I see it as being something that someone can understand
(and explain) fairly well in the abstract, but the details throw up
distribution-specific problems.

Not only that, Adam, but the configuration issues involve so much minutae that 
it is very easy to make simple mistakes that cause, e.g, typescripts to fail. 
As Ciro suggested, what what would be useful is a gui that completely 
automates the process and that asks all relevant questions and generates 
everything ConTeXt needs to install and run Latin fonts, including expert 
fonts like Minion. (Maybe oneday the gui can be extended for Chinese, 
Arabic, etc.)

On the other hand, I did manage to get a virtual font created by fontinst (old 
style numeral cmr) to work in ConTeXt without using any of the 
ConTeXt-specific utilities. I wrote the typescript entirely from scratch, with 
optical scaling and all; if that complicated set of typefaces could work, any 
Latin font should work. But debugging this sort of thing may take time, which 
can be frustrating.

Qt4.0 will be gpl, I'd love to see e.g., an elegant crossplatform Qt/Ruby 
application that does this:-)

Best
Idris


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

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


Re: [NTG-context] chancery font

2005-04-03 Thread Rob Ermers
Thanks Thomas for the manual. I have already printed it, and cannot wait 
to give it a try.

In the mean time I welcome any other concrete tips for installing a new 
font, step by step that is. If you recall the earlier postings: my idea 
would be to start with a new font consisting of only one pfb file.
I would like to understand each Context instruction in the files, in 
order to be better able to reproduce it. In my previous attempts, I 
often copied instructions without really understanding why they were 
needed. In my last attempt the pk file was not generated, perhaps not 
due to Context...? (Although the font did work under Latex.)

In the end my ideal would be a context which typesets Arabic, Russian 
and Turkish, plus transcription according to a code I developed myself.

Kind regards,
Robert
Idris Samawi Hamid wrote:
= Original Message From mailing list for ConTeXt users 
ntg-context@ntg.nl =
Rob Ermers said this at Sun, 3 Apr 2005 16:03:24 +0200:

I completely agree. Context works fine but, like you, I have not
succeeded in installing any new font thusfar.
Okay, I get the message: there are quite a few frustrated would-be font
users out there. I see it as being something that someone can understand
(and explain) fairly well in the abstract, but the details throw up
distribution-specific problems.

Not only that, Adam, but the configuration issues involve so much minutae that 
it is very easy to make simple mistakes that cause, e.g, typescripts to fail. 
As Ciro suggested, what what would be useful is a gui that completely 
automates the process and that asks all relevant questions and generates 
everything ConTeXt needs to install and run Latin fonts, including expert 
fonts like Minion. (Maybe oneday the gui can be extended for Chinese, 
Arabic, etc.)

On the other hand, I did manage to get a virtual font created by fontinst (old 
style numeral cmr) to work in ConTeXt without using any of the 
ConTeXt-specific utilities. I wrote the typescript entirely from scratch, with 
optical scaling and all; if that complicated set of typefaces could work, any 
Latin font should work. But debugging this sort of thing may take time, which 
can be frustrating.

Qt4.0 will be gpl, I'd love to see e.g., an elegant crossplatform Qt/Ruby 
application that does this:-)

Best
Idris

Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___
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] Problem with the bib module (yeah, so what else is new)

2005-03-30 Thread Nikolai Weibull
OK, another one of those hey, the bib module has an issue-kind of
mails.  The problem is that \bibdoif and its relatives don't work.
They always evaluate to true.  I have tried to figure out why this is
so, but I'm just not good enough at reading TeX macros (yet).  The main
problem is that I want to do something like this for my
\setuppublicationlist:

\doglobal\newif\ifBIBLoutputbeforesurname
\global\BIBLoutputbeforesurnamefalse

\def\BIBLwholename#1#2#3#4#5%
  
{\bibdoif{#1}{#1\unskip\bibalternative\c!firstnamesep\BIBLoutputbeforesurnametrue}%
   
\bibdoif{#4}{#4\unskip\bibalternative\c!firstnamesep\BIBLoutputbeforesurnametrue}%
   \bibdoif{#2}{#2\unskip\bibalternative\c!vonsep\BIBLoutputbeforesurnametrue}%
   \ifBIBLoutputbeforesurname \else
 \unskip%
 \BIBLoutputbeforesurnamefalse%
   \fi
   #3\bibalternative\c!surnamesep%
   \bibdoif{#5}{#5\unskip}}

The problem is that one can't have

\author[]{}[]{}{Organization}

without extra spaces appearing before the Organization.  Another issue is that
extra spaces occur between the first and last name in the \normalauthor
style,
nikolai

-- 
::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden:::
::: page: minimalistic.org   :: fun atm: gf,lps,ruby,lisp,war3 :::
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


[NTG-context] Problem with \type in captions

2005-03-29 Thread Nikolai Weibull
\starttext
\placefigure
  {\type{0|}}
  {}
\stoptext

gives me

! Argument of \next has an extra }.
inserted text
\par
to be read again
   }
argument ...p {\strutdepth }\begstrut \type {0|}
  \endstrut \endgraf
\doattributes ...sname [EMAIL PROTECTED] \endcsname \fi {#4
  }\dostopattributes
\putcompletecaption ...trut #3\endstrut \endgraf }
  \fi \dostopattributes
\docheckcaptioncontent ...ecaption {#4}{#2}{#3}{0}
  }\ifdim \wd \tempcaptionbo...
...
l.4   {}

Remove the 0 and it works fine.  Is there a quick fix?,
nikolai

-- 
::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden:::
::: page: minimalistic.org   :: fun atm: gf,lps,ruby,lisp,war3 :::
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] Problem with \type in captions

2005-03-29 Thread Nikolai Weibull
* Hans Hagen (Mar 30, 2005 01:10):
 that's because the caption is passed as an argument and the catcode is 
 frozen then (being active, the | expects something |...| ; try 
 \type{0}\type{|} since the first token of type is not expanded at all

Yeah, that will work.  The problem is, though, that I'd really like it
to be in one \type as I am actually using something called \TypedRegex
that delimits the regular expression argument with quotes.

I guess I could fake the quotes and use the split-\type trick,
nikolai

-- 
::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden:::
::: page: minimalistic.org   :: fun atm: gf,lps,ruby,lisp,war3 :::
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] OT: metapost question

2005-03-28 Thread Nikolai Weibull
* Taco Hoekwater (Mar 29, 2005 00:10):
 N := 100;
 for k=1 step 1 until N:
   beginfig(k);
drawdot (100,100) withpen pencircle scaled k;
   endfig;
 endfor;
 end.

Wow, I never realized that.  Man, I really gotta try to remember what
can be done with macro processors...,
nikolai

-- 
::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden:::
::: page: minimalistic.org   :: fun atm: gf,lps,ruby,lisp,war3 :::
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


[NTG-context] Title-page overlay

2005-03-20 Thread Nikolai Weibull
I would like to put a rather large and complicated regular expression
into the title-page of a document I'm writing.  So far, I haven't had
much luck defining an overlay that uses \starttyping ... \stoptyping.

Basically, what I figured I should do was to write

\defineoverlay
  [TitleGraphic]
  [{
\starttyping
...
\stoptyping
}]

and then

\setupbackgrounds[page][background=TitleGraphic]

But that doesn't work:

! Argument of \copyverbatimline has an extra }.

Have any suggestions on what I might try?  Basically, what I want is a
background with some arbitrary text, more or less like the pdfTeX user
manual document does it [1],
nikolai

[1] http://www.pragma-ade.com/pdftex/pdftex-a.pdf

-- 
::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden:::
::: page: minimalistic.org   :: fun atm: gf,lps,ruby,lisp,war3 :::
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] Re: Title-page overlay

2005-03-20 Thread Nikolai Weibull
* Patrick Gundlach (Mar 20, 2005 19:20):
 Hello Nicolai,

k, please.

 put your \typebuffer stuff in \framed[align=lohi]

That was a very good suggestion, thank you.  It worked out fine.  This
is what I do now:

\defineoverlay
  [TitleGraphic]
[{\framed

[align=middle,width=\overlaywidth,height=\overlayheight,top=\vss,bottom=\vss,foregroundcolor=titlegraphic]
{\typebuffer[titlebackground]}}]

Thanks,
nikolai

-- 
::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden:::
::: page: minimalistic.org   :: fun atm: gf,lps,ruby,lisp,war3 :::
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] Re: book on context?

2005-03-15 Thread Nikolai Weibull
* Hans Hagen (Mar 15, 2005 13:20):
   Is there actually a hard-copy book for ConTeXt? 

  No, there is none.

 but there will be one; steve peter is working on it

That's great news.  I've really wanted a book on ConTeXt.  I'm getting
tired of seeing a bunch of books on LaTeX but none on ConTeXt.  I'd pay
dearly for a well-written book on ConTeXt,
nikolai

-- 
::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden:::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
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] acrobat reader for linux

2005-03-15 Thread Nikolai Weibull
* Tom Fossen (Mar 16, 2005 00:40):
 Acrobat reader 7.0 for linux is now available. 

 Awaiting comments from heavy users,

Better; still not great,
nikolai

-- 
::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden:::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
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] \raggedright?

2005-03-12 Thread Nikolai Weibull
* Gerben Wierda (Mar 13, 2005 00:50):
 I tried to get one piece in a justified text to behave as follows:
 right aligned and with a jagged left edge. But what I tried influenced
 my entire document.

\starttext
\startalignment[left]
Blah blah blah
\stopalignment
\stoptext

Don't ask why the parameter to \startalignment is left, not right.  Look
at the context wiki [1] for information on why this is so,
nikolai

[1] http://contextgarden.net/Main_Page

-- 
::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden:::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
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] ConTeXt equivalent for \ensuremath?

2005-03-11 Thread Nikolai Weibull
* Gerben Wierda (Mar 11, 2005 15:50):
 I modeled this after the LaTeX sources because I had to move on:

 \newcommand{\ensuremath}[1]{\ifmmode\expandafter\FirtsOfOne%
 \else\expandafter\EnsuredMath\fi} \long\def\FirstOfOne#1{#1}
 \long\def\EnsuredMath#1{$\relax#1$}

 but is there a ConTeXt way of doing this?

\mathematics{...},
nikolai

-- 
::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden:::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
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: windows installation, was [NTG-context] Language issues

2005-03-07 Thread Mari Voipio
Tobias Burnus wrote:
Mats Broberg wrote:
Pity! What TeX distributions are the other Windows users running, if not
MikTeX?
Well, TeXLive, fpTeX or Hans' stripped-down TeX version comes into my mind.
I'm running TeXLive2003, although I think my ConTeXt is from last
summer, i.e. updated from the original.
One of my TeXLive2003:s (I guess the XP at home) has TeXLive installed
in C:\Program Files, which means that while ConTeXt now works fine with
spaces in file names, the TeXfont in that system doesn't, so I haven't
been able to install a single extra font besides the ones I already
have. Where TeXLive2003 is installed as C:\TeXLive, I haven't had
problems. I don't yet know what newer versions do here.

If you don't have the TeXLive CD (as several TeX user groups send their
members), try
- http://www.tug.org/texlive/
TeXLive 2004 .iso CD image, i.e. the installable TeXLive, does NOT come
with Windows installer and I couldn't get it to install by running the
shell scripts in CygWin, either. Or let's say, it kind of installs, but
takes a ton of tweaking afterwards and still doesn't work for me.
(Note. I tried installing it into a blank Windows2000, a Windows
without an older version of TeXLive2003 (and very little else besides
Windows and Office)).
However, you may have better luck if you get hold of the stand-alone
(runnable) TeXLive2004 DVD. The instructions on how to install TeXLive
on Windows from that are at http://www.tug.org/texlive/windows.html,
see Manual Windows installation for 2004 and this sounds like a viable
option (had to find a DVD burner first and just got the DVD done, so 
haven't tried yet). The same page now also mentions that there's now a 
provisional installation program for reasonably experienced users who 
know how to use command line. (Maybe I'll try this... not getting 
TeXLive 2004 to work majorly *irritates* me.)


Maybe some Windows users know others or can recommend which one is best
(with which editor).
I'm weird, I use NTEmacs (have to install that separately) with
context.el. For Emacs it probably doesn't make any difference what
distribution is used as long as it works at all.
My workmate installed the standalone windows version (mswincontext.zip) 
and found out (the hard way) that it required some bits and pieces that 
a standard Windows (think of non-programming 'dummy user' Windows) 
doesn't automatically have - both perl and ruby were missing, at least. 
Once he installed ruby (perl he had already) and got the system running, 
he's been very happy with editing ConTeXt with Scite on the stand-alone.

(Hans, I'd suggest including a small readme.txt in these windows zips
for us dummy users which tell us about the system requirements including
info on where to get ruby - the downloading page itself is less than
informative in this respect. Or included perl and ruby into the 
standalone package as was done in the older/original version of the 
standalone. But for example I'd be quite ok with getting them from 
somewhere else if I got some pointers on from where.)

Or, even better, while I'm at it: I'll go install the standalone in a 
computer that recently experienced a hard-disk wipe and *if* I get the 
system to work, I'll write the instructions for other Windows users to 
follow.

mari
(whose never used ConTeXt in any other platform than Windows)
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Which version is best for MSWindows users.?

2005-02-19 Thread Matthew Huggett
 
   I am writing some e-books on free software. I am recommending TeX
   (of course) and Context instead of LaTeX. The vast majority of my
   readers will be using some flavor of MSWindows. Unfortunately
   there have been problems in synchronizing Context releases and
   Miktex releases, in re. hyphenation and fonts in general. I need
   to recommend a download package for readers who will be newcomers
   to the world of TeX. Which is the safest pointer? I see Miktex as
   a possibility but also the stripped versions of the TeX
   distribution maintained on the Context site. So how would you
   start an absolute newbie to e.g., Context and pdfetex? Where would
   you point them for their first download?

I think both MikTeX and Hans' minimal tree are good.  The MikTeX
installer might feel a bit more familiar to a newbie, but if you give
them instructions on how to install the minimal tree, it shouldn't be
anymore challenging than MikTeX.  Also, I think it's easier to stay in
sync with Hans' development of ConTeXt using the minimal windows
distribution and updating via the texsync script.  Although, using
texsync would also entail installing Ruby and Cygwin (to get the Rsync
program).

I think the only unexpected thing I had to do to get the minimal
windows tree working was to make the files in texmf-mswin\bin
executable (the permissions were not right).

Matt

  

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


[NTG-context] Right aligned caption text.

2005-02-12 Thread Nikolai Weibull
I would like two different methods of typesetting the captions of
figures.  Short captions should be aligned in the middle, while longer
ones (spanning more than one line) should be aligned to the right (well,
ragged right...).  What I did to achieve this was to

\definefloat[describedfigure][describedfigures][figure]

\setupcaption
  [describedfigure]
  [align=right]

\placedescribedfigure
  []
  [figure:...]
  {A long description of the figure...}
  {...}

and this works fine (is there a simpler way?).  What I would like now is
to have the caption of describedfigure to have a small margin, so it
doesn't quite fill the width of the described figure.  I couldn't find
this described in details.pdf (http://www.pragma-ade.com/ is down at the
moment so I couldn't check for any other doc's either).

Any suggestions?,
nikolai

-- 
::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden:::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
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


[NTG-context] Fonts, Fonts, Fonts

2005-02-08 Thread Nikolai Weibull
Always with the fonts on this list...

Anyway, I am running some recent beta of tetex and am still having
problems getting fonts loaded in ConTeXt.

\starttext
\showbodyfont[cmr,12pt]
\showbodyfont[lbr,12pt]
\stoptext

seems innocent enough, but produces two identical tables.  pdfetex is
complaining about an all-base.map:

Warning: pdfetex (file all-base.map): cannot open font map file

and there is no such file anywhere (and a grep through /usr/share/texmf,
/etc/texmf, and /var/lib/texmf turns up nothing).

Could someone provide me with a simple rundown on what I should do.  I
would really like to try typesetting my master's thesis in another font
than cmr before I hand it in.  Any suggestions are welcome.

Thanks,
nikolai

-- 
::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden:::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
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] Installing Bitstream fonts

2005-02-08 Thread Nikolai Weibull
* cormullion (Feb 09, 2005 00:10):
 I found a font package called bitstream-vera4context on a website and
 downloaded it. Unfortunately I cant work out how to install them on
 my MacOS X system. Anyone care to give me the necessary mystic
 incantation?

You could check out mag-0009.pdf I guess, it has some information about
truetype fonts.  I don't run MacOS X so I can't really tell you much
more,
nikolai

-- 
::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden:::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
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] permissions in texmf/scripts/context/*

2005-02-06 Thread VnPenguin
On Sun, 6 Feb 2005 21:06:21 +0100, Thomas A. Schmitz
[EMAIL PROTECTED] wrote:
 I'm wondering if this is a bug: I tried to play around with the
 texmfstart script, but couldn't get it to work. I think the latest
 cont-tmf.zip installs those files with wrong permissions. Here's what I
 got:
 
 -rw-r--r--1 tas   15k Jan  6 13:41 concheck.rb
 -rw-r--r--1 tas   25k Jan 28 09:28 ctxtools.rb
 drwxr-xr-x3 tas   102 Feb  6 21:00 exa
 -rw-r--r--1 tas   21k Dec 20 21:31 texmfstart.rb
 -rw-r--r--1 tas  6.5k Jun 14  2004 texsync.rb
 -rw-r--r--1 tas   23k Oct 15 19:15 textools.rb
 -rw-r--r--1 tas   13k Oct 27 18:27 xmltools.rb
 drwxr-xr-x3 tas   102 Feb  6 21:00 xmpl
 
 same is true for scripts/perl/ Shouldn't they all have permission 755?
 
Not need IMHO if you run the script by using perl script.pl. The
same for ruby :)
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] permissions in texmf/scripts/context/*

2005-02-06 Thread Thomas A . Schmitz
True, but that's not what mtexmfstart.pdf says...
On Feb 6, 2005, at 9:14 PM, VnPenguin wrote:
On Sun, 6 Feb 2005 21:06:21 +0100, Thomas A. Schmitz
[EMAIL PROTECTED] wrote:
I'm wondering if this is a bug: I tried to play around with the
texmfstart script, but couldn't get it to work. I think the latest
cont-tmf.zip installs those files with wrong permissions. Here's what 
I
got:

-rw-r--r--1 tas   15k Jan  6 13:41 concheck.rb
-rw-r--r--1 tas   25k Jan 28 09:28 ctxtools.rb
drwxr-xr-x3 tas   102 Feb  6 21:00 exa
-rw-r--r--1 tas   21k Dec 20 21:31 texmfstart.rb
-rw-r--r--1 tas  6.5k Jun 14  2004 texsync.rb
-rw-r--r--1 tas   23k Oct 15 19:15 textools.rb
-rw-r--r--1 tas   13k Oct 27 18:27 xmltools.rb
drwxr-xr-x3 tas   102 Feb  6 21:00 xmpl
same is true for scripts/perl/ Shouldn't they all have permission 755?
Not need IMHO if you run the script by using perl script.pl. The
same for ruby :)
___
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] texsync

2005-02-01 Thread Matthew Huggett
Hi,

A question about the texsync script: 

running  
   ruby -S texsync.rb --force --list

gives me
   TeXSync | 
   TeXSync | fetching list of trees from 'www.pragma-ade.com'
   rsync: failed to connect to www.pragma-ade.com: 
Connection refused (111)
   rsync error: error in socket IO (code 10) at
 /home/lapo/packaging/tmp/rsync-2.6.3/clientserver.c(94)
   TeXSync | available trees:
   TeXSync | 
   TeXSync | 

I've read the texsync manual but I'm not sure what else I have to do
with rsync to get a connection to Pragma-ade.  I'm running rsync under
Cygwin on WinXP.

I'd be grateful for any pointers.

regards,

Matt

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


[NTG-context] Using capsule versoion of TeX from Pragma.

2005-01-30 Thread John Culleton
To help solve some other problems I disabled the path to my existing TeXLive 
distro, downloaded the minimal Linux-tex from Pragma, and unzipped it 
in /usr/local. 

 Following TeXLive conventions I established a path 
to  /usr/local/tex/texmf-linux/bin in /etc/profile 
and rebooted. 

The executables at the end of that path  were not executable so I made them 
executable. (chmod 777 *)
I also made the setuptex script in /usr/local/tex executable.
Per the instructions in setuptex I ran the following:

./setuptex .  #note period
mktexlsr
texexec --make --alone

and got the following error message
 
/usr/bin/env: ruby: No such file or directory

at this point I thought I had best stop stumbling around and ask for help. 
My base system is Slackware LInux 10.0.

-- 
John Culleton
Short list of publishing/marketing books: 
http://wexfordpress.com/tex/shortlist.pdf
Book packagers/coaches/consultants: http://wexfordpress.com/tex/packagers.pdf
Printers who are SPAN sponsors: http://wexfordpress.com/tex/printers.pdf
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Using capsule versoion of TeX from Pragma.

2005-01-30 Thread =?ISO-8859-15?Q?Peter_M=FCnster?=
On Sun, 30 Jan 2005, John Culleton wrote:

 /usr/bin/env: ruby: No such file or directory
 
 at this point I thought I had best stop stumbling around and ask for help. 
 My base system is Slackware LInux 10.0.

There should be a package named ruby or similar on Slackware, and that
has to be installed.
Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Using capsule versoion of TeX from Pragma.

2005-01-30 Thread John Culleton
On Sunday 30 January 2005 12:24, Peter Münster wrote:
 On Sun, 30 Jan 2005, John Culleton wrote:
  /usr/bin/env: ruby: No such file or directory
 
  at this point I thought I had best stop stumbling around and ask for
  help. My base system is Slackware LInux 10.0.

 There should be a package named ruby or similar on Slackware, and that
 has to be installed.
 Cheers, Peter
As it happens, there isn't, and this a full Slackware install. I have 
installed many versions of TeXlive over the years. I have upgraded Context 
several times.  This error message is new. 

If Ruby is necessary to make the minimal linux package offered on  Pragma 
functional it would be helpful to specify that in the readme. I thought the 
Pragma Linux TeX package was self-contained. It would also be helpful if a 
fmtutil.cnf file were included so that fmtutil would work. 

I will try downloading ruby from somewhere, installing that and moving 
forward. If that doesn't work then I will give up on the Pragma minmal 
distro. It is a good idea, but it doesn't work correctly.  
-- 
John Culleton
Short list of publishing/marketing books: 
http://wexfordpress.com/tex/shortlist.pdf
Book packagers/coaches/consultants: http://wexfordpress.com/tex/packagers.pdf
Printers who are SPAN sponsors: http://wexfordpress.com/tex/printers.pdf
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Using capsule versoion of TeX from Pragma.

2005-01-30 Thread =?ISO-8859-15?Q?Peter_M=FCnster?=
On Sun, 30 Jan 2005, John Culleton wrote:

 If Ruby is necessary to make the minimal linux package offered on  Pragma 
 functional it would be helpful to specify that in the readme. I thought the 
 Pragma Linux TeX package was self-contained. It would also be helpful if a 
 fmtutil.cnf file were included so that fmtutil would work. 
 
 I will try downloading ruby from somewhere, installing that and moving 
 forward. If that doesn't work then I will give up on the Pragma minmal 
 distro. It is a good idea, but it doesn't work correctly.  

About one week ago, I installed the latest teTeX-beta (about 100 MB to
download). And now I checked for usage of ruby:
ls -lu `which ruby`
-rwxr-xr-x1 root root 5363 Sep 23  2003 /usr/bin/ruby

So, it seems, ruby wasn't needed...

I've just made a little script for my brother to install the newest teTeX
on SuSE (should work also for other distributions).
Perhaps you'll find it useful, so I attach it to this message. Just run it
as root and then log in again to get the right PATH.
There is also the latest version of pdfTeX.

Cheers, Peter

-- 
http://pmrb.free.fr/contact/

tetexNeu.sh
Description: Bourne shell script
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Yet another nath problem

2005-01-24 Thread Nikolai Weibull
[EMAIL PROTECTED] is bug-ridden.  It \def's , but doesn't restore it upon
exit (with [EMAIL PROTECTED]).  One solution is to simply add a
\bgroup...\egroup pair to the two.  That works for now,
nikolai

P.S.
It seems that the \longrightarrow problem still remains.  Was there no
fix applied for this yet?  We had several possible solutions if I
remember correctly, e.g.,

\let\unprotectedlongrightarrow\longrightarrow
\unexpanded\def\longrightarrow{\unprotectedlongrightarrow}

This is all with the

%D last updated: 2004.11.18

release; the one included in tetex-2.99.9.20050111
D.S.

-- 
::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden:::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
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] ruby in TeX ?

2005-01-24 Thread Taco Hoekwater
luigi scarso wrote:
Almost 1 year ago, Nagy Bence posted  at comp.tex.pdftex a email  with 
subject Ruby in TeX where he wrote
The pdtex mailing list, yes? I assume you are talking about this
thread:
  http://www.tug.org/pipermail/pdftex/2004-February/004762.html
and it's parent:
  http://www.tug.org/pipermail/pdftex/2004-January/004744.html

I made a small and dirty pdfTeX expansion: a new primitive
named \calc, which allows to make calculations using *Ruby*
commands.
email report a broken link.
Have you tried e-maling Nagy?
Is there anyone that can give me any starting point  about it ?
Otherwise. the second thread above might help you. I believe it
contains all of the actual code in between the remarks.
Greetings, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ruby in TeX ? Ok

2005-01-24 Thread luigi scarso
It's seem useful as starting point.
Many thanks, taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] dictionary for TeX,/ConTeXt

2005-01-15 Thread Nikolai Weibull
* Ciro A. Soto (Jan 15, 2005 18:10):
 Hello, I would like to know what is the best way to check spelling in
 a TeX-prepared document.  I could use ispell (linux/unix), but I
 wonder if there is a better way with OpenOffice, or other package.
 Besides, ispell wouldn't check my spanish words like Am\'erica
 because of the accent.

I'm not 100% sure, but I'm guessing aspell [1] may be your solution,
nikolai

[1] http://aspell.sourceforge.net/

-- 
::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden:::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
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] next version

2005-01-06 Thread Nikolai Weibull
* Hans Hagen [EMAIL PROTECTED] [Jan 06, 2005 17:50]:
 - csr/plr/aer/vnr will be dropped in favor of lmr (also makes minimals
 smaller)

What will this entail, exactly?
nikolai

-- 
::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden:::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
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] NTG-Context, Robots and Privacy ..

2004-12-17 Thread Nikolai Weibull
* Dirar BOUGATEF [EMAIL PROTECTED] [Dec 17, 2004 21:30]:
 Because of my mails on the archive, the search engine robots got my
 email adress, blablabla ...

 I have contacted google and this is their answer:

 Thank you for your note. In order to remove content from Google's
 index, the webmaster must either change the content of the page itself
 or use a robots.txt file or meta tags to block us from including the
 site in our search results.

Well, if it's already out there, there's really not much to do about it,
right?  Anyway, consider getting a new mail account, perhaps on Gmail or
other, it seems to have a good spam filter.  Otherwise you may try
www.fastmail.fm, I think they're great.  I can give you a Gmail invite
if you would like it (www.gmail.com).  Anyway, spam is inevitable,
mailing-list archive or not.  Furthermore, I have not received any spam
to my context-users email alias so far, so it's strange that it affects
you.

Anyway, good luck with solving the spam issue,
nikolai

-- 
::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden:::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(linux[\021%six\012\0],(linux)[have]+fun-97);}
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] \placetable and \starttables ... \stoptables

2004-12-13 Thread Nikolai Weibull
\starttext
\placetable
  [][]
  {Operators}
  {\start
\starttablehead
\HL
\NC \bf Operator \NC \bf Matches \NC\SR
\HL
\stoptablehead
\starttabletail
\HL
\stoptabletail
\starttables[|l|lp(25em)|]
\dorecurse{50}{\NC . \NC anything \NC\AR}
\stoptables\stop}
\stoptext

This doesn't split appropriately.  It works OK if one removes the
placetable, but that kind of counteracts the whole idea.  Am I doing
something wrong, or is this an issue with the tables code?
nikolai

-- 
::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden:::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(linux[\021%six\012\0],(linux)[have]+fun-97);}
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] using \startfiguretext ... \stopfiguretext

2004-12-12 Thread Nikolai Weibull
* h h extern [EMAIL PROTECTED] [Dec 11, 2004 14:05]:
 It might not be the only way, this should work:
 
 \placefigure
  [here]
  [fig:somelabel]
  {Caption}
  \placelegend{Figure}
  {Text}

 Hm, yeah, that works OK.  I was hoping for something that made a little

 ik, let's give you a cue:

I don't understand...is that an ik, as in I disapprove?

 \placefigure
   {What a caption}
   {\placelegend
  {\externalfigure[cow.pdf]}
  {\input zapf \relax}}
 
 \placefigure
   {What a caption}
   {\placelegend[location=right]
  {\externalfigure[cow.pdf]}
  {\input zapf \relax}}

 using buffers makes sense here:

 \startbuffer
 lots of text
 \stopbuffer
 
 \placefigure
   {What a caption}
   {\placelegend
  {\externalfigure[cow.pdf]}
  {\getbuffer}}

Yeah, that's a good suggestion,
nikolai

-- 
::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden:::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(linux[\021%six\012\0],(linux)[have]+fun-97);}
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] [BUG] \type... not working

2004-12-09 Thread Nikolai Weibull
\starttext
\type...
\stoptext

It doesn't seem to see the end delimiter,
nikolai

-- 
::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden:::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(linux[\021%six\012\0],(linux)[have]+fun-97);}
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] using \startfiguretext ... \stopfiguretext

2004-12-09 Thread Nikolai Weibull
How do I get a figure with text that is displayed like

Figure
Text
Caption

where we first have the figure, then a description of it below, and
finally a caption?  So far I've only managed to get the text to appear
to the left or right of the figure.
nikolai

-- 
::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden:::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(linux[\021%six\012\0],(linux)[have]+fun-97);}
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] using \startfiguretext ... \stopfiguretext

2004-12-09 Thread Nikolai Weibull
* David Munger [EMAIL PROTECTED] [Dec 09, 2004 17:10]:
 It might not be the only way, this should work:
 
 \placefigure
   [here]
   [fig:somelabel]
   {Caption}
   \placelegend{Figure}
   {Text}

Hm, yeah, that works OK.  I was hoping for something that made a little
more sense, but this seems to be fine.  I'm still hoping for a slightly
more pleasant solution, but until then, is there a way to set the style
of Text?  There's bodyfont, but how do I get \it?
nikolai

-- 
::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden:::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(linux[\021%six\012\0],(linux)[have]+fun-97);}
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] scite does not build output

2004-12-03 Thread Wolfgang Zillig
Hi,
I have some problems with scite: it generates no output but generates this 
error
message:
 texmfstart texexec.pl --pdf test.tex
 Das System kann die angegebene Datei nicht finden.
(- this means that the system cannot find the file)
If I start this in comand promt I get a long message (see at the end of this
mail). The script is complaining about unknown file type: texmfscripts but an
output is generated.
Why is it not working from scite?
Some more information on my system:
I´m using miktex (complete) with an update from yesterday.
perl:
C:\temp\contperl -v
This is perl, v5.8.4 built for MSWin32-x86-multi-thread
ruby:
C:\temp\contperl -v
This is perl, v5.8.4 built for MSWin32-x86-multi-thread
thanks for your help
Wolfgang Zillig
here output of cmd:
C:\temp\conttexmfstart texexec.pl --pdf test.tex
unknown file type: texmfscripts
 TeXExec 5.0 - ConTeXt / PRAGMA ADE 1997-2004
unknown file type: texmfscripts
executable : pdfetex
format : cont-en
 inputfile : test
output : pdftex
 interface : en
  current mode : none
   TeX run : 1
This is pdfeTeX, Version 3.141592-1.20a-2.2 (MiKTeX 2.4)
output format initialized to DVI
entering extended mode
(test.tex
ConTeXt  ver: 2004.10.28  fmt: 2004.12.1  int: english  mes: english
language   : language en is active
protectionstate 0
system : cont-new loaded
(C:\texmf\tex\context\base\cont-new.tex
systems: beware: some patches loaded from cont-new.tex!
color  : palette rollover is available
system (E-TEX) : [line 1021]
system (E-TEX) : [line 1076]
)
system : cont-old loaded
(C:\texmf\tex\context\base\cont-old.tex
loading: Context Old Macros
)
system : cont-fil loaded
(C:\texmf\tex\context\base\cont-fil.tex
loading: Context File Synonyms
)
system : cont-sys.rme loaded
(C:\texmf\tex\context\user\cont-sys.rme
fonts  : [berry] [ec] []
(C:\texmf\tex\context\base\./type-syn.tex)
(C:\texmf\tex\context\base\./type-enc.tex)
(C:\texmf\tex\context\base\./type-siz.tex)
(C:\texmf\tex\context\base\./type-map.tex)
(C:\texmf\tex\context\base\./type-spe.tex)
(C:\texmf\tex\context\base\./type-exa.tex)
(C:\texmf\tex\context\base\./type-akb.tex))
bodyfont   : 12pt rm is loaded
language   : patterns en-default:default-1-2:2 uk-default:default-2-
:2 de-texnansi:texnansi-3-2:2 de-ec:ec-4-2:2 fr-texnansi:texnansi-5-2
2 fr-ec:ec-6-2:2 es-default:default-7-2:2 it-texnansi:texnansi-8-2:2
t-ec:ec-9-2:2 nl-texnansi:texnansi-10-2:2 nl-ec:ec-11-2:2 loaded
specials   : tex,postscript,rokicki loaded
system : test.top loaded
(./test.top
specials   : loading definition file tpd
(C:\texmf\tex\context\base\spec-tpd.tex
specials   : loading definition file fdf
(C:\texmf\tex\context\base\spec-fdf.tex unprotect 3 unprotect 4
system (E-TEX) : [line 2255] \ifcsname
protect 4 protect 3)
specials   : fdf loaded
unprotect 3 protect 3)
specials   : fdf,tpd loaded
) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo
(./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo)
(./test.tuo)
fonts  : using map file: texnansi-public-lm.map
fonts  : using map file: original-public-csr.map
fonts  : using map file: original-public-plr.map
fonts  : using map file: original-public-lm.map
fonts  : using map file: original-ams-euler.map
fonts  : using map file: original-ams-cmr.map
fonts  : using map file: texnansi-base.map
fonts  : using map file: qx-base.map
fonts  : using map file: 8r-base.map
fonts  : using map file: ec-base.map
fonts  : using map file: ec-public-lm.map
fonts  : using map file: original-base.map
systems: begin file test at line 1
[1.1{original-empty.map}{texnansi-public-lm.map}{original-public-csr.map}{orig
nal-public-plr.map}{original-public-lm.map}{original-ams-euler.map}{original-a
s-cmr.map}{texnansi-base.map}{qx-base.map}{8r-base.map}{ec-base.map}{ec-public
lm.map}{original-base.map}]
systems: end file test at line 3
system : cont-err loaded
(C:\texmf\tex\context\base\cont-err.tex
 User file 'cont-sys.tex' not found, 'cont-sys.rme' has been used instead. 
) )C:\texmf\fonts\type1\bluesky\cm\cmr12.pfb
Output written on test.pdf (1 page, 4814 bytes).
Transcript written on test.log.
   return code : 0
  run time : 0 seconds
  sorting and checking : running texutil
 TeXUtil 9.0 - ConTeXt / PRAGMA ADE 1992-2004
action : processing commands, lists and registers
option : sorting IJ under Y
option : converting high ASCII values
input file : test.tui
   output file : test.tuo
   passed commands : 10
 remapped keys : 0
  register entries : 0 - 0 entries 0 references
   synonym entries : 0 - 0 entries
embedded files : 1
total run

Re: [NTG-context] Phonetic Symbols

2004-12-02 Thread Nikolai Weibull
* Adam Lindsay [EMAIL PROTECTED] [Dec 01, 2004 16:40]:
   Bernd, I'll forward the thing I've come up with off-list. It builds
   on the TIPA fonts in the LaTeX package.

  This is a bit heretical I know but couldn't one just use a 
  \font\foo=nameoffont at 12pt
  type statement? 

 Wow, this was a blast from the past. 

 Nothing wrong with that, as such, but I asked Sjoerd, the original
 poster, about his use patterns. He actually didn't use the tipa encoding
 shortcuts (the mapping of characters directly to glyphs in the fonts,
 '@'), but rather the named glyphs (\textschwa). So I focussed on that at
 first.

 Now that I have learned a lot about ConTeXt's character system and
 Unicode, I see a lot that I could have done differently. But then again,
 it's also not the worst foundation for doing further work. (Such as
 hooking it in with Unicode. I'd have to put the tip jar out in order to
 take that on in the near future, though!)

 John, why the sudden interest in a 6-month old post?

Em, I don't want to push this too hard, but I'd be interested in a
Tipa work-alike (or something similar) for ConTeXt as well.  I'd
especially like the mapping part, rather than named glyphs, as it would
make more sense in the source of the document, for me at least.

Thanks for taking an interest in this Adam,
nikolai

-- 
::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden:::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(linux[\021%six\012\0],(linux)[have]+fun-97);}
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Recommended Books on Typesetting

2004-11-28 Thread Nikolai Weibull
Hi!

I was wondering if anyone has any books to recommend, mainly in the area
of typesetting, i.e., on TeX, typography, and so on.

Personally, I can recommend Donald E. Knuth's The TeXbook and also his
book on MetaFont.

I am thinking of getting The Complete Manual of Typography by James
Felici, which seems to be a very good book on the subject.

I have also been looking for books by Hermann Zapf, but most seem to be
out of print and very, very expensive where available; anyone know if
they are worth their steep prices?  nikolai

-- 
::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden:::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(linux[\021%six\012\0],(linux)[have]+fun-97);}
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Greek Font Problem SOLVED

2004-11-20 Thread Alan Bowen
Thanks to the very kind and patient efforts of Thomas Schmitz, I no 
longer get ugly bitmaps in typesetting Greek but lovely script. I am 
posting the solution to the problem in the hope that it might prove 
useful to others.

PROBLEM: bitmap display of Greek fonts on typesetting.
These fonts (Teubner, Oxonia, Leipzig, Ibycus, Kadmos, Bosphoros) come 
in a package obtained from Thomas.

SOLUTION:
1. remove/trash teTeX folder(s)
2. reinstall teTeX  (TeXLive 2004) using iInstaller
3. re-install ConTeXt updater
 these first three steps were necessary because my  installation of
teTeX had become corrupted
4. in Terminal execute
ruby 
/usr/local/teTeX/share/texmf.tetex/scripts/context/ruby/textools.rb 
--fixtexmftrees ~/Library/texmf

5. copy cont-sys.tex
into /usr/local/teTeX/share/texmf.local/tex/context/user/
6. move the file greek.map
into ~/Library/texmf/fonts/map/greek.map
7. in Terminal execute
sudo updmap --disable greek.map
and then
sudo updmap --enable Map greek.map
I will happy to send those interested a copy of cont-sys.tex. (Thomas 
prepared this file by modifying cont-sys.rme)

Alan
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: the url color problem

2004-11-19 Thread Nikolai Weibull
* Hans Hagen [EMAIL PROTECTED] [Nov 19, 2004 14:50]:
 \def\dodouseURL[#1][#2][#3][#4]%
   {\iffirstargument
  \iffourthargument
\setgvalue{\v!file:::#1}{\doexternaldocument[#2][#3][#4]}%
  \else\ifthirdargument
\setgvalue{\v!file:::#1}{\doexternalurl[#2][#3][#1]}%
  \else\ifsecondargument
\setgvalue{\v!file:::#1}{\doexternalurl[#2][][#1]}%
  \fi\fi\fi
\fi}

 \def\doexternalurl[#1][#2][#3]%
   {\bgroup
\doifsomething\@@urstyle{\let\@@iastyle\@@urstyle\let\@@urstyle\empty}%
\doifsomething\@@urcolor{\let\@@iacolor\@@urcolor\let\@@urcolor\empty}%
\doexternaldocument[#1][#2][{\url[#3]}]%
\egroup}

Seems to work fine, thanks.
nikolai

--
::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden:::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(linux[\021%six\012\0],(linux)[have]+fun-97);}
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \mathstrut in \underbrace and nath

2004-11-19 Thread Nikolai Weibull
* Hans Hagen [EMAIL PROTECTED] [Nov 19, 2004 16:40]:
 \let\unprotectedlongrightarrow\longrightarrow
 \unexpanded\def\longrightarrow{\unprotectedlongrightarrow}

Thanks, that works fine,
nikolai

--
::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden:::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(linux[\021%six\012\0],(linux)[have]+fun-97);}
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


<    7   8   9   10   11   12   13   14   >