[NTG-context] Page X of Y

2011-06-21 Thread Troy Henderson
I would like the footer of my document to read Page X of Y where X is the current page and Y is the total number of pages. Thoughts on how to accomplish this? Thanks, Troy ___ If your question is of interest to

Re: [NTG-context] Page X of Y

2011-06-21 Thread Troy Henderson
Thank you. The only problem that I'm encountering now is that I am using \startstandardmakeup ... \stopstandardmakeup on the first (title) page, and thus \lastpage is 1 too many. ___ If your question is of interest to

Re: [NTG-context] Page X of Y

2011-06-21 Thread Troy Henderson
Thank you (again). It seems that \setupfootertexts[Page \pagenumber~of~\lastpagenumber] also works. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

[NTG-context] Side-by-Side tables

2011-08-24 Thread Troy Henderson
I am trying to place two tables side-by-side one another with equal spacing between the margin and each table and between tables. That is, I would like the layout to be like --- A --- B --- where A and B are tables and --- represents an equal amount of spacing on the left of table A, between

Re: [NTG-context] Side-by-Side tables

2011-08-24 Thread Troy Henderson
have you tried the 'inbetween' or 'distance' parameter from \setupcombinations? Well what I would like would be for the following to work \setupcombinations[before={\hfill},inbetween={\hfill},after={\hfill}] but it doesn't do what I would like for it to do. Troy

Re: [NTG-context] Side-by-Side tables

2011-08-24 Thread Troy Henderson
Thanks! ___ 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 /

[NTG-context] two column itemize page breaking

2011-11-17 Thread Troy Henderson
. This is peculiar since they should stay together. I would appreciate any advice on how to solve this problem. Thanks, Troy Henderson ___ If your question is of interest to others as well, please add an entry to the Wiki

[NTG-context] Framed environment

2011-11-18 Thread Troy Henderson
\startalign A=B \stopalign \stopformula } \stoptext fails evidently because \framed{ ... } and the \startalign ... \stopalign don't like one another. -- Troy Henderson

[NTG-context] Commands with arguments with MetaPost

2012-04-25 Thread Troy Henderson
to be incorrect, and I would appreciate any help in fixing it. Thanks, Troy Henderson ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http

[NTG-context] Uncovering Slides in a Presentation with Progress Meter

2012-04-26 Thread Troy Henderson
) there is a more standard way (instead of using \phantom) of uncovering the second item in the itemized list (2) the progress meter can be modified to illustrate 3 (instead of 4) total pages AND not have the progress meter change between pages 2 and 3 (since I want to view them as the same page) Troy Henderson

[NTG-context] \phantom{\item ... }

2012-04-27 Thread Troy Henderson
, the space for that item has not been allocated at all. Why is this, and more importantly to me, how can I get the space allocated without using hackish transparent colors? Thanks in advance, Troy Henderson ___ If your

Re: [NTG-context] \phantom{\item ... }

2012-04-28 Thread Troy Henderson
Thanks Peter. That works just fine. Troy ___ 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

[NTG-context] MetaPost circular_shade Command

2012-05-02 Thread Troy Henderson
a gradient filled circle whose center gets filled with a RGB color c and outer radius color d. Clearly, circular_shade(fullcircle scaled 4in,0,c,d); does not do this. Thanks in advance, Troy Henderson ___ If your question

Re: [NTG-context] MetaPost circular_shade Command

2012-05-02 Thread Troy Henderson
It seems that I should do something like fill fullcircle scaled 4in withshade define_circular_shade(origin,origin,0 ,2in,white,red); Sorry for the premature question. Troy ___ If your question is of interest to

[NTG-context] MetaPost transformation

2012-05-30 Thread Troy Henderson
(0,0,0,1,-0.5,0) directly, but this is the most convenient method for me to describe my transformations. Is this a bug in MetaPost, or am I not allowed to use transformations directly with sextuples? Troy Henderson

