Hi,
in the latest beta (211.04.13), the cdots in the following, display as a blank:
\starttext
foo $x \cdots y$ bar.
\stoptext
ldots, however, work fine.
Regards,
Mathieu
___
If your question is of interest
Hi,
in the following document,
\starttext
foo $a \longrightarrow_\sigma b$ bar.
\stoptext
the arrow doesn't look right and the spacing of the \sigma is wrong.
Latest beta (2011.04.13).
Regards,
Mathieu
___
If your
With the following code I get
1. Teil foo
§ 1 1 bar
i baz
but I need
1. Teil foo
§ 1 A. bar
I. baz
I cannot get the needed information from the wiki and the documentation.
\def\PartNo#1{#1.\,Teil}
\def\ChapterNo#1{§ \headnumber[part]
\determineheadnumber[chapter
{Foo}
\section{A long title} \input knuth \section{A long title} \input knuth
\section{A long title} \input knuth
\chapter{Bar}
\startitemize \item one \item two \item three \stopitemize
\section{A long title} \input knuth \section{A long title} \input knuth
%\section{A long title} \input knuth
From the source of the manual:
\starttext
bar\par
\blank[2\bodyfontsize]
bar
\stoptext
with latest minimal I get:
[...]
system tex error on line 8 in file zz.tex: Illegal unit of
measure (pt inserted) ...
1 \starttext
2 bar\par
3 \blank[2\bodyfontsize]
4 bar
5
Hi,
the subject says it all. The question left is if this is a bug or a
feature :-)
Example:
\starttext
\definecolor[foo] [s=0,a=1,t=.5]
\definepalet[bar]
[foobar=foo]
\blackrule[width=3cm,height=3cm,color=foo] % transparent black
\blackrule[width=3cm,height=3cm,color=foobar] % pure black
On 2011-03-28 Marco net...@lavabit.com wrote:
In the following example the page focus jumps back to
»fit« after clicking on the footnote number after
»Foo«, although »focus=standard« is set.
\setupinteraction [state=start, focus=standard] \starttext
Foo \startfootnote Bar
=width]
\starttext
\completecontent [interaction=all]
\startchapter [title=Foo]
\stopchapter
\page
\startchapter [title=Bar]
\stopchapter
\stoptext
Marco
___
If your question is of interest to others as well, please
In the following example the page focus jumps back to »fit« after clicking on
the footnote number after »Foo«, although »focus=standard« is set.
\setupinteraction [state=start, focus=standard]
\starttext
Foo
\startfootnote
Bar
\stopfootnote
\stoptext
How to respect the users scaling factor
and \getmarking use TeX’s mark mechanism which is
meant for elements which are added after the page is finished.
Here is a example which shows a problem with expansion:
\setuplayout[lines=10]
\def\foo{foo}
\appendtoks\gdef\foo{bar}\to\everyaftershipout
\starttext
\dorecurse{20}{\foo\par}
\stoptext
What you
On 03/01/2011 03:43 PM, Hans van der Meer wrote:
Oeps, I must have been spoiled by the \startxmlsetups where spaces at line end
seem to be harmless.
By the way, how can one get rid of the black bar under the color bars? It looks
like a black background that has been shifted down somewhat.
I
in the title bar of the annotation’s
pop-up window when open and active. This entry shall identify the user who
added the annotation.
and shows as the upper line when mouse pointer is above attachment icon.
Did not try to have file size and time information added to file stream -
but it'd be nice
for an example PDF file.)
---
what he names author/subject is the T entry in annotation dictionary
(the same where /Subtype /FileAttachment goes), that is described as
The text label that shall be displayed in the title bar of the
annotation’s pop-up window when open and active. This entry shall
. `\overline` works as you say, but it looks
typographically different in the respect that the bar is closer to the
letter, which of course solves the issue for the inline fraction. For α
this looks quite strange in my eyes. But I do not know a lot about
typography.
Please find the PDF-output attached
On Mon, 7 Feb 2011, Paul Menzel wrote:
thank you for your answer. `\overline` works as you say, but it looks
typographically different in the respect that the bar is closer to the
letter, which of course solves the issue for the inline fraction. For α
this looks quite strange in my eyes. But I
/context.mkiv
MTXrun | current version: 2011.02.04 10:01
1. The bar divides for subscripts/indices.
2. If you look at the first fraction, the bar is as long as the stroke
from the fraction and therefore I think too long.
3. When inlining the fraction in text the bar fuses with the stroke
: 2011.02.04 10:01
1. The bar divides for subscripts/indices.
2. If you look at the first fraction, the bar is as long as the stroke
from the fraction and therefore I think too long.
3. When inlining the fraction in text the bar fuses with the stroke from
the fraction.
Are these know
result.
0x2016 is described in char-def.lua, and in font-agl.lua.
FF605 is referred to only in math-vfu.lua.
Maybe if Hans has a little time, he can explain where the double vertical bar
is constructed: the problem is that these bars are scaled swelled (or English)
rules rather than bars
}
\stoptext
Just in time! exactly what I was googling for a second ago (apart from
the bar, I wanted the others too!)
Regards,
Khaled
--
Khaled Hosny
Arabic localiser and member of Arabeyes.org team
Free font developer
on the next page.
It seems that the length (or range) of the vertical bar is given by the
height of the FIRST column.
It seems to me that the rule height should rather be given as (or related to):
1) MAXIMUM of height of all columns
2) or height of i-th rule as maximum of height of i- and (i+1
}),\\startframedtext)
context.setvalue(table.concat({stop ,foo}),\\stopframedtext )
\stopluacode
\starttext
\foo{foo}
\startfoo bar\stopfoo
\stoptext
You can also write “context.setvalue(start..foo,…)” but table.concat
looks better but the question is why don’t you use just tex
to create the start
,\\framedtext)
context.setvalue(table.concat({start,foo}),\\startframedtext)
context.setvalue(table.concat({stop ,foo}),\\stopframedtext )
\stopluacode
\starttext
\foo{foo}
\startfoo bar\stopfoo
\stoptext
This would just create \startfoo. \setvalue{\e!start foo} creates a
interface specific command. The code
On Thu, 6 Jan 2011, Khaled Hosny wrote:
Looks like \stattable ... \stoptable no longer do grouping, the
following is broken unless \stattable ... \stoptable is grouped.
\starttext
\placetable[here,nonumber]{foo}
\starttable[|r|r|]
\NC foo \NC bar \AR
\stoptable
\stoptext
This is still
Looks like \stattable ... \stoptable no longer do grouping, the
following is broken unless \stattable ... \stoptable is grouped.
\starttext
\placetable[here,nonumber]{foo}
\starttable[|r|r|]
\NC foo \NC bar \AR
\stoptable
\stoptext
Regards,
Khaled
--
Khaled Hosny
Arabic localiser and member
the year appear at the end and
how to make the publisher in italics, too? I would like such changes to
apply to other types of references as well (books, inproceedings, etc...)
Second, \cite[Thor:2010,Bar:2009] produces something like [6 and 9]. How
do I get rid of 'and' and get simply [6,9
to other types of references as well (books, inproceedings, etc...)
Second, \cite[Thor:2010,Bar:2009] produces something like [6 and 9]. How
do I get rid of 'and' and get simply [6,9]?
This is my current setup (mainly code copied from the Wiki):
\usemodule[bib]
\setupbibtex[database=my-biblio,sort
/div
div xml:id=b
bar
/div
/text
/body
set foo and not bar. This, for example, does not work:
\startxmlsetups xml:minimalsetups
\xmlsetsetup{#1}{*}{-}
\xmlsetsetup{#1}{body|text|div}{xml:*}
\xmlsetsetup{#1
. You then traverse
all the elements and drill down to a witness element
whose xml:id attribute is identical to the wit attribute
of your current element. So element wit=#foo will pick
up the content of witness xml:id=foobar/witness and
print bar. This should get you going.
Last point: I don't
Hi!
I want to have the following (Theorems and Lemmas share the counter,
way=bysection):
Section 1. Foo
Theorem 1.1 Bar
Lemma 1.2 Baz
Section 2. Foo
Theorem 2.1 Bar
Lemma 2.2 Baz
The following used to work about a month or two ago.
\setupenumerations[way=bysection]
\newcounter\theorems
this worked some days ago:
\starttext
\starttabulate[|p(3cm)|p|]
\NC foo \NC bar \NC
\stoptabulate
\stoptext
minimal mkiv
Herbert
systems : begin file 09-02-15.ctxcrop at line 1
! Undefined control sequence.
\bskip ...bulatehook \ifconditional \autotabulate
On 20-11-2010 9:27, Herbert Voss wrote:
this worked some days ago:
\starttext
\starttabulate[|p(3cm)|p|]
\NC foo \NC bar \NC
\stoptabulate
\stoptext
minimal mkiv
I'll check it ... I did some cleanup + added color support. For the
moment add \NR to end the row
trhe documentation says, that this should work:
\starttext
{\bs bold slanted}
{\bi bold italic}
\starttabulate[||f\bs|f\bi|]
\NC foo\NC bar\NC baz\NC
\stoptabulate
\stoptext
I get a foo bar baz in the default font setting
Herbert
\starttabulate[|p(0.35\textwidth)|p(0.125\textwidth)|p|]\HL
\NC foo \NC bar \NC baz \NC\NR
\stoptabulate
\stoptext
Herbert
___
If your question is of interest to others as well, please add an entry to the
Wiki
---
So it seems I'd need to reset an internal counter... The question remains.
\starttext
\setupheadnumber[chapter][2]
\chapter{foo}
bar
\chapter{bar}
baz
\stoptext
Herbert
___
If your question is of interest
... How easy!
Thanks.
Lukas
\setupheadnumber[chapter][2]
\chapter{foo}
bar
\chapter{bar}
baz
\stoptext
Herbert
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist
[chapter][command=\MyChapterTitle]
\starttext
\chapter{Foo}
bar
\stoptext
This doesn't work because the chapter title isn't expanded out before
passing it to \MyChapterTitle. I know there is deeptextcommand but I
need the chapter title during the layout of chapter number + title, so
I need to use
[mylibertine,12pt,rm]
foo bar baz
\ss
foo bar baz
\tt
foo bar baz
%\showbodyfont
\stoptext
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http
seconds
define fonts source file 'lbr' is not found
define fonts unable to determine font format for ''
define fonts source file 'lbd' is not found
...
it looks for the yy filenames, but I have only the TUG ones.
In which file is this defined?
\setupbodyfont[lucida]
\starttext
foo \ss bar
]
\starttext
foo \ss bar
\stoptext
context-minimal
Lucida is somewhat special. Context has always supported lucida but used
the original lucida names (lbr.* etc). However, when tig took over from
yandy it decided not to ship those files and as a result lucida became
unuseable. Recently we adapted
#1%
{{\def\\##1{\smallcapped{##1}}#1}}
\unexpanded\def\SmallCapped#1%
{\CAPPED{\\#1}}
\def\Cap{\mathortext\normalCap\SmallCapped}
\starttext
\Cap{foo bar baz}
\CAP{foo \\bar \\baz}
\stoptext
Herbert
___
If your
The documentation says, that this should work, but it didn't:
\starttext
\margintext{foo}bar baz
\stoptext
However, in the documentation the example also didn't show the
margin text (p 64).
Herbert
___
If your
On Sat, 6 Nov 2010, Herbert Voss wrote:
The documentation says, that this should work, but it didn't:
\starttext
\margintext{foo}bar baz
\stoptext
However, in the documentation the example also didn't show the
margin text (p 64).
There was an email about it yesterday with a fix. Did you see
Am 06.11.2010 22:28, schrieb Aditya Mahajan:
On Sat, 6 Nov 2010, Herbert Voss wrote:
The documentation says, that this should work, but it didn't:
\starttext
\margintext{foo}bar baz
\stoptext
However, in the documentation the example also didn't show the
margin text (p 64
Do I need some additional settings to get lower
greek letters in the example? I get only a dot for g
\starttext
\startitemize[g]
\item foo
\item bar
\item baz
\item baz
\stopitemize
\startitemize[G]
\item foo
\item bar
\item baz
\item baz
\stopitemize
\stoptext
MTXrun | current version
On 31-10-2010 12:11, Herbert Voss wrote:
Do I need some additional settings to get lower
greek letters in the example? I get only a dot for g
\starttext
\startitemize[g]
\item foo
\item bar
\item baz
\item baz
\stopitemize
\startitemize[G]
\item foo
\item bar
\item baz
\item baz
\stopitemize
2010/10/31 Herbert Voss herbert.v...@fu-berlin.de:
Do I need some additional settings to get lower
greek letters in the example? I get only a dot for g
\setupbodyfont[dejavu]
\starttext
\startitemize[g]
\item foo
\item bar
\item baz
\item baz
\stopitemize
\startitemize[G]
\item foo
\item bar
as
default text. I suppose, that \mar has no optional
argument?
\starttext
\startitemize
\item baz
\mar[foo]{+} bar baz
\item barbaz
\stopitemize
\stoptext
Herbert
___
If your question is of interest to others as well
[DE][DE]
\setuplayout[width=8cm,height=10cm]
\setuparranging[doublesided]
\setuppagenumbering[alternative=doublesided]
\setupheads[alternative=margin,align=outer]
\starttext
\chapter{Foo}
\section{A long title} \input knuth
\section{A long title}
\section{A long title} \input knuth
\chapter{Bar
%
{\ininnermargin{#1}
\inframed[width=broad,align=inner,frame=off,offset=none]{#2}}
\starttext
\chapter{Foo}
\section{A long title} \input knuth
\section{A long title}
\section{A long title} \input knuth
\chapter{Bar}
\section{A long title} \input knuth \section{A long title} \input knuth
\section
(apart from the reference) argument to
“\item”, e.g.
···8
\startitemize[n]
\item[n=1] foo
\item[n=2] bar
\item[n=3] foo
\item[n=5] bar
\item[n=8] foo
\item[n=13] bar
\stopitemize
···8
this on per-item basis. This would
amount to having another (apart from the reference) argument to
“\item”, e.g.
···8
\startitemize[n]
\item[n=1] foo
\item[n=2] bar
\item[n=3] foo
\item[n=5] bar
\item[n=8] foo
\item[n=13] bar
Hello,
How can I teach \type{} to break lines just as \hyphenatedurl{} does?
\starttext
\hsize1pt
\type{C:bla/blub/foo/bar}
\hyphenatedurl{C:bla/blub/foo/bar}
\stoptext
TIA for any help!
Peter
--
Contact information: http://pmrb.free.fr/contact
On 26-8-2010 11:02, Peter Münster wrote:
Hello,
How can I teach \type{} to break lines just as \hyphenatedurl{} does?
\starttext
\hsize1pt
\type{C:bla/blub/foo/bar}
\hyphenatedurl{C:bla/blub/foo/bar}
\stoptext
not, but there is \typ for normal text
Hans
On Thu, Aug 26 2010, Hans Hagen wrote:
On 26-8-2010 11:02, Peter Münster wrote:
Hello,
How can I teach \type{} to break lines just as \hyphenatedurl{} does?
\starttext
\hsize1pt
\type{C:bla/blub/foo/bar}
\hyphenatedurl{C:bla/blub/foo/bar}
\stoptext
not, but there is \typ for normal
.
\usemodule[bib]
\setupbibtex[database={test.bib}]
\setuppublications[alternative=ams, refcommand=authornum]
\setupcite[authornum][left={\}, andtext={ foo }, namesep={ bar }] %
just
some random options, none of them works
\starttext
document message bar
Best wishes,
Taco
___
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
On 21-4-2010 2:51, Mojca Miklavec wrote:
Dear Hans,
since the version of LuaTeX will be frozen to 0.60.0 in TeX Live (I
assume), would it make sense to put some effort into making sure that
the version of ConTeXt that will be shipped with TeX Live will be at
least compatible (and possibly free
On Sat, 17 Apr 2010 06:37:02 +0200
Wolfgang Schuster schuster.wolfg...@googlemail.com scribit:
[...]
the sign | (vertical bar) seems to be a special char (context/mkiv)
it is only compiled if present in pairs |text |
the message: File ended while use of \next
\type{|} works
():
a = 3
b = 4
\stoplines
\stoptext
Wolfgang
-
the sign | (vertical bar) seems to be a special char (context/mkiv)
it is only compiled if present in pairs | text |
the message: File ended while use of \next
\type{|} works
-
--
René
lines environment.
\definelines[code][style=mono,space=on]
\startcode
\bold{def} ra()
...
\stopcode
the sign | (vertical bar) seems to be a special char (context/mkiv)
it is only compiled if present in pairs |text |
the message: File ended while use of \next
\type{|} works
To keep
to
overlay circles on it using TeX? Please, an example.
First, create a metapost macro to draw a dot on a bar using two
arguments. Let's assume this is mark(a,b). I won't write that
metapost macro for you, you have to do that yourself.
\startuseMPgraphic{chordgrid}{e,B,G,D,A,E}
drawoptions(withpen
[ContrastColor2][r=.1,g=.1,b=.4] %current actionbar bar
\setupinteraction [ state=start,
menu=on,
page=yes,
color=HyperlinkColor
\processcommalist[foo,bar]\quotation
\processcommalist[]\quotation
\processcommalist[abc,xyz]\quotation
\stoptext
You expect to get
“foo”“bar”
“”
“abc”“xyz”
as output but what you really get is
“foo”“bar”
“abc”“xyz”
The empty argument is ignored and nothing happens.
Wolfgang
Hans Hagen wrote:
On 22-3-2010 21:06, Peter Rolf wrote:
Hi,
the underbar line is drawn vertically here.
\starttext
sonder\underbar{bar}
\stoptext
MTXrun | current version: 2010.03.20 22:59
This is LuaTeX, Version beta-0.53.0-2010032213 (rev 3535)
looks like a but in luatex ... when
Am 23.03.2010 11:02, schrieb Taco Hoekwater:
Hans Hagen wrote:
On 22-3-2010 21:06, Peter Rolf wrote:
Hi,
the underbar line is drawn vertically here.
\starttext
sonder\underbar{bar}
\stoptext
MTXrun | current version: 2010.03.20 22:59
This is LuaTeX, Version beta-0.53.0-2010032213
Hi,
the underbar line is drawn vertically here.
\starttext
sonder\underbar{bar}
\stoptext
MTXrun | current version: 2010.03.20 22:59
This is LuaTeX, Version beta-0.53.0-2010032213 (rev 3535)
Peter
___
If your
Just checked here in
ConTeXt ver: 2010.03.20 22:59 MKIV fmt: 2010.3.21 int: english/
english
Can confirm that:
\starttext
sonder\underbar{bar}
gives vertical bar, but the following (note the blank line after
starttext) does not.
\starttext
sonder\underbar{bar}
met vriendelijke groet
On 22-3-2010 21:06, Peter Rolf wrote:
Hi,
the underbar line is drawn vertically here.
\starttext
sonder\underbar{bar}
\stoptext
MTXrun | current version: 2010.03.20 22:59
This is LuaTeX, Version beta-0.53.0-2010032213 (rev 3535)
looks like a but in luatex ... when i use a long word we get
This code:
\enableregime[utf]
\starttext
\title{BLAH BLAH\\
BLAH}
\setuppagenumbering[state=stop]
\page
\setuppagenumbering[state=start,location={footer,center},conversion=romannumerals,style={\bf}]
\completecontent
\page
\setuppagenumbering[state=stop]
\chapter[chapter:foo]{Foo Bar
, but not into the element.
I'm not sure, if I have understood the meaning of the pattern
parameter correctly. Is this equal to XPath?
%-
\starttext
\startluacode
local xmp = xml.convert(?xml version='1.0'
standalone='yes'?\nroot\nbarbla/bar\n/root)
--xml.before(xmp,/root/bar,subfoo/sub
]
\setuptyping [PYTHON][bodyfont=10pt,option=color]
\installprettytype[PYTHON] [PY]
\definetyping [PYTHON][option=PYTHON]
\starttext
\section{Python sample}
\startPYTHON
#!/usr/local/bin/python
import os.path, sys
# Just a comment
foo = os.environ.get('FOO')
bar
not
sure, if I have understood the meaning of the pattern parameter
correctly. Is this equal to XPath?
%-
\starttext
\startluacode
local xmp = xml.convert(?xml version='1.0'
standalone='yes'?\nroot\nbarbla/bar\n/root)
--xml.before(xmp,/root/bar,subfoo/sub)
--xml.delete(xmp,bar
\nbarbla/bar\n/root)
--xml.before(xmp,/root/bar,subfoo/sub)
--xml.delete(xmp,bar)
--xml.inject(xmp,/sub,subbar/sub)-- only for xml-files?
xml.insert(xmp,/root/bar,sub/)
--xml.inject(xmp,/*/bar,sub/)
this works
sub/sub
Mhh, not here. When I look into the saved file (test.xml) I get
?xml
\nbarbla/bar\n/root)
--xml.before(xmp,/root/bar,subfoo/sub)
--xml.delete(xmp,bar)
--xml.inject(xmp,/sub,subbar/sub)-- only for xml-files?
xml.insert(xmp,/root/bar,sub/)
--xml.inject(xmp,/*/bar,sub/)
this works
sub/sub
Mhh, not here. When I look into the saved file (test.xml) I get
add some
. Is this equal to XPath?
%-
\starttext
\startluacode
local xmp = xml.convert(?xml version='1.0'
standalone='yes'?\nroot\nbarbla/bar\n/root)
--xml.before(xmp,/root/bar,subfoo/sub)
--xml.delete(xmp,bar)
--xml.inject(xmp,/sub,subbar/sub)-- only for xml-files?
xml.insert(xmp,/root/bar,sub
Hey all,
I'm trying to use a bibliography, but it seems no numbers are show in the
biblography that is generated. The following example:
Test.tex:
=
\usemodule[bib]
\setupbibtex[database=Test]
\starttext
\section{foo}
Blaa \cite[foo] Bar
W00ps, forgot to include the testcase I made:
\starttext
Foo \inmargin{Blerf} Bar \inmargin {Baz}
\stoptext
signature.asc
Description: Digital signature
___
If your question is of interest to others as well, please
On Wed, Dec 2, 2009 at 11:47 AM, Matthijs Kooijman matth...@stdin.nl wrote:
W00ps, forgot to include the testcase I made:
\starttext
Foo \inmargin{Blerf} Bar \inmargin {Baz}
\stoptext
Your code is ok
Try
\starttext
Foo Baz \inmargin {Blerf \\ Baz}
\stoptext
\starttext
Foo Baz \inmargin
. For example:
Some short paragraph referencing foo. \refdef{foo}
And another paragraph refering bar. \refdef{bar}
This has the references in the logical places. With your suggestions, I must
change this to:
Some short paragraph referencing foo. \refdef{foo,bar}
And another paragraph
]
\setupbibtex[database=ctx-tx]
\starttext
\startbodymatter
\chapter{Chapter X}
\cite[bar]
\cite[bar]
\stopbodymatter
\startappendices
\chapter{Bibliography}
\placepublications
\stopappendices
\stoptext
@article{bar,
author={Bar, K.},
title={Hello world},
journal={Super Smurfs},
year
font) virtual definitions are
far from perfect (but that should not affect you, as you are using
CambriaMath).
* There is no support for skewed (text-style, with a diagonal bar,
like in the frac feature) fractions yet in luatex.
* The traditional TeX commands \atopwithdelims, \overwithdelims
, I think
this is not supposed to happen. This happens with MkII as well as MkIV, it
seems.
The following example shows the problem:
\starttext
\quote{Foo}
\setupquotation[style=tfb]
\quote{Bar}
\stoptext
Gr.
Matthijs
signature.asc
Description: Digital signature
}]
\definelayer[BAR]
\starttext
% OK
\setlayer[BAR][x=0mm,y=0mm]
{\framed[background=color,backgroundcolor=lightgray,frame=off]
{\startoverprint first one\stopoverprint}}
\setlayer[BAR][x=50mm,y=0mm]
{\framed[background=color,backgroundcolor=lightgray,frame=off]
{\startoverprint second one
{\getitemparameter\currentitemlevel\c!placestopper}\v!yes
{\def\tempsymbol{\getitemparameter\currentitemlevel\c!stopper}}
{\let\tempsymbol\empty}%
\fi}
I get the correct numbers with the following example.
\starttext
\startitemize[n][start=2]
\item foo
\item bar
\stopitemize
{\def\tempsymbol{\getitemparameter\currentitemlevel\c!stopper}}
{\let\tempsymbol\empty}%
\fi}
I get the correct numbers with the following example.
\starttext
\startitemize[n][start=2]
\item foo
\item bar
\stopitemize
\startitemize[n]
\item foo
\item bar
\stopitemize
\stoptext
\currentitemlevel\c!placestopper}\v!yes
{\def\tempsymbol{\getitemparameter\currentitemlevel\c!stopper}}
{\let\tempsymbol\empty}%
\fi}
I get the correct numbers with the following example.
\starttext
\startitemize[n][start=2]
\item foo
\item bar
\stopitemize
\startitemize[n]
\item foo
\item
Hi,
I'm using a custom pretty printer to apply some formatting to a buffer.
However, I'm not using a monospaced font, but some sans serif font to display
the result. In the original text, I have some lines that are nicely aligned
using leading spaces. For example:
foo = bar
| baz
Hi all,
foo = bar
| baz
it seems I found some sort of a solution. Using the \setwidthof I found at
[1], I wrote the following:
\def\setwidthof#1\to#2%
{\bgroup
\setbox\scratchbox\hbox{#1}%
\expanded{\egroup\def\noexpand#2{\the\wd\scratchbox}}}
foo = bar
\setwidthof{foo
spaces. For example:
foo = bar
| baz
Obviously, when using a non monospaced font for this, the alignment is lost.
When in math mode, I can use \startalign to force alignment, like:
\startalign
foo \NC= bar
\NC| baz
\stopalgin
However, I haven't manage to switch to math mode inside
product or other which degrades the quality of both
type and especially bar codes.
It is perhaps not a problem that you choose to address in Context.
But I am trying all avenues looking for an Open Source solution that
can meet these draconian requirements.
--
John Culleton
Able Indexers
, typically a cover layout, does not meet the above
requirements then it is pre-rasterized by the printer prior to
prepress in some product or other which degrades the quality of both
type and especially bar codes.
It shouldn't. You should use vector type and vector barcode, not bitmap
(ie gnu barcode
On Sun, 16 Aug 2009, Xan wrote:
Hi,
Just a question: what's the equivalent of \overbar in math mode. \underbar
works in math mode, but \overbar does not.
\bar or \overline
Aditya
___
If your question
changes to multiple files, with a single message, so if
you work on one logical change at a time, this should not be a problem.
Perhaps you are thinking of CVS, which (AFAIK) provides only per-file
versioning?
Also, even short messages like, Added \foo command, or Fixed \bar
alignment would probably
changes
in files (even typos or just formatting)
Also, even short messages like, Added \foo command, or Fixed \bar
alignment would probably be helpful.
i've probably forgotten that by the time i submit a zip as there can be
quit esome time between a commit then
Then again, you are completely
]
\usetikzlibrary[mindmap,arrows,calc,decorations.pathmorphing,decorations.markings]
% it seems that something is loaded twice (or at least dimension
registers are redefined)
\setupunderbar[alternative=b] % Fix underline style
% you can use the textbackgrounds for this (see anch-bar)
Hans
]
% it seems that something is loaded twice (or at least dimension
registers are redefined)
\setupunderbar[alternative=b] % Fix underline style
% you can use the textbackgrounds for this (see anch-bar)
Thanks for this pointing
Regards,
Xan
, but not identical,
equipment at a range of locations. My idea was to create one ConTeXt project
that, depending upon the definition of one string in the project file,
appropriately adjusts the resulting document's title and pulls in component
foo for location A, bar for location B, etc.
My problem
information on similar, but not identical, equipment at a range of locations. My idea was to create one ConTeXt project
that, depending upon the definition of one string in the project file, appropriately adjusts the resulting document's
title and pulls in component foo for location A, bar for location
and pulls in component foo for location A, bar for location B,
etc.
My problem is, after playing with if, ifx, and ifcase for some time and
digging through all the ConTeXt and TeX documentation I can find, I'm
still not understanding how to accomplish the TeX/ConTeXt equivalent
, google,
this list, etc and I'm either searching for the wrong thing or there is
nothing written about it.
\goto{one}[document-1::foo]
\goto{two}[document-2::bar]
in mkii there is also \usereferences[somefile] that permits loading of
references from another file
Hans
901 - 1000 of 1245 matches
Mail list logo