Hi all,
In writing class notes, I frequently make one-letter macros for formatted
symbols, such \v and \w for vectors. Generally speaking, one-letter names for
function/macros/variables is frowned upon in programming, but I find this
localized use very convenient.
In cont-new.mkiv, one finds
Hi Jim,
I think you want alternative “a”, if the dot instead of a letter is the problem
and not the whitespace:
%%
\starttext
This is a short paragraph.
This is a line before a {\bf packed, joinedup} itemization.
\startitemize[a,packed,joinedup]
\item First item.
\item Second item.
Can you stick "\phantom{Introduction:}" in front of “DIsability”?
Michael
> On Sep 28, 2021, at 11:08 PM, jbf via ntg-context wrote:
>
> In just one instance I would like the following to work differently:
>
> \startchapter[title={Introduction\\Disability and
>
I was looking into command completion in TeXShop (MacOS) and came across this
two-year-old call for help by one of the developers (I assume) for implementing
it for ConTeXt:
http://macosx-tex.576846.n2.nabble.com/TeXShop-Command-Completion-ConTeXt-td7586673.html
As far as I found, command
Thanks! I should have tried that. -mkr
> On Sep 7, 2019, at 12:59 PM, Otared Kavian wrote:
>
> Hi you should use \nequiv as in
>
> \starttext
> Let $f \nequiv 0$ be a function
> \stoptext
>
> Best regards: OK
>
>> On 7 Sep 2019, at 18:35, Rogers, Micha
In plain TeX you can get a slash through $\equiv$ with $\not\equiv$. When I do
the same in ConTeXt, the slash next to the $\equiv$. Is there a way to get a
not-equivalent sign in ConTeXt?
Thanks,
- Michael
\starttext
$\not\equiv$
\stoptext
This e-mail
Thank you very much, Hans.
On Feb 16, 2018, at 10:52 AM, Hans Hagen <pra...@wxs.nl<mailto:pra...@wxs.nl>>
wrote:
On 2/16/2018 3:16 PM, Rogers, Michael K wrote:
This sort of thing worked a year ago and two years ago (sorry, not sure of the
versions now):
because it's too fragile
Hi,
This sort of thing worked a year ago and two years ago (sorry, not sure of the
versions now):
%%
\starttext
\startformula
A = \pmatrix{
0.006525 \hfill& 0.006331 \hfill& 0.006828 \hfill\cr
1.006\hfill& 0.009352 \hfill& 1.010 \hfill\cr
0.002385 \hfill& 0.006376 \hfill& 1.001
Hi,
Perhaps this?:
\starttext
\placeinitial
Knuth writes:
\hfill\break
\input knuth
\stoptext
There may be a more ConTeXt-idiomatic way, in which case someone else will
probably say. Note that structurally the above combines "Knuth writes:" and
the first text segment (up to the first blank
> On Feb 5, 2017, at 12:09 PM, Aditya Mahajan <adit...@umich.edu> wrote:
>
> On Sun, 5 Feb 2017, Rogers, Michael K wrote:
>
>> Let's say I want a link to plot x+2 in Wolfram|Alpha. I need to catenate
>> "http://www.wolframalpha.com/input/?i=; and "pl
Let's say I want a link to plot x+2 in Wolfram|Alpha. I need to catenate
"http://www.wolframalpha.com/input/?i=; and "plot+x%2B2". Is there any way
already available in ConTeXt to translate reserved characters like "+" to the
percent-hexcode "%2B"?
Something like
\encode[plot x+2]
This seems to work in place of 0.866cm: sqrt(3)/2*cm
Michael
On Feb 2, 2017, at 3:54 PM, Fabrice Couvreur
> wrote:
Hello,
I wanted to use sqrt(3)/2 but without success. Instead, I replaced this value
with an approximate value
I use $…$. And for copying text from one TeX to another (e.g. ConTeXt <—>
PlainTex/Latex/Markdown/Jax), it would be a pain if I couldn't.
Michael
> On Feb 17, 2016, at 1:24 PM, Aditya Mahajan wrote:
>
> On Wed, 17 Feb 2016, Alan BRASLAU wrote:
>
>> However, I can see
The keys packed and joinedup seem to control the keys before, after, and
inbetween. You can use these keys directly to get whatever style you like.
The setting packed is equivalent to
\startitemize[3][before=\blank,after=\blank,inbetween=]
The setting joinedup is equivalent to
I do not have this problem with the documents I produce on my Mac. I have had
it with some (but not all) documents on ConTeXt sites, such as Hans' ConTeXt
Lua Documents. Also I can select text but copy/paste does not work. Perhaps
it has to do with fonts.
Michael
On May 30, 2013, at 5:00
Hi,
Below \stretched works by itself, but causes a fatal error when in the macro
(\Name). I get the same result with all variants.
Perhaps there's a better way?
MWE:
\def\Name{\stretched[width=]}
%\def\Name#1{\stretched[width=]{#1}}
%\define[1]\Name{\stretched[width=]{#1}}
OK, it's not the macro. This fails (same error: ! This can't happen
(add_disc_widths)):
\starttext
St. \stretched[width=]{Banac}
\stoptext
This works:
\starttext
St. \stretched[width=]{Bana}
\stoptext
Strange.
On Apr 6, 2013, at 10:26 AM, Rogers, Michael K mrog...@emory.edu
wrote:
Hi
On Feb 6, 2013, at 1:04 AM, Ingo Hohmann
cont...@ingohohmann.demailto:cont...@ingohohmann.de wrote:
On 02/03/2013 04:56 AM, Rogers, Michael K wrote:
On Feb 1, 2013, at 6:16 PM, Ingo Hohmann
cont...@ingohohmann.demailto:cont...@ingohohmann.de wrote:
Hi,
is it possible to define a block
On Feb 1, 2013, at 6:16 PM, Ingo Hohmann cont...@ingohohmann.de wrote:
Hi,
is it possible to define a block, where lines are automatically formatted
differently?
For example:
first line in caps,
second in bold,
others normal.
Is this possible? And how?
If you mean input lines, then
Hi Alan,
Try something like this:
\setupinteraction[state=start]
\starttext
\define[1]\MyCaptions{My caption is \quotation{#1}}
%\define[1]\MyCaptions{} % gives empty caption
\setupcaptions[command=\MyCaptions]
\startplacefigure[reference=fig:cow.pdf,title=Figure
A][here,page,force,nonumber]
On Jan 27, 2013, at 7:09 AM, Sietse Brouwer sbbrou...@gmail.com
wrote:
This is because \startformula can take one optional argument in square
brackets, and [x,x] is interpreted as that argument. You can make
\startformula stop looking for [...] either by telling it to `\relax`,
or by giving
On Jan 26, 2013, at 1:01 PM, Troy Henderson thend...@gmail.com
wrote:
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]
On Jan 26, 2013, at 4:21 PM, Troy Henderson thend...@gmail.com
wrote:
\chapter{Foo}\page[no]
\copypages[path/to/file.pdf]
did the trick.
Troy
This should work, too:
\setuphead[chapter,section,subsection][number=no,placehead=no,page=no]
This e-mail
Hi,
I wrote Lua routines a while back that parse a string representation of a
weekly schedule to create a table representation of the schedule. It worked
last fall. Certainly in August, 2012 and I think at least as late October. I
just tried it again, but it failed; and it failed on the
...@gmail.com
wrote:
Am 14.01.2013 um 15:08 schrieb Rogers, Michael K mrog...@emory.edu:
Hi,
I wrote Lua routines a while back that parse a string representation of a
weekly schedule to create a table representation of the schedule. It worked
last fall. Certainly in August, 2012 and I think
On Jan 7, 2013, at 11:46 AM, Marco Patzer
home...@lavabit.commailto:home...@lavabit.com wrote:
On 2013–01–07 Troy Henderson wrote:
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.
I love
On 12/28/2012 8:41 PM, Troy Henderson wrote:
I've created several animations using MetaPost/ConTeXt, and I have also
created a webpage with these animations. The URL to the page is
http://www.tlhiv.org/animations/
Feedback is appreciated, and if there is a particular animation that you
On Dec 28, 2012, at 3:49 PM, Troy Henderson
thend...@gmail.commailto:thend...@gmail.com wrote:
One thing, which you may know, gear teeth do not normally have rectangular
profiles.
This must be what Hans was talking about.
I thought Hans was talking about the animations of the construction of
The following gives the error with the latest beta:
! Math error: parameter \Umathquad\displaystyle is not set.
with or without setting the font. Is there a quick fix?
%\usetypescript[pagella]
%\setupbodyfont[pagella,12pt]
\starttext
$f$
\stoptext
Thanks,
Michael
On Dec 6, 2012, at 8:39 AM, Mojca Miklavec mojca.miklavec.li...@gmail.com
wrote:
On Thu, Dec 6, 2012 at 2:29 PM, Hans Hagen wrote:
are there messages on the console with respect to missing fonts?
The font is now called latinmodernmath-regular.otf. You need to
change or add that name.
Yes,
On Dec 2, 2012, at 1:02 PM, Aditya Mahajan adit...@umich.edu
wrote:
On Fri, 30 Nov 2012, Aditya Mahajan wrote:
Hi,
I was updating the wiki entry on \externalfigures
(http://wiki.contextgarden.net/Command/externalfigure) and noticed that I
cannot get ConTeXt to include a movie.
[...]
On Nov 18, 2012, at 8:30 AM, H. Özoguz h.oezo...@mmnetz.de
wrote:
After installing the standalone version (was quite hard for me with
TexWorks), now several problems arises. The simplest document
\starttext
Test
\stoptest
compiles without problems. But my book gives now several errors.
For some reason I used someone's earlier posting to test something about my tex
software and accidentally happened upon this odd behavior. If the
\startitemize code below is repeated 10 or more times, either with \dorecurse
or by pasting it ten times, only one is typeset. If nine times, then
On Nov 16, 2012, at 5:25 AM, H. Özoguz h.oezo...@mmnetz.de wrote:
So which paths I have to add to get the standalone version working with
texworks?
Have you tried the procedure in
http://wiki.contextgarden.net/Setting_up_TeXworks ?
Michael
This e-mail
I cannot get to it….
This e-mail message (including any attachments) is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If the reader of this message is not the intended
recipient, you are hereby notified
Hi,
It seems fixed with the current beta (2012.10.30 21:13) and broken with a beta
from a week or two ago. (I just updated after your example failed.)
-mkr
On Nov 2, 2012, at 6:09 AM, Jeong Dal hak...@me.commailto:hak...@me.com
wrote:
Dear all.
The following short sample gives a under
One issue is that the overlay overlaps the text space (reduces whitespace or
potentially overlaps letters). One could use a blank row with a black
background, but a row seems to have a minimum height of about 2mm. I
discovered the boffset key, which can be used with the overlay, but it's
Hi,
I wanted to start a proof with Proof: in italics and place a figure next to
the right margin. There are many ways to accomplish this, but my normal way,
{\it Proof:\/}, fails. Is this a bug or am I making a mistake?
\starttext
\startuseMPgraphic{ProofPQR}
numeric u; u:=2.5cm;
draw ((0,
I encountered a strange error. If the section name contains iffer then an
error is produced, with some joke-like comments.
Minimal example:
\starttext
\chapter{One}
\section{iffer}
\stoptext
The original title was Differentiating an integral but I kept taking away
until I got to iffer.
Actually it happens with the text iffer:
\starttext
iffer
\stoptext
On Oct 5, 2012, at 9:44 PM, Rogers, Michael K mrog...@emory.edu
wrote:
I encountered a strange error. If the section name contains iffer then an
error is produced, with some joke-like comments.
Minimal example
On Sep 28, 2012, at 8:31 PM, Troy Henderson thend...@gmail.com
wrote:
I have a list of numbers,
2, 6, 7, 8, 12, 14, 18, 20, 186, 188, 316, 318, 354, 372, 376
that I would like to use as exceptions in a \dostepwiserecurse loop. That
is, within the loop if \recurselevel is NOT EQUAL to
On Sep 18, 2012, at 2:44 AM, Procházka Lukáš Ing. - Pontex s. r. o.
l...@pontex.czmailto:l...@pontex.cz
wrote:
It seems that my question is not so straightforward - I didn't think it would
it could be problem to separate public macros (= public ConTeXt commands =
these that are cited in
On Sep 15, 2012, at 1:36 AM, luigi scarso
luigi.sca...@gmail.commailto:luigi.sca...@gmail.com
wrote:
On Sat, Sep 15, 2012 at 1:23 AM, Troy Henderson
thend...@gmail.commailto:thend...@gmail.com wrote:
and which uses Cairo and Poppler for its conversion. Now in order for my
simplistic filter
I often want every math mode (between single $) be \displaystyle. In Plain
TeX, you do something like
\everymath={\displaystyle}
Is the best ConTeXt way to do something like this?
\appendtoks\displaystyle\to\everymathematics
Or is there a key in \setupmathematics?
Thanks,
Michael
On Sep 4, 2012, at 4:00 AM, Sietse Brouwer wrote:
how do I include the chapter number in the figure numbering?
Untested:
\setupcaptions[prefixsegment=chapter]
This works with beta 2011-11-29, but unfortunately not in a current
one. Does it work for you?
You're right: it doesn't work for
On Sep 3, 2012, at 9:39 PM, Aditya Mahajan wrote:
On Mon, 3 Sep 2012, Michael Rogers wrote:
On Sep 2, 2012, at 12:24 PM, Aditya Mahajan wrote:
Is it possible to stretch the widths of each column in natural TABLEs, so
that the widths are in a certain propotion? For example, suppose I have
In a recent thread, Hans used the document namespace, where I (naively)
expected userdata:
On Aug 22, 2012, at 6:32 AM, Hans Hagen wrote:
\ctxlua{document.myluadimension = 200pt}
Is there a reason not to use userdata.myluadimension? Or is
document.myluadimension safe, because myluadimension
On Aug 12, 2012, at 5:00 AM, Robert Blackstone wrote:
On 10 aug. 2012, at 21:09, 19:59:36, Hans Hagen pra...@wxs.nl wrote
The next beta has:
\starttext
\definelow [MyLow] [style=\txx]
\definehigh [MyHigh] [style=\txx]
\definelowhigh [MyLoHi] [style=\txx]
Hi,
Since no one has offered a quick ConTeXt solution, I offer my usual -- a dumb
Plain TeX solution:
\def\lomihi#1#2#3{${\scriptstyle{#2}}\limits_{#1}^{#3}$}
With the Computer Modern font, the top is a little further away from the middle
than the bottom. It can be adjusted with something
Hi,
I don't seem to have an epub reader that can format the output. (MS Word
complain there was no xslt file, But the xhtml file produced contains the
metadata and the document structure. Output pasted below.
Michael
On Aug 9, 2012, at 9:09 AM, Marcin Borkowski wrote:
Hello all,
my
-minimal is the directory where I have the latest version of the
standalone ConTeXt)...
On 1 août 2012, at 00:41, Rogers, Michael K
mrog...@emory.edumailto:mrog...@emory.edu wrote:
...
If you like, add these three lines to the beginning of your .tex file to force
TeXShop to use ConTeXt-CLD
If you wish to use TeXShop, you can set it up...in my typically kludgy way.
This mimics the TeXShop setup for Context Standalone (see
http://wiki.contextgarden.net/ConTeXt_Standalone/Mac_Installation) and assumes
that context is in your regular execution path.
Create a new plain-text file in
On Jul 25, 2012, at 1:06 AM, Shriramana Sharma wrote:
On Wed, Jul 25, 2012 at 10:29 AM, Rogers, Michael K mrog...@emory.edu wrote:
Here's a hack, which sort of works, definitely doesn't handle return --
there must be a better way. I hope you don't mind my using your text as
text
On Jul 25, 2012, at 12:50 AM, Mari Voipio wrote:
Hello All,
I'm looking for some for dummies information about using variables.
I tried looking for it in the wiki, but only found this Internals
page that's a bit too advantaged to me:
There is an example of an address label in
Mojca'shttp://dl.contextgarden.net/myway/csv.pdf that throws an error in the
current beta. I changed \def\SendMe to \unexpanded\def.. which fixed one
error. But now I get the following. Can it be fixed?
\usemodule[database]
On Jul 24, 2012, at 5:45 PM, Peter Münster wrote:
Hi,
How could I please align vertically the 2 table cells in the following
example:
--8---cut here---start-8---
\starttext
\bTABLE
\bTR \bTD 1 \eTD \bTD \framed{1 Über} \eTD \eTR
\eTABLE
\stoptext
On Jul 24, 2012, at 10:33 PM, Shriramana Sharma wrote:
Hi -- is there absolutely no way for obtaining these fake small caps
in ConTeXT?
Here's a hack, which sort of works, definitely doesn't handle return -- there
must be a better way. I hope you don't mind my using your text as text. :-)
On 2012-07-18 Marcin Borkowski mbork@??? wrote:
in LaTeX, there is quite a useful package called lipsum, for
typesetting varioud amounts of Lorem ipsum stuff. Is there anything
like that in ConTeXt? (I know about \input knuth, \input tufte etc.,
but that is not exactly what I have in mind,
On Jul 16, 2012, at 10:27 AM, Philipp Gesang wrote:
···date: 2012-07-16, Monday···from: Rogers, Michael K···
3. And then there is the source, which has some helpful
comments in it. The explanation of the system macros,
http://tex.aanhet.net/context/syst-gen-doc.pdf, has been helpful
Here's a backward-compatibility hack that works on your minimal example. Maybe
it will save the dozens of files without changing all the s:
\let\oldstartalign=\startalign
\let\oldstopalign=\stopalign
\let\oldbs=\\
\def\startalign{\catcode`=4\let\\=\cr\oldstartalign}
I'm familiar with TeX, not with LaTeX, and started ConTeXt last December. Here
are what I've found most useful:
1. In my TeXLive 2011, there is
texlive/2011/texmf-dist/doc/context/manuals/reference/en/contextref.pdf, dated
July 2011 and unfinished. (The change to MKIV is immense and has
On Jul 16, 2012, at 4:13 AM, Jaroslav Hajtmar wrote:
Hallo ConTeXist.
is there anything about nodes for beginners? I think any manual or practical
examples. I would like trying make anything experiments with this.
I found anything only on wiki
On Jul 4, 2012, at 10:56 PM, luigi scarso wrote:
On Thu, Jul 5, 2012 at 12:44 AM, Rogers, Michael K
mrog...@emory.edumailto:mrog...@emory.edu wrote:
XML seems a nice way for machines to deal with data. But it's not a very human
way to speak. I mean, if I write \section{One}...\section{Two
On Jul 5, 2012, at 1:23 AM, luigi scarso wrote:
On Thu, Jul 5, 2012 at 12:44 AM, Rogers, Michael K
mrog...@emory.edumailto:mrog...@emory.edu wrote:
XML documents should form a tree, so a structure like
\startA % A
\startB % B
\stopA % /A
\stopB % /B
won't translate to XML.
Grouping in TeX
On Jul 4, 2012, at 1:29 PM, Peter Münster wrote:
On Wed, Jul 04 2012, Hans Hagen wrote:
no, mixing this way is asking for troubles, if not now, than maybe in the
future
just use \section
Yes, but isn't \startsection the recommended method for the future and
needed for XML output?
XML
On Jul 4, 2012, at 9:42 PM, Peter Münster wrote:
On Thu, Jul 05 2012, Rogers, Michael K wrote:
Have you considered structuring your example like this?:
The output is not the same...
Sorry, I misunderstood.
This e-mail message (including any attachments
On Jun 9, 2012, at 7:08 AM, pddzaic wrote:
Hello context-friends,
I have switched from Latex to Context and my first impression of Context is:
WOW :-)
Unfortunately, I did not understand how to switch between landscape and
portrait. Here a minimal working example:
\mainlanguage[en]
On Jun 6, 2012, at 2:45 PM, Marco wrote:
Hi,
according to the wiki the \externalfigure key “factor” has the
options:
max: aspect ratio is kept, the image is scaled to
the bigger (oversized) variant
fit: aspect ratio is kept, the image is scaled to
the smaller (fitted) variant
On Jun 7, 2012, at 3:15 PM, Bill Meahan wrote:
I'm getting a handle on page layout and headings but there are some things I
haven't figured out.
1) How does one specify they want the outer margin to be a different size
than the inner margin? Outer, of course, is the right margin on a
On Jun 4, 2012, at 5:45 AM, Jan Pohanka wrote:
See page 204, section 8.5 of the metafun book
loadfigure gracht.mp number 1 scaled .5 ;
addto currentpicture also
(currentpicture softened .8)
shifted (bbwidth(currentpicture)+.5cm,0) ;
thank you for the hint, but it seems, that softened
On May 29, 2012, at 8:13 AM, Khaled Hosny wrote:
On Tue, May 29, 2012 at 01:19:00PM +0300, Janne Junnila wrote:
Hi,
I just noticed that the spacing after ${\cal P}$ looks a bit too tight
(non-existent?) while using XITS fonts.
...
Looks fine here (in my eyes at least), can you attach the
files from yesterday, but still no luck. Hope that
help finding the bug.
Andy
P.S. Is there more to be considered than only the font files (the .otf s)?
On 29.05.2012, at 14:39, Khaled Hosny wrote:
On Tue, May 29, 2012 at 12:29:02PM +, Rogers, Michael K wrote:
On May 29, 2012, at 8
On May 26, 2012, at 10:49 PM, Aditya Mahajan wrote:
using the inbuilt library is definely simpler!
Yes, but as you said earlier, you'll still have to do something about GIFs. It
would be nice if luatex had at worst a non-fatal error on scanning a
non-supported file.
Michael
projects. So I
am also interested in, and very grateful, for your MKIV solution.
All best, Alan
On Thu, May 24, 2012 at 5:14 PM, Rogers, Michael K
mrog...@emory.edumailto:mrog...@emory.edu wrote:
1. For \ab you might want
\def\ab{\unskip}
since the space is not the same as the width
I don't know if this helps but the following tells what the type of the image
file is. (In my case I copied a jpg to img1 and a png to img2, without
extensions of course.)
\startluacode
userdata = userdata or { }
function userdata.mytype(s)
context(img.scan({filename=s}).imagetype)
end
On May 25, 2012, at 6:33 AM, Willi Egger wrote:
Hi,
On May 25, 2012, at 12:30 PM, Willi Egger wrote:
Oh dear, stupid me…
Still I have two things:
- It appears that the intent option is not honored and the numbers appear
always in the margin.
should read as intext .. ;-)
- The
1. For \ab you might want
\def\ab{\unskip}
since the space is not the same as the width of a digit.
2. Does your solution work with line numbers greater than 99? I tried to
implement your idea and I got the order 25.7, 25.117, 25.37. Probably more
than 99 lines never occurs on a page, so
On May 24, 2012, at 6:06 AM, Hans Hagen wrote:
On 23-5-2012 04:54, Rogers, Michael K wrote:
I'll try again:
ConTeXt used to match the conversion style in a reference to the itemize
item with the number/character of the item. Now it doesn't convert numbers
to characters. Does
I'll try again:
ConTeXt used to match the conversion style in a reference to the itemize item
with the number/character of the item. Now it doesn't convert numbers to
characters. Does this happen to anyone else? Example:
\setupitemgroup[itemize][1][n]
\setupitemgroup[itemize][2][a]
Hi,
Under the beta version (ConTeXt ver: 2012.05.14 16:00 MKIV fmt: 2012.5.16),
item numbers in references (with \in[..]) are not converted automatically in
the way they used to be done under last year's current ConTeXt. I have
macros that do something like below that no longer work. The
Hi,
I upgraded to the latest beta from the 2011 stable version for the first time.
Now my local modules are not found. Having searched the wiki and the mailing
list, I can find no help. Any ideas?
Error messages:
\usemodule[homework-fmt] --
resolversmodules not found:
On May 17, 2012, at 9:09 AM, Marco Pessotto wrote:
Rogers, Michael K mrog...@emory.edu writes:
Hi,
I upgraded to the latest beta from the 2011 stable version for the
first time. Now my local modules are not found. Having searched the
wiki and the mailing list, I can find no help. Any
I'd love help with this: I have list that uses alternative=command, and it
stopped working when I switched from last year's TeXLive context to a recent
beta. I've minimized the problem to this example:
\definelist [MyList]
\define[3]\MyListEntry{:#1:#2:#3:}
\setuplist [MyList]
On May 17, 2012, at 2:34 PM, Wolfgang Schuster wrote:
Am 17.05.2012 um 20:29 schrieb Rogers, Michael K:
I'd love help with this: I have list that uses alternative=command, and it
stopped working when I switched from last year's TeXLive context to a recent
beta. I've minimized
Hi,
I'm a neophyte using last year's TeXLive context. An expert can probably
improve my answer. Does this work for you?:
\def\atPage[#1]%
{\doifnot{\doifreferencefoundelse{#1}{\currentreferencepage}{?}}{\currentpage}%
{\at[#1]}%
}
I adapted it from code in
\jobname yields the filename (in my last year's TeX Live ConTeXt).
On May 15, 2012, at 11:08 PM, hwit...@gmail.com
wrote:
I want to generate a document i.d. from the .tex source filename and the
current date and put it into the footer.
This might be possible already, but I could find it
On May 3, 2012, at 6:32 AM, Alan BRASLAU wrote:
I believe that this is somewhat a bug with transparency under MetaFun.
For I tried the following:
\startMPcode
picture pic ; pic := image(drawarrow origin--(1cm,0)) ;
draw pic withtransparency(1,.5) ;
draw pic rotated 90 withtransparency(1,.5) ;
Hi,
It is not a bug. It is standard TeX: a space counts after } and is ignored
immediately after a control sequence such as \item. To override either, you
have to be explicit, \ignorespaces as Hans suggested in your case and \
(backslash-space) in the other to put a space in. My preferred,
On Apr 25, 2012, at 12:15 PM, Troy Henderson wrote:
I would like to be able to do something like this
\def\foo#1{
\startMPcode
fill (0,0)--(598,0)--(598,50)--(0,50)--cycle withcolor green;
label.rt(btex #1 etex),(50,25);
\stopMPcode
}
Looks like a misplaced
You can use \startitemize[1] directly. (You can put it in a macro, so if you
ever want to change the style of bullets, you just have to adjust the macro.)
\startnlist
\item Foo
\startitemize[1]
\item Some bullet item 1,
\item Some bullet item 2.
\stopitemize
\item Baz
\startnlist % start
On Mar 23, 2012, at 6:57 AM, Malte Stien wrote:
Is it possible to format indexed words in a particular style within the text
more or less automatically. For example, if I write
There are some \index[ducks] in the zoo.
...I would like the term ducks to appear in small-capitals to indicate
On Mar 23, 2012, at 6:55 PM, Thomas A. Schmitz wrote:
But is there a method for similar calculations inside a frame? Here's what I
tried, but it doesn't give the expected result (the image is much smaller than
expected):
\starttext
On Feb 26, 2012, at 6:44 AM, Stefan Müller wrote:
Hi list,
there is possibly an easy explanation for my following problem, but I don't
know it. Why does \Word have no effect in the following example, and how can
I make it work? In my real document I have \Word in a macro inside the
Hi Stefan,
I didn't know about \Word. It retried your example and it works as is in my
version of ConTeXt, which is an earlier one that yours it seems. [Your other
enumeration example, with way=bychapter etc., works the way you want, too.]
Sorry, I don't think I can help. Perhaps one of
On Feb 26, 2012, at 7:13 PM, Marc Trius wrote:
Hi,
I am trying to format a chapter heading so that there is a linebreak between
the number and the name. The only way I managed to do this is this:
\setuphead[
chapter][command=\ChapTitle]
\def\ChapTitle#1#2%
95 matches
Mail list logo