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
\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[
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 \
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/
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
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
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
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
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 :
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
>
> 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
>
> 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
>
> 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
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
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
>
> 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
_
> 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
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
> 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.
___
> \setupuserpagenumber[viewerprefix=titlepage]
> \startstandardmakeup
> The first page
> \stopstandardmakeup
> \setupuserpagenumber[viewerprefix=p ]
>
I'm clearly missing something.
Troy
\setupinteraction[state=start]
\defineconversionset[frontpart:pagenumber][][romannume
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
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
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
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
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
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
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
> 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.
>
> 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.
>
> 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
"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
> \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
__
>
> \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
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
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
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
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
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]
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
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
>
> 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
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
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
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
>
> 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
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
>
> 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
___
>
> \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
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
>
> 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
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-
> 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
>
> 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
>
> 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
>
> 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
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
> \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
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
>
> \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
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
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
>
> 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
>
> \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
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
\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
>
> \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,
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
>
> 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
>
> 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
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
>
> \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
\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
>
> \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
__
>
> \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
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
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
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
>
> 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
__
>
> 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
_
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
>
> 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
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
>
> 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:
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
>
> 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
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)
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
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
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
>
>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-
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
> 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
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.
>
> 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
>
> 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
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[+]
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
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
> \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
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 - 100 of 192 matches
Mail list logo