Re: [NTG-context] how to define a new math symbol

2006-10-25 Thread M.J. Kallen
Taco,

I'm not sure I understand your question. I'm using TexLive on a linux system. I 
do not use any other fonts other than CM. 

The file prodint.afm has the following contents:

StartFontMetrics 4.0
Comment This is prodint.afm created from prodint.pfb by t1lib V. 1.0.0.
Comment File creation date: Thu Mar  8 00:02:51 2001
Comment t1lib is copyright (c) Rainer Menzner, 1996, 1997, 1998.
Comment t1lib is distributed under the GNU General Public Library License (LGPL)
FontName prodint
FullName prodint
FamilyName prodint
Weight Plain
ItalicAngle 0
IsFixedPitch false
FontBBox 0 -53 2581 2298
UnderlinePosition 0
UnderlineThickness 0
Version 000.001
Notice 2001, JC Loredo-Osti. Based in R. Gill's `pi.ps'. Right to use, copy, 
distribute and modify this file is granted.
EncodingScheme FontSpecific
StdHW 47
StdVW 47
StartCharMetrics 7
C  80 ; WX  785 ; N prodinttext  ; B 0 0   713   999 ;
C  82 ; WX 1255 ; N prodintdisplay   ; B 0 0  1141  1599 ;
C  84 ; WX 1804 ; N prodintbig   ; B 0 0  1640  2298 ;
C 120 ; WX 1205 ; N oldpitext; B13   -33  1237   966 ;
C 122 ; WX 1928 ; N oldpidisplay ; B23   -53  1982  1547 ;
C 160 ; WX 1637 ; N ancientpitext; B50   -27  1611   974 ;
C 162 ; WX 2619 ; N ancientpidisplay ; B81   -40  2581  1561 ;
EndCharMetrics
EndFontMetrics

End of file prodint.afm

So based on some of the symb-xxx.tex files, I tried

\loadmapfile[prodint.map]
\definefontsynonym [Prodint] [prodint]
\def\ProdintSymbol#1{\getglyph{Prodint}{\char#1}}

\startsymbolset
\definesymbol[prodi] [\ProdintSymbol{80}]
\definesymbol[Prodi] [\ProdintSymbol{82}]
\definesymbol[PRODI] [\ProdintSymbol{84}]
\stopsymbolset

but texexec stops when mktexfm cannot find the file 'prodint' or it says the 
TFM file is missing. Another problem with this approach is the fact that this 
does not define a MATH symbol, which is really what I would want. Based on the 
LaTeX style file prodint.sty, I'm guessing I'll at least need a command like:

