Re: [NTG-context] Crop marks and \setuplayout[nx,ny]

2009-06-08 Thread Nicolas Girard
2009/6/7 Hans Hagen pra...@wxs.nl:
 Nicolas Girard wrote:

 i'll add marking=page for that purpose


Hi Hans,
thanks in advance, that'd be great.
I intend to typeset business cards in Context in the near future, i
just hope i'll have climbed up the learning curve enough by then.

When you dedicate some time to the marking code, it would be also
great if you could get the markings to be properly shifted when using
\definepageshift / \setuppageshift.

Cheers,
Nicolas
___
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] Intersection symbol, Set theory

2009-06-08 Thread Hans Hagen

curiouslearn wrote:

Hi,

I want the intersection symbol in the file. I tried $\cap$, however that does
not work. 

I am using 


This is LuaTeX, Version snapshot-0.35.0
(Learn_Corbae_Stinchcombe_Zeman.tex

ConTeXt  ver: 2009.03.18 21:58 MKIV  fmt: 2009.3.31  int: english/english


I get the following error:

! Undefined control sequence.
\normalcap -\dohandlemathtoken 
{cap}

l.25 ...t A $ then $ f(A \cap B) \subset f(A) \cap
   f(B) $.

Do I need to upgrade to a newer version?


march is pretty old for a mkiv version as in the meantime open type math 
was added, and support for that in mkiv is under active development 
(also make sure that you have the latest luatex)


using mkiv only makes sense if you update on a regular basis

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] Pretty print SQL broken? Or am I doing something wrong?

2009-06-08 Thread Berend de Boer
 Gerben == Gerben Wierda gerben.wie...@rna.nl writes:

Gerben verb-sql.tex seems not to work correctly. Is it broken or
Gerben am I doing something wrong?

What if you use lowercase?

-- 
Cheers,

Berend.
___
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] TexPaste alpha - my Win application converting Word/HTML to TeX

2009-06-08 Thread J.A.J. Pater

Hello Piotr

Sorry for the late reply, but could you post it to the net somewhere or 
to the list?


Thanks,

Adriaan.


Hello list,

Inevitably, it's a recurring subject. Here are my 2p. After playing
with all sorts of convertors to TeX, Latex, HTML and scraping the
output with Perl to obtain something useful for ConTeXt I found that
what I in fact really need to preserve from a Word file are italics
and footnotes. To make the long story short. IMHO the only reasonable
way to go is via XSL stylesheet for ooffice. Fortunately you don't
have to develop a new one from scratch which would be quite a task.
There is an excellent stylesheet converting odt to mediawiki by
Bernhard Haumacher odt2mediawiki.xsl  It took me less than an hour to
adapt it for ConTeXt output. Then you only add it as an xml filter to
Open Office and from then on can convert Word to ConTeXt straight from
ooffice as if it was one of its built-in export formats.

Piotr




2009/5/28 luigi scarso luigi.sca...@gmail.com:
  

I guess I should build a new converter suite (there's also a InDesign Tags
to ConTeXt converter anywhere on my harddisk).
But I won't make GUI apps, just scripts.
  

That's sound good !
If in python, even better !
If only scripts, the best !

Can we have more details ?

--
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] unicode no-break spaces

2009-06-08 Thread Peter Münster
On Sun, 7 Jun 2009, Hans Hagen wrote:

 Peter Münster wrote:
  Hello,
  
  This used to work with MKIV, but with today's version, it does not:
  
  \starttext
  X X THIN SPACE (U+2009)\blank
  X X NARROW NO-BREAK SPACE (U+202F)\blank
  X X NO-BREAK SPACE (U+00A0)\blank
  \stoptext
  
  Should this work, or should we rather use ~ and \, as in the past?
 
 repaired in next beta (was unwanted side effect of optimization)

Thanks!

Is there any difference between THIN SPACE and NARROW NO-BREAK SPACE in
ConTeXt?
Should there be a difference (perhaps THIN SPACE breakable)?

Cheers, Peter

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

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

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


Re: [NTG-context] Problems with bibtex and @incollection

2009-06-08 Thread Taco Hoekwater


Xan wrote:
 
 Thanks a lot and I hope that this will be fixed soon.

New bib module version uploaded to contextgarden, with your
fix applied.

Thanks,
Taco
___
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] problem with boldmath and MKIV

2009-06-08 Thread Peter Münster
Hello,

The following test file doesn't give bold sections no more with latest beta:

