Re: [NTG-context] MKIV, hz, hanging punctuation

2007-08-28 Thread Hans Hagen
David Wooten wrote:
 Greetings all,
 
 Can someone say when typographic extras like hz  hanging  
 punctuation will be available in LuaTeX/MKIV for OpenType fonts? ---  
 or are they already available? I thought I'd read a comment on this  
 from Hans, but cannot for the life of me find it.

the pdftex hz code is there and should work to some extend but i didn't 
test it; hz needs a clean up (esp all the font related codes, global in 
pdftex)

Hans

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] todays teaser

2007-08-28 Thread Hans Hagen
% engine=luatex

\starttext

\installfontfeature[otf][verb]

\definefontfeature 
[test][mode=node,language=dflt,script=latn,verb=yes,featurefile=verbose-digits.fea]

\font\test=name:lmroman10regular*test at 20pt

\test 1 2 3 4

\stoptext



-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] ConTeXt on FreBSD (was: missing *8t.tfm files)

2007-08-28 Thread Olaf Mersmann
 - Mojca Miklavec [EMAIL PROTECTED] [070827 16:16]:
 OK, so here is what you need to do to install the non-existing minimals:
 
 Step 1: download from PRAGMA:
 
 wget -c http://www.pragma-ade.com/context/install/justtex.zip
 wget -c http://www.pragma-ade.com/context/install/linuxtex.zip
 
 unzip  justtex.zip
 unzip linuxtex.zip
 
 Step 2: download binaries from TeXLive 2007 and prepare a freebsd binary 
 folder
 
*snip*

I do this regularly (including building luatex from svn). If there is
enough demand for it, I can put together a freebsdtex.zip for the
wiki.

Cheers,
Olaf
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] ConTeXt on FreBSD (was: missing *8t.tfm files)

2007-08-28 Thread Giorgos Keramidas
On 2007-08-27 14:47, Martin Schr?der [EMAIL PROTECTED] wrote:
2007/8/27, Mojca Miklavec [EMAIL PROTECTED]:
On 8/27/07, Giorgos Keramidas wrote:
 Try to install TeXLive 2007.

 I will, but I'm afraid I am not good enough for porting it to the
 FreeBSD ports.

 Doesn't something already exist on the link above (I didn't read
 carefully and I wasn't sure about the FreeBSD/OpenBSD relation)?

 OpenBSD has a port in current (it will make 4.3, to be released in
 2008-05). FreeBSD clings to tetex. :-{

Maybe with enough support from the Ports team of FreeBSD, we can switch
from teTeX to TeXLive?  But this is a plan which requires quite a bit of
work from experienced TeXhackers, which I am not :-/

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] new upload

2007-08-28 Thread Hans Hagen
Peter Münster wrote:
 On Mon, 27 Aug 2007, Hans Hagen wrote:
 
 \setupcharacterspacing [frenchpunctuation] [\number`«] [right=.250]
 \setupcharacterspacing [frenchpunctuation] [\number`»] [left=.250]
 can you lookup the hex numbers of all those glyphs? (handy as comment)
 
 From http://www.unicode.org/charts/PDF/U0080.pdf :
 
 00AB « LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
 = left guillemet
 usually opening, sometimes closing
 
 00BB » RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
 = right guillemet
 usually closing, sometimes opening

so ...

\ctxlua{characters.context.show(\number00AB)}

in the distribution is char-def.lua ... we can extend this tabel with 
more info if needed



-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] new upload

2007-08-28 Thread Arthur Reutenauer
 so it's .5 is better then ? (fraction of an em)

  I guess so. I wonder, though, if it should not better be defined as
fractions of \fontdimen2 (normal space) rather than em's.
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] ConTeXt on FreBSD (was: missing *8t.tfm files)