Re: [NTG-context] MetaPost transformation

2012-05-30 Thread Troy Henderson
Well then in case anyone needs such a transformation, I've constructed the (non-unique) transformation T t:=angle(f,e); q:=e++f; p:=(c*f-d*e)/q; s:=(c*e+d*f)/(q**2); transform T; T:=identity rotated t xscaled p yscaled q slanted s shifted (a,b); This yields T=(a,b,c,d,e,f). Troy

Re: [NTG-context] [metapost] MetaPost transformation

2012-05-30 Thread Troy Henderson
Thanks Dan. This is much better than what I was doing. Troy ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] MetaPost transformation

2012-05-31 Thread Troy Henderson
Albrecht, The issue was to be able to define the transform t using its six components. Troy ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

[NTG-context] Arbitrary font size

2012-07-05 Thread Troy Henderson
I would like to know if there is a command like \tfn{0.9} which would allow the user to specify an arbitrary font scale factor since the built-in \tfa, \tfb, \tfc, \tfd, \tfx, and \tfxx are insufficient for one of my projects. Troy Henderson

Re: [NTG-context] Arbitrary font size

2012-07-06 Thread Troy Henderson
Thank you. Troy ___ 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 :

[NTG-context] MetaPost Page height

2012-08-18 Thread Troy Henderson
The follow code produces a PDF whose page height is too large (i.e., is not tight enough around the graphic). How can I get this the height to be as tight as the width? \startMPpage bboxmargin:=0; label(btex foo etex,origin); \stopMPpage Thanks in advance, Troy Henderson

Re: [NTG-context] MetaPost Page height

2012-08-19 Thread Troy Henderson
Thanks Hans. ___ 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

[NTG-context] Standalone MetaPost Graphics from ConTeXt

2012-08-30 Thread Troy Henderson
a MetaPost source file with ConTeXt. Troy Henderson ___ 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

Re: [NTG-context] Standalone MetaPost Graphics from ConTeXt

2012-08-30 Thread Troy Henderson
Thank you both! Troy ___ 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 :

[NTG-context] External Figure inside MPpage

2012-09-04 Thread Troy Henderson
I was wondering if there is a way to place an external figure (JPG/PDF) inside a MPpage. The following does not work. \startMPpage \externalfigure[spiral/andrew/andrew.jpg][height=4.75in] \stopMPpage Troy Henderson

Re: [NTG-context] External Figure inside MPpage

2012-09-04 Thread Troy Henderson
\startMPpage draw externalfigure mill scaled 4.75in ; \stopMPpage Excellent. Thank you! Troy ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

[NTG-context] \abovedisplayskip and \belowdisplayskip

2012-09-06 Thread Troy Henderson
the output. I would appreciate any thoughts as to why this is happening, and I would equally appreciate a solution to keeping the spacing the same in the ConTeXt file and thus bumping that last formula to a third page. Troy Henderson bug.tex Description: TeX document \documentclass{minimal

Re: [NTG-context] \abovedisplayskip and \belowdisplayskip

2012-09-06 Thread Troy Henderson
\setupformulas[spacebefore=..., spaceafter=...] This still does not quite fix my problem. If spacebefore/after are set to a reasonable value in the previously attached ConTeXt file, the spacing changes very slightly (probably because of some rubber length) between the formula from page 1 to

[NTG-context] Nested Macro

2012-09-06 Thread Troy Henderson
= d \stopformula} \foo This fails, and I would appreciate help in getting this to work. Thanks, Troy Henderson ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

Re: [NTG-context] Nested Macro

2012-09-06 Thread Troy Henderson
The \newtoks works great. Can values be assigned to tokens directly instead of appending? Obviously one way it to use \newtoks followed by \appendtoks, but once a token has already been defined, can its content be overwritten? Troy

Re: [NTG-context] Nested Macro

