Re: [NTG-context] issue with imposition

2009-01-19 Thread Pablo Rodríguez

Pablo Rodríguez wrote:

Willi Egger wrote:

Hi Pablo,

The problem is that the filius-page is higher than the width of an A4. 
So there is no way other than to scale the original pages down to a 
height of 210mm. For this action you can use something like


Thanks for your fast reply. I thought it was possible to set center the 
imposed pages, both vertically and horizontally, to define a


Sorry, Willi, I sent the reply before it was finished :-(.

What I thought possible was to center the imposed pages both vertically 
and horizontally to define smaller paper dimension where some content 
beyond the page boundaries (which actually would be empty because of the 
page margins).


In the attached image, it is shown what I intend in the upper figure and 
what I get in the lower figure.


Thanks for your help,


Pablo


The following code in a tex-file.

\definepapersize[Mypaper][height=210mm,width=123mm]
\setuppapersize
  [Mypaper][Mypaper]
\setuplayout
  [page]
\starttext
\copypages
  [input.pdf]
  [scale=905,
   offset=0pt]
\stoptext

The resulting pdf-file should then be arranged. However I would  
suggest not to use 2UP.  Arranging the whole file (351 pages) with 2UP 
results in a rather thick single booklet of 88 A4-sheets. What you can 
try is to setup arranging as follows (untested). Put this code into an 
environment file e.g. arrange.tex


Thanks for the code bellow, but I'm not trying to make a booklet, but to 
print the book to cut the paper in two pieces to bound it.


Thanks anyway,


Pablo



\definepapersize[Mypaper][height=210mm,width=123mm]
%\definepapersize [offset=15pt]   \setuppapersize
  [Mypaper][A4,portrait]
\setuplayout
  [backspace=0pt,
  topspace=0pt,
 width=middle,
 height=middle,
 %location=middle,
 header=0pt,
 footer=0pt]
\setuppagenumbering[location=,alternative=doublesided]
\setuparranging[2*2*4]
\starttext
\insertpages[input-scaled.pdf][width=0pt]
\stoptext

On the commandline call conTeXt as follows

texmfstart texexec --pdfarrange --environments=arrange 
--result=output.pdf  input-scaled.pdf


I hope this helps

Willi

On Jan 18, 2009, at 8:05 PM, Pablo Rodríguez wrote:


Hi there,

I would like to use the imposition capabilities from ConTeXt to be able
to print a PDF book in a standard laser printer. To save paper, I use 
the 2UP arranging option thanks to this code from the wiki:


\definepapersize[filius][width=135.9mm, height=231.8mm]
\setuppapersize[filius][A4,landscape]
\setuparranging[2UP,doublesided]
\setuplayout [backspace=0pt,
topspace=0pt,
   width=middle,
  height=middle,
location=middle,
  header=0pt,
  footer=0pt,
  grid=no, marking=off]
\starttext
\filterpages[ZittrainTheFutureoftheInternet.pdf][4:351][height=21cm]
\stoptext

The PDF file can be downloaded from
http://futureoftheinternet.org/static/ZittrainTheFutureoftheInternet.pdf. 



The issue here is that I get a resulting paper size with the filius 
height and not with 21cm from A4.


I have tried have the output in a standard A4 paper size, but all 
that I got is a scaled down PDF. I would like to avoid scaling the 
document if that were possible.


Is there any way, given the example above, to impose the filius paper 
size on a real landscape A4 without having to scale down the PDF 
document?


Thanks for your help,


Pablo


___ 

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
___ 



inline: imposing.png___
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] Math align with \startcases

2009-01-19 Thread Otared Kavian

Hi everyone,

This question is primarily intended for Aditya… but I guess other  
fellows on the list can also help me solve the following alignment  
problem:
Is it possible to have an alignment like the rsult of the following  
with \startcases...\stopcases?


\starttext

