Re: [NTG-context] Math steps (s-pre-50)

2015-05-07 Thread Troy Henderson
use s-pre-60 instead as in: > > \usemodule[s-pre-61] > This works but seems to be a JavaScript solution which does not work in Evince. Is there a way to have it produce separate "frames" (i.e., "pages") for each step? Troy

[NTG-context] Math steps (s-pre-50)

2015-05-06 Thread Troy Henderson
\FlushStep does not seem to work when "revealing" steps in a mathalignment. Is there a known solution for showing rows of a mathalignment in their own "frame"? Here is the code that I am using: \usemodule[s-pre-50] \starttext \StartSteps \startformula \startmathalignment[

[NTG-context] Lucida Type1 Fonts

2015-04-30 Thread Troy Henderson
I have been using TUG's Lucida Type1 fonts for a while in ConTeXt, but a recent update of the standalone version of ConTeXt is giving the following when building a document containing math: unknown math characters: μ (U+003BC) σ (U+003C3) χ (U+003C7) (n=44) Obviously, it's having a problem with \

Re: [NTG-context] Tables, Row Span, and Colors

2015-03-14 Thread Troy Henderson
Updating ConTeXt minimals fixed my problem. 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/

Re: [NTG-context] Tables, Row Span, and Colors

2015-03-13 Thread Troy Henderson
Thank you Wolfgang. The attached PDF is the output I get from using your code. This is LuaTeX, Version beta-0.79.2 (TeX Live 2015/dev) (rev 5084) Troy foo.pdf Description: Adobe PDF document ___ If your question is

[NTG-context] Tables, Row Span, and Colors

2015-03-12 Thread Troy Henderson
The following code produces my table, but I could not get the text "Region" to span rows 3-7. So, I would like 1. the word "Region" to be inside the table and not "hacked" in the way that I have it. 2. to make the (spanned) cell containing "Years" have a gray background. 3. to make e

Re: [NTG-context] Positioning an arrow between two values (Metapost)

2015-01-20 Thread Troy Henderson
save p,q; path p,q; label(h,A); p:=fullsquare scaled u shifted A; draw p; label(k,B); q:=fullsquare scaled u shifted B; draw q; drawarrow (A--B) cutbefore p cutafter q; enddef; u:=1cm ; ncline(origin,btex $5$ etex,(4*u,-2*u),btex

[NTG-context] textbackground inside itemize

2014-07-08 Thread Troy Henderson
The following code produces a textbackground whose background color enters into the "itemize label" area on the second (and succeeding) lines of the paragraph. I would appreciate advice on fixing this. Thanks, Troy Henderson --- \setuppapersize[letter,landscape][letter

Re: [NTG-context] Resetting \setupTABLE

2014-06-22 Thread Troy Henderson
Thank you both for your response. 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] Resetting \setupTABLE

2014-06-22 Thread Troy Henderson
What is the "proper" way to reset the setups made by \setupTABLE so that successive TABLEs do no inherit the properties set by previous TABLEs? -- Troy Henderson ___ If your question is of interest to othe

Re: [NTG-context] Appendix Page Numbering

2014-02-26 Thread Troy Henderson
> > I have now :-) which now reflects may changes, but now I have to figure > out why my changes aren't working as expected. :-/ > After trying for quite some time, I believe it's safe to say that someone with more knowledge of Lua and the internals of ConTeXt may have to look into this as I may b

Re: [NTG-context] Appendix Page Numbering

2014-02-25 Thread Troy Henderson
> > Did you regenerate the format? context --make. > I have now :-) which now reflects may changes, but now I have to figure out why my changes aren't working as expected. :-/ Troy ___ If your question is of interest

Re: [NTG-context] Appendix Page Numbering