2012-09-07 Thread Troy Henderson
\newtoks\mytoks \mytoks{xx} Thanks! Troy ___ 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

Re: [NTG-context] Promotion of the ConTeXt IRC channel

2012-09-07 Thread Troy Henderson
I'm certainly in #context regularly, although I agree that it does appear dead most of the time. I would like to see it as active as #latex. Troy ___ If your question is of interest to others as well, please add an

Re: [NTG-context] Promotion of the ConTeXt IRC channel

2012-09-07 Thread Troy Henderson
I have bots running in #latex and #context that allows users to test LaTeX, MetaPost, and ConTeXt code in real time and have a URL generated for the output of their code (or a log file of the compilation process if their code fails to compile). I also keep logs of these rooms, and these logs can

Re: [NTG-context] Promotion of the ConTeXt IRC channel

2012-09-08 Thread Troy Henderson
Looks good to me, although I personally would change and there is a bot maintained by Troy Henderson that allows real-time testing of LaTeX, MetaPost, and ConTeXt code. to and there is a bot maintained by Troy Henderson that allows real-time testing of MetaPost and ConTeXt code. Even though

Re: [NTG-context] Promotion of the ConTeXt IRC channel

2012-09-08 Thread Troy Henderson
Even though the former is correct, I guess LaTeX is a little off-topic. Perhaps it would be nice to have users know about the LaTeX bot as well in case they want to compare LaTeX and ConTeXt output. I sure changed my mind fast. :-) Troy

[NTG-context] Sequence of MetaPost Pages

2012-09-09 Thread Troy Henderson
When I create animations using MetaPost, I typically do something like for n=1 upto N: beginfig(n); some code endfig; endfor; and a sequence of figures are created. How can I do this in ConTeXt using \startMPpage ... \stopMPpage? Troy Henderson

Re: [NTG-context] Sequence of MetaPost Pages

2012-09-09 Thread Troy Henderson
That works great. Now I have defined a global numeric N:=8; in \startMPinclusions ... \stopMPinclusions at the be beginning of my document. All of my \startMPpage ... \stopMPpage environments understand this N, but how do I reference this value as the start value for \dostepwiserecurse? That

Re: [NTG-context] Sequence of MetaPost Pages

2012-09-09 Thread Troy Henderson
label(decimal(n),origin); Sorry. I found the answer by wrapping the decimal() inside textext(). That is, label(textext(decimal(n)),origin); does what I want. Troy ___ If your question is of interest to others

[NTG-context] Lucida fonts

2012-09-11 Thread Troy Henderson
appreciate any help in the process for installing these fonts for TL2012. Troy Henderson ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http

Re: [NTG-context] Lucida fonts

2012-09-12 Thread Troy Henderson
best is to upgrade the lucida to opentype .. way less hassle and also more complete Would I have to pay for the OpenType versions since I have already purchased the Type1 versions? Troy ___ If your question is of

Re: [NTG-context] Lucida fonts

2012-09-12 Thread Troy Henderson
yes, but the fonts are relatively cheap (esp for members) and you get a lot relatively is the keyword here as they are the same price that I paid for the Type 1 fonts 3 years ago. So, according to the store website, I essentially have to buy them again. Troy

Re: [NTG-context] Lucida fonts

2012-09-13 Thread Troy Henderson
I was able to get the Type 1 versions working. It seems that the problem the whole time was an orphan kpsewhich living in /usr/bin. After removing it, TL2012's kpsewhich took over and everything is fine. Troy ___ If

Re: [NTG-context] Lucida fonts

2012-09-13 Thread Troy Henderson
I guess I will take responsibility for my own actions then. ;) Actually, as long as the Type 1 fonts continue to work, I presume I have no need for anything more. Perhaps I'm just somewhat ignorant about fonts and have no idea what more complete (as Hans said) means when comparing the OpenType

Re: [NTG-context] Change color of EPS file.