\startformula
 \startmatrix[align={right,left,right},distance=3pt,left={\left\{},  
right={\right.}]

   \NC -\Delta u + g(u) \NC{} = f \NC \quad\mbox{in } \Omega\NR
   \NC \displaystyle {\partial u \over \partial {\bf n} } \NC{} =  
h(u) \NC \quad\mbox{on } \partial\Omega   \NR

 \stopmatrix
\stopformula

\stoptext

Actually I used to have such alignments with the following structure  
(in good old plain TeX...):


\starttext

\startformula
\cases{
\eqalign{
 -\Delta u + g(u) = f \cr
 \displaystyle {\partial u \over \partial {\bf n} } = h(u) \cr
} \quad \eqalign{
\hbox{in } \Omega \cr
\vphantom{{\partial u \over \partial {\bf n} }} \hbox{on } \partial 
\Omega \cr

}
}
\stopformula

\stoptext

(which gives approximately the same result as the first example above,  
but clearly the math-alignment structure set up by Aditya and Hans is  
much more elegant. (Although I prefer the vertical distance between  
the lines obtained with my plain TeX structure: by the way is it  
possible to fine tune such things in ConTeXt).
So my question is: whether one can use \startcases ...\stopcases  
instead of \startmatrix ... \stopmatrix in order to obtain the result  
of the plain TeX example?


Thanks in advance: OK
___
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] weird bug updating minimals

2009-01-19 Thread Mojca Miklavec
On Mon, Jan 19, 2009 at 12:04 PM, Thomas A. Schmitz wrote:

 On Jan 19, 2009, at 11:05 AM, Mojca Miklavec wrote:

 Just start with a clean script. For example, replace the whole file
 with something like this:

 (If luatex binary works well ... then nothing else in minimals that
 could crash at that moment is system-dependent, so I really suspect
 some mix up of local system libraries on your computer.)


 if not modules then modules = { } end modules ['mtx-update'] = {
   version   = 1.002,
   comment   = companion to mtxrun.lua,
   author= Hans Hagen, PRAGMA-ADE, Hasselt NL,
   copyright = PRAGMA ADE / ConTeXt Development Team,
   license   = see context related readme files
 }

 os.execute(rsync -av
 rsync://contextgarden.net/minimals/current/bin/luatex/osx-ppc/
 tex/texmf-osx-ppc/)

 OK. If I run this minimal version of mtx-update.lua, I get the same error.
 If I call the rsync ... command directly, it completes...

What does
   locate libiconv.2.dylib
return you? Do you have any other version apart from the one in /usr/lib?
   otool -L /usr/lib/libiconv.2.dylib
probably gives you 7.0.0, right?

My only explanation is that luatex shields some system libraries. I
have this for example ...

 otool -L /Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/libiconv.2.dylib
/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/libiconv.2.dylib:
/usr/lib/libiconv.2.dylib (compatibility version 5.0.0,
current version 5.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0,
current version 71.0.0)

Maybe, maybe, maybe ... the cross-compiled luatex binary includes
/Developer/SDKs/MacOSX10[whatever]/usr/lib/ into library search path
with bigger precedence and then luatex sees that library before the
one in /usr/lib when rsync requests it?

Taco - would that be possible? How could one check if that might be the case?

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] A few questions about aligned maths

2009-01-19 Thread Aditya Mahajan
This can be corrected by changing the \vbox in the definition of 
\startmathlines to \vtop. This can be made configurable by adding a 
location key. Here is a complete example


\unprotect
\def\startmathlines
{\def\s...@math{$}
\def\NC{}
\def\NR{\def\NC{\cr}}
% Hack for number. Should be done by measuring the width of the number
\scratchdimen\dimexpr\displaywidth-4em \relax
\vbox \bgroup
\halign\bgroup
\hbox to \scratchdimen
{\hfil \strut
$\mathsurround\zeropoint\displaystyle{}## \s...@math
\hfil}%
\crcr
\hfilneg}

\def\stopmathlines
{\hfilneg
\crcr
\egroup
\egroup}
\protect

Once I understand the new experimental code, I will start playing around 
with aligned math support.


Aditya

On Sat, 17 Jan 2009, Dave wrote:


Is there any progress on this?  I notice it is not yet in the core.  I'm in
need of an AMSL split-like environment but the above doesn't work entirely
as expected.  Below is an example.
Any ideas?
Thanks, Dave

