Kip Warner wrote:
Hey folks,
I'm not sure where to be looking, as this may well be a feature already
implemented in ConTeXt or its lower level dependencies. I couldn't find
anything in the mailing archives, nor in the reference manual or wiki.
In my PDF viewer Evince, I have a navigation
Hi!
The following works well with default font but produces too small
parentheses with xits.
\doifmodeelse{xits}{\setupbodyfont[xits]}
\starttext
\startformula
\left(
\startmatrix[n=1]\dorecurse{10}{\NC 1\NR}\NC 1\NR\stopmatrix
\right)
\stopformula
\stoptext
Any ideas?
Aditya Mahajan wrote:
On Sat, 16 Apr 2011, Yury G. Kudryashov wrote:
Works correctly here (need to remove the last \NR due to a bug in
\stopmatrix, but that increases the size of the parenthesis, not reduce
it).
Are you using the latest version of xits?
I used the latest xits
Alan BRASLAU wrote:
A fun exercise is to put a text through google translate into any
language, then pass the result back into the original language.
via Russian: Fun exercise is to put the text through Google Translate in
any language, and then pass the result back to the original
Jon Crump wrote:
All,
I thought to use TeX's \note[ref], but the following doesn't seem to work.
\startxmlsetups xml:ref
\define\thisRefName{\xmlatt{#1}{target}}
\xmldoifelse{#1}{parent::d...@type='arText']}
{\footnote[\thisRefName]{\xmlfirst{#1}
Hi!
Why the following doesn't work?
\def\mybuf{\startbuffer[a]b\stopbuffer}
\mybuf
Actually, I need slightly more advanced command, but this is the minimal
example.
___
If your question is of interest to others as
Li Yanrui (李延瑞) wrote:
Hi,
Now it can not be compiled and luatex outputs:
mplib : loading 'metafun.mp' (experimental metapost version two)
mplibmp terminal: ! Redundant equation.
to be read again
;
* u = 1cm;
xmin = -2.6u; xmax =
Hi!
Color is not the only place where TikZ treats ! in a special way. For
example, in TikZ/LaTeX you can say:
\coordinate (A) at (0, 0);
\coordinate (B) at (1, 0);
\coordinate (C) at ($ (A)!.3!(B) $); % z.C = .3[z.A, z.B] in MetaPost
\coordinate (D) at (2, 1);
\coordinate (E) at ($ (A)!(B)!(D)
Hi!
The following doesn't work in MkIV. Tried both current and beta.
\definenote[thanks][conversion=set 2]
\starttext
Test\thanks{Thanks}
\stoptext
I get Test^1 instead of a symbol.
___
If your question is of
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
Wolfgang Schuster wrote:
Am 25.11.2010 um 09:54 schrieb Yury G. Kudryashov:
The following used to work about a month or two ago.
\setupenumerations[way=bysection]
\newcounter\theorems
\defineenumeration[thm]
[text=Theorem,prefix=yes,prefixsegments=section,counter=theorems
Procházka Lukáš wrote:
Hello,
is there in Ctx something like \todo command, provided by LaTeX via todo
package (http://mirror.ctan.org/macros/latex/contrib/todo/todo.pdf)?
There is a fixme third-party module.
Hi!
Could you please tell me how to sort bibliogrpahy in ConTeXt Mark IV? I've
tried
\setuppublications[sorttype=author,sort=yes]
but this doesn't work.
It seems that bibl-tra.lua contains two compare() functions. Which one is
used (my Lua knowledge is far from perfect)?
P.S.: I'm ready to
S Barmeier wrote:
Sorry to keep going on about this, but trying to load the
project/environment with either of
\project myproject
\environment myenvironment
in the component (directly after \startcomponent) gives me an error. It
compiles fine without these commands, but then the \ruby
luigi scarso wrote:
On Tue, Oct 12, 2010 at 12:27 PM, Alan BRASLAU alan.bras...@cea.fr
wrote:
On Tuesday 12 October 2010 11:54:28 Steffen Wolfrum wrote:
Hans recommended:
\stopfootnote{}
Thank you.
This will work, but it is pretty ugly.%
\startfootnote
Hopefully Hans will fix this
Otared Kavian wrote:
Hi Hans,
Thanks for giving the information to those unlucky people who were not at
the ConTeXt conference: Since I am interested in the feature you mention,
I just tried with the latest beta you uploaded today, but the command
\setupbackeds[export=yes] is unknown.
Peter Rolf wrote:
Hi,
this is the first time I use tikz and maybe something is missing in my
example. I tried the second graphic from page 206 of the tikz manual.
Sadly I only get a opaque blue square. Example and log file attached.
Package tikz: Error! You need to say
Otared Kavian wrote:
Hi Pau,
\define[1]\eqref{(\in[#1])} % this definition is optional…
\definereferenceformat[ineq][left=(,right=)]
It is more handy to use \type{\eqref}: as one sees in equation
\ineq[nohair]
Mojca Miklavec wrote:
On Tue, Aug 31, 2010 at 09:42, Taco Hoekwater wrote:
to use
\documentclass[10pt,a4paper]{article}
instead of 12pt, so one would need to account for that change as well.
One more warning: AFAIR, [10pt,a4paper] != [a4paper,10pt].
Hi!
In mp-base.mp dotlabel calls label twice. Once with t_, and once without. Is
it intentional? plain.mp from texlive calls label only once with t_.
___
If your question is of interest to others as well, please add
Hi!
Is it possible to get the value of a MetaPost variable from TeX? It can,
e.g., add show u; to MetaPost input, then parse output. I want to pretty-
print the values of some MetaPost variables.
Another question: is it possible to query the expansion of a macro from
inside \directlua, if I
Hi!
In tikz I can say
\draw[help lines] (0, 0) circle (1cm);
and setup what does help lines mean (color, linewidth etc.) in the
environment file with \tikzset{help lines/.style={...}}.
Is there any way to do something similar with ConTeXt+MetaPost? Should I add
Hans Hagen wrote:
On 9-8-2010 12:22, Yury G. Kudryashov wrote:
\NC \in [x] \NC \in {left}[x] \NC \in {}{right}[x] \NC \in
{left}{right}[x] \NC \NR
I see no left or right in the first string in PDF output. Just
1\t1\t1\t1.
sure, as \in has no left and right (nor a setup
Hans Hagen wrote:
On 9-8-2010 9:17, Yury G. Kudryashov wrote:
Hans Hagen wrote:
On 9-8-2010 12:22, Yury G. Kudryashov wrote:
\NC \in [x] \NC \in {left}[x] \NC \in {}{right}[x] \NC \in
{left}{right}[x] \NC \NR
I see no left or right in the first string in PDF output. Just
Hi!
The following code:
\definereferenceformat[lem][text=Lemma]
\inlem[lem:mylemma]
produces just a number, no Lemma prefix. I've sent a patch to fix it a
while ago. Could you please apply it, or tell me why you don't want to apply
it?
--
Yury G. Kudryashov--- a/tex/texmf-context/tex
Hans Hagen wrote:
On 8-8-2010 2:44, Yury G. Kudryashov wrote:
Hi!
The following code:
\definereferenceformat[lem][text=Lemma]
\inlem[lem:mylemma]
produces just a number, no Lemma prefix. I've sent a patch to fix it a
while ago. Could you please apply it, or tell me why you don't want
Hans Hagen wrote:
On 8-8-2010 7:19, Yury G. Kudryashov wrote:
Hans Hagen wrote:
On 8-8-2010 2:44, Yury G. Kudryashov wrote:
Hi!
The following code:
\definereferenceformat[lem][text=Lemma]
\inlem[lem:mylemma]
produces just a number, no Lemma prefix. I've sent a patch to fix
Hans Hagen wrote:
On 25-6-2010 2:24, Mojca Miklavec wrote:
Since they are written in two different scripts you can theoretically
enable them simultaneously (but I'm not sure if this is supported by
default).
interesting and quite trivial to support ... do you have a test file?
I do.
%
Matija Šuklje wrote:
Hullo,
in Slovenian it's not allowed to word-wrap/hyphenate abbrevations. In the
CV I'm writing right now, I have a few of those and they get hyphenated
and broken.
How can I tell that a single word/abbrevation should *not* be hyphenated
and broken?
Try \hbox{word}
Vyatcheslav Yatskovsky wrote:
References russian translation (Yury G. Kudryashov)
What is Список літературі? In Ukrainian, it is Список літератури, if
you meant this.
Thanks, I looked at Список літератури, typed Список літературі, and my
wife (she is from Ukraine) haven't catched the typo
Hi!
I try to use ConTeXt with synctex. I generate two versions of my paper, so I
use --result option. Context renames the .pdf file, but not .synctex.gz,
hence inverse search doesn't work. As a workaround, I renamed the draft for
me version to the default output name.
Vyatcheslav Yatskovsky wrote:
Thanks for providing translations. )
I also wonder why ru is specified in your code. Maybe ua (uk) ?
% Список літератури
\setupheadtext [\s!ru]
Copy+paste, forgotten to edit. Next time I will send just Russian, and
you'll add Ukranian, OK (I'm from Russia, and
Hans Hagen wrote:
On 19-6-2010 3:58, Yury G. Kudryashov wrote:
Hi!
I try to use ConTeXt with synctex. I generate two versions of my paper,
so I use --result option. Context renames the .pdf file, but not
.synctex.gz, hence inverse search doesn't work. As a workaround, I
renamed the draft
Hi!
I have some lemmas with title, others without titles; some theorems should
be numbered, others (e.g. cites from other articles) shouldn't. Is there any
way to achieve this except for the following?
\defineenumeration[theorem][...]
\defineenumeration[exttheorem][theorem][number=no]
What do
Hi!
Could you please add the following to lang-cyr.tex:
% Список литературы
\setupheadtext [\s!ru][pubs=\cyrillicS \cyrillicp \cyrillici
\cyrillics \cyrillico \cyrillick
\space \cyrillicl \cyrillici
richard.steph...@converteam.com wrote:
The cite is removed because the original message was HTML only. Please,
never use HTML only messages.
Try
\setuppublicationlist[width=5mm]
___
If your question is of interest
Hi!
I try to sort my bibliography by athor:
\setupbibtex[database=these.bib,sort=author]
\setuppublications[numbering=yes,sorttype=bbl]
\starttext
\completepublications
\stoptext
The .bbl file is sorted, but references in the resulting .pdf are sorted in
citation order.
Hi!
I use $x↦2x$ in xits, and it prints x→2x instead of x↦2x. The same file
works with latin modern. It seems that xits-math contains U+21A6 (↦) symbol
(at least, kcharselect displays this character in xits-math font), so it
should be related to some meta-information.
Khaled Hosny wrote:
On Sat, Jun 12, 2010 at 01:19:08PM +0400, Yury G. Kudryashov wrote:
Hi!
I use $x↦2x$ in xits, and it prints x→2x instead of x↦2x. The same file
works with latin modern. It seems that xits-math contains U+21A6 (↦)
symbol (at least, kcharselect displays this character
Mojca Miklavec wrote:
On Tue, Jun 8, 2010 at 16:50, Yury G. Kudryashov ur...@ya.ru wrote:
Taco Hoekwater wrote:
luigi scarso wrote:
On my linux box32bit
$bash first-setup.sh
stops with
Beta is a tad unstable at the moment, should be better in an hour or so.
It seems that the real
Taco Hoekwater wrote:
luigi scarso wrote:
On my linux box32bit
$bash first-setup.sh
stops with
Beta is a tad unstable at the moment, should be better in an hour or so.
It seems that the real problem is in setup/linux-64/bin files which are
rsync'ed by first-run.sh before running mtxrun.
Wolfgang Schuster wrote:
Am 06.06.10 09:55, schrieb Yury G. Kudryashov:
Hi!
How can I typeset Russian in Mark IV? None of the examples from wiki
work. I found TeXGyre and (no) Cyrillic thread, but there are no
instructions, just Cyrillic doesn't work with TeXGyre anymore.
You need
taco wrote:
Hi,
Yury G. Kudryashov wrote:
Another problem fixed by my patch:
\definereferenceformat[ineq][text=equation]
\starttext
\placeformula[first]
\startformula 1=1\stopformula
\ineq[first]
\stoptext
printed 1, not equation 1.
This problem is still there and needs fixing
Hi!
How can I typeset Russian in Mark IV? None of the examples from wiki work. I
found TeXGyre and (no) Cyrillic thread, but there are no instructions,
just Cyrillic doesn't work with TeXGyre anymore.
___
If your
Taco Hoekwater wrote:
Mojca Miklavec wrote:
On Sun, Jun 6, 2010 at 11:05, Taco Hoekwater wrote wrote:
Mojca Miklavec wrote:
On Sat, Jun 5, 2010 at 17:13, Yury G. Kudryashov wrote:
Are there any automatic unit test for ConTeXt distribution?
I'm thinking that we might want to set up one
Vyatcheslav Yatskovsky wrote:
Hello,
It might be 100 time this question appears on the list, but I cannot
find the answer.
I need Introduction to have no number, and next section to have number
1, so on. My current solution gives me number 2, instead.
There are two cases:
1. You want
Hi!
\dodosetreference is not defined, but \dododosetreference is defined twice
in strc-ref.mkiv. This breaks \pagereference, hence t-fixme. I think that
the first definition should be replaced with \def\dodosetreference.
Hi!
Are there any automatic unit test for ConTeXt distribution? At least the bug
with referenceformat can be catched using something like
context test
pdftotext test.pdf test.txt
diff test.txt test.txt-good
And the bug with broken footnote can be catched using just context test.
If there are
Aditya Mahajan wrote:
On Fri, 4 Jun 2010, Stefan Müller wrote:
if I'm typesetting for example $(a,x,\dots,b)$ I see that the space
before the x is too small.
Does
\setupmathematics[autopunctuation=no] % or yes
give better result? (Are you using MKIV or MKII)?
I had a similar issue
Hi!
I try the following with current beta:
\setupinteraction[state=start]
\starttext
\placeformula[eq:test]
\startformula
1=1
\stopformula
\pagebreak
\in[eq:test]
\stoptext
When I click on the link, nothing happens. The links generated by
LaTeX+hyperref work in the same viewer (okular,
luigi scarso wrote:
On Thu, Jun 3, 2010 at 5:32 PM, Yury G. Kudryashov ur...@ya.ru wrote:
Hi!
I try the following with current beta:
\setupinteraction[state=start]
\starttext
\placeformula[eq:test]
\startformula
1=1
\stopformula
\pagebreak
\in[eq:test]
\stoptext
When I click
Yury G. Kudryashov wrote:
Hi!
I try the following:
\definereferenceformat[ineq][left=(,right=),text=Equation]
\starttext
\placeformula[first]
\startformula
2=2
\stopformula
In \in[first] ineq \ineq[first] in \in[first].
\stoptext
The result is:
2 = 2 (1)
In 1 ineq (1) in (1
taco wrote:
Hi,
Yury G. Kudryashov wrote:
It seems that \ineq doesn't clear some variables, and the next \in uses
the previous format.
Please, apply the attached patch upstream. It fixed the problem for me.
This problem was already fixed in the latest (internal?) beta.
I shall test once
Hans Hagen wrote:
On 29-5-2010 6:58, Yury G. Kudryashov wrote:
Hi!
Unicode subscripts do not work (at least, in math):
P.S.: Superscript digits work. Probably, the font contains ¹ but not ₁.
in which case ... do you expect that glyph? or maybe one special for
math? and does its size
Hi!
I try the following:
\starttext
$∫_a^b \int_a^b$
\stoptext
In the first case, the integral sign is below the text. Should I use another
font, or is it possible to fix with the default one?
___
If your question
Hi!
I try the following:
\definereferenceformat[ineq][left=(,right=),text=Equation]
\starttext
\placeformula[first]
\startformula
2=2
\stopformula
In \in[first] ineq \ineq[first] in \in[first].
\stoptext
The result is:
2 = 2 (1)
In 1 ineq (1) in (1).
It seems that \ineq doesn't clear some
Taco Hoekwater wrote:
Yury G. Kudryashov wrote:
Hi!
I try the following:
\starttext
$∫_a^b \int_a^b$
\stoptext
In the first case, the integral sign is below the text. Should I use
another font, or is it possible to fix with the default one?
It is possible to fix this. The reason
Hi!
Unicode subscripts do not work (at least, in math):
\starttext
$a₀₁₂₃₄₅₆₇₈₉₋₌₊$
\stoptext
prints only a. The file char-def.lua contains block like this:
[0x2080]={
category=no,
description=SUBSCRIPT ZERO,
direction=en,
linebreak=al,
specials={ sub, 0x0030 },
unicodeslot=0x2080,
Hi!
I try to use \inmargin{some text} in context Mk IV, and the resulting margin
notes overlap. Is there any way to emulate LaTeX's marginpars (they're
considered floats, hence can be moved to avoid overlaps)?
Minimal example:
\starttext
\inmargin{first}
\inmargin{second}
\stoptext
--
Yury G
Wolfgang Schuster wrote:
Am 28.05.10 19:02, schrieb Yury G. Kudryashov:
Hi!
I try to use \inmargin{some text} in context Mk IV, and the resulting
margin notes overlap. Is there any way to emulate LaTeX's marginpars
(they're considered floats, hence can be moved to avoid overlaps
Hi!
The following example from http://wiki.contextgarden.net/Math/Display#Sub-
Formula_Numbering doesn't work in MKIV:
\startsubformulas[eq:1]
\placeformula[eq:first]
\startformula
c^2 = a^2 + b^2
\stopformula
\placeformula[eq:second]
\startformula
c^2 = a^2 + b^2
\stopformula
\stopsubformulas
В сообщении от 9 октября 2009 21:10:19 автор Hans Hagen написал:
Alain Delmotte wrote:
just add
\syntex=1
SyncTeX docs say \synctex=1
in your source
--
Yury G. Kudryashov,
mailto: urkud.ur...@gmail.com
signature.asc
Description: This is a digitally signed message part
[theorem][text=Theorem,location=serried,right=.]
Later I use \starttheorem[thm:bony:random:open] ... \stoptheorem, \in{theorem}
[thm:bony:random:open], and get just 'theorem' instead of 'theorem 1'.
--
Yury G. Kudryashov,
mailto: urkud.ur...@gmail.com
63 matches
Mail list logo