\definetypeface[boldmath][mm][boldmath][modern]
\setuphead[section][style=\boldmath\rm\bfb]
\starttext
\section{bla $bla$}
bla
\stoptext

Could you help please?

Cheers, Peter

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

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

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


Re: [NTG-context] problem with boldmath and MKIV

2009-06-08 Thread Hans Hagen

Peter Münster wrote:

Hello,

The following test file doesn't give bold sections no more with latest beta:

\definetypeface[boldmath][mm][boldmath][modern]
\setuphead[section][style=\boldmath\rm\bfb]
\starttext
\section{bla $bla$}
bla
\stoptext

Could you help please?


there is no boldmath in mkiv yet, simply because there are no (complete) 
bold math fonts to test with (or at least i didn't define them) ... bold 
in math is supported


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] missing metafun graphics in mkii

2009-06-08 Thread Mojca Miklavec
Hello,

Does anyone else experience problems using metafun graphics in mkii?
Did I miss some runwhatevertrue switch somewhere? Are the stubs in
minimals incompatible in some way? At least live.contextgarden.net
seems to suffer as well.

Minimal example:

\startMPcode
draw fullcircle scaled 3cm;
\stopMPcode

If I run the code with some older ConTeXt then the code starts working
again with a recent ConTeXt, but recent ConTeXt doesn't generate the
   jobname-mpgraph.1
file at all. Once compiling the document with an older version, the
file is generated and it starts working again. But this behaviour
breaks my module :(

Thanks,
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
___


Re: [NTG-context] missing metafun graphics in mkii

2009-06-08 Thread Peter Münster
On Mon, 8 Jun 2009, Mojca Miklavec wrote:

 Does anyone else experience problems using metafun graphics in mkii?
 Did I miss some runwhatevertrue switch somewhere? Are the stubs in
 minimals incompatible in some way? At least live.contextgarden.net
 seems to suffer as well.

No problem here with latest minimals...

Versions:

This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 7.5.7)
 \write18 enabled.
 (/opt/context/tex/texmf-context/web2c/natural.tcx)
entering extended mode
(./test.tex

ConTeXt  ver: 2009.06.07 14:02 MKII  fmt: 2009.6.8  int: english/english

Cheers, Peter

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

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

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


Re: [NTG-context] missing metafun graphics in mkii

2009-06-08 Thread Zhichu Chen
Well, I don't quite sure if it's the same problem with you guys
but there's a weird thing that after I updated to the current
beta release, I have to run texmfstart texexec twice to get
the metapost figures.

On Mon, Jun 8, 2009 at 7:30 PM, Peter Münsterpmli...@free.fr wrote:
 On Mon, 8 Jun 2009, Mojca Miklavec wrote:

 Does anyone else experience problems using metafun graphics in mkii?
 Did I miss some runwhatevertrue switch somewhere? Are the stubs in
 minimals incompatible in some way? At least live.contextgarden.net
 seems to suffer as well.

 No problem here with latest minimals...

 Versions:

 This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 7.5.7)
  \write18 enabled.
  (/opt/context/tex/texmf-context/web2c/natural.tcx)
 entering extended mode
 (./test.tex

 ConTeXt  ver: 2009.06.07 14:02 MKII  fmt: 2009.6.8  int: english/english

 Cheers, Peter

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

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

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




-- 
Best Regards
Chen


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

___
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] missing metafun graphics in mkii

2009-06-08 Thread Peter Rolf

Mojca Miklavec schrieb:

Hello,

Does anyone else experience problems using metafun graphics in mkii?
Did I miss some runwhatevertrue switch somewhere? Are the stubs in
minimals incompatible in some way? At least live.contextgarden.net
seems to suffer as well.

Minimal example:

\startMPcode
draw fullcircle scaled 3cm;
\stopMPcode

If I run the code with some older ConTeXt then the code starts working
again with a recent ConTeXt, but recent ConTeXt doesn't generate the
   jobname-mpgraph.1
file at all. Once compiling the document with an older version, the
file is generated and it starts working again. But this behaviour
breaks my module :(

  

no problems with mp here...

ConTeXt version: 2009.06.04 22:20
MetaPost 1.202
pdfTeX 3.1415926-1.40.10-2.2 (Web2C 2009)

Best wishes, Peter


Thanks,
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
___

  


___
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] Verbatim / prettyprinting in mkIV

2009-06-08 Thread Matthijs Kooijman
Hi all,