\placeformula
\startformula \startalign
 \NC \sigma_{L_s}^2
 \NC= E\left\{ \eps_L^2 \right\} \NR
 \NC \NC= \startmathlines
  \NC E\left\{ \left( \frac{1}{L_{\ref}^2(\nu)}

\Re{\eps_{\pth}+\eps_{\off}}\,\cos\left(\phi(\nu)\right) +

\Im{\eps_{\pth}+\eps_{\off}}\,\sin\left(\phi(\nu)\right)
   \right)^2 \right\} - \NR
  \NC E\left\{ \frac{2}{L_{\ref}^2(\nu)} \,
\frac{L_{\pth}(\nu)}{L_{\ref}(\nu)}
   \left(
 \Re{\eps_{\pth} +
\eps_{\off}}\,\cos\left(\phi(\nu)\right) +
 \Im{\eps_{\pth} +
\eps_{\off}}\,\sin\left(\phi(\nu)\right)
   \right) \NR
   \NC \left(
 \Re{\eps_{\ref} +
\eps_{\off}}\,\cos\left(\phi(\nu)\right) +
 \Im{\eps_{\ref} +
\eps_{\off}}\,\sin\left(\phi(\nu)\right) +
   \right)
   \right\} + \NR
  \NC E\left\{ \frac{1}{L_{\ref}^2(\nu)} \,
\frac{L_{\pth}^2(\nu)}{L_{\ref}^2(\nu)}
   \left(
 \Re{\eps_{\ref} +
\eps_{\off}}\,\cos\left(\phi(\nu)\right) +
 \Im{\eps_{\ref} +
\eps_{\off}}\,\sin\left(\phi(\nu)\right)
   \right)^2 \right\} \NR
   \stopmathlines \NR
 \NC \NC= \frac{1}{L_{\ref}^2} \, \left( \sigma_{\pth}^2 +
  \left(\frac{L_{\pth}}{L_{\ref}} - 1\right)^2 \sigma_{\off}^2 +
  \left(\frac{L_{\pth}}{L_{\ref}}\right)^2 \sigma_{\ref}^2 \right)
  \NR[eq:SpcTransVarC2]
\stopalign \stopformula


On Mon, Mar 24, 2008 at 7:17 AM, Aditya Mahajan adit...@umich.edu wrote:


On Mon, 24 Mar 2008, Hans Hagen wrote:


Morgan Brassel wrote:


Sorry that I can't help you with the implementation, Aditya... I just

want

to confirm that your new macro perfectly fits my needs. I hope it will
make it into the core, it really is useful!


once aditya is confident that it makes sense and works as expected it
will probably end up in the core, but as usual i'll wait till he sends
me an updated core file


It will be a while before I am able to get all the bells and whistles
(take care of where the formula number is to be placed, and how how the
formula is to be aligned).

Aditya

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

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

___




___
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] Math align with \startcases

2009-01-19 Thread Aditya Mahajan

On Mon, 19 Jan 2009, Otared Kavian wrote:


Hi everyone,

This question is primarily intended for Aditya… but I guess other fellows on 
the list can also help me solve the following alignment problem:
Is it possible to have an alignment like the rsult of the following with 
\startcases...\stopcases?


\starttext