\definemathsymbol [prodi] [op] [prodint] ["xx]

but I can't figure out the usage of this command. I also suspect that I can not 
used the prodint.tfm file, supplied with the LaTeX package, but need to run 
Texfont to create one for ConTeXt. Can you confirm this?

I greatly appreciate any help!

Maarten-Jan

- Original Message 
From: Taco Hoekwater <[EMAIL PROTECTED]>
To: mailing list for ConTeXt users 
Sent: Tuesday, October 24, 2006 5:31:10 PM
Subject: Re: [NTG-context] how to define a new math symbol


MJK wrote:
> Hi,
> 
> I would like to use of the product integral (a curly \prod-like
> symbol which is to \prod what \int is to \sum) in Context. There is a
> LaTeX package (not official) available from Richard Gill's website
> (http://www.math.uu.nl/people/gill/, all the way at the bottom),
> which supplies a .sty file with the following contents:

What font setup do you use in ConTeXt?

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


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


Re: [NTG-context] how to define a new math symbol

2006-10-25 Thread M.J. Kallen
Great, it works! Running "texexec --pdf test-prodint" worked immediately, but 
"xdvi test-prodint.dvi" gave me an error relating to mktexpk not being able to 
create a bitmap font. Solved this problem by running "updmap --enable Map 
prodint.map". 

I don't think I could have done this myself, as I do not understand some of the 
steps in your solution.

Thank you very much!

Maarten-Jan

- Original Message 
From: Taco Hoekwater <[EMAIL PROTECTED]>
To: mailing list for ConTeXt users 
Sent: Wednesday, October 25, 2006 10:40:10 AM
Subject: Re: [NTG-context] how to define a new math symbol


M.J. Kallen wrote:
> Taco,
> 
> 
> I'm not sure I understand your question. I'm using TexLive on a linux
> system. I do not use any other fonts other than CM.

That last bit of information is crucial, because there is a difference
between font handling between CM/Lm and commercial fonts.

I've been skyping with Hans and he came up with the code below.
You can use the font files from the LaTeX zip, you just have to
make sure that pdftex can find the (map) file, of course.


Cheers, taco

% test-prodint.tex

\definefontsynonym [MathGamma]  [prodint]

\definefamilysynonym [default]  [xop]   [mc]

\startmathcollection [default]

\definemathsymbol [prodi]  [op]  [xop] [80]  %80 prodinttext
\definemathsymbol [Prodi]  [op]  [xop] [82]  %82 prodintdisplay
\definemathsymbol [PRODI]  [op]  [xop] [84]  %84 prodintbig

\stopmathcollection

\loadmapfile[prodint]


\starttypescript [math] [modern,computer-modern,latin-modern,ams] [size]
   \definebodyfont 
[17.3pt,14.4pt,12pt,11pt,10pt,9pt,8pt,7pt,6pt,5pt,4pt] [mm] [mc=prodint]
\stoptypescript

\definetypeface [modern] [mm] [math]  [modern]
 [computer-modern][encoding=default]

\setupbodyfont[reset,modern,10pt]

\enablemathcollection[prodint]

\starttext

$\prodi$

\stoptext

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


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


Re: [NTG-context] How to get a PhD with ConTeXt (+ hard work ;) )

2006-10-27 Thread M.J. Kallen
Maybe Renaud can tell us a little more about the details of the typesetting? 
What font did you use and what program did you use to make the plots (I 
particularly like the fact that the font in the plots is the same as in the 
text!), it reminds me a little of R plots, but I may be wrong... And the 
flowcharts are made with the chart module if I'm not mistaken?

All in all the thesis looks very nice!

Maarten-Jan

- Original Message 
From: luigi scarso <[EMAIL PROTECTED]>
To: mailing list for ConTeXt users 
Sent: Friday, October 27, 2006 8:25:40 AM
Subject: Re: [NTG-context] How to get a PhD with ConTeXt (+ hard work ;) )


On 10/26/06, Renaud AUBIN <[EMAIL PROTECTED]> wrote:
>
>  Hi all,
>
>  Maybe some of yours (from the ConTeXt POV) can be interested by my PhD
> dissertation and my presentation (both in french)...
>
>  http://www.nibua-r.org/ConTeXt/PhD/
>
>  The slides are made to work under linux with sh script to run mplayer or
> custom simulations... These scripts will obviously not work without the
> movies or my simulator binaries...
Well, I like it.
Is there any examples on wiki of these things (maybe I have lost some
discussions about it)?
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


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


[NTG-context] Fw: [Pgf-users] Version 1.10 is out

2006-10-27 Thread M.J. Kallen
The following message was just posted to the PGF mailing list:

- Forwarded Message 
From: Till Tantau <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Sent: Friday, October 27, 2006 9:54:55 AM
Subject: [Pgf-users] Version 1.10 is out


Dear users of pgf/TikZ,

version 1.10 is out. This version is the new official stable version.  
Compared to 1.09, the ConTeXt support has been fixed and works  
reasonably well now.

I recommend upgrading to this version to all users.

Best regards,
Till

--
Prof. Dr. Till Tantau <[EMAIL PROTECTED]>
http://www.tcs.uni-luebeck.de




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
pgf-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/pgf-users


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


Re: [NTG-context] Page number alignment in \placecontent

2006-10-28 Thread M.J. Kallen
Hi Angel-Luis,

looks like you want a LaTeX-like table of contents. I achieved what I think you 
want to achieve as well, using the following commands:

% setup table of contents
\setupcombinedlist[content][alternative=c,level=section]