2007-08-28 Thread Olaf Mersmann
 - Giorgos Keramidas [EMAIL PROTECTED] [070828 10:37]:
 On 2007-08-27 14:47, Martin Schr?der [EMAIL PROTECTED] wrote:
  2007/8/27, Mojca Miklavec [EMAIL PROTECTED] :
  On 8/27/07, Giorgos Keramidas wrote:
  I will, but I'm afraid I am not good enough for porting it to the
  FreeBSD ports.
  
  Doesn't something already exist on the link above (I didn't read
  carefully and I wasn't sure about the FreeBSD/OpenBSD relation)?
  
  OpenBSD has a port in current (it will make 4.3, to be released in
  2008-05). FreeBSD clings to tetex. :-{
 
 Maybe with enough support from the Ports team of FreeBSD, we can switch
 from teTeX to TeXLive?  But this is a plan which requires quite a bit of
 work from experienced TeXhackers, which I am not :-/

As far as I can tell it's the sheer size of TexLive that is keeping it
from being ported. I would think it is not trivial to modularize it
enough to bring the installed size down. 

What I am thinking about is building a minimal context port. This
should be easier to accomplish since we already have a minimal texmf
tree thanks to Hans. All that is needed is a source for the FreeBSD
binaries. These could be built out of the TexLive source tree...

I'll try to cook something up the next couple of days.

Cheers,
Olaf

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] todays teaser

2007-08-28 Thread Arthur Reutenauer
 \font\test=name:lmroman10regular*test at 20pt

  You probably want a hyphen here (lmroman10-regular); and it doesn't
give the expected result for me although ConTeXt reports no error and
verbose-digits.fea is found by luatools.

  When I turn tracing on I get the following reports:

report  define otf: initializing feature mode to node for mode base for font 
unknown
report  define otf: initializing feature language to dflt for mode node for 
font unknown
report  define otf: initializing feature script to latn for mode node for 
font unknown
report  define otf: initializing feature analyze to true for mode node for 
font unknown
report  define otf: installing feature handler analyze for mode node for font 
unknown



Arthur
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] todays teaser

2007-08-28 Thread Arthur Reutenauer
 and it doesn't give the expected result

  Oops, sorry; forget I said anything ;-) It works fine, and it's great!
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] ConTeXt on FreBSD (was: missing *8t.tfm files)

2007-08-28 Thread Martin Schröder
2007/8/28, Olaf Mersmann [EMAIL PROTECTED]:
 As far as I can tell it's the sheer size of TexLive that is keeping it
 from being ported. I would think it is not trivial to modularize it
 enough to bring the installed size down.

Surprise: This has already been done. Linux does it, OpenBSD does it.
Again: Study the OpenBSD port.

Best
   Martin
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] ConTeXt on FreBSD (was: missing *8t.tfm files)

2007-08-28 Thread Martin Schröder
2007/8/27, Giorgos Keramidas [EMAIL PROTECTED]:
 Maybe with enough support from the Ports team of FreeBSD, we can switch
 from teTeX to TeXLive?  But this is a plan which requires quite a bit of
 work from experienced TeXhackers, which I am not :-/

Have a look at the work Ed did for OpenBSD; this should be esay to
adapt for FreeBSD. Search the TeXlive archives. :-)

Best
   Martin
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] todays teaser

2007-08-28 Thread Hans Hagen
Arthur Reutenauer wrote:
 \font\test=name:lmroman10regular*test at 20pt
 
   You probably want a hyphen here (lmroman10-regular); and it doesn't
 give the expected result for me although ConTeXt reports no error and
 verbose-digits.fea is found by luatools.

no hyphen needed, name: will force mkiv to look up the font in its 
database and it's rather tolerant ... ignoring spaces, hyphens, 
completing cropped names etc

   When I turn tracing on I get the following reports:
 
 report  define otf: initializing feature mode to node for mode base for 
 font unknown
 report  define otf: initializing feature language to dflt for mode node for 
 font unknown
 report  define otf: initializing feature script to latn for mode node for 
 font unknown
 report  define otf: initializing feature analyze to true for mode node for 
 font unknown
 report  define otf: installing feature handler analyze for mode node for 
 font unknown

yes, i have to look into 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
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Using context with cweave