I've been struggling with verbatim printing in MkIV for a while now and found
some confusing things. I did finally get things working, but after quite some
effort. I'd like to hear if my conclusions are correct, perhaps I can put them
on the wiki then.

I was trying to set up some custom pretty printing scripts, using lua (since
I'd rather not learn complete tex scripting :-p). Looking at the files in
/usr/share/texmf/tex/context/base and the wiki (Verbatim_text talks about
verb-foo.tex files), I created a file called verb-foo.lua. I put this beside
my document at first, and then in /usr/share/texmf/tex/context/base when it
did not work, but neither worked. I tried setting things up as follows:

\installprettytype [FOO] [FOO]
\definetyping[FOO][option=FOO]

\startFOO
  blub
\stopFOO

Trying to trace the code, I worked out things should work as follows:

\installprettytype sets the evalue \??ty\??tyFOO to point at FOO
\definetyping call \setupprettiesintypeFOO, which finds looks up the above
evalue, finds FOO and then turns that into verb-foo and calls
\ctxloadluafile{verb-foo}{}. This sets up the buffers.visualizers.foo value in
lua. When actually starting a typing environment, dodotypeA or dodotypeD call
buffers.hooks.flush_line, which in turn calls
buffers.visualizers.foo.flush_line.

The above didn't happen for me, so I tried manually loading the lua file using
\ctxloadluafile{verb-foo}{}. After this, things started working for some reason.

When looking closer and installing some \writestatus lines in core-ver.mkiv, I
found that \setupprettiesintype was never actually called! Closer inspection
showed that the entire core-ver.mkiv is never loaded when running context
--make. However, there is a second file, buff-ver.mkiv which closely
resembles core-ver.mkiv and which is loaded. An important difference, however,
is that buff-ver loads pret-foo instead of verb-foo (or rather, uses the value
of \f!prettyprefix, which is set to pret- in mult-sys.tex).

Renaming my lua file to pret-foo.lua made context find it exactly as it
should, also when putting the file next to the main document.

So, my main question was, are the verb-*.lua and core-ver.text files still
used in any way? I just checked the minimals tree, and found out they have
been removed already (but I didn't have -d in my rsync commandline to actually
remove them). Looking at the previous version I was running (2009.05.20 beta)
it seems that this change was actually pretty recent, so I mostly created this
confusing situation by upgrading today (because my verbatim file was not
properly loaded). I'm not so sure why it was not working before then, but at
least it is working now.

Heh, this is what you get when you write an email while you are still trying
things out. All this buildup to get to a question, when the question is not
even relevant. As for another relevant question: Is my analysis of how things
are supposed to work correct? Then I might put something like it on the wiki.

Also, it seems that \ctxloadluafile does not give an error when the file was
not found. If it would have, things would probably have been a lot easier. Is
there any compelling reason to make it fail silently?

Gr.

Matthijs


signature.asc
Description: Digital signature
___
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] missing metafun graphics in mkii

2009-06-08 Thread Hans Hagen

Mojca Miklavec wrote:

Hello,

Does anyone else experience problems using metafun graphics in mkii?
Did I miss some runwhatevertrue switch somewhere? Are the stubs in
minimals incompatible in some way? At least live.contextgarden.net
seems to suffer as well.

Minimal example:

\startMPcode
draw fullcircle scaled 3cm;
\stopMPcode

If I run the code with some older ConTeXt then the code starts working
again with a recent ConTeXt, but recent ConTeXt doesn't generate the
   jobname-mpgraph.1
file at all. Once compiling the document with an older version, the
file is generated and it starts working again. But this behaviour
breaks my module :(


there has been an issue with texexec and mp cleanup ... do you use the 
latest 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
-
___
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] Verbatim / prettyprinting in mkIV

2009-06-08 Thread Hans Hagen

Matthijs Kooijman wrote:

Hi all,

I've been struggling with verbatim printing in MkIV for a while now and found
some confusing things. I did finally get things working, but after quite some
effort. I'd like to hear if my conclusions are correct, perhaps I can put them
on the wiki then.


mkiv only has tex, mp and lua pretty printing and uses a different 
method than mkii (the mkii pretty print files are not used at all)



--make. However, there is a second file, buff-ver.mkiv which closely
resembles core-ver.mkiv and which is loaded. An important difference, however,
is that buff-ver loads pret-foo instead of verb-foo (or rather, uses the value
of \f!prettyprefix, which is set to pret- in mult-sys.tex).


