Re: [NTG-context] ConTeXt Minimal: error pdftex on CentOS x86_64

2009-11-02 Thread Peter Münster
On Sun, Nov 01 2009, Vnpenguin wrote:

  a) (dangerous; I would not do it) install a more recent version of
  libc on your machine
 
 It's NOT possible.

Hello Vnpenguin,

Why not?


  b) we need to set up some virtual machine with an old linux and
  compile binaries there or find someone else with a reasonably old
  64-bit linux server

I could set up such a system, but not immediately (in a few weeks probably).

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


Re: [NTG-context] ConTeXt Minimal: error pdftex on CentOS x86_64

2009-11-02 Thread Peter Münster
On Sun, Nov 01 2009, Vnpenguin wrote:

  xetex
 xetex: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found
 (required by xetex)

Hello,

Here, I don't know how to help. I've these packages on my system:

libstdc++33-3.3.3
libstdc++33-devel-3.3.3
libstdc++41-devel-4.1.3_20080612
libstdc++43-devel-4.3.3_20080904
libstdc++44-4.4.0_20090519
libstdc++-devel-4.3

But I don't know how to select the library for building xetex...

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


Re: [NTG-context] ConTeXt Minimal: error pdftex on CentOS x86_64

2009-11-02 Thread Vnpenguin
On Mon, Nov 2, 2009 at 09:20, Peter Münster pmli...@free.fr wrote:
 On Sun, Nov 01 2009, Vnpenguin wrote:

  a) (dangerous; I would not do it) install a more recent version of
  libc on your machine

 It's NOT possible.

 Hello Vnpenguin,

 Why not?


In our production environment, only RHEL  CentOS are used, and all
installations are up-to-date with main stream distribution. So an
update of glibc is not authorized.
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] IncludePicture problem with adityam / simple-slides

2009-11-02 Thread Thomas A. Schmitz


On Nov 2, 2009, at 7:42 AM, Aditya Mahajan wrote:

Thomas, we would need to update a new version to contextgarden. This  
bug will affect all new versions of mkii.


Aditya,

will do. Are you trying to sort out the problem with the \noexpand in  
simpleslides-s-Split.tex? If so, I would wait a bit... I haven't used  
the module with mkii in a long time, such bugs can indeed go undetected.


Thanks for the fix, and all best

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


Re: [NTG-context] Define exercise captions

2009-11-02 Thread Vyatcheslav Yatskovsky

Hello Aditya,

Thanks for help again. However, the result is far from OK.

[title=yes, text=Вправа, way=bysection, prefix=yes, width=broad]

I use enumeration within subsubsection, namely 1.3.1. If I put 
prefix=yes, the first exercise is 1.3.1.1. That is, it is numbered 
within subsubsection, while I want to be only 
SectionNumber.ExerciseNumber, like 1.1, 1.2, etc.


I suspected that [way=bysection] key does the job but it does nothing in 
this case.


And another major issue is: why the text is put in the frame and is 
either a few centimenters wide (without width=broad) or goes out of the 
page (with width=broad)? I need just ordinary paragraph.



Please, try

\starttext
\defineenumeration[exercise][title=yes, text=Вправа, way=bysection, 
width=broad]


\exercise{Розрахунок кривої, яка з'єднує три точки на площині}
\stoptext


The Вправа is putted twice, next time inside some strange brackets. 
The text gets out of the page.


Looks like a bug in mkiv. Hans, text need to be handled differently in 
descriptions and enumerations.


How to setup so that numeration will be done by subsection (1.1, 1.2, 
etc.)?


prefix=yes,


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


Re: [NTG-context] Getting the width of an expression inside lua

2009-11-02 Thread Matthijs Kooijman
Hi Hans,

thanks for the instant reply :-) I haven't tried your suggestion yet, but I've
got a few questions first.

 \startluacode
 function document.step_one(str)
 tex.sprint(\\setbox0\\hbox{,str,})
Would there be any danger of overwriting an existing box by doing this? I'm
not quite sure how this boxing thing works...

 tex.sprint(\\ctxlua{document.step_two(0)})
I guess this indirection is needed to force the \setbox command to be
expanded? I guess tex.sprint doesn't expand its arguments immediately, so just
putting document.step_two(0) instead of the entire tex.sprint(\\ctxlua...
won't work...

I'm using this from inside a pretty printer, so I'd have to think a bit about
how to set this up so things run inside the right context and stuff, but I
guess that should work out. Still slightly more complicated that a direct How
wide is this thing function, though.

 function document.step_two(n)
 tex.sprint(width: ,tex.wd[0])
 end
I gues you mean tex.wd[n] here, but whatever :-)

 \ctxlua{document.step_one(test {\\bf test} test)}
 
 \box0
Why is this \box0 needed? Just to show the test test test output? AFAICS, the
width of the box will be displayed always, even without this?

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


Re: [NTG-context] Getting the width of an expression inside lua

2009-11-02 Thread Hans Hagen