2012-09-14 Thread Troy Henderson
setrgbcolor/g bar.eps It simply translates the (0,0,0) triplet (which is black) to the (1,1,1) triplet (which is white). This is very simplistic and may not do all that you want. Troy Henderson ___ If your question

Re: [NTG-context] ntg-context Digest, Vol 99, Issue 40

2012-09-14 Thread Troy Henderson
Unfortunatly there is no such a sequence in my file: grep setrgbcolor a1.EPS /setcmykcolor{1 sub 4 1 roll 3{3 index add neg dup 0 lt{pop 0}if 3 1 roll}repeat setrgbcolor pop}wd /sw/setlinewidth ld/scap/setlinecap ld/sj/setlinejoin ld/sm/setmiterlimit ld/sd/setdash ld/rgb/setrgbcolor

Re: [NTG-context] Change color of EPS file.

2012-09-14 Thread Troy Henderson
I put together this little utility for converting a color EPS/PDF/SVG to grayscale. http://www.tlhiv.org/grayscale/ Selecting invert swaps colors from white to black and black to white. So, using a black/white graphic on a transparent background should transform it to a white/black graphic on a

Re: [NTG-context] ntg-context Digest, Vol 99, Issue 40

2012-09-14 Thread Troy Henderson
I put together this little utility for converting a color EPS/PDF/SVG to grayscale. http://www.tlhiv.org/grayscale/ Selecting invert swaps colors from white to black and black to white. So, using a black/white graphic on a transparent background should transform it to a white/black graphic on a

Re: [NTG-context] Change color of EPS file.

2012-09-14 Thread Troy Henderson
For those that care, here is basically how the service works. The filter is applied to an SVG, and the uploaded graphic is converted to SVG using the following process: EPS - PDF - SVG PDF - SVG SVG - PDF - SVG where the EPS - PDF conversion is done with the standard `epstopdf` included with

Re: [NTG-context] Change color of EPS file.

2012-09-15 Thread Troy Henderson
Whether the filter is simple or simplistic, it is odd that such a filter has not been abundantly available before. I often wondered years ago when I first started to understand the difference between raster and vector graphics why something so simple (or simplistic) could not be easily done. It

[NTG-context] ndash and mdash

2012-09-24 Thread Troy Henderson
When using the Type 1 versions of the Lucida fonts, -- and --- don't work as expected. However, the following do work in their place. \uchar{32}{19} (for the -- ndash) \uchar{32}{20} (for the --- mdash) Can I redefine -- and --- to use the \uchar commands? Troy Henderson

Re: [NTG-context] ndash and mdash

2012-09-24 Thread Troy Henderson
The following work \uchar{32}{19} (for the -- ndash) \def\ndash{\uchar{32}{19}\autoinsertnextspace} \uchar{32}{20} (for the --- mdash) \def\mdash{\uchar{32}{20}\autoinsertnextspace} but it would be preferable to be able to use -- and --- instead of \ndash and \mdash. Troy

Re: [NTG-context] ndash and mdash

2012-09-25 Thread Troy Henderson
\definefontfeature[default][tlig=yes] works just fine. Thanks Mojca. Troy ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] External Figure inside MPpage

2012-09-28 Thread Troy Henderson
\startMPpage draw externalfigure mill scaled 4.75in ; \stopMPpage What if mill is a multi-page PDF and I want to include a particular page? Troy ___ If your question is of interest to others as well, please add

Re: [NTG-context] External Figure inside MPpage

2012-09-28 Thread Troy Henderson
draw textext(\externalfigure[mill][page=1]) scaled ... ; Awesome. Thanks. Troy ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

[NTG-context] Conditionals

2012-09-28 Thread Troy Henderson
increment \recurselevel. I would appreciate an example of how to do this. Thanks, Troy Henderson ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

Re: [NTG-context] Conditionals