2007-08-28 Thread John Luciani
On 8/27/07, luigi scarso [EMAIL PROTECTED] wrote:
 On 8/28/07, John Luciani [EMAIL PROTECTED] wrote:
  I created the file hello.w containing the following lines ---
 
  @** Hello.
 
  @c
  @header files@@;
 
  int main(void) {
printf(Hello World.\n);
return(0);
  }
 
  @ Header files.
  @header files@+=
  #include stdio.h
 
  I run the commands
  cweave hello.w
  texexec --pdf --modules m-cweb hello.tex
 
  The text that is output in hello.pdf are cweb macros ---
 
  \input cwebmac
  \N{0}{1}Hello.
  \Y\B\X2:header files\X\7
 For printed version

 $ texexec --pdf test.tex
 %% hello.tex
 \input m-cweb
 \activateCWEB
 \starttext
 \N{0}{1}Hello.

 \Y\B\X2:header files\X\7
 \{int} \\{main}(\{void})\1\1\2\2\6
 ${}\{{}$\1\6
 \\{printf}(\.{Hello\ World.\\n});\6
 \{return} (\T{0});\6
 \4${}\}{}$\2\par
 \fi

 \M{2}Header files.
 \Y\B\4\X2:header files\X${}\E{}$\6
 \8\#\{include} \.{stdio.h}\par

 \U1.\fi


 \inx
 \fin
 \con
 \stoptext

Thanks. The printed version now compiles!

I noticed the following differences from the pdftex version ---
  * The first line is not indented
  * The section hyperlinks are not created
  * The @d sections and the @ @ declaration sections begin in the
 left margin.


 for screen 

???

Thanks for your help.

(* jcl *)

-- 
http://www.luciani.org
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Gotcha!

2007-08-28 Thread Vyatcheslav Yatskovsky
Hello,

I found it! 

My global settings for mswincotext work now, and here is the reason they failed 
before.  I copied the pathes to temp dirs from the .bat file output, where they 
were  DOS-truncated, e.g. c:/DOCUME~... Those tildes were expanded by luatex as 
\CCC, so that lua failed to reach temp dirs. 

I just wonder how intolerant it was not to warn user about this occasion.

Now I'm in progress of creating an installer for mswincontext. At the moment it 
is a stand-alone .exe file that sets up global envinronment variables. In 
principle, I can even create full installer, which would be very appealing to 
Windows users.

Best,
Vyatcheslav

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Using context with cweave

2007-08-28 Thread John Luciani
On 8/28/07, luigi scarso [EMAIL PROTECTED] wrote:
   for screen 
 
  ???
 This is a new topicct for me; to compile, I have had a quick look
 inside m-cweb but
 nothing more.
 Actually I have no idea if one can have a screen version with some macro
 like \activateCWEB, I'm sorry.

I appreciate your help. Thanks.

The screen version example that I like is at
http://www.pragma-ade.com/itdemos/internal/cweb/cweb-scr.pdf

(* jcl *)

-- 
http://www.luciani.org
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Using context with cweave

2007-08-28 Thread luigi scarso
  for screen 

 ???
This is a new topicct for me; to compile, I have had a quick look
inside m-cweb but
nothing more.
Actually I have no idea if one can have a screen version with some macro
like \activateCWEB, I'm sorry.



-- 
luigi

If your question is of interest to others as well, please add an entry
to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] cont-en.fmt

2007-08-28 Thread Istvan Hollerbach
Hello Everybody,

kpathsea missis cont-en.fmt, when I want to run command texexec --dvips 
filename.tex.

Istvan


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] [tex-live] ConTeXt on FreBSD (was: missing *8t.tfm files)

2007-08-28 Thread Edd Barrett
Hi,

We appear to be cross posting here guys. I don't know how it is in the
TeX community, but some people get very upset by this. Is this
allowed?

 Surprise: This has already been done. Linux does it, OpenBSD does it.
 Again: Study the OpenBSD port.

Yes, I did have to split it down, so that the minimal tetex like
distribution could go on the OpenBSD cdrom. There is a python script
which can help split TL down and also a large document describing how
TeXLive can be ported to OpenBSD, which I wrote because I knew the
other BSD's could benefit from my findings.

Also a company has sponsored the OpenBSD port and I have some more
recent sparc64 hardware on it's way, meaning that I should be able to
test some more recent TL snapshots on sparc64 ready for the 2008
release, hopefully minimising portlag.