Matthijs Kooijman wrote:

Hi Hans,

thanks for the instant reply :-) I haven't tried your suggestion yet, but I've
got a few questions first.


\startluacode
function document.step_one(str)
tex.sprint(\\setbox0\\hbox{,str,})

Would there be any danger of overwriting an existing box by doing this? I'm
not quite sure how this boxing thing works...


well, you can allocate a box for that purpose


tex.sprint(\\ctxlua{document.step_two(0)})

I guess this indirection is needed to force the \setbox command to be
expanded? I guess tex.sprint doesn't expand its arguments immediately, so just
putting document.step_two(0) instead of the entire tex.sprint(\\ctxlua...
won't work...

I'm using this from inside a pretty printer, so I'd have to think a bit about
how to set this up so things run inside the right context and stuff, but I
guess that should work out. Still slightly more complicated that a direct How
wide is this thing function, though.


function document.step_two(n)
tex.sprint(width: ,tex.wd[0])
end

I gues you mean tex.wd[n] here, but whatever :-)


\ctxlua{document.step_one(test {\\bf test} test)}

\box0

Why is this \box0 needed? Just to show the test test test output? AFAICS, the
width of the box will be displayed always, even without this?


just try ..

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


[NTG-context] leqalignno and labels

2009-11-02 Thread Pau
Hello,

thanks again for all answers regarding labelling. It has mostly worked but I am
now having a particular problem with leqalignno.

It turns out that the \placeformula[mylabel] works as expected but for
\leqalignno

This is an example:

--
\placeformula[Pflux]
\startformula
\leqalignno{
 f_{q}^{p}(v) = \frac{32}{5} \nu^{10} v^{10} \left[1 +
\log\left(v\right) \left(\sum_{i\geq6}^{k} \ell_{i} v^{i} \right)
\right]\cr
 \times P_{q}^{p} \left[\left(1 - \frac{v}{v_{\p}} \right)
\sum_{i=0}^{k} {\cal{F}}_{i}^{\lf} v^{i} \right],\cr
   }
\stopformula
--

Then, when doing  Eq.~\in[Pflux] in the text, it will produce an ?? in
the resulting pdf.

Any help will be appreciated.

Thanks,

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


Re: [NTG-context] Producing PDF x/1-a:2001 output.

2009-11-02 Thread John Culleton
On Friday 30 October 2009 14:24:10 Hans Hagen wrote:
 John Culleton wrote:
  The needed files and the documentation for pdfx.sty are 
located
  here:
  http://www.ctan.org/tex-archive/macros/latex/contrib/pdfx/
 
 
  The files in the package include:
 
 
  README
  glyphtounicode-cmr.tex
  manifest.txt
  pdfa-1b.xmp
  pdfx-1a.xmp
  pdfx.pdf
  pdfx.sty
  small2e.pdf
  small2e.tex
  small2e.xmpdata

 hm, so you want me to reverse engineer latex code ... (which 
probably
 costs me more time than figuring it out from specs)

 anyhow, from the filename i conclude that

 - it has to do with unicode maps (is already supported)
 - xmp data (this big xml blob in pdf files)

 xmp is not yet supported but is probably as trivial (as it is 
useless);
 i'll look it up in the spec

 Hans

The major thing about pdf x/1-a:2001 is that it limits what you can 
do, for example no RGB, no transparencies as such, no layers and 
file must be flattened. Fonts must be embedded but that is 
required in any case. 

The documentation for pdfx goes through the source section by 
section and discusses what each does.  

HTH
-- 
John Culleton
Create Book Covers with Scribus
http://www.booklocker.com/books/4055.html
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Some math symbols fail in MetaPost in MKIV

2009-11-02 Thread Andreas Schneider
Hi,

as it seems, some symbols in math mode seem to fail when put inside 
MetaPost. In the example I tried, both ~ and | were causing processing 
errors when used inside MetaPost (I tried both btex...etex as well as 
\sometxt). It works fine in MKII however.

The minimal example is attached to this mail.

Best Regards,
Andreas.\starttext
  The \quote{formula} as it should look like: $a~b|c$.

  Metapost:
  \startMPcode
label(\sometxt{$a~b|c$}, (0, 0));
  \stopMPcode
\stoptext

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


Re: [NTG-context] Producing PDF x/1-a:2001 output.

2009-11-02 Thread Hans Hagen

John Culleton wrote:

The documentation for pdfx goes through the source section by 
section and discusses what each does.  


it's easier for me to preflight a file and see what acrobat reports

btw, things like color and fonts are easy as one can configure this; and 
there might be a few additional resources needed but that's easy


in my experience the problem is more with embedded graphics and these 
are out of our control


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


[NTG-context] possible to run minimal in cygwin?

2009-11-02 Thread Chen Shen
Hi all,

I wonder if it possible to run the MSWin version of context-minimal under
Cygwin.
I want to use Makefile and other unix tools to automate my build process.