\startformula
\startmatrix[align={right,left,right},distance=3pt,left={\left\{}, 
right={\right.}]

 \NC -\Delta u + g(u) \NC{} = f \NC \quad\mbox{in } \Omega\NR
 \NC \displaystyle {\partial u \over \partial {\bf n} } \NC{} = h(u) \NC 
\quad\mbox{on } \partial\Omega   \NR

\stopmatrix
\stopformula

\stoptext

Actually I used to have such alignments with the following structure (in good 
old plain TeX...):


\starttext

\startformula
\cases{
\eqalign{
-\Delta u + g(u) = f \cr
\displaystyle {\partial u \over \partial {\bf n} } = h(u) \cr
} \quad \eqalign{
\hbox{in } \Omega \cr
\vphantom{{\partial u \over \partial {\bf n} }} \hbox{on } \partial\Omega 
\cr

}
}
\stopformula

\stoptext

(which gives approximately the same result as the first example above, but 
clearly the math-alignment structure set up by Aditya and Hans is much more 
elegant. (Although I prefer the vertical distance between the lines obtained 
with my plain TeX structure: by the way is it possible to fine tune such 
things in ConTeXt).
So my question is: whether one can use \startcases ...\stopcases instead of 
\startmatrix ... \stopmatrix in order to obtain the result of the plain TeX 
example?


No, but there is not much difference between cases and matrix. Consider:

\definemathmatrix[alignedcase]
[align={right,left,right},distance=3pt,left={\left\{}, 
right={\right.},style=\displaystyle]
\starttext

\startformula
\startalignedcase
  \NC -\Delta u + g(u) \NC{} = f \NC \quad\mbox{in } \Omega\NR
  \NC {\partial u \over \partial {\bf n} } \NC{} = h(u) \NC \quad\mbox{on 
} \partial\Omega   \NR

\stopalignedcase
\stopformula

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

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


Re: [NTG-context] Math align with \startcases

2009-01-19 Thread Otared Kavian


On 19 janv. 09, at 15:38, Aditya Mahajan wrote:


On Mon, 19 Jan 2009, Otared Kavian wrote:


[...]
So my question is: whether one can use \startcases ...\stopcases  
instead of \startmatrix ... \stopmatrix in order to obtain the  
result of the plain TeX example?


No, but there is not much difference between cases and matrix.  
Consider:


\definemathmatrix[alignedcase]
[align={right,left,right},distance=3pt,left={\left\{},  
right={\right.},style=\displaystyle]

\starttext

\startformula
\startalignedcase
 \NC -\Delta u + g(u) \NC{} = f \NC \quad\mbox{in } \Omega\NR
 \NC {\partial u \over \partial {\bf n} } \NC{} = h(u) \NC \quad 
\mbox{on } \partial\Omega   \NR

\stopalignedcase
\stopformula

Aditya___


Thanks Aditya: actually an alternative definition in order to get what  
I mentioned in my question is the following:


\starttext
\definemathmatrix[alignedcase]
[align={right,left,left}, %  instead of 
align={right,left,right}
distance=3pt,
left={\left\{},
right={\right.},
style=\displaystyle]

\startformula
\startalignedcase
 \NC -\Delta u + g(u) \NC{} = f \NC \quad\mbox{in } \Omega\NR
 \NC {\partial u \over \partial {\bf n} } \NC{} = h(u) \NC \quad 
\mbox{on } \partial\Omega   \NR

\stopalignedcase
\stopformula
\stoptext

Should I add this to the wiki?

Many thanks: OK

___
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] Math align with \startcases

2009-01-19 Thread Aditya Mahajan

On Mon, 19 Jan 2009, Otared Kavian wrote:



On 19 janv. 09, at 15:38, Aditya Mahajan wrote:


On Mon, 19 Jan 2009, Otared Kavian wrote:


[...]
So my question is: whether one can use \startcases ...\stopcases instead 
of \startmatrix ... \stopmatrix in order to obtain the result of the plain 
TeX example?


No, but there is not much difference between cases and matrix. Consider:

\definemathmatrix[alignedcase]
[align={right,left,right},distance=3pt,left={\left\{}, 
right={\right.},style=\displaystyle]

\starttext

\startformula
\startalignedcase
\NC -\Delta u + g(u) \NC{} = f \NC \quad\mbox{in } \Omega\NR
\NC {\partial u \over \partial {\bf n} } \NC{} = h(u) \NC \quad\mbox{on } 
\partial\Omega   \NR

\stopalignedcase
\stopformula

Aditya___


Thanks Aditya: actually an alternative definition in order to get what I 
mentioned in my question is the following:


\starttext
\definemathmatrix[alignedcase]
		[align={right,left,left}, %  instead of 
align={right,left,right}

distance=3pt,
left={\left\{},
right={\right.},
style=\displaystyle]

\startformula
\startalignedcase
\NC -\Delta u + g(u) \NC{} = f \NC \quad\mbox{in } \Omega\NR
\NC {\partial u \over \partial {\bf n} } \NC{} = h(u) \NC \quad\mbox{on } 
\partial\Omega   \NR

\stopalignedcase
\stopformula
\stoptext

Should I add this to the wiki?


Please do.

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

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


Re: [NTG-context] Math align with \startcases

2009-01-19 Thread Otared Kavian


On 19 janv. 09, at 19:49, Aditya Mahajan wrote:


On Mon, 19 Jan 2009, Otared Kavian wrote:

[…]
Should I add this to the wiki?


Please do.

Aditya


Done:

http://wiki.contextgarden.net/\startcases

Best regards: OK

___
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] new cv-resume module

2009-01-19 Thread Marsel Fahie
Hi Idris 

 

This is da boni-man just checking in to see how you are doing and I
quite enjoy reading of your success so Jah Bless

___
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] issue with imposition

2009-01-19 Thread Henning Hraban Ramm

Am 2009-01-18 um 20:05 schrieb Pablo Rodríguez:

I would like to use the imposition capabilities from ConTeXt to be  
able
to print a PDF book in a standard laser printer. To save paper, I  
use the 2UP arranging option thanks to this code from the wiki:


\definepapersize[filius][width=135.9mm, height=231.8mm]


Please refrain from using the page size name filius for other sizes  
than 92x172mm, it's confusing for everyone who knows filius planners!


Willi told you everything else - and apparently you missed to describe  
your actual problem, that's more a matter of clipping than of  
imposition.
Sorry, can't help you with that. Perhaps you can utilize a tool like  
pdftrim?


Or define your paper height as max. 210mm at all - if you need it in  
trimmed  imposed form as well as as single pages, consider modes with  
different layouts.


If you try to impose a non-ConTeXt PDF, I'd look after placement  
options of \filterpages.



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
___


Re: [NTG-context] Adobe ArnoPro in mkiv

2009-01-19 Thread Mohamed Bana

hi,

thanks for the reply, it's nice to hear that it's working - what was the 
problem?  anyhow, currently my favourite font is minion/warnock pro  and 
when the math version (that is, MinionMath) is released it'll be the 
ultimate font.  if you want to preview material typeset with 
minion/warnock pro you might want to check out Daniel Jackson's page 
http://people.csail.mit.edu/dnj/, in particular his book; Software 
Abstractions: Logic, Language, and Analysis is typeset in warnock pro.


do you mind sharing the typeset for arnopro, i'll give it a try to see 
how to compares to minion/warnock pro.


Mohamed

Thomas A. Schmitz wrote:


On Aug 24, 2008, at 9:56 AM, Thomas A. Schmitz wrote:



On Aug 20, 2008, at 8:59 PM, abbg...@city.ac.uk wrote:


Thomas A. Schmitz thomas.schmitz at uni-bonn.de writes:



Hi all,

I'm trying to use the Adobe ArnoPro font (just testing if it will
work
with
ConTeXt). The font does work with ConTeXt/XeTeX, but not in mkiv.



Hi,

Did you manage to fix it? LuaTeX goes into (what I think is) an
endless
cycle --- I haven't allowed it to terminate naturaly, as it takes
far too
long even on a quad core.


Yes, I get a segmentation fault here on OS X as well. I talked to
Hans in Bohinj (I'm back earlier than the rest, who are still working
hard in Slovenia), and he thinks we'll just have to wait a bit till
luatex integrates code from fontforge v.3. So for the time being, Arno
Pro is unfortunately no go.

Just for the record and in case anybody else is interested: with the 
latest luatex and the latest beta, ArnoPro now works in mkiv!


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  : 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] Math alignment problem

2009-01-19 Thread Aditya Mahajan

On Tue, 20 Jan 2009, Marcin Borkowski wrote:


Dnia Sat, Jan 10, 2009 at 07:14:58PM -0500, Aditya Mahajan napisa#322;(a):

On Sat, 10 Jan 2009, Marcin Borkowski wrote:


Hi all,

I'd like to typeset a system of simultaneous equations.  I want it to
have a brace on the left (like cases), but inside I want it to have
two columns aligned like align.  Also, I'd like to have the vertical
space between the equations be small (like in cases), not so big as in
align.

How to do this?


(answers cut)

Thank you very much.  But one thing still puzzles me: the vertical
distance between the cases.  How to increase it?  (Shouldn't there be a
parameter for this?  But I couldn't find one...)


For matrix, the current definition works hard so that you cannot change 
vertical distance. For simultaneous equations, you need a math strucutre 
which ConTeXt does not provide.


From what I understand amsmath hasthere are three kinds of math 

strucures

1. Outer display structures (equation, align, gather, and multline)
2. Inner display structures (aligned, gathered, and multlined (provided by 
mathtools package))

3. Inner inline structures (matrix, cases, etc).

The first two display structures have \displaystyle set and have loose 
spacing. The last inline structure has no \displaystyle set and has 
tight spacing. So, what you need for simultaneous equations is something 
from class 2 with the ability to put a brace on the left (empheq package 
in latex allows you to do this with aligned, etc).


Currently, ConTeXt does not provide anything of class 2. It is easy to 
provide it (one just needs to copy the definitions of mathalign but not 
set the width of hbox to be textwidth), but everytime I start working on 
it I get distracted by the bigger problem---ConTeXt is not as good as it 
can be for outer display.


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

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


[NTG-context] PDF Meta Tags

2009-01-19 Thread Bart C. Wise
I received the following message from a publisher:

[The PDF generator] you used flattens the file such that is has no meta tags 
whatsoever.  We need the tags that give page separations, page count, header 
info, etc.

How do I get those meta tags enabled?
Would setting \interaction[state=start] do what's needed?

Running minimals-beta.

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