[NTG-context] LuaTeX regression?

2011-05-25 Thread Reviczky, Adam
Hi It appears that something went wrong with the svn rev. 4283 (I think 4282 was still ok). Simple hello world tex gives me: mtx-context | run 1: luatex --fmt=/home/reviczky/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en

[NTG-context] dejavu math fallback?

2011-06-15 Thread Reviczky, Adam
Hi Using math with dejavu as the bodyfont produces: ! Math error: parameter \Umathquad\displaystyle is not set. minimal example: --- \setupbodyfont[dejavu] \starttext $e = mc^2$ \stoptext --- Installing the xits-math (https://github.com/khaledhosny/xits-math/) solves the problem. Shouldn't

[NTG-context] PNG file corrupted by ASCII conversion

2011-06-15 Thread Reviczky, Adam
Hi I'm getting the following error with PNG images: libpng error: PNG file corrupted by ASCII conversion !LuaTeX error: libpng: internal error == Fatal error occurred, no output PDF file produced! minimal example --- \starttext \placefigure{}{\externalfigure[mill.png]} \stoptext --- LuaTeX in

Re: [NTG-context] Itemizing from zero

2011-06-15 Thread Reviczky, Adam
Hey folks, I noticed some other people had issues with \startitemize[n] counting starting from zero as a bug a while ago. In my case, I need a specific list to start counting from zero. Is there any way to do this? see: http://wiki.contextgarden.net/Enumerations example: --- \starttext

Re: [NTG-context] dejavu math fallback?

2011-06-16 Thread Reviczky, Adam
xits is part of the minimals It is certainly on contextgarden: http://minimals.contextgarden.net/current/fonts/extra/xits/fonts/opentype/public/xits/ But I don't think it comes with the minimals. I just did a fresh minimals setup and it gives me the same: ! Math error: parameter

[NTG-context] export: graphic within table (error)

2011-06-19 Thread Reviczky, Adam
Hans, I'm getting this error if I put an image within a table using the export backend: ! LuaTeX error /usr/share/texmf/tex/context/base/back-exp.lua:297: bad argument #3 to 'format' (string expected, got boolean). Minimal example: --- \setupbackend[export=yes] \starttext %

[NTG-context] persian interface broken?

2011-06-19 Thread Reviczky, Adam
Hi I just noticed that making the persian formats (context --make cont-pe) fails with: ! Undefined control sequence. -\zwnj argument تعریف‌ درون‌حاشیه \do@sicom #1#2-\@EA \gdef \csname #2 \@EA \endcsname \@EA {\csname

[NTG-context] export: graphic url (special chars?)

2011-06-19 Thread Reviczky, Adam
Hi The following example results in a broken xml as well: -- \setupbackend[export=test.xml] \starttext \externalfigure[https://chart.googleapis.com/chart?cht=p3chs=250x100chd=t:60,40chl=Hello\letterbar World][method=png,scale=4000] \stoptext --- XML Parsing Error: not well-formed Location:

[NTG-context] export: tilde problems

2011-06-19 Thread Reviczky, Adam
Hi The following minimal example gives a broken xml: --- \setupinteraction[state=start] \setupbackend[export=test.xml] \starttext \goto{projects.dcs.kcl.ac.uk/~reviczky}[url(http://projects.dcs.kcl.ac.uk/~reviczky/)] \stoptext --- XML Parsing Error: not well-formed Location:

Re: [NTG-context] export: tilde problems

2011-06-20 Thread Reviczky, Adam
better is #xA0; I see, I should've used the \lettertilde instead then, sorry. no, it's the utf character So what would be the correct way to do this then? --- \setupinteraction[state=start] \setupbackend[export=test.xml] \starttext \bgroup \catcode`\~=11

Re: [NTG-context] export: tilde problems

2011-06-20 Thread Reviczky, Adam
So what would be the correct way to do this then? Right, so is this ok, or is there a better way? --- \setupinteraction[state=start] \setupbackend[export=test.xml] \starttext \goto{projects.dcs.kcl.ac.uk/\lettertilde reviczky}[url(http://projects.dcs.kcl.ac.uk/\string~reviczky/)] \stoptext ---

[NTG-context] \star not working

2011-06-20 Thread Reviczky, Adam
Hi Can someone confirm this: --- \starttext \star \stoptext --- Nothing shows up in the PDF. ConTeXt is current version: 2011.06.20 10:47 (it is fine on live.contextgarden.net, and worked a couple of days ago). Adam

[NTG-context] export: graphic url (special chars?)

2011-06-20 Thread Reviczky, Adam
You could try (untested) \def\googlechart[#1][#2]% {\externalfigure[#1][...]% \endgroup} Thanks, but it has the same result. \def\dogooglechart[#1][#2]% {\useexternalfigure[googlechart][#1]% \endgroup \externalfigure[googlechart][...]} That screws up the url in the

[NTG-context] \star not working

2011-06-20 Thread Reviczky, Adam
Use $\star$ or \symbol[star]. Thanks, but both will use the math font (in my case: https://github.com/khaledhosny/euler-otf) which doesn't have this symbol. Missing character: There is no ⋆ (U+22C6) in font euler! Using \star only worked as a workaround until recently. I'm not doing anything

Re: [NTG-context] \star not working

2011-06-20 Thread Reviczky, Adam
This came up a while ago, I believe this is the solution: http://www.mail-archive.com/ntg-context@ntg.nl/msg47703.html Thanks. So if I want to typeset the star in non-math mode instead, how do I do that? I just tested it (\star) with version: 2011.06.19 14:17, and there it works. With

Re: [NTG-context] export: tilde problems

2011-06-20 Thread Reviczky, Adam
It's a side effect of ~ becoming a utf character for nbsp. I'll change Yeah, I completely forgot about that, because it was natural in an url. the definition to: \unexpanded\edef~{\utfchar{00A0}} Then you get this: \goto{a.c.d/~reviczky}[url(http://a.c.d/~reviczky)]

Re: [NTG-context] netiquette (was: \star not working)

2011-06-20 Thread Reviczky, Adam
could you please use a mail program which sets the correct header fields so that threading is working [1]? I know, sorry about that, but I couldn't figure out why this doesn't work when I'm at the university. Any hints appreciated (for outlook web). Adam

Re: [NTG-context] \star not working

2011-06-21 Thread Reviczky, Adam
Could we just add a \textstar in char-def.lua? (And maybe use that to redefine \symbol[star]) I'd welcome that, seeing that we already have textbullet. char-def.lua, line 56213: + contextname=textstar, what unicode? U+22C6 Adam

[NTG-context] [OT] pdf.js - HTML5 PDF renderer

2011-06-21 Thread Reviczky, Adam
Hi pdf.js is a technology demonstrator prototype to explore whether the HTML5 platform is complete enough to faithfully and efficiently render the ISO 32000-1:2008 Portable Document Format (PDF) without native code assistance. You can read more about pdf.js here:

[NTG-context] tex file as input (was: bad argument #1 to 'gsub')

2011-06-24 Thread Reviczky, Adam
Hi Here's a minimal example to follow up: http://www.ntg.nl/pipermail/ntg-context/2011/060169.html (having some file.tex in folder test) \starttext \input test/file \stoptext gives: ! LuaTeX error .../ctx/tex/texmf-context/tex/context/base/data-env.lua:234: bad argument #1 to 'gsub' (string

[NTG-context] tracefiles error

2011-06-24 Thread Reviczky, Adam
Hi tracefiles seems to be broken. \starttext Hello world! \stoptext context --tracefiles hello.tex gives: ! Undefined control sequence. system tex error on line 4 in file test.tex: Undefined control sequence ... By using latest minimals 2011.06.24 16:57. Adam

Re: [NTG-context] tracefiles error

2011-06-24 Thread Reviczky, Adam
ah, an obsolete feature, I'll remove it (there is so much tracing nowadays under tracker and directive control that this flag makes not much sense any more). Thought so. Thanks. Adam ___ If your question is of

[NTG-context] fit text to page

2012-07-28 Thread Reviczky Adam
Hi list, I'm trying to scale a text to the textwidth and textheight by keeping the aspect ratio, using different papersizes. When the dimensions get too big I get an Arithmetic overflow. (I'm trying to do something similar to resizebox in LaTeX:

Re: [NTG-context] startchapter?

2013-02-24 Thread Reviczky Adam
Hi Hans, Did you try this: \startchapter[title={the-title},reference={reference-to-this-chapter}] see: http://www.mail-archive.com/ntg-context@ntg.nl/msg66342.html Adam On Sun, Feb 24, 2013 at 3:32 PM, Meer, H. van der h.vanderm...@uva.nlwrote: Previously I could use

[NTG-context] MetaPost version of the Gantt chart module

2010-11-12 Thread Reviczky, Adam
Hi, I've made a MetaPost version for creating Gantt charts. Florian: The label alignments are fixed in this module. Further, it should be trivial to place the names into the ganttbars, for both versions. For more information see the wiki entry: http://wiki.contextgarden.net/Gantt_charts Adam

[NTG-context] field alignment bug in latest beta

2011-01-25 Thread Reviczky, Adam
Hi, The alignment doesn't apply anymore to the first field (widget) in the latest beta. Here's the minimal example: % begin of example \starttext \setupfield [ShortLine] [label,frame,horizontal] [offset=4pt,height=fit,framecolor=green,background=screen,backgroundscreen=.80]

[NTG-context] Widgets color option not working with Mark IV

2011-01-25 Thread Reviczky, Adam
Hi, I was playing a bit more with the field style properties and found out that if the font size is always different it works, but as soon as it has a size that was used before it defaults back to normal. Here's the minimal example: % begin of example \starttext \setupfields

[NTG-context] Widgets color option not working with Mark IV

2011-01-26 Thread Reviczky, Adam
it was not yet implemented (passing the info was, but not adding it to the pdf stream) i uploaded a new beta Thanks, color and fontsize works perfectly now! Could you also have a look at whats going on with the alignment to the first field? And since we're at it, I can't get the

Re: [NTG-context] Widgets color option not working with Mark IV

2011-01-28 Thread Reviczky, Adam
Dear Hans, 1) alignment for the first field % begin of example \starttext \setupfield [ShortLine] [label,frame,horizontal] [offset=4pt,height=fit,framecolor=green,background=screen,backgroundscreen=.80] [height=18pt,width=80pt,align=middle,background=screen,backgroundscreen=.90,frame=off]

Re: [NTG-context] Widgets color option not working with Mark IV

2011-01-29 Thread Reviczky, Adam
I already fixed it (there were a few more things so I added some tracing options as well). There is no beta upload as something has to be tested by other dev first due to some changes in file handling. Great, I'll be waiting for the next beta then! In the meantime, can I also ask you about

[NTG-context] Feature request: Title Case/Start Case

2011-01-30 Thread Reviczky, Adam
Hi, May I ask for supporting Title Case or Start Case in core ConTeXt? Eg: The first letter of each word is capitalized, the rest are lower case. It would be nice to have something like these: \TitleCase{What to capitalize in title case} resulting in What to Capitalize in Title Case

Re: [NTG-context] Widgets color option not working with Mark IV

2011-01-30 Thread Reviczky, Adam
yes, that hos it is supposed to work use \startchapter[title={...},bookmark{...}] instead as \bookmark might as well becom eobsolete Thanks, this is what I was looking for! I've added it to the wiki. Adam ___ If your

Re: [NTG-context] Feature request: Title Case/Start Case

2011-01-31 Thread Reviczky, Adam
\setuphead[title][style=\Words] \starttext \title{What to capitalize in start case} \stoptext Thanks, yes, I've seen that, but I was just wondering if this can be done in a paragraph, outside a section element. Adam

Re: [NTG-context] Feature request: Title Case/Start Case

2011-01-31 Thread Reviczky, Adam
\definestartstop[TitleCase][style=\Words] \starttext \Words{What to capitalize in start case}\par \TitleCase{What to capitalize in start case}\par \startTitleCase What to capitalize in start case\stopTitleCase \stoptext Excellent, thank you Wolfgang! Adam

[NTG-context] JS in widgets still not working with mkiv

2011-02-02 Thread Reviczky, Adam
Dear Hans Everything I use around widgets works now, except JavaScript. Please find attached a minimal example (js.tex). I don't see any errors running mkiv and the PDF is generated, but when I enter for example \'a into the field I am expecting to get á (as you can see with mkii), but it just

Re: [NTG-context] beta

2011-02-07 Thread Reviczky, Adam
On Tuesday 01 February 2011 12:30:40 Hans Hagen wrote: On 1-2-2011 11:51, Alan BRASLAU wrote: ! LuaTeX error ...xt/beta/tex/texmf-context/tex/context/base/l-dir.lua:67: cannot open /home/braslau/.fonts/: No such file or directory is this new? weird as nothing was changed there .. anyway,

[NTG-context] JS unicode mapping wrong again

2011-02-08 Thread Reviczky, Adam
Hi Hans, The latest beta (2011-02-08) gives me again a wrong character using widgets and JavaScript. If I enter \'a I'll get now Æ instead of á. (Though copying that character shows á in a text editor, so I guess it's just some mapping that's wrong.) Do you need a minimal example? Adam

[NTG-context] qpdf broken with beta since 2001/02/08

2011-02-10 Thread Reviczky, Adam
Hi I have a problem using qpdf (http://qpdf.sourceforge.net/) with context beta since 2011.02.08. Don't really know whose fault it is, but there might be something wrong with mkiv. All I want to do is generating a linearized (web optimized) pdf using qpdf as hinted on this list (see

Re: [NTG-context] qpdf broken with beta since 2001/02/08

2011-02-10 Thread Reviczky, Adam
Thanks Hans! I can see the problem here. I'll upload a new beta. (There is some experimental stuff due to luatex backend changes that I need to disable). That solved the problem. It works now with the newest beta! Adam

[NTG-context] attachment attaches twice

2011-02-19 Thread Reviczky, Adam
Hi I'm trying to use PDF attachments again, but run into some issues. Here's my small example (att.tex): %%% start %%% \setupinteraction[state=start] \starttext \useattachment[myfile][title][name][att.tex] \attachment[myfile] \stoptext %%% end %%% 1) Using context-current makes 1 attachment,

[NTG-context] metapost fill between outlines

2011-02-20 Thread Reviczky, Adam
Hi Is it possible to fill out a space between two outlines? As for an example, I'd like to draw two circles (same center, one bigger than the other) and fill out the difference. Something like the letter O. Here's a concrete example: %%% draw (6.949220,13.046900)..controls (9.539060,13.046900)

Re: [NTG-context] attachment attaches twice

2011-02-20 Thread Reviczky, Adam
to be precise, the attachment is attached once (can be seen if one inspects the sample PDF files in uncompressed form with any text or binary editor - if you do not have Adobe Acrobat), but is listed twice by Adobe Reader. Thanks, but the question is still why the beta produces this while it

Re: [NTG-context] metapost fill between outlines

2011-02-20 Thread Reviczky, Adam
You can fill out the bigger one, than clips the smaller one. Can you give me an example with the clip? I can't get it work in a way I want to have it. I've found another thread here: http://www.tug.org/pipermail/metapost/2006-September/000650.html But I fail to see the conclusion there too.

Re: [NTG-context] metapost fill between outlines

2011-02-20 Thread Reviczky, Adam
\startMPpage path p ; p := fullcircle scaled 1cm ; path q ; q := fullcircle scaled .5cm ; path r ; r := p -- reverse q -- cycle ; drawarrow r withcolor green ; fill r withcolor red ; \stopMPpage This works here. Based on this I can now cut out the smaller one from a fullcircle, but it

Re: [NTG-context] metapost fill between outlines

2011-02-20 Thread Reviczky, Adam
Maybe you can know why now, from the above code. The direction of the path is important. I get it now, thanks for your help! ___ If your question is of interest to others as well, please add an entry to the Wiki!

Re: [NTG-context] metapost fill between outlines

2011-02-20 Thread Reviczky, Adam
So with this method, I can cut out some fillings of letters in a logo, but for this example it draws a small line through the letter: %%% \starttext \framed[background=color,backgroundcolor=red,height=fit,width=fit]{ \startMPcode path db[],df[],dc[]; drawoptions (withcolor

Re: [NTG-context] metapost fill between outlines

2011-02-21 Thread Reviczky, Adam
The only letter (g) I have left in the logo has two spaces that I want to cut out. I can't make a single path out of it so that it doesn't go through the entire letter, so what to do in this case? Here's the example: %%% \starttext

Re: [NTG-context] metapost fill between outlines

2011-02-21 Thread Reviczky, Adam
Just as a thought ... what you currently do with metapost at the moment is a bit of cheating to overcome lack of a feature in metapost - there is still an infinitely thin line between segments and a dumb renderer might display artifacts. Yes, I am aware of this, just wanted to hear something

[NTG-context] MathML broken in mkiv?

2011-02-27 Thread Reviczky, Adam
Hi I'm trying to use MathML with mkiv (latest beta), but I'm getting errors. I'm attaching the minimal example (borrowed from the wiki) and the log file. Adam \usemodule[mathml] \starttext test \xmlprocessdata{}{ math xmlns='http://www.w3.org/1998/Math/MathML' mrow msup mix/mimn2/mn /msup

[NTG-context] special character in filename

2011-03-05 Thread Reviczky, Adam
Hi Context fails to run with an input (filename or directoryname) that includes special characters. example files: %%% reviczky@arlequin ~/minimal % la total 0 drwxrwxr-x 1 reviczky reviczky 60 2011-03-05 19:58 ./ drwxr-xr-x 1 reviczky reviczky 2148 2011-03-05 20:00 ../ drwxrwxr-x 1 reviczky

Re: [NTG-context] special character in filename

2011-03-05 Thread Reviczky, Adam
Yeah, please fix this ASAP. I keep all my context files in a directory which I call /dev/null, and for some reason, this doesn't really work. But I am not going to change the name of my directory, no, you have to rewrite your software! Thomas Dear Thomas I understand, that it's not a good

Re: [NTG-context] special character in filename

2011-03-05 Thread Reviczky, Adam
only Hans can decide if this can/should be changed I won't argue for any changes, just thought to ask about it. A simple yes, can be done or no, its a really bad idea is perfectly enough for me. I'll think about a workaround outside context. Cheers, Adam

[NTG-context] Verbatim text: intext colors (mkiv)

2011-03-10 Thread Reviczky, Adam
Hi, When using verbatim text (for source code) in mkiv: Line numbers in the text as well as /BTEX … /ETEX (for colors) don't work. It is fine using mkii. Attached the two minimal examples. Adam \setupcolors[state=start] \starttext %% SC colors %% \definecolor [SCwhite] [r=1.0, g=1.0, b=1.0]

Re: [NTG-context] Verbatim text: intext colors (mkiv)

2011-03-11 Thread Reviczky, Adam
Line numbers in the text as well as Works here with the last beta. I'm using the latest beta too. Attached is my PDF, do you get something different? I want to have intext numbers (inside the frame), not outside. As I said, works with mkii though. /BTEX … /ETEX (for colors) don't work.

Re: [NTG-context] Verbatim text: intext colors (mkiv)

2011-03-12 Thread Reviczky, Adam
I’m Sorry, I missed the intext part. For MkIV you need “location=text” to move the numbers in the text. Yeah, I just figured it out, though there's still a % todo: text in page-lin.mkiv, but it works. Wolfgang Thanks again. Adam

Re: [NTG-context] lang-wrd.lua - howto count 1-, 2-, and 3-letter words?

2011-03-14 Thread Reviczky, Adam
So I tried to set words.threshold = 4 in context/base/lang-wrd.lua to smaller values but this does not change anything. You have to regenerate the formats too, after you changed the value. Otherwise you could use directly in your document: \ctxlua{languages.words.threshold=1} Adam

[NTG-context] missing or ungrouped '=' after 'reset'

2011-03-19 Thread Reviczky, Adam
Hi I'm getting lines like these since context experimental 2011.03.11 (including 2011.03.18) by using definelayout reset. checkmissing or ungrouped '=' after 'reset' in line 8 (@@ly2) checkmissing or ungrouped '=' after 'reset' in line 12 (@@ly9) Did something change

Re: [NTG-context] missing or ungrouped '=' after 'reset'

2011-03-19 Thread Reviczky, Adam
The example is wrong, for \definelayout only assignments are valid parameters while \setuplayout accepts also “reset” for the first (with one argument) or second (with two arguments) argument. Hmm, but it's the only way it produces the output with the right layouts. So what needs to be changed for

[NTG-context] more missing or ungrouped '=' after

2011-03-20 Thread Reviczky, Adam
Hi I'm getting the same lines by using setupfields (in widgets), but this time I don't even get an output. Here's the minimal example: %%% \starttext \setupfields [label,frame,horizontal] [offset=4pt,height=fit,framecolor=green,background=screen,backgroundscreen=.80]

[NTG-context] beware: fontclass ignored

2011-03-20 Thread Reviczky, Adam
Hi Using context experimental 2011.03.18 I get this line when using definebodyfontenvironment: fontsbeware: fontclass ignored (if needed use: [fontclass][size][settings]) Minimal example: http://wiki.contextgarden.net/Reference/en/definebodyfontenvironment %%% \starttext

[NTG-context] beta (broken?)

2011-03-25 Thread Reviczky, Adam
I'm getting this since today morning: mtx-context | run 1: luatex --fmt=/home/08/reviczky/local32/texlive/experimental/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/cont-en

[NTG-context] frames within frame

2011-04-06 Thread Reviczky, Adam
Hi If I have two frames within one frame, how can I vertically align the first (well, or both) framed to top or middle. Here's a minimal example: \starttext \framed[strut=no,height=fit,framecolor=green,background=screen,backgroundscreen=.80]

Re: [NTG-context] frames within frame

2011-04-06 Thread Reviczky, Adam
You need “location=middle” for the *inner* frames. I'm so sure that I've tried that already, anyhow. It works as expected, so thanks! Adam ___ If your question is of interest to others as well, please add an entry to

Re: [NTG-context] bug with \cite in latest beta (2011.04.13)

2011-04-15 Thread Reviczky, Adam
there are some problems with the citecommand in the latest beta. I always get a LuaTeX error... I've hit the same problem, though apa doesn't seem to be affected, so in the meantime you can use: \setuppublications[alternative=apa] Adam

Re: [NTG-context] bug with \cite in latest beta (2011.04.13)

2011-04-16 Thread Reviczky, Adam
So does anybody have a working example with 2011.04.13 for the cite? Using this example gives me a luatex error, and it used to work with earlier beta's: % sample.bib: http://wiki.contextgarden.net/sample_bib %%% \setupbibtex[database={sample},sort=author] % apa works, but I don't want apa %

[NTG-context] Google Chart URL

2011-04-16 Thread Reviczky, Adam
Hi I have problems with special characters in URL's. What I wanted at first place, is embedding a google chart image, so I've tried this: \starttext \externalfigure[{https://chart.googleapis.com/chart?cht=p3chs=250x100chd=t:60,40chl=Hello|World}] \stoptext which fails with: ! Undefined control

Re: [NTG-context] Google Chart URL

2011-04-16 Thread Reviczky, Adam
\starttext \externalfigure[https://chart.googleapis.com/chart?cht=p3chs=250x100chd=t:60,40chl=Hello\letterbar World][method=png,scale=4000] \stoptext Wolfgang Thank you very much. Adam ___ If your question is

Re: [NTG-context] Google Chart URL

2011-04-16 Thread Reviczky, Adam
Hmm I still have some problems with this. How would it look like for this URL? I've tried asciimode and \letterbar + \letterpercent, but no luck.

Re: [NTG-context] bug with \cite in latest beta (2011.04.13)

2011-04-16 Thread Reviczky, Adam
22:29 To: mailing list for ConTeXt users Cc: Reviczky, Adam Subject: Re: [NTG-context] bug with \cite in latest beta (2011.04.13) On 16-4-2011 8:53, Reviczky, Adam wrote: So does anybody have a working example with 2011.04.13 for the cite? Using this example gives me a luatex error, and it used

Re: [NTG-context] bug with \cite in latest beta (2011.04.13)

2011-04-17 Thread Reviczky, Adam
Thanks Hans! That was it, now it works again. Best wishes Adam From: Hans Hagen [pra...@wxs.nl] Sent: 17 April 2011 15:57 To: Reviczky, Adam Cc: mailing list for ConTeXt users Subject: Re: [NTG-context] bug with \cite in latest beta (2011.04.13) On 16-4

[NTG-context] Widget and mandatory Rect field?

2011-04-17 Thread Reviczky, Adam
Hi I have a PDF with widgets and everything's fine with it, and I'm testing it by opening it with Adobe Reader. Now I had a look again with other viewers and when I open it with evince (poppler based), then it gives me some strange errors like this: Error: Annotation rectangle is wrong type

Re: [NTG-context] Widget and mandatory Rect field?

2011-04-18 Thread Reviczky, Adam
17 0 obj /Type /Annot /Q 0 /Subtype /Widget /Parent 16 0 R /DA (/rmtf 11.9552 Tf 1.1955 Ts 0 0 0 rg 0 0 0 RG) /MK /CA () /F 4 /Rect [0 14.4275 59.7758 26.3827] endobj 18 0 obj /Type /Annot /Q 0 /Subtype /Widget /Parent 16 0 R /DA (/rmtf 11.9552 Tf 1.1955 Ts 0 0 0 rg 0 0 0 RG)

Re: [NTG-context] Google Chart URL

2011-04-18 Thread Reviczky, Adam
\asciimode can be overkill because it makes also “%” a normal character, better you define a command which change the catcodes. \def\googlechart {\begingroup \setcatcodetable\vrbcatcodes \dodoubleempty\dogooglechart} \def\dogooglechart[#1][#2]% {\endgroup

[NTG-context] rules with different thickness

2011-04-18 Thread Reviczky, Adam
Hi I stumbled upon this while making a table with rules, where I wanted to have a particular row highlighted with a thicker border: http://www.mail-archive.com/ntg-context@ntg.nl/msg33678.html Since this was posted more then two years ago, I just wanted to know if anything changed on this

Re: [NTG-context] Google Chart URL

2011-04-19 Thread Reviczky, Adam
Do you have “\enabledirectives[schemes.cleanmethod=md5]” in your preamble? Silly me, I've forgot that. Thanks again for your help! Adam ___ If your question is of interest to others as well, please add an entry to

Re: [NTG-context] rules with different thickness

2011-04-19 Thread Reviczky, Adam
It’s the same as in the past, use MetaPost but there are better ways to change values of certain borders: As much as I like and prefer this solution, I can't get it to work as the old one. With the old one I had a frame 1pt, and just made a 2pt metapost frame around the last row. With the

Re: [NTG-context] How to add metapost 3rd party modules??

2011-04-20 Thread Reviczky, Adam
But it run into compiling error. For you convenience, append the sources for mpost and context. As for metauml, have a look at this example: http://www.ntg.nl/pipermail/ntg-context/2010/049511.html This works for me with the latest beta. For quick testing purposes just put the metauml (mp)

Re: [NTG-context] rules with different thickness

2011-04-20 Thread Reviczky, Adam
I slightly modified the code and the output is now better than before, please add it to the wiki. \startuseMPgraphic{tableborders} draw leftboundary OverlayBox withpen pensquare scaled \frameddimension {leftrulethickness} ; draw rightboundary OverlayBox withpen pensquare scaled

[NTG-context] setups on framed

2011-04-20 Thread Reviczky, Adam
Hi As a follow-up to this: http://www.ntg.nl/pipermail/ntg-context/2011/058569.html I was wondering if it is possible to something like this: \startsetups test \setupframed[frame=off,topframe=on,leftframe=on] \stopsetups \starttext \framed[setups=test]{A fancy title} \stoptext Adam PS: I am

Re: [NTG-context] The appendices envrionment and title in toc

2011-04-20 Thread Reviczky, Adam
It has to be fixed by Hans. ConTeXt looks only for the label of the current heading (e.g. chapter) and not for the label which is set for a certain sectionblock (e.g. “chapter” for the bodypart and “appendix” for the appendices). I wrote a minimal which can be used to see the problem

Re: [NTG-context] The appendices envrionment and title in toc

2011-04-22 Thread Reviczky, Adam
Set the labels with the “en” tag: \setuplabeltext[en] [chapter=Chapter ] \setuplabeltext[en][appendix=Appendix ] Excellent, thanks. My last question about labels: If I don't use setuplist, then I have labels in the document and no labels in the toc. How can I achieve the opposite, means

Re: [NTG-context] The appendices envrionment and title in toc

2011-04-22 Thread Reviczky, Adam
The names of the keys are - frontpartlabel, - bodypartlabel, - appendixlabel and - backpartlabel Appreciate! I've added this to the wiki, because I had a look at it earlier on but didn't find anything regarding the labels in setuphead. Adam

[NTG-context] label bug with latest beta (2011.04.22)

2011-04-23 Thread Reviczky, Adam
Hi With the latest beta (2011.04.22) I cannot compile my thesis any more. I think I've narrowed it down to this minimal example: %%% \starttext \startpart[title={Table of Contents}] \completecontent[criterium=all] \stoptext %%% ! LuaTeX error /usr/share/texmf/tex/context/base/strc-lst.lua:496:

Re: [NTG-context] label bug with latest beta (2011.04.22)

2011-04-23 Thread Reviczky, Adam
Further, I have two more problems with the new label system: 1) The label Part is not shown any more in the ToC. 2) Showing the label in the ToC but not in the parts (bodypart for example) doesn't work any more with this solution: http://www.ntg.nl/pipermail/ntg-context/2011/058614.html Here's

Re: [NTG-context] label bug with latest beta (2011.04.22)

2011-04-24 Thread Reviczky, Adam
some day leaving out the \stop's will backfire on you why oh why did I never think about that (probably thought it was a setup)? thanks for pointing that out add added a fallback in the beta much appreciated Adam

[NTG-context] LuaTeX bug in 4096?

2011-04-25 Thread Reviczky, Adam
Hi This is very likely luatex related, but I hope it's fine to post it here. I'm using this example: http://www.ntg.nl/pipermail/ntg-context/2011/058519.html This works with luatex svn rev 4195, but with the latest 4196 I get this:

Re: [NTG-context] LuaTeX bug in 4096?

2011-04-25 Thread Reviczky, Adam
thanks for the report and sorry for inconvenience. I'm sifting through the PDF backend, it's not fully stable yet. Will check... Regards, Hartmut Don't worry, I just thought I mention it, in case somebody else is running into it. Thanks for the reply. Cheers Adam

Re: [NTG-context] modules with no author

2011-05-01 Thread Reviczky, Adam
Thanks for the info. Now I'll think of what to do with the other module. Patrick I you mean the gantt module, have a look at the mailinglist: http://www.ntg.nl/pipermail/ntg-context/2010/054051.html It was advised to upload it to tlcontrib instead, so the module is located here:

[NTG-context] handouts blank

2011-05-01 Thread Reviczky, Adam
Hi, I'm trying to make some (mkiv) handouts from my simpleslides presentation. Unfortunately the resulting pdf is blank for the slides, no frames either. Can someone give me an example that works? Here's my minimal: % slides.tex \usemodule[simpleslides][style=BigNumber,font=Helvetica]

Re: [NTG-context] handouts blank

2011-05-01 Thread Reviczky, Adam
I'm trying to make some (mkiv) handouts from my simpleslides presentation. Unfortunately the resulting pdf is blank for the slides, no frames either. Can someone give me an example that works? So I just ran tested it with mkii, and there it works. Is there any mkiv way for doing a handout?

Re: [NTG-context] handouts blank

2011-05-02 Thread Reviczky, Adam
I tested your code both with mkii and mkiv, and everything seems to work correctly, both with frame= on or off. What version of context/luatex do you use? I suspect its a problem in luatex, but I have to experiment with it more. I'm using context beta 2011.04.24 with luatex svn rev 4232, but

Re: [NTG-context] handouts blank

2011-05-02 Thread Reviczky, Adam
Upgrading to the latest context beta (2011.05.01) solved the problem. Adam ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

[NTG-context] simpleslides + combinepages != qpdf

2011-05-02 Thread Reviczky, Adam
Hi Here's another qpdf problem I've encountered lately. Not sure if it's ConTeXt's fault (simpleslides perhaps?) or qpdf. Given the following very minimalistic examples: % slides.tex \usemodule[simpleslides][style=BigNumber,font=Helvetica] \starttext \placeTitle \stoptext %handout.tex

Re: [NTG-context] simpleslides + combinepages != qpdf

2011-05-02 Thread Reviczky, Adam
Does the problem appear if you use do not use simpleslides? If not, does it appear if you use style=default? This will help narrowing down the cause. I've tried a Hello world file and also a non-simpleslides presentation tex file, all of them work. So it seems it's simpleslides and yeah,

Re: [NTG-context] simpleslides + combinepages != qpdf

2011-05-02 Thread Reviczky, Adam
Hmm, well, I can reproduce this on my presentation even with style=default ... Adam ___ 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] simpleslides + combinepages != qpdf

2011-05-02 Thread Reviczky, Adam
Right, I have a feeling that this is MetaPost related, hence the random problems with different styles. I can reproduce this now without simpleslides too, using only metapost. Here's a minimal example: Get logo_ignite.mp from: http://pastebin.com/raw.php?i=VqvcWniu % slides.tex

Re: [NTG-context] simpleslides + combinepages != qpdf

2011-05-02 Thread Reviczky, Adam
found it: There were 4 null objects in an ObjStm in handout.pdf, stored now compress: nullnullnullnull (not yet so in 0.70.x). Each null object has a correct pointer to its begin (the 'n'), so one should suppose that an object ends at the character ('l') just before the start ('n') of the

Re: [NTG-context] simpleslides + combinepages != qpdf

2011-05-02 Thread Reviczky, Adam
the PNG_FP_1 i have added recently, it's defined in png.h. Must be some configure problem, maybe system png.h is used instead of the one coming with the libpng within luatex. i don't have the problem here. Sorry, needs investigation... I was indeed using the system's libpng, my bad. Strange

Re: [NTG-context] Proposed changes for Croatian language

2011-05-06 Thread Reviczky, Adam
If it would be easier, I can send fixed lang-txt.lua. indeed easier Hans While we're at it, attached is a patched one for the Hungarian language (against the current beta). Adam lang-txt.lua.gz Description: lang-txt.lua.gz

Re: [NTG-context] Error with export=yes

2011-05-06 Thread Reviczky, Adam
\setupbackend [export=cld-mkiv-export.xml, xhtml=cld-mkiv-export.xhtml, css={cld-mkiv-export.css,mathml.css}] There's an article in the eurotex proceedings about these issues. I don't know if Mojca has put the presentation somewhere online. Since this worked nicely on a simple

  1   2   >