Re: [NTG-context] solutions and problems

2014-02-22 Thread Xan
No, it does not work. I have this: % Questions \defineenumeration [exercici] [alternative=serried,text={\startcolor[darkblue]Exercici\stopcolor},stopper={.\space},left={\bgroup},right={\egroup},width=fit,headstyle=\ss,distance=0.25em,width=fit,before={\incrementcounter[resposta]}] %

Re: [NTG-context] solutions and problems

2014-02-23 Thread Xan
Am 22.02.2014 um 18:45 schrieb Xan dxpublica at telefonica.net: No, it does not work. I have this: % Questions \defineenumeration [exercici] [alternative=serried,text={\startcolor[darkblue]Exercici\stopcolor},stopper={.\space},left={\bgroup},right={\egroup},width=fit

Re: [NTG-context] solutions and problems

2014-02-23 Thread Xan
\incrementcounter in 80 exercises. It's a tedious thing. Is there any more relaxing thing: assuming that I have 'resposta' nested in 'exercici' like \startexercici \beginresposta \resposta Answer X \endresposta \stopexercici ? Thanks another time, Xan

Re: [NTG-context] OT: Reflections on usability ConTeXt for typesetting of mathematics

2014-02-26 Thread Xan
Hello ConTeXist. 0. Do you think that this is only a problem for beginners of ConText or it is a general problem of ConTeXt? 1. How many of ConTeXt users use this tool for typesetting of non-elementary mathematics? 2. Are you satisfied with the results, which produces ConTeXt (thinking

[NTG-context] Bug with TikZ

2014-03-14 Thread Xan
\stopitemize \stoptext Is it a formal bug? My version is the latest stable: ConTeXt ver: 2014.01.03 00:40 MKIV current fmt: 2014.3.14 int: english/english I attached the file (pdf) Thanks, Xan. tikzbug.pdf Description: Adobe PDF document

[NTG-context] Color of the headers of one enumeration

2014-03-24 Thread Xan
have Punt. Thanks in advance, Xan ___ 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 : http

Re: [NTG-context] Color of the headers of one enumeration

2014-03-25 Thread Xan
Am 24.03.2014 um 14:39 schrieb Xan dxpublica at telefonica.net: Hi, I have this \defineenumeration [punt] [alternative=serried,text={\startcolor[darkblue]Punt\stopcolor},stopper={.\space},left={\bgroup},right={\egroup},width=fit,headstyle=\ss,distance=0.25em,width=fit] So

[NTG-context] \starttyping while processing XML causing error

2014-03-27 Thread Xan
no solution. Since 2012 I suppose many things are changed so I ask. Why doesn't it work? Thanks in advance, Xan. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

[NTG-context] Problems with XML and table of contents

2014-03-27 Thread Xan
\fitxa{\xmltext{#1}{/}} \stopxmlsetups In the document all is ok, but in the table of contents, I get phantom content. Any clue? Thanks in advance, Xan ___ If your question is of interest to others as well, please

[NTG-context] How can I use Aditya filter module within XML?

2014-03-27 Thread Xan
Hi, Is it possible to use paragraph \startmarkdown bla... \stopmarkdown /paragraph With my code (xmlflush) the start/stopmarkdown is printed without interpretation. Regards, Xan ___ If your question

Re: [NTG-context] \starttyping while processing XML causing error

2014-03-28 Thread Xan
On 3/27/2014 9:46 AM, Xan wrote: \starttext A \xmlprocessfile{demo}{./dades.xml}{} B \stoptext \startxmlsetups xml:demo:code \blank \start \ttx \xmlverbatim{#1} \stop \blank \stopxmlsetups First of all, thank you very much, Hans. But why can't I use

Re: [NTG-context] Problems with XML and table of contents

2014-03-28 Thread Xan
Thanks, many thanks Hans. The key is expansion=yes. Without, phantom contents in table of contents. With, all is ok: \definehead [Fitxa] [subsection][ownnumber=yes,expansion=yes] Xan. ___ If your question

Re: [NTG-context] \starttyping while processing XML causing error

2014-03-28 Thread Xan
I can circumvent it with \defineframedtext[framedcode][strut=yes,width=local,align=flushleft,frame=off] \startxmlsetups xml:demo:codi \blank \startframedcode \startlinenumbering\xmlverbatim{#1}\stoplinenumbering \stopframedcode \blank \stopxmlsetups Xan

Re: [NTG-context] \starttyping while processing XML causing error

2014-03-28 Thread Xan
How can I achieve this results? (numbering line and color basically) \startlinenumbering etc How can I disable hyphenize and wrap large lines? Thanks, Xan. ___ If your question is of interest to others

Re: [NTG-context] \starttyping while processing XML causing error

2014-03-28 Thread Xan
On Fri, 28 Mar 2014 09:56:12 +0100 Hans Hagen pra...@wxs.nl ha escrit: On 3/28/2014 9:13 AM, Xan wrote: On 3/27/2014 9:46 AM, Xan wrote: \starttext A \xmlprocessfile{demo}{./dades.xml}{} B \stoptext \startxmlsetups xml:demo:code \blank \start \ttx

[NTG-context] Defining commands in \start ... \stop

2014-03-30 Thread Xan
/Commands_with_optional_arguments) Thanks, Xan PS: Please CCme ___ 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

Re: [NTG-context] Defining commands in \start ... \stop

2014-03-30 Thread Xan
This: \defineblock[question] \defineblock[answer] \defineenumeration[question][text={Question}] \defineenumeration[answer] [text={Answer}] \keepblocks[question] \hideblocks[answer] \def\mynewcommand{\dosingleempty\doMyNewCommand} \def\doMyNewCommand[#1]#2{% \iffirstargument

Re: [NTG-context] Defining commands in \start ... \stop

2014-03-30 Thread Xan
And so? This has not [mathematical] solution ;-) Xan. The block commands use a buffer to store the content and buffers can’t be used in commands. Wolfgang ___ If your question is of interest to others as well

[NTG-context] Aditya filter module: ignore ``` in my case

2014-03-31 Thread Xan
] \definecolor[steelblue][h=4682B4] \definecolor[griscodi][h=F5F5F5] ``` \stopmarkdown \stoptext does not process the code block (inside ```)? I just wonder why? Thanks, Xan

Re: [NTG-context] Aditya filter module: ignore ``` in my case

2014-03-31 Thread Xan
Mmm... identation seems the guilty thing ;-) Decideix is good (without spaces at beginning) Xan. On Mon, 31 Mar 2014 14:17:47 +0200 Xan dxpubl...@telefonica.net ha escrit: Hi, I have a problem: why this \usemodule[filter] \defineexternalfilter [markdown

Re: [NTG-context] Problems with XML and table of contents

2014-04-01 Thread Xan
Finally, I use xsltproc and xml from scratch for this conversion, because Aditya module seems to does not work with XML. The process is XML, XSLT -- ConTeXT file - PDF file Just for interest of someone... Xan

[NTG-context] \installprettytype gets me undefined control sequence

2014-05-09 Thread Xan
Hi, With the code in http://wiki.contextgarden.net/Verbatim_with_line_breaks, I get open source 2 3 /home/xan/NO-SERVIDOR/Serviedre/context3/tasques.context open source 3 4 /home/xan/NO-SERVIDOR/Serviedre/context3/plantilles/entorn-minimal.tex fontstypescripts

[NTG-context] \startbackground with footnote

2014-05-22 Thread Xan
Hi, I have a footnote in \startbackground \stopbackground environment and the footnote is not displayed. Can anyone give me any hint? thanks in advance, Xan ___ If your question is of interest to others as well

Re: [NTG-context] \startbackground with footnote

2014-05-23 Thread Xan
Thanks Aditya. What's the difference between startbackground and starttextbackground? I can't see the options of textbackground. Thanks, ___ If your question is of interest to others as well, please add an entry to

Re: [NTG-context] \startbackground with footnote

2014-05-23 Thread Xan
Sorry, I mean Wolfgang not Aditya ;-) ___ 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 :

[NTG-context] \starttextbackground and \startbackground equivalent options

2014-05-25 Thread Xan
] But I get: * The corners are not rounded * Can I achieve to unbackground footnotes inside \startteoria \stopteoria? Thanks in advance, Xan ___ If your question is of interest to others as well, please add an entry

[NTG-context] startbackground with footnotes cause problems

2014-05-25 Thread Xan
Hi, I observe that if startbackground stopbackground has footnotes inside, then page breaks are placed before and after footnotes with blank pages... Anyone does know anything about that? Thanks ___ If your

[NTG-context] Split in specific row in natural tables?

2014-05-26 Thread Xan
Hi, Is there a possibility of split a natural table in specific row? I want to split in row third or something like that. Thanks, Xan. ___ If your question is of interest to others as well, please add an entry

[NTG-context] dx=1cm with imposition: how to disable right most dx?

2014-06-01 Thread Xan
prevent that? Thanks in advance, Xan. PS: Please CCme. ___ 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

Re: [NTG-context] dx=1cm with imposition: how to disable right most dx?

2014-06-01 Thread Xan
Oh! thanks. Now I have to try for having the same space on left and on right. Thanks On Sun, 01 Jun 2014 13:16:06 +0200 Hans Hagen pra...@wxs.nl ha escrit: On 6/1/2014 12:00 PM, Xan wrote: Hi, I have this code: \definepapersize[carnet][width=8.50cm,height=5.40cm] \setuppapersize

[NTG-context] \headstylecolor in \setupcaptions ?

2014-07-12 Thread Xan
Hi, how to set the color of head in setupcaptions? Something like: \setupcaptions[headstyle={\ss},headstylecolor=red] thanks Xan PS: Please CCme ___ If your question is of interest to others as well, please add

Re: [NTG-context] \headstylecolor in \setupcaptions ?

2014-07-12 Thread Xan
I found myself: headcolor=red On Sat, 12 Jul 2014 18:31:55 +0200 Xan dxpubl...@telefonica.net ha escrit: Hi, how to set the color of head in setupcaptions? Something like: \setupcaptions[headstyle={\ss},headstylecolor=red] thanks Xan PS: Please CCme

[NTG-context] Problem with the verbosity of XML

2014-07-27 Thread Xan
}{/text()}\stopexercici \stopxmlsetups But I get the PDF with the verbose text, not processing (I attach them) What fails? Thanks in advance, Xan 80-seleccio.pdf Description: Adobe PDF document ___ If your question

[NTG-context] snappedmath is now dropped?

2014-07-28 Thread Xan
Hi, Are you delete the command \snappedmath? I get that: ! Undefined control sequence. system tex error on line 834 in file /home/xan/SYNC/cepasud-raw/classe/ESPA3/planificació/Tema2-Àlgebra/80-juntat.conTeXt: Undefined control sequence ... 824 % TODO: acabar les solucions

[NTG-context] filter module: before print, it puts new line

2014-07-28 Thread Xan
) \stoppython \stopitemize \stoptextrule \stoptext with the result of new line after (a). and 11 (the solution of the equation). I attach the pdf. How can avoid this behaviour? Thanks, Xan j.pdf Description: Adobe PDF document

Re: [NTG-context] filter module: before print, it puts new line

2014-07-28 Thread Xan
On Mon, 28 Jul 2014 13:29:58 +0200 Xan dxpubl...@telefonica.net ha escrit: Hi, I run this code: \usemodule[filter] \defineexternalfilter [python] [filtercommand={python \externalfilterinputfile\space \externalfilteroutputfile},cache=force] \starttext Resol les

[NTG-context] Anyone could help me with this error in filter module?

2014-07-28 Thread Xan
Hi, Any hint on that [https://github.com/adityam/filter/issues/17], please? Thanks, ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] snappedmath is now dropped?

2014-07-30 Thread Xan
Thanks, On 7/28/2014 11:01 AM, Xan wrote: Hi, Are you delete the command \snappedmath? I get that: ! Undefined control sequence. system tex error on line 834 in file /home/xan/SYNC/cepasud-raw/classe/ESPA3/planificació/Tema2-Àlgebra/80-juntat.conTeXt

Re: [NTG-context] Problem with the verbosity of XML

2014-07-30 Thread Xan
On 7/28/2014 1:13 PM, Xan wrote: This is a minimal and isolate example You can see that {\bf Hola} is not processed. well, because you want to typeset it as is: pasHola {\bf a}/pas why should pas be treated as tex? \startxmlsetups xml:demo:pas \startitem

Re: [NTG-context] Anyone could help me with this error in filter module?

2014-07-30 Thread Xan
Am 28.07.2014 um 16:15 schrieb Xan dxpublica at telefonica.net: Hi, Any hint on that [https://github.com/adityam/filter/issues/17], please? Don’t use \doifmode{…}{…} etc. with buffers or environments which rely on a buffer because you disable the function to keep end of lines

[NTG-context] A bug color in tikz

2014-07-30 Thread Xan
a bug. Thanks, Xan. ___ 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 : http://www.pragma

[NTG-context] Prime and overbar

2014-08-20 Thread Xan
Hi, $\overbar{OA'} = 3,4$, puts me overbar with two steps: one for $O$ and one for $A'$. Is there any way for putting overbar just on top of the expression? Thanks, Xan PS: Please CCme ___ If your question

Re: [NTG-context] Prime and overbar

2014-08-20 Thread Xan
On Wed, 20 Aug 2014 09:38:49 +0200 Xan dxpubl...@telefonica.net ha escrit: Hi, $\overbar{OA'} = 3,4$, puts me overbar with two steps: one for $O$ and one for $A'$. Is there any way for putting overbar just on top of the expression? Thanks, Xan PS: Please CCme Yes. x.pdf

[NTG-context] frown in context 2

2014-09-30 Thread Xan
On Tue, 29 Oct 2013, Xan wrote: Hi, I just want to make an arc to a word. I found that [http://tex.stackexchange.com/questions/15468/frown-and-mathop-stackrel-overset] but it's LaTeX or XeTeX centric. Is there any equivalent in ConTeXt? $\overparent{MMM}$ Aditya Can

[NTG-context] multi-line equations with \left( and \right.

2014-10-07 Thread Xan
Hi, I try to do that \startformula \startalign[left={\left(\,},right={\,\right.}] \NC x - 2y + 2z \NC = 1 \NR \NC 2 x + y - z \NC = 2 \NR \NC 4 x - 3y + 6z \NC = 7 \NR \stopalign \stopformula but it does not work. Can anyone help me? Thanks, Xan PS: Please CCme

[NTG-context] Possibly bug: misalignment with matrix

2014-10-07 Thread Xan
\NC 0 \NR \NC 0 \NC 0 \NC 0 \NC d \NR \stoppmatrix \stopitemize \stoptext produces misalignment in last item (I attach pdf) Can anyone confirm that? Thanks, Xan matrix.pdf Description: Adobe PDF document

Re: [NTG-context] multi-line equations with \left( and \right.

2014-10-07 Thread Xan
Mm... I thought I could use mathalign instead. Thanks, On Tue, 7 Oct 2014 11:23:13 +0200 Wolfgang Schuster schuster.wolfg...@gmail.com ha escrit: Am 07.10.2014 um 10:59 schrieb Xan dxpubl...@telefonica.net: Hi, I try to do that \startformula \startalign[left={\left(\,},right

Re: [NTG-context] Possibly bug: misalignment with matrix

2014-10-12 Thread Xan
Another bug. @Hans: At least for user view point it's a bug. @Thangalin: thanks. A bigskip will solve me problems, but thanks. \definemathmatrix[det] [left={\left\lvert\,},right={\,\right\rvert}] \starttext Calculeu els determinants següents: \startitemize[a,columns] \item $\startdet[n=4]

Re: [NTG-context] Possibly bug: misalignment with matrix

2014-10-12 Thread Xan
and \item $\startdet[n=3] \NC yz \NC \frac{1}{x} \NC x \NR \NC zx \NC \frac{1}{y} \NC y \NR \NC xy \NC \frac{1}{z} \NC z \NR \stopdet$ puts x over 1 in the second row ___ If your question is of interest to others

[NTG-context] Equivalent of os.resultof(...) in LaTeX

2014-11-03 Thread Xan
Hi, Just short question: what's the equivalent in latex of \ctxlua{context(os.resultof(sha256sum \jobname.conTeXt | cut -c -5))} ? Thanks in advance, Xan ___ If your question is of interest to others as well

Re: [NTG-context] Equivalent of os.resultof(...) in LaTeX

2014-11-03 Thread Xan
On Mon, 3 Nov 2014 14:31:17 +0100 Xan dxpubl...@telefonica.net ha escrit: It does not work: \documentclass{article} \begin{document} \directlua{ local handle = io.popen(sha256sum \jobname.tex | cut -c -5,r) if handle then local result = handle:read(*all) or handle:close

Re: [NTG-context] Equivalent of os.resultof(...) in LaTeX

2014-11-06 Thread Xan
That is not a useful error description ... Herbert More clear than this? Neither this: \directlua{ require lualibs-os tex.sprint(os.resultof(sha256sum \jobname.tex | cut -c -5)) } Blank. Nothing displayed.

Re: [NTG-context] Equivalent of os.resultof(...) in LaTeX

2014-11-07 Thread Xan
luatex --shell-escape file will work. It works Thanks ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

[NTG-context] Split numbers in natural tables

2015-08-21 Thread Xan
=2.8cm] 4611 686018427 387904 \eTD or something similar. Thanks, Xan ___ 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

Re: [NTG-context] Split numbers in natural tables

2015-08-23 Thread Xan
Thanks. On Fri, 21 Aug 2015 16:52:11 +0200 Xan xancor...@gmail.com ha escrit: Hi, I have a simple script in mako templates which generate this table: \starttext \bTABLE[align={lohi,middle}] \bTR \bTD[width=2.8cm, height=2.8cm] 1 \eTD \eTR \bTD[width=2.8cm, height=2.8cm

[NTG-context] Process contents of xmlflush in context

2015-08-01 Thread Xan
/command(xml:choose)} } \startxmlsetups xml:choose \startitem {\dontleavehmode{\xmlflush{#1}}} \stopitem \stopxmlsetups \stopenvironment Thanks a lot, Xan PS: Please, CCme. ___ If your question

Re: [NTG-context] Process contents of xmlflush in context

2015-08-02 Thread Xan
Thanks, a lot. On Sun, 02 Aug 2015 11:56:31 +0200 Hans Hagen pra...@wxs.nl ha escrit: \xmlflushcontext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

[NTG-context] Refering to parent in XML

2015-08-25 Thread Xan
Hi, I have this environment: \startenvironment processadorxml % Activitat: defineix \Activitat{activitat-id} \def\Activitat#1% {\xmlfilter{rebost} {/activitats/activitat[@id=='#1']/command(xml:list)} } % Simplement llistam totes les presentacions. \startxmlsetups xml:list

Re: [NTG-context] Refering to parent in XML

2015-08-27 Thread Xan
in a setup you can say: \xmlshow{#1} to see what is the (current) node It does not help me. I ask you in other way: if I have this % Presentació: defineix \Presentacio{activitat-id}{presentacio-id} \def\Presentacio#1#2% {\xmlfilter{rebost}

[NTG-context] Migrations: exactly LaTeX margins -- ConTeXt margins

2010-08-30 Thread Xan xan
Hi, I want to migrate one LaTeX document to ConTeXt document. I only want to put the _exact_ margins LaTeX use for \documentclass[12pt,a4paper]{article}. Anyone could say me the exact values I have to put in **layout**? Thanks, Xan

[NTG-context] startenumerate in romans a la LaTeX

2010-08-30 Thread Xan xan
{area}(u) = \text{area}(u^{-1})$ \stopitemize \stopmylema but the numbers are left-aligned and they bit the text. Can anyone help me? Thanks, Xan. PS: I have a new email address. The old has problems with sending emails

[NTG-context] Fwd: Migrations: exactly LaTeX margins -- ConTeXt margins

2010-08-30 Thread Xan xan
-- Forwarded message -- From: Xan xan xancor...@gmail.com Date: 2010/8/30 Subject: Re: [NTG-context] Migrations: exactly LaTeX margins -- ConTeXt margins To: Hans Hagen pra...@wxs.nl There is a technical explanation in The Not so Short Introduction to LaTeX [tobi.oetiker.ch

[NTG-context] startenumerate in romans a la LaTeX

2010-08-30 Thread Xan xan
{area}(u) = \text{area}(u^{-1})$ \stopitemize \stopmylema but the numbers are left-aligned and they bit the text. Can anyone help me? Thanks, Xan. PS: I have a new email address. The old has problems with sending emails

<    1   2   3   4