2012-09-28 Thread Troy Henderson
\starttext \dorecurse{400} {\doifnotinset{\recurselevel}{2, 6, 7, 8, 12, 14, 18, 20, 186, 188, 316, 318, 354, 372, 376} {\recurselevel, }} \stoptext Thanks. That worked perfectly! Troy ___ If your question is

[NTG-context] Header without chapters/sections

2012-10-08 Thread Troy Henderson
does one work and the other does not? Troy Henderson ___ 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

Re: [NTG-context] Header without chapters/sections

2012-10-08 Thread Troy Henderson
Apologies. I had set header=0in with \setuplayout. It works fine. Troy ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

[NTG-context] Save/Redraw labels as pictures

2012-12-08 Thread Troy Henderson
The following code produces the letter J on the first page, but does not draw that same picture on the second page. I would appreciate some advice on how to save and redraw this label in subsequence figures. Thanks, Troy Henderson \starttext \startMPinclusions[+] picture J

Re: [NTG-context] Save/Redraw labels as pictures

2012-12-08 Thread Troy Henderson
Hans has be playing with MetaPost instances which got broken. Well I am running MKIV included in TeX Live 2012. Troy ___ If your question is of interest to others as well, please add an entry to the Wiki!

Re: [NTG-context] Save/Redraw labels as pictures

2012-12-09 Thread Troy Henderson
vardef J = thelabel(textext(J) scaled 2,origin) enddef ; That will work! Troy ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

[NTG-context] Section Header and Enumerations

2012-12-10 Thread Troy Henderson
- is the section number in which the itemize resides. Thanks, Troy Henderson ___ 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

Re: [NTG-context] Section Header and Enumerations

2012-12-10 Thread Troy Henderson
Provide a minimal example next time. Apologies. I certainly will. \setupitemgroup [itemize] [prefix=yes, width=2em] This produces 1.1, 1.2, etc. for me instead of 1-2, 1-2, etc. Troy ___ If your

[NTG-context] Resetting Page Numbers

2012-12-10 Thread Troy Henderson
) page to not be used in the computation of \currentpage or \lastpage. Troy Henderson ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http

Re: [NTG-context] Section Header and Enumerations

2012-12-10 Thread Troy Henderson
prefixconnector=-, Beautiful. Thank you! Troy ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] Resetting Page Numbers

2012-12-10 Thread Troy Henderson
Thanks again Wolfgang. That works perfectly. Troy ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

[NTG-context] Numerical Calculations

2012-12-19 Thread Troy Henderson
Is there a way to for ConTeXt to do basic arithmetic operations? For example, \calc{1+2} and have it return 3 or \calc{1/3.8} and have it return 0.263157894736842 (or rounded) Troy ___ If your question is of

Re: [NTG-context] Numerical Calculations

2012-12-19 Thread Troy Henderson
Do \luaexpr{1/3.8} and \ctxcommand{format(@0.3f,1/3.8)} return numbers or strings? That is, I would like to use these results in a \if or \ifnum command to exit a \doloop. Troy ___ If your question is of interest to

Re: [NTG-context] Numerical Calculations

2012-12-19 Thread Troy Henderson
In case anyone cares, here is the finished product which is a frame-by-frame animation of a hypocycloid. The following code will produce a 190 page PDF where each page is an individual frame of the animation. Troy \edef\r{\luaexpr{1/3.8}} % Radius of smaller circle (larger circle has radius 1)

Re: [NTG-context] Numerical Calculations

2012-12-19 Thread Troy Henderson
Very nice work, indeed. It reminds me of a drawing toy I had when I was a kid. Thanks a lot for sharing. Spirograph? http://en.wikipedia.org/wiki/Spirograph Troy ___ If your question is of interest to others as

Re: [NTG-context] Numerical Calculations

2012-12-19 Thread Troy Henderson
Here's the animated (video) version. http://www.youtube.com/watch?v=2_OZ-yKMd7g Troy ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] Numerical Calculations