Unfortunately I am stuck in a rut with tl2007. An annoying bug
regarding updmap-sys creating dvi maps instead of pdftex maps when
TEXMFSYSVAR is not merged with TEXMFMAIN. If anyone on either lists
knows how this could happen or is willing to help look into it, pease
drop me a mail (I can make qemu images of an OpenBSD dev snapshot with
these symptoms). I have a patch to try, but I don't think it is
related, so I think I am stuck.

Thanks

-- 
Best Regards

Edd

---
http://students.dec.bournemouth.ac.uk/ebarrett
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] todays teaser

2007-08-28 Thread Hans Hagen
Arthur Reutenauer wrote:
 and it doesn't give the expected result
 
   Oops, sorry; forget I said anything ;-) It works fine, and it's great!

ah, good ...

i was wondering if we could use this trick to extend some older fonts, 
for instance chinese fonts with halfwidth variants and such; we only 
need (shared) fea file then

Hans

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Using context with cweave

2007-08-28 Thread luigi scarso
 The screen version example that I like is at
 http://www.pragma-ade.com/itdemos/internal/cweb/cweb-scr.pdf
Yes, I like it too.
I'm really interesting about WEB, so I would like to produce something
analogous for WEB too.
Do youn know leo ?
http://webpages.charter.net/edreamleo/front.html

-- 
luigi

If your question is of interest to others as well, please add an entry
to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] context_reg_install

2007-08-28 Thread Vyatcheslav Yatskovsky
Hello,

Let me share my installer for MSWinContext. The archive contains installer and 
source code.

http://rapidshare.com/files/51816047/context-installer-1.0.zip

After you unpacked MSWinContext onto your hard drive, copy 
context_reg_install.exe into \context\tex folder and run it there.

Any questions/suggestions? ;)

-- 
Best regards,
Vyatcheslav Yatskovsky

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] context_reg_install

2007-08-28 Thread Vyatcheslav Yatskovsky
Hello,

Sorry, this is new link with minor changes

http://rapidshare.com/files/51823950/context-installer-1.0.zip

-- 
Best regards,
Vyatcheslav Yatskovsky

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] new upload

2007-08-28 Thread Hans Hagen
Arthur Reutenauer wrote:
 so it's .5 is better then ? (fraction of an em)
 
   I guess so. I wonder, though, if it should not better be defined as
 fractions of \fontdimen2 (normal space) rather than em's.

i can introduce a unit=enspace|emspace key

Hans

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Using context with cweave

2007-08-28 Thread John Luciani
On 8/28/07, luigi scarso [EMAIL PROTECTED] wrote:
  The screen version example that I like is at
  http://www.pragma-ade.com/itdemos/internal/cweb/cweb-scr.pdf
 Yes, I like it too.
 I'm really interesting about WEB, so I would like to produce something
 analogous for WEB too.
 Do youn know leo ?
 http://webpages.charter.net/edreamleo/front.html

I have not used leo. For editing tasks I default to my old friend --- EMACS ;-)
Whether editing C for an MSP430 or Coldfire chip, Perl, TeX (and friends) or SQL
I use the same tool.

For cweb editing I have been using multiple-major-mode (mmm) so that
TeX and cweb are colorized appropriately.

(* jcl *)




-- 
http://www.luciani.org
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] cont-en.fmt

2007-08-28 Thread Istvan Hollerbach
Mojca Miklavec wrote:
 On 8/28/07, Mojca Miklavec [EMAIL PROTECTED] wrote:
   
 On 8/28/07, Istvan Hollerbach [EMAIL PROTECTED] wrote:
 
 Hello Everybody,

 kpathsea missis cont-en.fmt, when I want to run command texexec --dvips
 filename.tex.
   
 Did you run texexec --make --all?
 

 And: what version of ConTeXt are you using?

 ctxtools --contextversion
 or
 texexec --version

   
Dear Mojca,

I just now run texexec --make --all, and I have run texexec --dvips 
filename.tex again, but kpathsea still misses cont-en.fmt.
The version of texexec is 6.2.0, and the version of  ConTeXt is 
08.08.2007 14:35.