I tried modifying the context/tex/setuptex script, and manually set the
platform variable to mswin,
but when I ran context.cmd, I saw the following error message. The
texmf-cache path actually exists.
Any hint? Thanks a lot!

==begin cut===
[administra...@cygwin test]$ context.cmd test1

Should I create the cache path /cygdrive/c/usr/docs/context/tex/texmf-cache?
[ye
s|no] [no]

Should I create the cache path /cygdrive/c/usr/docs/context/tex/texmf-cache?
[ye
s|no] [no]
MTXrun | unknown script 'context.lua' or 'mtx-context.lua'

==end cut===

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


Re: [NTG-context] Define exercise captions

2009-11-02 Thread Longmin Wang
On Mon, Nov 02, 2009 at 01:31:02PM +0200, Vyatcheslav Yatskovsky wrote:
Hello Aditya,

Thanks for help again. However, the result is far from OK.

[title=yes, text=Вправа, way=bysection, prefix=yes, width=broad]

I use enumeration within subsubsection, namely 1.3.1. If I put 
prefix=yes, the first exercise is 1.3.1.1. That is, it is numbered 
within subsubsection, while I want to be only 
SectionNumber.ExerciseNumber, like 1.1, 1.2, etc.

You may try prefixset=section. 


I suspected that [way=bysection] key does the job but it does nothing in 
this case.

And another major issue is: why the text is put in the frame and is 
either a few centimenters wide (without width=broad) or goes out of the 
page (with width=broad)? I need just ordinary paragraph.

 Please, try

 \starttext
 \defineenumeration[exercise][title=yes, text=Вправа, way=bysection, 
 width=broad]

 \exercise{Розрахунок кривої, яка з'єднує три точки на площині}
 \stoptext


 The Вправа is putted twice, next time inside some strange brackets. 
 The text gets out of the page.

 Looks like a bug in mkiv. Hans, text need to be handled differently in 
 descriptions and enumerations.

 How to setup so that numeration will be done by subsection (1.1, 1.2, 
 etc.)?

 prefix=yes,

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

-- 
Longmin Wang longminw...@gmail.com
Math. Dept., Nankai Univ., China
http://math.nankai.edu.cn/~wanglm/
GnuPG-Key ID: 1024D/2A5CFA5C
Fingerprint: 8587 1246 3AAD C185 D419  ADF1 B620 D8B8 2A5C FA5C
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] possible to run minimal in cygwin?

2009-11-02 Thread Taco Hoekwater


Chen Shen wrote:
 Hi all,
 
 I wonder if it possible to run the MSWin version of context-minimal
 under Cygwin.
 I want to use Makefile and other unix tools to automate my build process.

Whether you are a windows person or a unix person: if you want to add
enormous confusion to your life, start using cygwin!

If you have to stay with windows, why not use a more 'normal' make
port like the one in mingw32?

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


Re: [NTG-context] possible to run minimal in cygwin?

2009-11-02 Thread Bryant Eastham
I am doing exactly the same thing as you want. I believe your problem is in 
keeping your worlds (Windows/Cygwin) straight. It appears that you have 
installed minimals “inside” cygwin (depending on whether your /usr directory is 
your cygwin /usr directory).

 

I installed minimals “normally”, as it is a Windows application. I ran the 
context setups from Windows. Then I can build with no problems from within 
cygwin by running the minimals cmd files (although you must specify the 
extension from within cygwin). I did not have to modify any files at all.

 

So far, no problems. Just remember to keep your path information in “Windows” 
format, not cygwin.

 

-Bryant

 

From: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] On Behalf 
Of Chen Shen
Sent: Monday, November 02, 2009 7:03 AM
To: mailing list for ConTeXt users
Subject: [NTG-context] possible to run minimal in cygwin?

 

Hi all,

 

I wonder if it possible to run the MSWin version of context-minimal under 
Cygwin.

I want to use Makefile and other unix tools to automate my build process.

 

I tried modifying the context/tex/setuptex script, and manually set the 
platform variable to mswin,

but when I ran context.cmd, I saw the following error message. The texmf-cache 
path actually exists.

Any hint? Thanks a lot!

 

==begin cut===

[administra...@cygwin test]$ context.cmd test1

 

Should I create the cache path /cygdrive/c/usr/docs/context/tex/texmf-cache? [ye

s|no] [no]

 

Should I create the cache path /cygdrive/c/usr/docs/context/tex/texmf-cache? [ye

s|no] [no]

MTXrun | unknown script 'context.lua' or 'mtx-context.lua'

 

==end cut===

 

regards,

shenchen

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


Re: [NTG-context] IncludePicture problem with adityam / simple-slides

2009-11-02 Thread Aditya Mahajan

On Mon, 2 Nov 2009, Glen Callaghan wrote:


Sorry Aditya, my comments on the \noexpand command weren't quite accurate.

In the earlier version of simple-slides, leaving out the \noexpand working, 
and the header and footer information worked properly.


