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 navi
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 use
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?
___
Hi!
While converting translations to lang-txt.lua many spaces in Russian and
Ukranian translations were replaced by the string "space". See attached
patch.--- lang-txt.lua.old 2011-04-02 01:45:04.0 +0400
+++ lang-txt.lua 2011-04-02 01:46:56.0 +0400
@@ -459,13 +459,13 @@
pl="
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 lang
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}
{root::/body/text
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)
> mplib > mp terminal: ! Redundant equation.
>
>;
> <*> u = 1cm;
> xmin = -2.6u; xmax = 4u; d
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 intere
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=Theo
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
\def
Yury G. Kudryashov wrote:
> 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. Whi
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 con
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
luigi scarso wrote:
> On Tue, Oct 12, 2010 at 12:27 PM, Alan BRASLAU
> 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
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 \usetikzlibr
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 h
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
drawoptions(\MPvar{another-styl
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
>>>>>
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
Hans Hagen wrote:
> On 8-8-2010 7:40, Yury G. Kudryashov wrote:
>
>>> this is only one case (we also need labels, content, left and right to
>>> work ok)
>
> I uploaded a beta that handles the following as intended.
>
> \starttext
>
> \definerefe
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[l
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 pat
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/t
;context-only" TeX distribution. If you don't need
LaTeX, you can use minimals, else install TeXLive 2010 (context Mark IV is
broken in TeXLive 2009).
P.S.: Do you use "forward" instead of "reply"? Or why your e-mail agen
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
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
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 Rus
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:
>> "References" russian translation (Yury G. Kudryashov)
>
> What is "Список літературі"? In Ukrainian, it is "Список літератури", if
> you meant this.
Thanks, I looked at "Список літератури", typed "Сп
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 t
Hi!
Could you please add the following to lang-cyr.tex:
% Список литературы
\setupheadtext [\s!ru][pubs=\cyrillicS \cyrillicp \cyrillici
\cyrillics \cyrillico \cyrillick
\space \cyrillicl \cyrillici
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
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
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.
_
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.
___
Mojca Miklavec wrote:
> On Tue, Jun 8, 2010 at 16:50, Yury G. Kudryashov wrote:
>> Taco Hoekwater wrote:
>>
>>> luigi scarso wrote:
>>>> On my linux box32bit
>>>> $>bash first-setup.sh
>>>>
>>>> stops with
>>>
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
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]
>> \sto
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
Wolfgang Schuster wrote:
> Am 06.06.10 10:59, schrieb Rogutės Sparnuotos:
>> !define font: font with name cmuserif-normal-normal is not found
>> !define font: unknown font cmuserif-normal-normal, loading aborted
>> !define font: unable to define cmuserif-normal-normal as
>> \*cyr12ptrm
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 wa
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 distr
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 you
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
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.
__
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 simil
luigi scarso wrote:
> On Thu, Jun 3, 2010 at 5:32 PM, Yury G. Kudryashov wrote:
>> Hi!
>>
>> I try the following with current beta:
>>
>> \setupinteraction[state=start]
>> \starttext
>> \placeformula[eq:test]
>> \startformula
>> 1=1
&
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,
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 fixe
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
&g
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 glyp
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 },
unicodes
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
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 varia
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
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 f
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
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 s
eorems. I define
\defineenumeration[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'
68 matches
Mail list logo