Istvan
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] [tex-live] ConTeXt on FreBSD (was: missing *8t.tfm files)

2007-08-28 Thread luigi scarso
On 8/28/07, Edd Barrett [EMAIL PROTECTED] wrote:
 Hi,

 We appear to be cross posting here guys. I don't know how it is in the
 TeX community, but some people get very upset by this. Is this
 allowed?
[OT]
Live long and prosper
Welcome to MArkIV

-- 
luigi

If your question is of interest to others as well, please add an entry
to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] context_reg_install

2007-08-28 Thread Joel C. Salomon
On 8/28/07, Vyatcheslav Yatskovsky [EMAIL PROTECTED] wrote:
 Let me share my installer for MSWinContext. The archive contains installer 
 and source code.
snip
 Any questions/suggestions?

I use the standalone MSWinContext on a machine with MiKTeX installed.
By default I run the MiKTeX binaries; when I want to play with luatex
and mkiv I run a batch file to reset the environment variables.

Can MSWinContext as set up by your installer work side-by-side with MiKTeX?

--Joel
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] mswincontext installer [was Re: Gotcha!

2007-08-28 Thread Idris Samawi Hamid
Hi V,

On Tue, 28 Aug 2007 17:38:12 -0600, Vyatcheslav Yatskovsky  
[EMAIL PROTECTED] wrote:

 Now I'm in progress of creating an installer for mswincontext. At the  
 moment it is a stand-alone .exe file that sets up global envinronment  
 variables. In principle, I can even create full installer, which would  
 be very appealing to Windows users.

This sounds like a very nice idea, at least in principle. If this could be  
done in a way to allow for or work with a minimal LaTeX distribution on  
the side like xemtex (many of us still have lots of legacy documents) then  
it would really be fantastic!

Anyway, I wish you success on this, if you decide to pursue it.

Best
Idris

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

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] context_reg_install

2007-08-28 Thread Vyatcheslav Yatskovsky
Hello Mojca,

Since you don't use Windows, it may be useless, but here is the proper link:
http://rapidshare.com/files/51823950/context-installer-1.0.zip

Thank you for detailed suggestions! All your proposals I can implement 
(theoretically).  :-)

 - installer downloads the necessary zips and unpacks them
 automatically to the desired location

How can I tell necessary zips from unnecessary? And do you mean cont-tmf and 
other zips found on the pragma site?

-- 
Best regards,
Vyatcheslav Yatskovsky


 A few suggestions of how I would imagine such an instaler to work:
 - user downloads the exe file (or zipped exe) and runs it
 - user chooses the folder where to install the context minimals
 - installer downloads the necessary zips and unpacks them
 automatically to the desired location
 - if the user want to install the minimals permanently (globally), add
 the necessary values to register, but remember any values previously
 set (by TeXLive or by some other distribution)
 - (you might need to install unzip.exe as well)

 - the installer should be able to only fetch and unzip the files, or
 additionally set the variables in register

 Menu entry of ConTeXt minimals sould have the following entries:
 - enable context minimals globally
 - disable context minimals globally
 - check for updates/update context (includes remaking formats)
 - remake formats
 - I have much more in mind, but that's a topic for some other time

 People want to run the minimals in parallel with MikTeX or TeXLive.
 This means that they would want to enable the minimal context
 distribution temporary, so that when they call texexec, the minimal
 tree will be used, but they would like to disable it again, so that
 when they call texexec again, MikTeX will be used again.

 Mojca

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] itemize start=2

2007-08-28 Thread Wolfgang Werners-Lucchini
Hallo,

how can I start an itemization with 2

I have tried snippets like