2012-12-21 Thread Troy Henderson
How did you produce a video out of the PDF? I wrote a BASH script to automate this process, but essentially it involves converting each frame/page of the PDF to JPG and then combining the JPG sequence into a MP4 movie. The hypocycloid example has 191 frames, and so I did something like: let

[NTG-context] MetaPost Animations

2012-12-28 Thread Troy Henderson
will attempt to code them up in MetaPost, provide the source code, and include them on the webpage. Troy Henderson ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

Re: [NTG-context] MetaPost Animations

2012-12-28 Thread Troy Henderson
One thing, which you may know, gear teeth do not normally have rectangular profiles. This must be what Hans was talking about. Are you using the animations, or some frames perhaps, in a ConTeXt document? Well, actually I'm using ConTeXt/MetaPost to generate each frame of the animation

Re: [NTG-context] MetaPost Animations

2012-12-28 Thread Troy Henderson
Are the gears more correct now? Troy ___ 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 :

Re: [NTG-context] MetaPost Animations

2012-12-28 Thread Troy Henderson
I tried the TeX file for your Gibbs phenomena animation: I could not get the same pictures as you show on your webpage. I built the TeX file with ConTeXt. I am using the ConTeXt that comes with TeX Live 2012. context gibbs.tex Troy

Re: [NTG-context] MetaPost Animations

2012-12-29 Thread Troy Henderson
Bonus question: independent from the gears shape (assume that it stays as it is), there is something fundamentally wrong with the animation. What is that? ;) When fixing the teeth, I broke the direction of one of the gears. It's repaired now. Troy

Re: [NTG-context] MetaPost Animations

2013-01-07 Thread Troy Henderson
I've added a few more animations since my last post. They can be accessed at http://www.tlhiv.org/animations There is one in particular that, I think, is quite impressive. It is an animation of a function f(x,y,t) where t is time. It is available at the aforementioned link or directly at

[NTG-context] Thickness of right border for table cell

2013-01-17 Thread Troy Henderson
of the first column, but this does not work. I would appreciate some expertise on this. Thanks, Troy Henderson ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

[NTG-context] Mixing Body and Math Fonts

2013-01-17 Thread Troy Henderson
everywhere else. What is the best way to accomplish this? Thanks, Troy Henderson ___ 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

Re: [NTG-context] Mixing Body and Math Fonts

2013-01-17 Thread Troy Henderson
\setmathfont[lucida] Thank you very much. Troy ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] Mixing Body and Math Fonts

2013-01-17 Thread Troy Henderson
\setmathfont[lucida] This is probably asking too much, but is it possible to have the Lucida math fonts with no serifs (or at least as many characters that are available with sans serif)? \setmathfont[lucida,sans] does not work. Troy

Re: [NTG-context] Mixing Body and Math Fonts

2013-01-17 Thread Troy Henderson
\startformula {\mathss F(x) = \int_a^x f(t)\,dt} \stopformula is about as good as I could expect since (to my knowledge) Lucida does not contain a complete sans math set. Is there a way to get the affect above by default without having to enclose every formula in {\mathss ... }? Troy

Re: [NTG-context] Mixing Body and Math Fonts

2013-01-18 Thread Troy Henderson
\appendtoks \mathss \to \everymathematics That appears to work. Thanks. Perhaps I should, instead, try to use a sans math font such as Computer Modern Bright. I know it's not complete (as far as sans math is concerned), but it's probably better than forcing all math to be sans.

[NTG-context] MdSymbol as Math Font

2013-01-18 Thread Troy Henderson
The trouble seems to be the line fontstypescripts unknown: library 'mdsymbol' which I guess is keeping the MdSymbol OTFs from being loaded, but I have no idea how to fix this. I would appreciate any help that can be provided. Thanks, Troy Henderson

Re: [NTG-context] MdSymbol as Math Font

2013-01-18 Thread Troy Henderson
I have dropped the 3 OTF files into my user's font directory Apologies, there are 4 OTF files. Troy ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] MdSymbol as Math Font