In the new version (with the IncludePicture fix), leaving out \noexpand just 
results in the text empty appearing at 3 (of the 4) header/footer 
positions.


Is it something to do with using variables instead of moduleparameters? 
.. not that I know what they are :-)


Yes. It should have been \getvariables{...}{...}. I forgot to correct 
that.


Check out the newer version on github. Thanks for reporting these bugs.

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

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


Re: [NTG-context] IncludePicture problem with adityam / simple-slides

2009-11-02 Thread Aditya Mahajan

On Mon, 2 Nov 2009, Thomas A. Schmitz wrote:



On Nov 2, 2009, at 7:42 AM, Aditya Mahajan wrote:

Thomas, we would need to update a new version to contextgarden. This bug 
will affect all new versions of mkii.


will do. Are you trying to sort out the problem with the \noexpand in 
simpleslides-s-Split.tex? If so, I would wait a bit... I haven't used the 
module with mkii in a long time, such bugs can indeed go undetected.


Thomas,

I have corrected that. I also don't use the module with mkii, so at some 
point we need to properly test everything with mkii again.


I haven't updated the documentation (two new styles, BoxedTitle and 
PlainCounter), but that can wait. Please upload the current version of the 
module to the garden.



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

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


Re: [NTG-context] Some math symbols fail in MetaPost in MKIV

2009-11-02 Thread Aditya Mahajan

On Mon, 2 Nov 2009, Andreas Schneider wrote:


Hi,

as it seems, some symbols in math mode seem to fail when put inside
MetaPost. In the example I tried, both ~ and | were causing processing
errors when used inside MetaPost (I tried both btex...etex as well as
\sometxt). It works fine in MKII however.

The minimal example is attached to this mail.


I don't know how to prevent expansion of ~ and | inside mp.  Hans, can you 
please check what is the right way to correct this.


However, note that ~ does not make sense in math mode anyways. As a 
work-around, you can use $a\ b\vert c$ inside metapost.


Aditya


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

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


Re: [NTG-context] mkiv: missing \colon, \colonequals is just an equality sign

2009-11-02 Thread Aditya Mahajan

On Sun, 1 Nov 2009, Jesse Alama wrote:

It seems that \colon is missing and \colonequals is mapped to the wrong 
symbol in the latest mkiv (I'm using the minimals).  A minimal example:


\starttext
\startitemize
\item $\colon$
\item $\colonequals$
\stopitemize
\stoptext

No colon is generated from the first command (in fact, nothing at all 
appears), and the $\colonequals$ produces an equality sign, not a :=.


I am not sure what is the right way to fix this. I am attaching a patch 
that works, but this might break the mathdesign virtual fonts. In that 
case, we need separate vectors for gyre and mathdesign.


Apply this to math-vfu.lua and regenerate formats.

Adityadiff --git a/math-vfu.lua b/math-vfu.lua
index 38826f3..5831a55 100644
--- a/math-vfu.lua
+++ b/math-vfu.lua
@@ -619,17 +619,17 @@ fonts.enc.math[tex-ex] = {
 -- font as main font
 
 fonts.enc.math[tex-mr] = {
-[0x00393] = 0x00, -- Gamma
-[0x00394] = 0x01, -- Delta
-[0x00398] = 0x02, -- Theta
-[0x0039B] = 0x03, -- Lambda
-[0x0039E] = 0x04, -- Xi
-[0x003A0] = 0x05, -- Pi
-[0x003A3] = 0x06, -- Sigma
-[0x003A5] = 0x07, -- Upsilon
-[0x003A6] = 0x08, -- Phi
-[0x003A8] = 0x09, -- Psi
-[0x003A9] = 0x0A, -- Omega
+--  [0x00393] = 0x00, -- Gamma
+--  [0x00394] = 0x01, -- Delta
+--  [0x00398] = 0x02, -- Theta
+--  [0x0039B] = 0x03, -- Lambda
+--  [0x0039E] = 0x04, -- Xi
+--  [0x003A0] = 0x05, -- Pi
+--  [0x003A3] = 0x06, -- Sigma
+--  [0x003A5] = 0x07, -- Upsilon
+--  [0x003A6] = 0x08, -- Phi
+--  [0x003A8] = 0x09, -- Psi
+--  [0x003A9] = 0x0A, -- Omega
 --  [0x00060] = 0x12, -- [math]grave
 --  [0x000B4] = 0x13, -- [math]acute
 --  [0x002C7] = 0x14, -- [math]check
@@ -647,29 +647,29 @@ fonts.enc.math[tex-mr] = {
 --  [0x0003D] = 0x3D, -- =
 --  [0x0003E] = 0x3E, -- 
 --  [0x0003F] = 0x3F, -- ?
-[0x00391] = 0x41, -- Alpha
-[0x00392] = 0x42, -- Beta
+--  [0x00391] = 0x41, -- Alpha
+--  [0x00392] = 0x42, -- Beta
 [0x02145] = 0x44,
-[0x00395] = 0x45, -- Epsilon
-[0x00397] = 0x48, -- Eta
-[0x00399] = 0x49, -- Iota
-[0x0039A] = 0x4B, -- Kappa
-[0x0039C] = 0x4D, -- Mu
-[0x0039D] = 0x4E, -- Nu
-[0x0039F] = 0x4F, -- Omicron
-[0x003A1] = 0x52, -- Rho
-[0x003A4] = 0x54, -- Tau
-[0x003A7] = 0x58, -- Chi
-[0x00396] = 0x5A, -- Zeta
+--  [0x00395] = 0x45, -- Epsilon
+--  [0x00397] = 0x48, -- Eta
+--  [0x00399] = 0x49, -- Iota
+--  [0x0039A] = 0x4B, -- Kappa
+--  [0x0039C] = 0x4D, -- Mu
+--  [0x0039D] = 0x4E, -- Nu
+--  [0x0039F] = 0x4F, -- Omicron
+--  [0x003A1] = 0x52, -- Rho
+--  [0x003A4] = 0x54, -- Tau
+--  [0x003A7] = 0x58, -- Chi
+--  [0x00396] = 0x5A, -- Zeta
 --  [0x0005B] = 0x5B, -- [
 --  [0x0005D] = 0x5D, -- ]
 --  [0x0005E] = 0x5E, -- [math]hat -- the text one
-[0x00302] = 0x5E, -- [math]hat -- the real math one
+--  [0x00302] = 0x5E, -- [math]hat -- the real math one
 --  [0x002D9] = 0x5F, -- [math]dot
 [0x02146] = 0x64,
 [0x02147] = 0x65,
 --  [0x002DC] = 0x7E, -- [math]tilde -- the text one
-[0x00303] = 0x7E, -- [math]tilde -- the real one
+--  [0x00303] = 0x7E, -- [math]tilde -- the real one
 --  [0x000A8] = 0x7F, -- [math]ddot
 }
 
@@ -1335,7 +1335,7 @@ fonts.vf.math.set_digits (fonts.enc.math, tex-bf, 
0x1D7CE)
 
 mathematics.make_font ( lmroman5-math, {
 { name = lmroman5-regular.otf, features = virtualmath, main = true },
- -- { name = rm-lmr5.tfm, vector = tex-mr } ,
+{ name = rm-lmr5.tfm, vector = tex-mr } ,
 { name = lmmi5.tfm, vector = tex-mi, skewchar=0x7F },
 { name = lmsy5.tfm, vector = tex-sy, skewchar=0x30, parameters = true 
} ,
 { name = lmex10.tfm, vector = tex-ex, extension = true } ,
@@ -1356,7 +1356,7 @@ mathematics.make_font ( lmroman5-math, {
 
 mathematics.make_font ( lmroman6-math, {
 { name = lmroman6-regular.otf, features = virtualmath, main = true },
- -- { name = rm-lmr6.tfm, vector = tex-mr } ,
+{ name = rm-lmr6.tfm, vector = tex-mr } ,
 { name = lmmi6.tfm, vector = tex-mi, skewchar=0x7F },
 { name = lmsy6.tfm, vector = tex-sy, skewchar=0x30, parameters = true 
} ,
 { name = lmex10.tfm, vector = tex-ex, extension = true } ,
@@ -1380,7 +1380,7 @@ mathematics.make_font ( lmroman6-math, {
 
 mathematics.make_font ( lmroman7-math, {
 { name = lmroman7-regular.otf, features = virtualmath, main = true },
- -- { name = rm-lmr7.tfm, vector = tex-mr } ,
+{ name = rm-lmr7.tfm, vector = tex-mr } ,
 { name = lmmi7.tfm, vector = tex-mi, skewchar=0x7F },
 { name = lmsy7.tfm, vector = tex-sy, skewchar=0x30, parameters = true 
} ,
 { name = lmex10.tfm, vector = tex-ex, extension = true } ,
@@ -1402,7 +1402,7 @@ mathematics.make_font ( lmroman7-math, {
 
 mathematics.make_font ( lmroman8-math, {
 { name = lmroman8-regular.otf, features = virtualmath, main = true },
- -- { name = rm-lmr8.tfm, vector = tex-mr } ,
+{ name = rm-lmr8.tfm, vector = tex-mr } ,
 { name = lmmi8.tfm, vector = tex-mi, skewchar=0x7F },
 { name = lmsy8.tfm, vector = tex-sy, 

Re: [NTG-context] leqalignno and labels

2009-11-02 Thread Aditya Mahajan

On Mon, 2 Nov 2009, Pau wrote:


Hello,

thanks again for all answers regarding labelling. It has mostly worked but I am
now having a particular problem with leqalignno.

It turns out that the \placeformula[mylabel] works as expected but for
\leqalignno

This is an example:

--
\placeformula[Pflux]
\startformula
\leqalignno{
f_{q}^{p}(v) = \frac{32}{5} \nu^{10} v^{10} \left[1 +
\log\left(v\right) \left(\sum_{i\geq6}^{k} \ell_{i} v^{i} \right)
\right]\cr
\times P_{q}^{p} \left[\left(1 - \frac{v}{v_{\p}} \right)
\sum_{i=0}^{k} {\cal{F}}_{i}^{\lf} v^{i} \right],\cr
  }
\stopformula
--

Then, when doing  Eq.~\in[Pflux] in the text, it will produce an ?? in
the resulting pdf.


Don't use \leqalignno and friends in ConTeXt. Instead use the ConTeXt 
equivalents.


\setupformulas[location=left]

\starttext
\placeformula[Pflux]
\startformula \startalign
  \NC f_{q}^{p}(v) \NC = \frac{32}{5} \nu^{10} v^{10} \left[1 +
\log\left(v\right) \left(\sum_{i\geq6}^{k} \ell_{i} v^{i} \right)
\right]\NR[+]
 \NC \NC \times P_{q}^{p} \left[\left(1 - \frac{v}{v_{p}} \right)
\sum_{i=0}^{k} {\cal{F}}_{i}^{lf} v^{i} \right], \NR
\stopalign \stopformula
\stoptext


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

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


Re: [NTG-context] How to make an accent

2009-11-02 Thread Arthur Reutenauer
 Not sure, but if that letter exists in unicode and not in your font

  No, the letter doesn't exist at all in Unicode, and most likely won't be
encoded in the future either, due to the rule known as normalization
stability.  Generally speaking, you have to input it as Cyrillic a followed by
combining acute accent, from the Unicode point of view.  Inside TeX, you should
of course build it with an accent macro.

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


Re: [NTG-context] Where is the bib module link?

2009-11-02 Thread Xan

Xan wrote:
/ Hi,
// 
// If you go to http://modules.contextgarden.net/bib, you get a message 
// that no bib module is avaliable. I suppose that you remove the page 
// because bib (will?) is integraded in ConTeXt release. But, can you 
// restore the link or at least put the documentation module avaliable 
// somewhere? The pdf documentation was very good for consulting options...

/
Assuming you are using the minimals, the file should be on your harddisk
as texroot/texmf-context/doc/context/bib/bibmod-doc.pdf



I was refering to restore bib documentation _in the web_
Before, it was good to consult in modules.contextgarden.net/bib all the 
documentation,
prerequisites, and etc of bib module (as other modules)

Xan.

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


Re: [NTG-context] Where is the bib module link?

2009-11-02 Thread Aditya Mahajan

On Mon, 2 Nov 2009, Xan wrote:


Xan wrote:
/ Hi,
// // If you go to http://modules.contextgarden.net/bib, you get a 
message // that no bib module is avaliable. I suppose that you remove the 
page // because bib (will?) is integraded in ConTeXt release. But, can you 
// restore the link or at least put the documentation module avaliable // 
somewhere? The pdf documentation was very good for consulting options...

/
Assuming you are using the minimals, the file should be on your harddisk
as texroot/texmf-context/doc/context/bib/bibmod-doc.pdf



I was refering to restore bib documentation _in the web_
Before, it was good to consult in modules.contextgarden.net/bib all the 
documentation,

prerequisites, and etc of bib module (as other modules)


Actually, the documentation on disk is also missing from the minimals.

$find /opt/context-minimals -name *bib* 
/opt/context-minimals/texmf-context/tex/context/bib

/opt/context-minimals/texmf-context/tex/context/bib/bibl-aps.tex
/opt/context-minimals/texmf-context/tex/context/bib/bibl-num-fr.tex
/opt/context-minimals/texmf-context/tex/context/bib/bibl-apa-fr.tex
/opt/context-minimals/texmf-context/tex/context/bib/bibl-apa-de.tex
/opt/context-minimals/texmf-context/tex/context/bib/bibl-num.tex
/opt/context-minimals/texmf-context/tex/context/bib/bibl-ssa.tex
/opt/context-minimals/texmf-context/tex/context/bib/bibl-ams.tex
/opt/context-minimals/texmf-context/tex/context/bib/bibl-apa.tex
/opt/context-minimals/texmf-context/tex/context/base/bibl-bib.mkiv
/opt/context-minimals/texmf-context/tex/context/base/bibl-tra.mkii
/opt/context-minimals/texmf-context/tex/context/base/bibl-tst.lua
/opt/context-minimals/texmf-context/tex/context/base/bibl-bib.lua
/opt/context-minimals/texmf-context/tex/context/base/bibl-tra.lua
/opt/context-minimals/texmf-context/tex/context/base/bibl-tra.mkiv
/opt/context-minimals/texmf-context/bibtex
/opt/context-minimals/texmf-linux-64/bin/bibtex

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


[NTG-context] Metapost and MPlib

2009-11-02 Thread batela

Dear Sirs

I would like to include some macros from 
http://melusine.eu.org/syracuse/poulecl/macros in my luatex documents. 
Every time i try to include a new example (from papier.mp, par example) 
i found this old error message:;  texnum.mp Unable to make mpx file.


init_numbers(btex $-$ etex,  btex$$etex, btex ${\times}$10etex

in the google i found a old solution for this kind of error, but for 
LaTeX not for mplib or LuaTeX.


Is there a fresh solution for that?

Syracuse provide to us a nice solutions for writing  maths and physics 
with metapost.


Thanks a lot.

Jorge




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


Re: [NTG-context] IncludePicture problem with adityam / simple-slides

2009-11-02 Thread Thomas A. Schmitz


On Nov 2, 2009, at 6:05 PM, Aditya Mahajan wrote:


Thomas,

I have corrected that. I also don't use the module with mkii, so at  
some point we need to properly test everything with mkii again.


I haven't updated the documentation (two new styles, BoxedTitle and  
PlainCounter), but that can wait. Please upload the current version  
of the module to the garden.



Aditya


Done. Thanks for fixing this, and Glen, thanks for the bug report!

Best

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


Re: [NTG-context] How to make an accent

2009-11-02 Thread Vyatcheslav Yatskovsky

Thanks, Arthur, for explanations. It works now via macro and I'm happy )

   No, the letter doesn't exist at all in Unicode, and most likely won't be
encoded in the future either, due to the rule known as normalization
stability.  Generally speaking, you have to input it as Cyrillic a followed by
combining acute accent, from the Unicode point of view.  Inside TeX, you should
of course build it with an accent macro.
   

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


Re: [NTG-context] Define exercise captions

2009-11-02 Thread Vyatcheslav Yatskovsky

Hello,

I want to be only
ExerciseSectionNumber.ExerciseNumber, like 1.1, 1.2, etc.
 

You may try prefixset=section.

   
Thank you, Longmin, for your suggestion, it works! But other problems 
persist.


Hans (or someone else who can fix it), please, look into my minimal example:


\defineenumeration[exercise][title=yes, text=Exercise, prefix=yes, 
prefixset=section, width=fit] %way=bysection,


\starttext
\exercise{Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla 
Bla-bla-bla}


Bla-bla-bla
\stoptext


1) the text is framed in odd manner and goes out of the page

2) the caption text is put into unexpected round brackets

3) the word Exercise is repeated twice, second time inside brackets 
before caption text.


Please, fix it because I use it. If it's impossible at the moment, 
please, suggest me another way of achieving this.


Reagards,
Vyatchelsav


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


[NTG-context] Math setup with TimesNR

2009-11-02 Thread Vyatcheslav Yatskovsky

Hello,

I still need help with math. I created the following setup file which 
utilizes Windows standard Times New Roman font.


In general, math symbols are displayed correctly (!), but Latin letters 
in formulas are not italic but regular. Where should I start tuning up 
to get italic Latin letters?


\starttypescript [serif] [TimesNR]

\definefontsynonym [Serif] [times.ttf] [features=default]

\definefontsynonym [SerifBold] [timesbd.ttf] [features=default]

\definefontsynonym [SerifBoldItalic] [timesbi.ttf] [features=default]

\definefontsynonym [SerifItalic] [timesi.ttf] [features=default]

\stoptypescript


\starttypescript [math][TimesNR][all]

\definefontsynonym[mathroman][txm...@tx-math]

\loadmapfile[original-youngryu-tx.map]

\stoptypescript

\starttypescript [TimesNR]

\definetypeface [TimesNR] [rm] [serif] [TimesNR] [default]

\definetypeface [TimesNR] [mm] [math] [TimesNR] [default]

\stoptypescript


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


[NTG-context] How to set \tfa to 10pt?

2009-11-02 Thread Vyatcheslav Yatskovsky

Hello,

I use TimesNR 11pt as body font. How to instruct ConTeXt Mkiv that I 
want \tfx to be exactly 10pt?


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


Re: [NTG-context] How to set \tfa to 10pt?

2009-11-02 Thread Idris Samawi Hamid ادريس سماوي حامد

Hi,

On Mon, 02 Nov 2009 17:10:42 -0700, Vyatcheslav Yatskovsky  
yatskov...@gmail.com wrote:


I use TimesNR 11pt as body font. How to instruct ConTeXt Mkiv that I  
want \tfx to be exactly 10pt?


You can do that in a typescript, after defining

\starttypescript [serif] [myfont] [name]

etc:

\starttypescript [serif] [myfont] [size]
\definebodyfont [9pt,10pt,11pt,12pt,14.4pt]
[rm]
[tfx=Serif sa .9]
\stoptypescript

etc.

I've used this technique plenty of times in mkii, but there _may_ be  
subtleties in mkiv for your case, so experiment.


Best wishes
Idris

--
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

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


Re: [NTG-context] IncludePicture problem with adityam / simple-slides

2009-11-02 Thread Glen Callaghan

That worked, thanks.

BTW - I had lots of trouble trying to download from github.  I only  
got a html file (worked ok the previous time).  I ended up copying the  
text from the Split file and pasting it over the text in my file here.



thanks again
Glen

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


Re: [NTG-context] How to set \tfa to 10pt?

2009-11-02 Thread Idris Samawi Hamid ادريس سماوي حامد
On Mon, 02 Nov 2009 17:23:05 -0700, Idris Samawi Hamid ادريس   سماوي حامد  
isha...@colostate.edu wrote:




Hi,

On Mon, 02 Nov 2009 17:10:42 -0700, Vyatcheslav Yatskovsky  
yatskov...@gmail.com wrote:


I use TimesNR 11pt as body font. How to instruct ConTeXt Mkiv that I  
want \tfx to be exactly 10pt?


You can do that in a typescript, after defining

\starttypescript [serif] [myfont] [name]

etc:

\starttypescript [serif] [myfont] [size]
\definebodyfont [9pt,10pt,11pt,12pt,14.4pt]
[rm]
[tfx=Serif sa .9]
\stoptypescript

etc.


Don't forget to add the [size] parameter to your typeface in your final  
typescript eg:


\definetypeface [serif] [rm] [myfont] [name] [size]

Idris

--
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

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


Re: [NTG-context] possible to run minimal in cygwin?

2009-11-02 Thread Chen Shen
Hi Bryant,

Thanks a lot! I got it working with your suggestion.
The exact sequence was:
 1. install ConTeXt in DOS cmd
 2. run setuptex.bat in DOS cmd
 3. enter cygwin by running cygwin.bat
 4. in cygwin prompt, run   context.cmd test.tex

Our docbook-pdf/html flow was developed in unix. But I need to port it to
Windows now for my colleagues.

regards,
shenchen


On Mon, Nov 2, 2009 at 11:00 PM, Bryant Eastham 
beast...@pewla.us.pewg.panasonic.com wrote:

  I am doing exactly the same thing as you want. I believe your problem is
 in keeping your worlds (Windows/Cygwin) straight. It appears that you have
 installed minimals “inside” cygwin (depending on whether your /usr directory
 is your cygwin /usr directory).



 I installed minimals “normally”, as it is a Windows application. I ran the
 context setups from Windows. Then I can build with no problems from within
 cygwin by running the minimals cmd files (although you must specify the
 extension from within cygwin). I did not have to modify any files at all.



 So far, no problems. Just remember to keep your path information in
 “Windows” format, not cygwin.



 -Bryant



 *From:* ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] *On
 Behalf Of *Chen Shen
 *Sent:* Monday, November 02, 2009 7:03 AM
 *To:* mailing list for ConTeXt users
 *Subject:* [NTG-context] possible to run minimal in cygwin?



 Hi all,



 I wonder if it possible to run the MSWin version of context-minimal under
 Cygwin.

 I want to use Makefile and other unix tools to automate my build process.



 I tried modifying the context/tex/setuptex script, and manually set the
 platform variable to mswin,

 but when I ran context.cmd, I saw the following error message. The
 texmf-cache path actually exists.

 Any hint? Thanks a lot!



 ==begin cut===

 [administra...@cygwin test]$ context.cmd test1



 Should I create the cache path
 /cygdrive/c/usr/docs/context/tex/texmf-cache? [ye

 s|no] [no]



 Should I create the cache path
 /cygdrive/c/usr/docs/context/tex/texmf-cache? [ye

 s|no] [no]

 MTXrun | unknown script 'context.lua' or 'mtx-context.lua'



 ==end cut===



 regards,

 shenchen


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


Re: [NTG-context] Define exercise captions

2009-11-02 Thread Aditya Mahajan

On Tue, 3 Nov 2009, Vyatcheslav Yatskovsky wrote:


Hello,

I want to be only
ExerciseSectionNumber.ExerciseNumber, like 1.1, 1.2, etc.


You may try prefixset=section.


Thank you, Longmin, for your suggestion, it works! But other problems 
persist.


Hans (or someone else who can fix it), please, look into my minimal example:


\defineenumeration[exercise][title=yes, text=Exercise, prefix=yes, 
prefixset=section, width=fit] %way=bysection,


\starttext
\exercise{Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla 
Bla-bla-bla}


Bla-bla-bla
\stoptext


1) the text is framed in odd manner and goes out of the page


I don't know what you mean by this.


2) the caption text is put into unexpected round brackets


That is the expected behaviour. If you do not want the brackets, you can 
add


titleleft=, titleright=

3) the word Exercise is repeated twice, second time inside brackets before 
caption text.


This is already fixed in the latest beta.

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

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


Re: [NTG-context] IncludePicture problem with adityam / simple-slides

2009-11-02 Thread Glen Callaghan

That worked, thanks.

BTW - I had lots of trouble trying to download from github.  I only  
got a html file (worked ok the previous time).  I ended up copying the  
text from the Split file and pasting it over the text in my file here.



thanks again
Glen


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