indeed, as part of the split (and code freeze of mkii) some core-* files 
have been regrouped



So, my main question was, are the verb-*.lua and core-ver.text files still
used in any way? 


no

(it's no problem to add more mkiv pretty printers; one can take the lua 
one as template)


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] Verbatim / prettyprinting in mkIV

2009-06-08 Thread Mohamed Bana
the author of the latex 'listing' package showed some interest in 
porting the code to ConTeXt.  Perhaps someone could contact him.


Matthijs Kooijman wrote:

Hi all,

I've been struggling with verbatim printing in MkIV for a while now and found
some confusing things. I did finally get things working, but after quite some
effort. I'd like to hear if my conclusions are correct, perhaps I can put them
on the wiki then.

I was trying to set up some custom pretty printing scripts, using lua (since
I'd rather not learn complete tex scripting :-p). Looking at the files in
/usr/share/texmf/tex/context/base and the wiki (Verbatim_text talks about
verb-foo.tex files), I created a file called verb-foo.lua. I put this beside
my document at first, and then in /usr/share/texmf/tex/context/base when it
did not work, but neither worked. I tried setting things up as follows:

\installprettytype [FOO] [FOO]
\definetyping[FOO][option=FOO]

\startFOO
  blub
\stopFOO

Trying to trace the code, I worked out things should work as follows:

\installprettytype sets the evalue \??ty\??tyFOO to point at FOO
\definetyping call \setupprettiesintypeFOO, which finds looks up the above
evalue, finds FOO and then turns that into verb-foo and calls
\ctxloadluafile{verb-foo}{}. This sets up the buffers.visualizers.foo value in
lua. When actually starting a typing environment, dodotypeA or dodotypeD call
buffers.hooks.flush_line, which in turn calls
buffers.visualizers.foo.flush_line.

The above didn't happen for me, so I tried manually loading the lua file using
\ctxloadluafile{verb-foo}{}. After this, things started working for some reason.

When looking closer and installing some \writestatus lines in core-ver.mkiv, I
found that \setupprettiesintype was never actually called! Closer inspection
showed that the entire core-ver.mkiv is never loaded when running context
--make. However, there is a second file, buff-ver.mkiv which closely
resembles core-ver.mkiv and which is loaded. An important difference, however,
is that buff-ver loads pret-foo instead of verb-foo (or rather, uses the value
of \f!prettyprefix, which is set to pret- in mult-sys.tex).

Renaming my lua file to pret-foo.lua made context find it exactly as it
should, also when putting the file next to the main document.

So, my main question was, are the verb-*.lua and core-ver.text files still
used in any way? I just checked the minimals tree, and found out they have
been removed already (but I didn't have -d in my rsync commandline to actually
remove them). Looking at the previous version I was running (2009.05.20 beta)
it seems that this change was actually pretty recent, so I mostly created this
confusing situation by upgrading today (because my verbatim file was not
properly loaded). I'm not so sure why it was not working before then, but at
least it is working now.

Heh, this is what you get when you write an email while you are still trying
things out. All this buildup to get to a question, when the question is not
even relevant. As for another relevant question: Is my analysis of how things
are supposed to work correct? Then I might put something like it on the wiki.

Also, it seems that \ctxloadluafile does not give an error when the file was
not found. If it would have, things would probably have been a lot easier. Is
there any compelling reason to make it fail silently?

Gr.

Matthijs




___
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] missing metafun graphics in mkii

2009-06-08 Thread Mojca Miklavec
On Mon, Jun 8, 2009 at 13:11, Mojca Miklavec wrote:
 Hello,

 Does anyone else experience problems using metafun graphics in mkii?
 Did I miss some runwhatevertrue switch somewhere? Are the stubs in
 minimals incompatible in some way? At least live.contextgarden.net
 seems to suffer as well.

Mea culpa ...
Fatal mem file error; metafun.mem was written by an older version
That should have costed me two beers at least.

Since texexec doesn't intercept this error message gets hidden too well.

But then ... the garden needs to be fixed as well and it's not the same problem.

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
___


Re: [NTG-context] missing metafun graphics in mkii

2009-06-08 Thread Hans Hagen

Mojca Miklavec wrote:


Mea culpa ...


can happen


Fatal mem file error; metafun.mem was written by an older version


normally texexec --make would show at least something, as it remakes the 
metafun format



Since texexec doesn't intercept this error message gets hidden too well.