% margins, widths and distances are setup such that section lines line up with 
chapter text (change to your liking!)
\setuplist[chapter][margin=0mm,width=6mm,distance=2mm,style=bold,aligntitle=yes,before=\blank]
\setuplist[section][margin=8mm,width=6mm,distance=2mm]

% place the following in the relevant location
\completecontent

Hope this ends up looking like you want it to!

Maarten-Jan

- Original Message 
From: Ángel Luis García Fernández <[EMAIL PROTECTED]>
To: ntg-context@ntg.nl
Sent: Friday, October 27, 2006 10:16:21 PM
Subject: [NTG-context] Page number alignment in \placecontent


Hi all,

sorry for bothering you with this, but I have a problem: I like this style for 
my Index:

\setuplist[chapter][style=bold]

\placecontent[level=section,
  alternative=c,
  criterium=all,
  aligntitle=yes]

But then the section page numbers are placed in the right margin of the page 
instead of in the text area as the chapter page numbers are. (if you want a 
sample: http://wwwdi.ujaen.es/~algarcia/page.pdf . It's just 16 KB)

How can I manage to keep all the index structure while moving the section page 
numbers to the left?

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


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


Re: [NTG-context] ntg-context Digest, Vol 28, Issue 76

2006-10-30 Thread M.J. Kallen
Angel-Luis,

I'm not sure why you do not get a table of contents, maybe try to add 
criterium=all to the \setupcombinedlist command and see if that works? Also, 
you have used \placecontent, which you can use instead of \completecontent.

I've tried your settings using the live ConTeXt on the wiki and it works 
without the page numbers in the margin. Looking at your sample file, the lines 
with the sections are somehow shifted to the right. It is not possible to see 
why this is happening. Are you shure you have not added something somewhere to 
change the appearance of the list?

Maarten-Jan

- Original Message 
From: Ángel Luis García Fernández <[EMAIL PROTECTED]>
To: ntg-context@ntg.nl
Sent: Monday, October 30, 2006 10:16:24 AM
Subject: Re: [NTG-context] ntg-context Digest, Vol 28, Issue 76


I tried that, but then nothing appears (empty index)

Angel-Luis

> Hi Angel-Luis,
>
> looks like you want a LaTeX-like table of contents. I achieved what I think
> you want to achieve as well, using the following commands:
>
> % setup table of contents
> \setupcombinedlist[content][alternative=c,level=section]
>
> % margins, widths and distances are setup such that section lines line up
> with chapter text (change to your liking!)
> \setuplist[chapter][margin=0mm,width=6mm,distance=2mm,style=bold,aligntitle
>=yes,before=\blank] \setuplist[section][margin=8mm,width=6mm,distance=2mm]
>
> % place the following in the relevant location
> \completecontent
>
> Hope this ends up looking like you want it to!
>
> Maarten-Jan
>
> - Original Message 
> From: ?ngel Luis Garc?a Fern?ndez <[EMAIL PROTECTED]>
> To: ntg-context@ntg.nl
> Sent: Friday, October 27, 2006 10:16:21 PM
> Subject: [NTG-context] Page number alignment in \placecontent
>
>
> Hi all,
>
> sorry for bothering you with this, but I have a problem: I like this style
> for my Index:
>
> \setuplist[chapter][style=bold]
>
> \placecontent[level=section,
>   alternative=c,
>   criterium=all,
>   aligntitle=yes]
>
> But then the section page numbers are placed in the right margin of the
> page instead of in the text area as the chapter page numbers are. (if you
> want a sample: http://wwwdi.ujaen.es/~algarcia/page.pdf . It's just 16 KB)
>
> How can I manage to keep all the index structure while moving the section
> page numbers to the left?
>
> ?ngel-Luis
> ___
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
>
>
>
> --
>
> ___
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
>
> End of ntg-context Digest, Vol 28, Issue 76
> ***
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


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


[NTG-context] incorrect spacing in mathcases

2006-11-02 Thread M.J. Kallen
Hi,

the following example shows space missing after the inequality sign:

\startformula
i = \startmathcases
\NC i, \NC \text{if} i = j, \NR
\NC j, \NC \text{if} i \neq j. \NR
\stopmathcases
\stopformula

An extra '\ ' after \neq solves this, but I think this shouldn't be necessary 
since $i \neq j$ does not require this fix.

Maarten-Jan




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


[NTG-context] using pgf/tikz and bib modules together

2006-11-06 Thread M.J. Kallen
Apropos the bib module,

ConTeXt users wishing to use both the pgf/tikz module (v1.10) and the bib 
module together, will (currently) have to use the CVS version of pgf because 
both modules clash with the use of the .aux file. The following was posted by 
the pgf developer Till Tantau on the pgf maillist:

"it turns out that, indeed, the .aux writing of the bib module clashes  
with pgf's usage of the file of the same name. I renamed this stuff  
to .pgf and it works fine, now.
You will need to get the current CVS of pgf since the change is not  
quite trivial.
Alternatively, a quick-and-easy-fix is to find the file pgf/generic/ 
pgf/utilities/pgfutil-context.def and to delete the three lines  
having to do with .aux files at the beginning. Then picture  
remembering will not work (which it does in the CVS), but that may  
not be a top priority."

I'm assuming the new bib module still uses the .aux file for the same purposes 
as before.

Maarten-Jan


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


Re: [NTG-context] using cmbright and hfbright fonts

2006-11-23 Thread M.J. Kallen
Ok, I've solved the AMS symbol problem by defining the following typescripts:

\starttypescript [math] [cmbr] [default]
\definefontsynonym [Cmbr-Math-Alpha] [cmbras10]
\definefontsynonym [Cmbr-Math-Beta] [cmbrbs10]
\stoptypescript

\starttypescript [math] [cmbr] [name]
\definefontsynonym [MathAlpha] [Cmbr-Math-Alpha]
\definefontsynonym [MathBeta] [Cmbr-Math-Beta]
\stoptypescript

Now it just needs cleaning up... In anticipation of further refinement, I've 
put a test on my wiki userpage at 
http://wiki.contextgarden.net/User:Maarten-Jan. ConTeXt live has the CM bright 
font installed, but not the hfbright Type1 version. 

Maarten-Jan

- Original Message ----
From: M.J. Kallen <[EMAIL PROTECTED]>
To: [NTG-context] maillist 
Sent: Tuesday, November 21, 2006 1:10:54 PM
Subject: [NTG-context] using cmbright and hfbright fonts

Hi all,

I couldn't find anything on using the Computer
Modern Bright font together with the Type1 versions (hfbright) so I
experimented a little myself. I consider myself a ConTeXt novice, so I
hope others can help me improve it.

Attached are two source
files: cmbr.tex and textfragment-context.tex. The latter is the text
used to test fonts in the free font survey 
(http://www.tug.org/tex-archive/info/Free_Math_Font_Survey/survey.html)
loosely adjusted for use in ConTeXt. The first file contains my
attempt at defining typescripts for CM Bright and compares regular
modern with CM Bright. I have a pdf output available for
those who do not have the necessary font files.

I'm
particularly interested in CM Bright/hfbright, because of the sans
serif math font which I believe is a good candidate for use with other
sans serif fonts (like the Verdana example in This Way #9). Besides
fixing any mistakes in my typescripts and setting things like bold math
and encodings up correctly, the one thing that remains to be done (I think) is 
to
define the math collection for cmbr. I'm not sure if something
elaborate like math-ams.tex is required. hfbright has two files
hfbras10.afm and hfbrbs10.afm, which look very similar to msam10.afm
and msbm10.afm so maybe there's an easier way (font synonyms?) of using
the hfbright AMS symbols instead of the regular AMS symbols?

I
think this would be a nice addition (perhaps in the form of a module)
to ConTeXt. Any suggestions and help are greatly appreciated!

Maarten-Jan








Sponsored Link

Mortgage rates near 39yr lows. 
$310k for $999/mo. Calculate new payment! 
www.LowerMyBills.com/lre
%&context

\starttypescript [sans] [cmbr] [texnansi]

\definefontsynonym [Cmbr]   [cmbr10]

\definefontsynonym [Cmbr-Bold]  [cmbrbx10]

\definefontsynonym [Cmbr-Slanted]   [cmbrsl10]

\stoptypescript



\starttypescript [sans] [cmbr] [name]

\definefontsynonym [Sans]   [Cmbr]

\definefontsynonym [SansBold]   [Cmbr-Bold]

\definefontsynonym [SansItalic] [Cmbr-Slanted] % no italic as far as I 
can see

\definefontsynonym [SansSlanted][Cmbr-Slanted]

\stoptypescript



\starttypescript [serif] [cmbr] [name] % serif is the same as sans

\definefontsynonym [Serif]   [Cmbr]

\definefontsynonym [SerifBold]   [Cmbr-Bold]

\definefontsynonym [SerifItalic] [Cmbr-Slanted] % no italic as far as I 
can see

\definefontsynonym [SerifSlanted][Cmbr-Slanted]

\stoptypescript



\starttypescript [mono] [cmbr] [texnansi]

\definefontsynonym [Cmbr-Mono]  [cmtl10]

\definefontsynonym [Cmbr-MonoSlanted]   [cmsltl10]

\stoptypescript



\starttypescript [mono] [cmbr] [name]

\definefontsynonym [Mono]   [Cmbr-Mono]

\definefontsynonym [MonoSlanted][Cmbr-MonoSlanted]

\stoptypescript



\starttypescript [math] [cmbr] [default]

\definefontsynonym [Cmbr-Math-Letters][cmbrmi10]

\definefontsynonym [Cmbr-Math-Symbols][cmbrsy10]

\stoptypescript



\starttypescript [math] [cmbr] [name]

\definefontsynonym [MathRoman][Cmbr]

\definefontsynonym [MathItalic][Cmbr-Math-Letters]

\definefontsynonym [MathSymbol][Cmbr-Math-Symbols]

\stoptypescript



\starttypescript [math] [cmbr] [name]

\definefontsynonym [Calligraphic][MathSymbol]

\stoptypescript



\starttypescript [boldmath,bfmath] [cmbr] [default]

\definefontsynonym [Cmbr-Math-Letters-Bold][cmbrbm10]

\stoptypescript



\starttypescript [Cmbr]

\definetypeface [Cmbr] [ss] [sans] [cmbr] [default] [encoding=texnansi]

\definetypeface [Cmbr] [tt] [mono] [cmbr] [default] [encoding=texnansi]

\definetypeface [Cmbr] [mm] [math] [cmbr] [default] [encoding=default]

\definetypeface [Cmbr] [rm] [serif] [cmbr] [default] [encoding=texnansi]



%\usemathcollection[cmbr]

\stoptypescript



\starttext

\switchtobodyfont[modern,10pt]



\showbodyfont



\blank[big]



\input text

[NTG-context] prodint typescripts remove style

2006-12-04 Thread M.J. Kallen
Hi Hans or Taco, or anyone else,

the typescripts which you (recently) suggested for the prodint symbol work, but 
it turns out that any font styles (for example \bf, \it, etc.) do not. In the 
following example, the boldface text remains normal:

%
% test document:

\definefontsynonym [MathGamma]  [prodint]

\definefamilysynonym [default]  [xop]   [mc]

\startmathcollection [default]

\definemathsymbol [prodi]  [op]  [xop] [80]  %80 prodinttext
\definemathsymbol [Prodi]  [op]  [xop] [82]  %82 prodintdisplay
\definemathsymbol [PRODI]  [op]  [xop] [84]  %84 prodintbig

\stopmathcollection

\loadmapfile[prodint]

\starttypescript [math] [modern,computer-modern,latin-modern,ams] [size]
   \definebodyfont [17.3pt,14.4pt,12pt,11pt,10pt,9pt,8pt,7pt,6pt,5pt,4pt] [mm] 
[mc=prodint]
\stoptypescript

\definetypeface [modern] [mm] [math]  [modern]
 [computer-modern][encoding=default]

\setupbodyfont[reset,modern,10pt]

\enablemathcollection[prodint]

\starttext

$\prodi,\Prodi,\PRODI$

This is {\bf boldface} text.

\stoptext
%

Do you have any suggestions to fix this?

Thanks,

Maarten-Jan





 

Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] prodint typescripts remove style

2006-12-08 Thread M.J. Kallen
Through trial and error, I've been able to solve the problem mentioned below. I 
used \setupbodyfont[reset,modern,serif,10pt] instead of 
\setupbodyfont[reset,modern,10pt]. The additional "serif" option does the trick.

Maarten-Jan

- Original Message ----
From: M.J. Kallen <[EMAIL PROTECTED]>
To: [NTG-context] maillist 
Sent: Monday, December 4, 2006 10:13:11 AM
Subject: [NTG-context] prodint typescripts remove style

Hi Hans or Taco, or anyone else,

the typescripts which you (recently) suggested for the prodint symbol work, but 
it turns out that any font styles (for example \bf, \it, etc.) do not. In the 
following example, the boldface text remains normal:

%
% test document:

\definefontsynonym [MathGamma]  [prodint]

\definefamilysynonym [default]  [xop]   [mc]

\startmathcollection [default]

\definemathsymbol [prodi]  [op]  [xop] [80]  %80 prodinttext
\definemathsymbol [Prodi]  [op]  [xop] [82]  %82 prodintdisplay
\definemathsymbol [PRODI]  [op]  [xop] [84]  %84 prodintbig

\stopmathcollection

\loadmapfile[prodint]

\starttypescript [math] [modern,computer-modern,latin-modern,ams] [size]
   \definebodyfont [17.3pt,14.4pt,12pt,11pt,10pt,9pt,8pt,7pt,6pt,5pt,4pt] [mm] 
[mc=prodint]
\stoptypescript

\definetypeface [modern] [mm] [math]  [modern]
 [computer-modern][encoding=default]

\setupbodyfont[reset,modern,10pt]

\enablemathcollection[prodint]

\starttext

$\prodi,\Prodi,\PRODI$

This is {\bf boldface} text.

\stoptext
%

Do you have any suggestions to fix this?

Thanks,

Maarten-Jan





 

Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context





 

Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] placing a tikz/pgf figure

2007-01-09 Thread M.J. Kallen
Hi all,

I'm trying to determine how to best insert a figure/graph created using the 
tikz/pgf module (I'm using v1.10). The attached sample file compares the result 
of just using \placefigure and \placefigure with \startcombination[1*1]. In the 
first case, the result is not centered (which should be default in ConTeXt, if 
I'm correct) but flushed left. Only if I place the figure inside a 
\startcombination by using \input, do I get the desired result. If I use 
\externalfigure inside the \startcombination, I again get an incorrect result. 

In theory, the first version should work but some special settings (using e.g. 
\useexternalfigure) may be required. I do not know why the second version does 
work. Does anyone have an idea?

Thanks,

Maarten-Jan


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com \usemodule[tikz]
\setupfloat[figure][location=middle,frame=on]

\starttext

\startbuffer[tikz]
\starttikzpicture
\draw[red,thick] (0,0) -- (1,1)
	 {[rounded corners] -- (2,0) -- (3,1)}
	  -- (3,0) -- (2,1);
\stoptikzpicture
\stopbuffer

\placefigure
	[here]
	[fig:test1]
	{The figure is flushed left, whereas it should be centered.}
	{\externalfigure[tikz.tmp]}

\placefigure
	[here]
	[fig:test2]
	{Using \type{\startcombination[1*1]} together with \type{\input}, the result looks as expected.}
	{\startcombination[1*1]
		{\input test-pgf-tikz.tmp } {}
	\stopcombination
	}

\placefigure
	[here]
	[fig:test3]
	{Using \type{\startcombination[1*1]} together with \type{\externalfigure}, the result looks again as in the first figure.}
	{\startcombination[1*1]
		{\externalfigure[tikz.tmp]} {}
	\stopcombination
	}


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


[NTG-context] placepublications in combination with ownnumber=yes

2007-01-17 Thread M.J. Kallen
Hi Taco and everyone else,

working with \placepublications[criterium=cite] inside sections, I noticed that 
the behavior is not the same when using a section with ownnumber=yes. The local 
list of publications does not appear in the latter case. I've made a sample 
test.tex and test.bib file to demonstrate this. It seems like this is the same 
behaviour as trying to use \placepublications[criterium=cite] inside a 
\subject, i.e. nothing appears. Is this behavior as expected?

Greetings,

Maarten-Jan



 

Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
http://answers.yahoo.com/dir/?link=list&sid=396546091

test.tex
Description: Binary data
@BOOK{key,
Title   = {A very interesting book},
Author  = {A. U. Thor},
Year= {2006},
Publisher   = {Print Inc.}
}
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] placepublications in combination with ownnumber=yes

2007-01-17 Thread M.J. Kallen
Taco,

thanks for the reply. I tried 'criterium=local' and it does not make a 
difference.

Maarten-Jan

- Original Message 
From: Taco Hoekwater <[EMAIL PROTECTED]>
To: mailing list for ConTeXt users 
Sent: Wednesday, January 17, 2007 2:32:30 PM
Subject: Re: [NTG-context] placepublications in combination with ownnumber=yes


M.J. Kallen wrote:
> Hi Taco and everyone else,
> 
> working with \placepublications[criterium=cite] inside sections, I
> noticed that the behavior is not the same when using a section with
> ownnumber=yes. The local list of publications does not appear in the
> latter case. I've made a sample test.tex and test.bib file to
> demonstrate this. It seems like this is the same behaviour as trying
> to use \placepublications[criterium=cite] inside a \subject, i.e.
> nothing appears. Is this behavior as expected?

You can try you luck with \placepublications[criterium=local], see if
that does something, but the behaviour is actually "as expected", yes.

It is unlikely that I will ever truly fix this, because it wouls
require a rather large rewrite.

Best, Taco

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


 

TV dinner still cooling? 
Check out "Tonight's Picks" on Yahoo! TV.
http://tv.yahoo.com/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] problem with inline use of \lim

2007-02-12 Thread M.J. Kallen
Hi all,

this may have been mentioned before, but I haven't been able to find an answer 
to this: if I e.g. use $\lim_{t\rightarrow\infty} f(t)$, the subscript of \lim 
appears underneath it, i.e. in displaystyle. In LaTeX, it appears below right 
of \lim, much like with $\sum_{i=1}$. The latter behaviour is of course 
preferred. 

I use ConTeXt version 2006.08.08, is this bug/feature know and has it possibly 
been fixed up to now?

Regards,

Maarten-Jan




 

Expecting? Get great news right away with email Auto-Check. 
Try the Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html 
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] bib question

2007-04-03 Thread M.J. Kallen

--- Taco Hoekwater <[EMAIL PROTECTED]> wrote:

> 
> 
> 
> Thomas A. Schmitz wrote:
> > 
> > thanks for your reply - even if it's bad news...
> One thought: I could  
> > use the same bbl file for all my presentations,
> right? And then fix  
> > the numbering in there. But unfortuntately, as far
> as I understand,  
> > the .bbl always contains the entire database, not
> just the quoted  
> > references. Can this behavior be influenced?
> 
> You can delete what you don't need, but everything
> is always exported
> from bibtex.  For the bib module, the .bbl _is_ the
> database. It
> considers .bib to be just another data
> representation format.

It would be nice to have an option which only puts the
cited references into the .bbl file. Now if I use the
authoryear option and I have two references from the
same author in the same year, I get either "Author
(2007a)" or "Author (2007b)" and not "Author (2007)"
in the bibliography if I only cite one of them in my
document. Now I have to remove one of the references
manually from either the .bib or .bbl files, which is
certainly not a disaster, but I do not have to do this
with LaTeX+BibTeX.

Would this be possible?

Maarten-Jan

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


Maarten-Jan




















































 

Don't get soaked.  Take a quick peek at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context