\setupitemgroup[[itemize][start=2]
\startitemize[n]
\item zwei
\item drei
\stopitemize

but could'nt found a solution.

Btw.: Is there a differenz between 

\setupitemize[]

and

\setupitemgroup[[itemize][]

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] cont-en.fmt

2007-08-28 Thread Istvan Hollerbach
Mojca Miklavec wrote:
 Can you please try the following:
 - put the file I'm attaching to
 [whereeveryourinstallation]/texmf/dvips/base/tex.pro
 - run mktexlsr
 - remake formats again (texexec --make --all), athough this should not
 be necessary
 - copy the whole log/error report

 Mojca
   
Dear Mojca,

I could save tex.pro only in the directory C:\Program 
Files\ConTeXt\isoimage\usr\local\context\tex\texmf-local\dvips\, because 
only in the directory 'texmf-local' is directory 'dvips'.
I use mswincontext.zip. It is a 2007-08-08 15:12 version on Windows XP 
Professional Hungarian SP2.
The messages are in cmd.exe window:
 
Microsoft Windows XP [verziószám: 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

c:\Program 
Files\ConTeXt\isoimage\usr\local\context\tex\texmf-mswin\binmktexlsr

Cannot open c:/Program 
Files/ConTeXt/isoimage/usr/local/context/tex/texmf-projec
t/ls-R to write.
mktexlsr: Updating c:/Program 
Files/ConTeXt/isoimage/usr/local/context/tex/texmf
-fonts/ls-R...
mktexlsr: Updated c:/Program 
Files/ConTeXt/isoimage/usr/local/context/tex/texmf-
fonts/ls-R.
mktexlsr: Updating c:/Program 
Files/ConTeXt/isoimage/usr/local/context/tex/texmf
-local/ls-R...
mktexlsr: Updated c:/Program 
Files/ConTeXt/isoimage/usr/local/context/tex/texmf-
local/ls-R.
mktexlsr: Updating c:/Program 
Files/ConTeXt/isoimage/usr/local/context/tex/texmf
-extra/ls-R...
mktexlsr: Updated c:/Program 
Files/ConTeXt/isoimage/usr/local/context/tex/texmf-
extra/ls-R.
mktexlsr: Updating c:/Program 
Files/ConTeXt/isoimage/usr/local/context/tex/texmf
/ls-R...
mktexlsr: Updated c:/Program 
Files/ConTeXt/isoimage/usr/local/context/tex/texmf/
ls-R.
Cannot open /varfonts/ls-R to write.
mktexlsr: Done.

c:\Program 
Files\ConTeXt\isoimage\usr\local\context\tex\texmf-mswin\bintexexec
--make --all
TeXExec | using search method 'kpsewhich'
TeXExec | updating file database
Cannot open c:/Program 
Files/ConTeXt/isoimage/usr/local/context/tex/texmf-projec
t/ls-R to write.
mktexlsr: Updating c:/Program 
Files/ConTeXt/isoimage/usr/local/context/tex/texmf
-fonts/ls-R...
mktexlsr: Updated c:/Program 
Files/ConTeXt/isoimage/usr/local/context/tex/texmf-
fonts/ls-R.
mktexlsr: Updating c:/Program 
Files/ConTeXt/isoimage/usr/local/context/tex/texmf
-local/ls-R...
mktexlsr: Updated c:/Program 
Files/ConTeXt/isoimage/usr/local/context/tex/texmf-
local/ls-R.
mktexlsr: Updating c:/Program 
Files/ConTeXt/isoimage/usr/local/context/tex/texmf
-extra/ls-R...
mktexlsr: Updated c:/Program 
Files/ConTeXt/isoimage/usr/local/context/tex/texmf-
extra/ls-R.
mktexlsr: Updating c:/Program 
Files/ConTeXt/isoimage/usr/local/context/tex/texmf
/ls-R...
mktexlsr: Updated c:/Program 
Files/ConTeXt/isoimage/usr/local/context/tex/texmf/
ls-R.
Cannot open /varfonts/ls-R to write.
mktexlsr: Done.
TeXExec | using tex engine pdftex
TeXExec | using tex format path c:/Program 
Files/ConTeXt/isoimage/usr/local/cont
ext/tex/texmf-local/web2c/pdftex
TeXExec | generating tex format cont-en
TeXExec | generating tex format cont-nl
TeXExec | generating tex format mptopdf
TeXExec | using mp engine mpost
TeXExec | using mps format path .
TeXExec | generating mps format metafun
TeXExec |
TeXExec | tex engine path: c:/Program 
Files/ConTeXt/isoimage/usr/local/context/t
ex/texmf-local/web2c/pdftex
TeXExec | mps engine path: .
TeXExec |
TeXExec |
TeXExec | runtime: 0.484

c:\Program 
Files\ConTeXt\isoimage\usr\local\context\tex\texmf-mswin\bintexexec
--dvips próba.tex
TeXExec | processing document 'prˇba.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file prˇba.top
TeXExec | using randomseed 311
TeXExec | tex engine: pdftex
TeXExec | tex format: cont-en
This is pdfTeX, Version 3.141592-1.40.4 (Web2C 7.5.6)
 \write18 enabled.
 (c:/Program 
Files/ConTeXt/isoimage/usr/local/context/tex/texmf-local/web2c/natu
ral.tcx)
kpathsea: Running mktexfmt cont-en.fmt
I can't find the format file `cont-en.fmt'!
TeXExec | runtime: 0.391

c:\Program 
Files\ConTeXt\isoimage\usr\local\context\tex\texmf-mswin\bindvips pr
óba.tex
This is dvips(k) 5.96 Copyright 2005 Radical Eye Software 
(www.radicaleye.com)
dvips: ! Bad DVI file: first byte not preamble


Istvan


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] cont-en.fmt

2007-08-28 Thread Mojca Miklavec
On 8/28/07, Istvan Hollerbach wrote:
 Dear Mojca,

 I could save tex.pro only in the directory C:\Program
 Files\ConTeXt\isoimage\usr\local\context\tex\texmf-local\dvips\, because
 only in the directory 'texmf-local' is directory 'dvips'.
 I use mswincontext.zip. It is a 2007-08-08 15:12 version on Windows XP
 Professional Hungarian SP2.
 The messages are in cmd.exe window:

 Microsoft Windows XP [verziószám: 5.1.2600]
 (C) Copyright 1985-2001 Microsoft Corp.

 c:\Program
 Files\ConTeXt\isoimage\usr\local\context\tex\texmf-mswin\bintexexec
 --make --all
 TeXExec | using search method 'kpsewhich'
 TeXExec | updating file database
 Cannot open c:/Program
 Files/ConTeXt/isoimage/usr/local/context/tex/texmf-projec
 t/ls-R to write.
 mktexlsr: Updating c:/Program
 Files/ConTeXt/isoimage/usr/local/context/tex/texmf
 -fonts/ls-R...
...
 mktexlsr: Updated c:/Program
 Files/ConTeXt/isoimage/usr/local/context/tex/texmf/
 ls-R.
 Cannot open /varfonts/ls-R to write.
 mktexlsr: Done.
 TeXExec | using tex engine pdftex
 TeXExec | using tex format path c:/Program
 Files/ConTeXt/isoimage/usr/local/cont
 ext/tex/texmf-local/web2c/pdftex
 TeXExec | generating tex format cont-en

Here a TeX run is missing.

 TeXExec | generating tex format cont-nl
 TeXExec | generating tex format mptopdf
 TeXExec | using mp engine mpost
 TeXExec | using mps format path .
 TeXExec | generating mps format metafun
 TeXExec |
 TeXExec | tex engine path: c:/Program
 Files/ConTeXt/isoimage/usr/local/context/t
 ex/texmf-local/web2c/pdftex
 TeXExec | mps engine path: .
 TeXExec |
 TeXExec |
 TeXExec | runtime: 0.484

This means that no formats have been generated since you should get a
lengthy TeX run inbetween. Does it make any difference if you move the
whole isoimage to C:\ directly? It might be that the space in path
name is causing problems, but I'm not sure.

I just tried the following (although I don't have any windows around):

cd /tmp
mkdir bla bla
cd bla bla
ln -s path-to-context mycontext
cd mycontext
. setuptex
texexec --make --all

and got
ruby: No such file or directory -- /tmp/bla (LoadError)

(Because it's bla bla, not bla.)
But this has failed already one step before yours.


(Besides that: are your folders write-protected? Since mktexlsr
complains about unable to write to ...)

Mojca
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Context replacement for bibitem

2007-08-28 Thread Peter Schorsch
Hi,

I have done a little with Context but I am still a beginner. As I can read
in the archive of this list, there is no possibility to divide the
bibliography into sections by the generated bibliography. If this
assumption is true, I would like to enter the bibitems into the
normal .tex-file. I was also reading the doc of the context-bib-module but
I couldn't find any context-replacement for \bibitem. 

Headings inside the bibliography are very important for my text and the
advantages of bibitem would simplify my data-entering, so I would be happy
for any hint/help how to realize this in Context.

I don't want to go back to Latex but to declare my problem better: In Latex
a simplified example looks like: 

\begin{document}

\section{hamha}
asdfklsj fk\cite{key-1}

\section{dumdidim}
asdfsaff alfs hfdsj\cite{key-2}

\begin{thebibliography}{1}
\subsection*{hamha}
\bibitem{key-1}erstes
\subsection*{dumdidim}
\bibitem{key-2}zweites
\end{thebibliography}

\end{document}

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] cont-en.fmt

2007-08-28 Thread Istvan Hollerbach
Mojca Miklavec wrote:
 On 8/28/07, Istvan Hollerbach wrote:
   
 Dear Mojca,

 I could save tex.pro only in the directory C:\Program
 Files\ConTeXt\isoimage\usr\local\context\tex\texmf-local\dvips\, because
 only in the directory 'texmf-local' is directory 'dvips'.
 I use mswincontext.zip. It is a 2007-08-08 15:12 version on Windows XP
 Professional Hungarian SP2.
 The messages are in cmd.exe window:

 Microsoft Windows XP [verziószám: 5.1.2600]
 (C) Copyright 1985-2001 Microsoft Corp.

 c:\Program
 Files\ConTeXt\isoimage\usr\local\context\tex\texmf-mswin\bintexexec
 --make --all
 TeXExec | using search method 'kpsewhich'
 TeXExec | updating file database
 Cannot open c:/Program
 Files/ConTeXt/isoimage/usr/local/context/tex/texmf-projec
 t/ls-R to write.
 mktexlsr: Updating c:/Program
 Files/ConTeXt/isoimage/usr/local/context/tex/texmf
 -fonts/ls-R...
 
 ...
   
 mktexlsr: Updated c:/Program
 Files/ConTeXt/isoimage/usr/local/context/tex/texmf/
 ls-R.
 Cannot open /varfonts/ls-R to write.
 mktexlsr: Done.
 TeXExec | using tex engine pdftex
 TeXExec | using tex format path c:/Program
 Files/ConTeXt/isoimage/usr/local/cont
 ext/tex/texmf-local/web2c/pdftex
 TeXExec | generating tex format cont-en
 

 Here a TeX run is missing.

   
 TeXExec | generating tex format cont-nl
 TeXExec | generating tex format mptopdf
 TeXExec | using mp engine mpost
 TeXExec | using mps format path .
 TeXExec | generating mps format metafun
 TeXExec |
 TeXExec | tex engine path: c:/Program
 Files/ConTeXt/isoimage/usr/local/context/t
 ex/texmf-local/web2c/pdftex
 TeXExec | mps engine path: .
 TeXExec |
 TeXExec |
 TeXExec | runtime: 0.484
 

 This means that no formats have been generated since you should get a
 lengthy TeX run inbetween. Does it make any difference if you move the
 whole isoimage to C:\ directly? It might be that the space in path
 name is causing problems, but I'm not sure.

 I just tried the following (although I don't have any windows around):

 cd /tmp
 mkdir bla bla
 cd bla bla
 ln -s path-to-context mycontext
 cd mycontext
 . setuptex
 texexec --make --all

 and got
 ruby: No such file or directory -- /tmp/bla (LoadError)

 (Because it's bla bla, not bla.)
 But this has failed already one step before yours.


 (Besides that: are your folders write-protected? Since mktexlsr
 complains about unable to write to ...)

 Mojca
 ___
 If your question is of interest to others as well, please add an entry to the 
 Wiki!

 maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

   
Dear Mojca,

I have moved the whole isoimage to C:\. Directory 'varfonts' does not 
exist. That is why mktexlsr cannot open /varfonts/ls-R to write. Problem 
continues.

Istvan

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___