2013-01-18 Thread Troy Henderson
Apologies, there are 4 OTF files. Just so there is no misunderstanding, the problem still exists with 3 or 4 OTF files. That is, the first email was a typo and in fact I had all 4 OTF files installed and recognized by ConTeXt. I am not sure how to get ConTeXt to use these OTF files for my

[NTG-context] PDF Bookmarks

2013-01-26 Thread Troy Henderson
I would like to create PDF bookmarks in my ConTeXt document, but I do not want my document arranged in normal chapter/sections. I know that I can do \setupinteraction[state=start] \placebookmarks[chapter,section,subsection][chapter,section] \setupinteractionscreen[option=bookmark] and then in

Re: [NTG-context] PDF Bookmarks

2013-01-26 Thread Troy Henderson
\setuphead[chapter,section,subsection][number=no,placehead=no] Outstanding. The only problem that I have now is that issuing \chapther{Foo} immediately before \copypages[path/to/file.pdf] forces a new (blank) page before the external page is inserted. Without the \chapter{Foo} command,

Re: [NTG-context] PDF Bookmarks

2013-01-26 Thread Troy Henderson
\chapter{Foo}\page[no] \copypages[path/to/file.pdf] did the trick. Troy ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

[NTG-context] Suppress a Single Chapter from ToC

2013-01-26 Thread Troy Henderson
How can I suppress a single (one particular) chapter from being printed in the Table of Contents? Troy ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] Suppress a Single Chapter from ToC

2013-01-27 Thread Troy Henderson
\startchapter[title=…,saveinlist=no] Unfortunately, this removes the PDF bookmark for this chapter. I would like to keep the left side bookmark but not show it in the Table of Contents. Troy ___ If your question

Re: [NTG-context] Suppress a Single Chapter from ToC

2013-01-27 Thread Troy Henderson
Unfortunately, this removes the PDF bookmark for this chapter. I would like to keep the left side bookmark but not show it in the Table of Contents. What I would like is to have my title page followed by my table of contents both have PDF bookmarks and neither listed in the actual table of

Re: [NTG-context] Suppress a Single Chapter from ToC

2013-01-27 Thread Troy Henderson
I apologize for the multiple messages, but it seems that I solved my problem with \placebookmarks[chapter,section,subsection][chapter,section][force=yes] The force=yes was the key to forcing bookmark generation of those chapters not listed in the ToC with saveinlist=no. Troy

[NTG-context] Table of Contents Spacing

2013-01-29 Thread Troy Henderson
How do I change the vertical spacing between chapter/section list items in the Table of Contents? It appears that the spacing between chapter items is about 2ex (or so) and perhaps 1ex (or so) between section items. Troy

Re: [NTG-context] Table of Contents Spacing

2013-01-29 Thread Troy Henderson
\setuplist [chapter] [before={\blank[5ex]}] Thank you! Troy ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

[NTG-context] Rotating \copypages

2013-01-31 Thread Troy Henderson
and the height of foo.pdf is 11in. I would like to use \copypages to insert foo.pdf rotated 90 degrees. How can this be done? Troy Henderson ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] Rotating \copypages

2013-01-31 Thread Troy Henderson
\copypages[…][][orientation=90] Excellent. Thank you! Troy ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

[NTG-context] Sans Serif Math Font

2013-02-01 Thread Troy Henderson
Are there any sans serif fonts with matching math (commercial or free) that work out of the box (or at least with very little configuration) with ConTeXt? Troy ___ If your question is of interest to others as well,

Re: [NTG-context] Sans Serif Math Font

2013-02-01 Thread Troy Henderson
My suggestion would be Lucida: I have the Type1 version of Lucida that works fine in ConTeXt, but I don't really get the sans serif math (to my knowledge). Does the OTF offer something that the Type1 doesn't? Troy

  1   2   >