But then ... the garden needs to be fixed as well and it's not the same problem.


hm,

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] Problems with bibtex and @incollection

2009-06-08 Thread Xan

En/na Taco Hoekwater ha escrit:

Xan wrote:
  

Thanks a lot and I hope that this will be fixed soon.



New bib module version uploaded to contextgarden, with your
fix applied.

Thanks,
Taco
  
I feel like an important person: a fix accepted to ConTeXt source ;-). 
I'm glad that that code served you as a patch (I had not this as 
original intention, but good if I could help).


To you,
Xan.
___
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] \typebuffer with typing style

2009-06-08 Thread Matthijs Kooijman
Hi,

I'm trying to use a buffer together with a custom typing style using the
latest beta with MkIV, but so far I've only managed to do this using \startFOO
and \stopFOO inside the buffer:

\definetyping[FOO][option=FOO]

\startbuffer[bar]
\startFOO
baz
\stopFOO
\stopbuffer

\getbuffer[bar]


Since the \getbuffer is really inside some self-defined command, I'd like to
put the startFOO / stopFOO in there as well. However, I can't seem to find a
way to do this, since \startFOO \getbuffer[bar] \stopFOO gives me compile
errors. It seems the canonical way to define typing and buffers is using
\typebuffer, but that only seems to work with the default typing style. I'd
like to do the following:

\definetyping[FOO][option=FOO]

\startbuffer[bar]
baz
\stopbuffer

\typebuffer[FOO][bar]

From looking at buff-ini.mkiv it seems typebuffer has some code to handle a
second argument, but it seems to always throw it away (as far as I can
understand this Tex stuff... :-).

Is there some way to achieve this? Would it be good to make \typebuffer
support this if there isn't?

Gr.

Matthijs


signature.asc
Description: Digital signature
___
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] \typebuffer with typing style

2009-06-08 Thread Matthijs Kooijman
Hi all,

  since \startFOO \getbuffer[bar] \stopFOO gives me compile errors. 
Actually, that turned out to be my own typo. However, this doesn't give me
what I want, but just a verbatim \getbuffer[bar]...

Gr.

Matthijs


signature.asc
Description: Digital signature
___
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 minimals installation problem

2009-06-08 Thread Mojca Miklavec
2009/6/3 Michal Kvasnička wrote:
 Hallo, gentlemen.

 I've just tried to install the latest stable ConTeXt minimals on my new
 system (SuSE Linux 11.1). The system downloaded itself (via rsync) all
 right, but it isn't able to create formats (MarkII; I don't know how to use
 MarkIV). If I try run
  texexec --make --all
 manually, I get this error:
  ...TEXROOTDIR/tex/texmf-linux-64/bin/mtxrun:8707: attempt to
 concatenate a nil value

It's counter-intuitive, but I'm afraid that stable might be a bi
broken at the moment.

Hans has recently (for ConTeXt time scale that would be iron-age)
replaced some ruby scripts by lua scripts (texmfstart by mtxrun) and
now even mkii depends on luatex, but since we only provide a single
luatex binary at the moment, it either breaks current or beta. I
should have fixed that, but not now.

Possible solutions:
1.) just take the beta (easiest); most recent problems only affect
mkiv users; there are almost no changes in mkii, so you should be on
the safe side
2.) create a new texexec with texmfstart texexec instead of mtxrun
texexec and make sure that it comes first in path
3.) fetch an older luatex; there should be one at something like
http://minimals.contextgarden.net/current/bin/linux/luatex/beta-0.31.3/,
but the one for linux-64 is missing for unknown reason (the plan is to
fix it ...)

I didn't try any of the 2/3 options, I'm just blindly guessing.

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] \nonknuthmode and \environment

2009-06-08 Thread Peter Münster
Hello,

Strange things happen, if \nonknuthmode is in an environment.
Here is my environment file:

\startenvironment e-test
\nonknuthmode
\stopenvironment

And here the test file with error Missing $ inserted:

\environment e-test
\starttext
X_X
\stoptext

If I add \nonknuthmode *after* \environment e-test, the same error will
occur.

If I add \nonknuthmode *before* \environment e-test, there won't be such
problem.

Cheers, Peter

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

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

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


Re: [NTG-context] Pretty print SQL broken? Or am I doing something wrong?

2009-06-08 Thread Gerben Wierda


On 8 Jun 2009, at 09:59, Berend de Boer wrote:


Gerben == Gerben Wierda gerben.wie...@rna.nl writes:


   Gerben verb-sql.tex seems not to work correctly. Is it broken or
   Gerben am I doing something wrong?

What if you use lowercase?


For 'SQL' I assume I should use 'sql'. When I do that, exactly the  
same happens.


Yours,

Gerben

___
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] \nonknuthmode and \environment

2009-06-08 Thread Hans Hagen

Peter Münster wrote:

Hello,

Strange things happen, if \nonknuthmode is in an environment.
Here is my environment file:

\startenvironment e-test
\nonknuthmode
\stopenvironment

And here the test file with error Missing $ inserted:

\environment e-test
\starttext
X_X
\stoptext

If I add \nonknuthmode *after* \environment e-test, the same error will
occur.

If I add \nonknuthmode *before* \environment e-test, there won't be such
problem.


has to do with restoring catcodes (modules are loaded under a different 
catcode regime)


i'll fix it (tricky fix, since it might have side effects)

-
  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] Where to store typescripts ?

2009-06-08 Thread Mojca Miklavec
On Thu, Jun 4, 2009 at 16:54, luigi scarso wrote:

 I have
 minimals/tex/texmf-context/tex/context/user/type-catalog.tex

This is a bad place - there's a high risk that it will be removed or
overwritten. Use texmf-local or texmf-project or texmf-fonts or
~/texmf or whatever else ... but better not texmf or texmf-context.

In TeX Live ~/texmf should work.

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
___


Re: [NTG-context] ConTeXt minimals installation problem

2009-06-08 Thread Mohamed Bana
here's how i did it (, if i remember correctly).

get a a luatex binary and dump it into the dir of the last command

  $ . ~/context.distro/tex/setuptex
  ...
  $ which luatex
  

does this work?

  svn cat
http://svn.contextgarden.net/minimals/bin/tex/linux-64/current/luatex/bin/lua...@030
 `which luatex`


see;
http://wiki.contextgarden.net/ConTeXt_Minimals#Reverting_to_an_older_installation

I use 
  
  ConTeXt - 2008.10.31 13:58

so in my case it's

  sh ./first-setup.sh --context=2008.10.31

you might want to look at the thread i started;
http://thread.gmane.org/gmane.comp.tex.context/49826/focus=49831.


good luck.


On Mon, 2009-06-08 at 21:41 +0200, Mojca Miklavec wrote:
 2009/6/3 Michal Kvasnička wrote:
  Hallo, gentlemen.
 
  I've just tried to install the latest stable ConTeXt minimals on my new
  system (SuSE Linux 11.1). The system downloaded itself (via rsync) all
  right, but it isn't able to create formats (MarkII; I don't know how to use
  MarkIV). If I try run
   texexec --make --all
  manually, I get this error:
   ...TEXROOTDIR/tex/texmf-linux-64/bin/mtxrun:8707: attempt to
  concatenate a nil value
 
 It's counter-intuitive, but I'm afraid that stable might be a bi
 broken at the moment.
 
 Hans has recently (for ConTeXt time scale that would be iron-age)
 replaced some ruby scripts by lua scripts (texmfstart by mtxrun) and
 now even mkii depends on luatex, but since we only provide a single
 luatex binary at the moment, it either breaks current or beta. I
 should have fixed that, but not now.
 
 Possible solutions:
 1.) just take the beta (easiest); most recent problems only affect
 mkiv users; there are almost no changes in mkii, so you should be on
 the safe side
 2.) create a new texexec with texmfstart texexec instead of mtxrun
 texexec and make sure that it comes first in path
 3.) fetch an older luatex; there should be one at something like
 http://minimals.contextgarden.net/current/bin/linux/luatex/beta-0.31.3/,
 but the one for linux-64 is missing for unknown reason (the plan is to
 fix it ...)
 
 I didn't try any of the 2/3 options, I'm just blindly guessing.
 
 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
 ___

___
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] LilyPond module 2009-06-05

2009-06-08 Thread Henning Hraban Ramm

Am 2009-06-05 um 16:13 schrieb Vyatcheslav Yatskovsky:

But my problem (under Windows) persists: no eps or pdfs are created.  
Only lily1-lilypond-1.tmp and lily1-lilypond-1.tmp.md5 in  
lilytemp folder.

Installing GhostScript didn't help.



Sorry for the delay, and sorry, but I can't help you on Windows. Since  
others have it working it's probably a problem of your setup.



Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

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