2014-02-25 Thread Troy Henderson
> > Is it possible to have ONLY the prefix (not followed by the corresponding > page number) with this implementation? If not, is that a feature that can > also be added? > I tried to create a custom label called "viewercustom" (which operates like "viewerprefix" but omits the userpage counter va

Re: [NTG-context] Appendix Page Numbering

2014-02-20 Thread Troy Henderson
anyhow, i'll add this: > > \setupuserpagenumber[viewerprefix=titlepage] > \startstandardmakeup > The first page > \stopstandardmakeup > \setupuserpagenumber[viewerprefix=p ] > Thanks Hans. That works great. Is it possible to have ONLY the prefix (not followed by the corre

Re: [NTG-context] Installation Bug with Minimals

2014-02-20 Thread Troy Henderson
I have identified the problem. I have ConTeXt minimals installed simultaneously with ConTeXt from TeXLive 2013. Unsetting the environmental variable TEXMFMAIN (which was set to my TeXLive 2013 TEXMF directory) fixes the problem. Perhaps the minimals installation should unset (or ignore) this var

Re: [NTG-context] Installation Bug with Minimals

2014-02-16 Thread Troy Henderson
> > Have you tried using source to run the setuptex script, e.g. > > cd > source . /opt/context/tex/setuptex > context foo.tex > It fails because "bash: source: .: is a directory" but removing the "." in the "source" command gives the same effect as the original posting. :-( Troy _

Re: [NTG-context] Installation Bug with Minimals

2014-02-16 Thread Troy Henderson
> Can you show the content of your file foo.tex. > \starttext Hello World \stoptext but it does this for ALL ConTeXt source files that I try to build (even ones that have built fine in the past). Troy ___ If your qu

[NTG-context] Installation Bug with Minimals

2014-02-15 Thread Troy Henderson
I've done the following steps on two different machines (both running Gentoo Linux) for installing ConTeXt minimals. > mkdir /opt/context > cd /opt/context > rsync -av rsync://contextgarden.net/minimals/setup/first-setup.sh . > ./first-setup.sh > cd > . /opt/context/tex/setuptex > context foo.tex

Re: [NTG-context] Appendix Page Numbering

2014-02-15 Thread Troy Henderson
> Have you updated you installation because the viewerprefix key was added > yesterday. > Oh no. I'm using the TeXLive 2013 ConTeXt. Is the update something I can do on this, or do I have to download and install minimals? > \dorecurse{2}{\dontleavehmode\page} > Thanks. ___

Re: [NTG-context] Appendix Page Numbering

2014-02-14 Thread Troy Henderson
> \setupuserpagenumber[viewerprefix=titlepage] > \startstandardmakeup > The first page > \stopstandardmakeup > \setupuserpagenumber[viewerprefix=p ] > I'm clearly missing something. Troy \setupinteraction[state=start] \defineconversionset[frontpart:pagenumber][][romannume

Re: [NTG-context] Appendix Page Numbering

2014-02-13 Thread Troy Henderson
My desired PDF PageLabels are in the attached PNG. I have also attached a ConTeXt source file that attempts attempts this, but clearly I am missing a bit. I would appreciate any help in accomplishing this effect. Troy <> foo.tex Description: TeX document

Re: [NTG-context] Appendix Page Numbering

2014-02-13 Thread Troy Henderson
I do have an older version of Evince on this machine (v. 2.32.0). I have a new version installed on another machine. I will check it there. Thank you very much. My only question now would be how to remove the "1" and "A" PRECEDING the chapter names (as indicated in the attached editing of Adity

Re: [NTG-context] Appendix Page Numbering

2014-02-13 Thread Troy Henderson
Hans, Attached is a screenshot of what your output looks like in Evince. I am trying to get the "Page Number" listed as "A" for the Appendix. Troy <>___ If your question is of interest to others as well, please add a

Re: [NTG-context] Appendix Page Numbering

2014-02-13 Thread Troy Henderson
Andreas, Thank you for the reply. I'm afraid that I don't know how to manually manipulate the PDF Catalog. I was able to successfully build the code on this page http://www.ntg.nl/pipermail/ntg-context/2008/036947.html but I had to add \placebookmarks[chapter,section][chapter][force=yes] and

Re: [NTG-context] Appendix Page Numbering

2014-02-10 Thread Troy Henderson
Any thoughts on getting these "custom PDF bookmark/index" entries? Thanks in advance, Troy ___ 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] Appendix Page Numbering

2014-02-06 Thread Troy Henderson
Wolfgang, Thank you for your response. Unfortunately, this does not quite work. The page numbers are correct, but they're not showing up like the previous screenshot in Evince's index. I've attached my ConTeXt source as well as the output PDF and a screenshot of Evince's Index view. Troy foo

[NTG-context] Appendix Page Numbering

2014-02-05 Thread Troy Henderson
similar for the backmatter, but I would like both the page numbers and the PDF index links and PDF page numbers look like A1, A2, ... (for appendix). How can this be done? Thanks, Troy Henderson ___ If your question

Re: [NTG-context] Lucida doesn't work in TL 2013 / latest ConTeXt

2013-04-19 Thread Troy Henderson
> Given the amount of re-work that went into Lucida OT, a re-purchase is > justified ;) > That all depends on how it is being used. I'm not sure what advantage the OT version of the font would have to me over the Type1 version. If a reasonable justification could convince me, then I might agree.

Re: [NTG-context] Lucida doesn't work in TL 2013 / latest ConTeXt

2013-04-19 Thread Troy Henderson
> > Did we change something with the type 1? In mkiv ... we probably never > finished the mappings ... waste of time now that we have otf. This makes me believe that I will eventually HAVE to purchase (and by "purchase" I really mean "re-purchase) the OTF versions in order to use my Lucida fonts.

Re: [NTG-context] MetaPost Function Grapher

2013-02-23 Thread Troy Henderson
> > Is it possible allowing export to Tikz or Pgfplots? If I would had the > opportunity to also download the source Tikz or Pgfplots, it would be > absolutely amazing. > Unfortunately, I don't know TikZ or PGF, so not only would I have to learn these, but I would also have to rewrite the code to

[NTG-context] MetaPost Function Grapher

2013-02-22 Thread Troy Henderson
"Download" drop-down box. Simply executing `context mpgraph.tex` should produce the same graph viewed on the website in PDF. If you see any bugs, feel free to let me know. Troy Henderson ___ If your ques

Re: [NTG-context] \setupitemgroup symbol

2013-02-19 Thread Troy Henderson
> \starttext > \definesymbol[100][§] % or \definesymbol[100][\S] > \setupitemgroup[symbol=100] > \startitemize[100] > \item This is a test. > How can I ensure there is no space between the \S and "This is a test"? Troy __

Re: [NTG-context] \setupitemgroup symbol

2013-02-19 Thread Troy Henderson
> > \definesymbol[100][§] % or \definesymbol[100][\S] > \setupitemgroup[symbol=100] > Thank you Troy ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg

[NTG-context] \setupitemgroup symbol

2013-02-19 Thread Troy Henderson
I would like to use the section symbol \S as the symbol of an itemized (non-enumerated) list. It seems that the wiki shows 9 predefined bullet types, but I don't see how to use a custom bullet type. Troy ___ If your q

[NTG-context] HTML output

2013-02-19 Thread Troy Henderson
ut HTML so that the result looks as close to the PDF output as possible? 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-context] Logical Page Numbers (PDF Bookmarks)

2013-02-13 Thread Troy Henderson
in the PDF bookmarks appear as i, ii, iii, ... , 1, 2, 3, ... If there are 5 pages in the frontmatter, then all of my page numbers are off by 5 in the PDF bookmarks. How can this be fixed? Troy Henderson ___ If your ques

[NTG-context] \copypages and page numbers

2013-02-12 Thread Troy Henderson
op of raster page instead of behind? 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 we

[NTG-context] Indenting nested itemize

2013-02-08 Thread Troy Henderson
The following does not seem to "indent" the second level itemization. The first level is indented correctly by 2em, but the second level is not indenting by 4em. Troy Henderson \setupindenting[no] \setupitemgroup[itemize][1][][margin=2em] \setupitemgroup[itemize][2][][margin=4em]

[NTG-context] \starttable ... \stoptable padding

2013-02-07 Thread Troy Henderson
How do I adjust the margin/padding of \starttable ... \stoptable? In particular, can I make cells immediately next to one another without any padding? Troy Henderson ___ If your question is of interest to others as

Re: [NTG-context] \setlayer on \startalign row

2013-02-06 Thread Troy Henderson
Any idea how to put a \framed{ ... } around \NC \NC x \NC = \NC 12 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/mailm

Re: [NTG-context] \setlayer on \startalign row

2013-02-06 Thread Troy Henderson
> > For display equations, the following will also work (but it is very tedius > to type) > Good workaround. Troy ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : nt

Re: [NTG-context] \setlayer on \startalign row

2013-02-06 Thread Troy Henderson
Aditya, Can you confirm this phenomenon? 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 we

Re: [NTG-context] \setlayer on \startalign row

2013-02-06 Thread Troy Henderson
Aditya, Thanks for your steps.tex. The following example does not work as expected. In particular, the first equation moves from page 1 to page 2, and the "12 x" moves from page 2 to page 3. Troy \StartStepping{10} \startformula \startalign[n=4,align={right,right,middle

[NTG-context] \setlayer on \startalign row

2013-02-06 Thread Troy Henderson
layer]{\NC a + c \NC = \NC b + c \NR} \stopalign \stopformula \stoptext 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] Fixed Line Height

2013-02-06 Thread Troy Henderson
> > Your macros slide-with-steps are very nice > For the record, these are not my macros. Aren't they yours? Anyway, the only thing I changed from what's on http://wiki.contextgarden.net/SlideWithSteps is I changed \eject to \page[yes] and I changed \phantom{ ... } to \setlayer[StepsHiddenLaye

Re: [NTG-context] Fixed Line Height

2013-02-06 Thread Troy Henderson
Thanks Wolfgang for the explanation. \setupblank[fixed,big] works very well too. Now for another question. I have modified "SlideWithSteps" from http://wiki.contextgarden.net/SlideWithSteps It seemed not to like \eject and I replaced \phantom{ ... } with \setlayer[StepsHiddenLayer]{ ... } wher

Re: [NTG-context] Fixed Line Height

2013-02-06 Thread Troy Henderson
> > Use \setupblank[fixed,line]. > Aditya's solution sees to force content at the bottom of the page to stay on the current page whereas Wolfgang's forces it to the next page. Both have benefits to me, so thanks for both solutions. Troy ___

Re: [NTG-context] Fixed Line Height

2013-02-06 Thread Troy Henderson
> > \appendtoks\fixedblankskip\to\everybeforeblankhandling >> > This seemed to work just fine. > probably \setupblank[line] is better > This did not seem to work. :-( Troy ___ If your question is of interest to othe

[NTG-context] Fixed Line Height

2013-02-05 Thread Troy Henderson
any/all of these to get this effect. 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] Sans Serif Math Font

2013-02-04 Thread Troy Henderson
> > if you really want a sans math font hvmath is probably a candidate (as is > informal) > Are you talking about this? http://www.micropress-inc.com/fonts/hvmath/hvmain.htm If I were to purchase the OTF version of this font, would I be able (fairly easily) in ConTeXt to typeset my entire docume

Re: [NTG-context] Sans Serif Math Font

2013-02-04 Thread Troy Henderson
Does the OTF version of the Lucida fonts have "correct" math sans serif? If so, I may likely purchase them. Troy ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-

Re: [NTG-context] Sans Serif Math Font

2013-02-03 Thread Troy Henderson
> Except that it gives you upright letters instead of italic ones. > Indeed. If you figure out how to "fix" this, I would really appreciate it. Troy ___ If your question is of interest to others as well, please add a

Re: [NTG-context] Sans Serif Math Font

2013-02-02 Thread Troy Henderson
> > What I don't know is how to properly switch to sans serif math > "globally"/by default. The command \mathss gives upright instead of > italic letters. > \appendtoks \mathss \to \everymathematics Troy ___ If your q

Re: [NTG-context] Sans Serif Math Font

2013-02-02 Thread Troy Henderson
> > What I don't know is how to properly switch to sans serif math > "globally"/by default. The command \mathss gives upright instead of > italic letters. > If you figure that out, please let me know. That would be great. I am about to create an online mathematics course where I will be using qu

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

[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, p

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 / http://www.ntg.nl/mailman/listi

[NTG-context] Rotating \copypages

2013-01-31 Thread Troy Henderson
ze page is 8.5in 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, ple

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 / http://www.ntg.nl/mai

[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] 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

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 tab

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 quest

[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 : ntg-context@nt

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 / http://www.ntg.nl/mailm

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,

[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] 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

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 : ntg-contex

[NTG-context] MdSymbol as Math Font

2013-01-18 Thread Troy Henderson
typescripts > 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] 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. \setmathf

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-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
> > \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 / http://www.ntg.nl/mailman/listinfo/ntg-cont

[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

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

2013-01-17 Thread Troy Henderson
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

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 http

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

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-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 : h

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 anim

[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

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:

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 / http://www

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

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

[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 interes

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 / http://www.ntg.nl/mailman/listinfo/ntg-contex

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 / http://www.ntg.nl/mailman/listinfo/ntg-

[NTG-context] Resetting Page Numbers

2012-12-10 Thread Troy Henderson
2". That is, I would like the first (title) 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 Wik

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] Section Header and Enumerations

2012-12-10 Thread Troy Henderson
ot; 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.

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 / http://www

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! mail

[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[+]

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 / http://www.ntg.nl/mailm

[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] 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 quest

[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

  1   2   >