Re: [NTG-context] random background picture in metafun

2012-03-15 Thread Thomas A. Schmitz
On 03/15/2012 07:06 PM, Hans Hagen wrote: Ah, but keep in mind that the random number is stored in the tuc file! So, as long as that file is not wiped, you get the same random number initialization. Imagine what would happen if we would not do that. So, just erase the tuc if you want another se

Re: [NTG-context] random background picture in metafun

2012-03-15 Thread Thomas A. Schmitz
On 03/13/2012 07:24 PM, Peter Rolf wrote: Actually, round (uniformdeviate(nopics-1)) does not give equal weightage > to 1 and nofpics. A better solution is > > n:= floor(uniformdeviate(nofpics)) + 1; > :-) I used 'floor' in my prior tests, but changed it to 'round' because of the very small c

Re: [NTG-context] random background picture in metafun

2012-03-13 Thread Thomas A. Schmitz
On 03/13/2012 05:56 PM, Thomas A. Schmitz wrote: thank you both for your quick replies! Peter's works wonderfully; Aditya's untested code throws an error "! Not implemented: (string)&(known numeric)." I guess this is too arcane for the wiki? To clarify: I wasn't t

Re: [NTG-context] random background picture in metafun

2012-03-13 Thread Thomas A. Schmitz
On 03/13/2012 05:33 PM, Peter Rolf wrote: string mypath, rndfile; mypath:= "backgroundpics/"; nofpics:= 22; n:= round(uniformdeviate(nofpics-1)+1); rndfile:= mypath& decimal n; HTH, Peter Aditya, Peter, thank you both for your quick replies! Peter's works wonderfully; Aditya's untested

[NTG-context] random background picture in metafun

2012-03-13 Thread Thomas A. Schmitz
Hi all, scenario: for a presentation, I want the background to be a random picture, taken from a directory "backgroundpics." The pictures are numbered consecutively as 1.jpg through 22.jpg. For some complex reasons, it would be easier for me to include these pictures via metafun (I want to ad

Re: [NTG-context] positioning of backgrounds

2012-03-08 Thread Thomas A. Schmitz
On 03/08/2012 09:46 PM, Wolfgang Schuster wrote: \definelayer[test][width=\paperwidth,height=\paperheight] Wolfgang Thanks Wolfgang, this works! So the old code was - wrong, obsolete, weird? Thomas ___ If your que

[NTG-context] positioning of backgrounds

2012-03-08 Thread Thomas A. Schmitz
Hi all, I may have missed something here: I'm aware that processing backgrounds has changed. The following example places the background layer completely different in the current beta and when processed with a version from November: \definelayer[test][x=1mm,y=1mm,width=\paperwidth,height=22m

Re: [NTG-context] footnotes bychapter

2012-03-06 Thread Thomas A. Schmitz
On 3/6/12 7:46 PM, Hans Hagen wrote: no, just something 'not done yet' (but will be done asap, some setup synchronization code needed) Great, good to know! Thanks, and best wishes Thomas ___ If your question is of

[NTG-context] footnotes bychapter

2012-03-06 Thread Thomas A. Schmitz
This works with the November beta, but not the current: \setupfootnotes[way=bychapter, location=page, rule=off] \starttext \startchapter[title=One] Chapter\footnote{Note 1} with two\footnote{Note 2} footnotes. \stopchapter \startchapter[title=Two] Chapter\foo

Re: [NTG-context] Is it bibliography really problem for MKIV?

2012-03-01 Thread Thomas A. Schmitz
On 03/01/2012 10:49 AM, Jaroslav Hajtmar wrote: Thanx Thomas Thank you dealt with my problem. Maybe I'm the first to met this bug (if a mistake is it). Regarding the use of buffers: I'll have to remake it, because everything I have in principle based just on buffers. If I could not give a citatio

Re: [NTG-context] Is it bibliography really problem for MKIV?

2012-03-01 Thread Thomas A. Schmitz
On 02/29/2012 09:33 PM, Jaroslav Hajtmar wrote: Hello Thomas. Thanks for your interest in my problem. My problem is that while simple basic aplication works fine, in complex applications (including components, images, tables etc) is not bibliography in the correct order, or there are errors in

Re: [NTG-context] Is it bibliography really problem for MKIV?

2012-02-28 Thread Thomas A. Schmitz
On 2/28/12 7:12 PM, Jaroslav Hajtmar wrote: Hello ConTeXist.. I have an unusual question: Is it bibliography really such a big problem for MKIV or I am unable to do? Do you have some experience in the bibliography at MKIV? Can you refer me to a source of information about this? Submitter thesis

Re: [NTG-context] Unsupported coverage contextpos for 'RQD ' Greek Caps after Accents Positioning-1

2012-02-26 Thread Thomas A. Schmitz
On 02/26/2012 07:50 PM, luigi scarso wrote: The font is fromhttp://www.thessalonica.org.ru/en/fonts-download.html . The log says : fonts> otf prepare> unsupported coverage contextpos for 'RQD ' Greek Caps after Accents Positioning-1 Thomas ? Sorry, I have absolutely no clue what this is sup

Re: [NTG-context] marking?

2012-02-25 Thread Thomas A. Schmitz
On 02/25/2012 03:37 PM, Philipp Gesang wrote: For more info about the local structure you might want to have a look at table.print(structures.sections.current()) Regards Philipp Many thanks, Philipp, your example and this hint are very useful - I will play around with this! We'll see if this

Re: [NTG-context] marking?

2012-02-25 Thread Thomas A. Schmitz
On 02/24/2012 05:09 PM, Wolfgang Schuster wrote: Marks aren’t the right tool for this because they are meant for text which goes into the header and footer after the page is finished. There is another mechanism which does what you want. \setupheadertexts[chapter] \define[2]\ChapterCommand {\

Re: [NTG-context] marking?

2012-02-24 Thread Thomas A. Schmitz
mmand that will do different things depending on the chapter it is in, so I thought \getmarking was the way to go (with a \doifelse test). But \namedstructurevariable is as well. Thanks Thomas -- Prof. Dr. Thomas A. Schmitz Abteilung für Griechische und Lateinische Philologie Universität Bonn A

[NTG-context] marking?

2012-02-24 Thread Thomas A. Schmitz
Hi all, shouldn't this work? I get no content for the marking: \starttext \startchapter[title={Hello World},marking={A}] Test \getmarking[chapter] \stopchapter \stoptext All best Thomas ___ If your question is

Re: [NTG-context] problem with \getparameters

2012-02-23 Thread Thomas A. Schmitz
On 02/23/2012 01:29 PM, Wolfgang Schuster wrote: \def\startnumberedblockquote {\dosingleempty\dostartnumberedblockquote} \def\dostartnumberedblockquote[#1]% {\getrawparameters[numberedblockquote][start=1,#1]% \blank[line]% \begingroup \setupindenting[no]% \startlinenumberin

Re: [NTG-context] problem with \getparameters

2012-02-23 Thread Thomas A. Schmitz
On 02/23/2012 12:27 PM, Wolfgang Schuster wrote: \usemodule[annotation] \define[2]\NumberedblockquoteCommand {\setupindenting[no] \startlinenumbering[width=1cm][\annotationparameter{start}]% #2% \stoplinenumbering} \defineannotation [numberedblockquote] [alternative=command

[NTG-context] problem with \getparameters

2012-02-23 Thread Thomas A. Schmitz
Hi all, I'm trying to use \getparameters, but I'm doing it wrong. What I want to do is: define an environment which starts linenumbering and takes a key=value argument to define the start of the numbers. Here's what I tried (I also tried a few other things, such as \setvariables, but wasn't a

Re: [NTG-context] footnotes rewritten

2012-02-22 Thread Thomas A. Schmitz
On 02/21/2012 09:24 PM, Steffen Wolfrum wrote: Am I the only one who uses footnotes ? ;o) Steffen No, I'm using footnotes too, and the current implementation is an absolute disaster. I get weird and unexpected behavior as well. 1. Footnotes are shifted to the following page. This puts a h

[NTG-context] texgyre termes: no ligatures

2012-02-15 Thread Thomas A. Schmitz
Hi all, I think this has been around for a while, but I have never gotten round to writing about it: ligatures do not work in tex gyre termes. AFAICS, they do work in the other tex gyre fonts. However, they are most needed in termes (fi without ligature is really ugly in this one), and they do

Re: [NTG-context] Increment an item number?

2012-02-14 Thread Thomas A. Schmitz
On 2/14/12 1:48 PM, Hans Hagen wrote: \starttext \startitemize[n] \item First question \phantom{\item } \item Third question \phantom{\item } \item Fifth question \item Sixth question \stopitemize \stoptext or something \starttext \startitemize[n] \item First question \incrementnumber[itemgrou

Re: [NTG-context] setupnotedefinition

2012-02-13 Thread Thomas A. Schmitz
On 02/13/2012 10:03 AM, Wolfgang Schuster wrote: Is this an oversight, or has it been replaced by something else? The new command is \setupnotation. Wolfgang Thank you Wolfgang. Corrected in wiki. Thomas ___ If y

[NTG-context] setupnotedefinition

2012-02-13 Thread Thomas A. Schmitz
Hi all, the command \setupnotedefinition is no longer defined in the latest beta (strc-not.mkvi). Is this an oversight, or has it been replaced by something else? All best Thomas ___ If your question is of inter

Re: [NTG-context] Simpleslides crash

2012-02-12 Thread Thomas A. Schmitz
On 02/04/2012 02:16 PM, Otared Kavian wrote: Hi Thomas, Thanks for your answer and your suggestion: indeed version 2011.11.29 works fine and since I have it on my Mac, there is no emergency for me to have simpleslides fixed. Thanks also to Aditya and you for the nice module you have written! A

Re: [NTG-context] mixing Greek and English texts

2012-02-12 Thread Thomas A. Schmitz
On 02/12/2012 12:56 PM, Pablo Rodríguez wrote: BTW, which are the commands for modern polytonic and monotonic Greek hyphenation? I don't think we have support for modern Greek in ConTeXt now. Someone would have to prepare the patterns and the punctuation rules, and here it would make sense to

Re: [NTG-context] mixing Greek and English texts

2012-02-12 Thread Thomas A. Schmitz
On 02/12/2012 03:16 AM, Pablo Rodríguez wrote: Hi there, I would like to typeset a classical Greek text that contains a Greek-English dictionary and other explanations in English with Greek passages. In order to get proper hyphenation, I should define English as main language and tag all Greek

Re: [NTG-context] Is it possible to \cite with UPPERCASED author?

2012-02-10 Thread Thomas A. Schmitz
On 02/10/2012 03:10 PM, Wagner Macedo wrote: Ah, yes. I'm setuping my own style. As I'm not so good with TeX (if this could be in Lua, will be perfect), I'm using apa, that is the closest to my style. So, all right, I'll try to customize my style, that is the only good solution to this. Thanks b

Re: [NTG-context] Is it possible to \cite with UPPERCASED author?

2012-02-10 Thread Thomas A. Schmitz
On 02/10/2012 12:58 PM, Wagner Macedo wrote: Longer answer: bib mod manual, section 2.3, \setupcite. You can hook something like \bgroup\WORD and \egroup into the left= and right= keys. It didn't solve, because when I have an "author et al", results in "AUTHOR ET AL", that is not the ex

Re: [NTG-context] Is it possible to \cite with UPPERCASED author?

2012-02-10 Thread Thomas A. Schmitz
On 02/10/12 11:59, Wagner Macedo wrote: Is it possible to \cite with author in UPPERCASE without touch in my bib file? I couldn't find a tip about this, I already read Bib mod manual. I'm using MkIV. Short answer: yes, that's possible. Longer answer: bib mod manual, section 2.3, \setupcite.

Re: [NTG-context] UTF conversion via Lua

2012-02-10 Thread Thomas A. Schmitz
On 02/10/12 11:22, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, I have many files with ASCII encoding; this encoding must be kept as these files are processed also by another program. When I work with them in ConTeXt, I need to convert them to UTF. Does Lua (in ConTeXt scope) offer a t

Re: [NTG-context] xtables: vertical stretch

2012-02-07 Thread Thomas A. Schmitz
On 02/07/2012 09:10 PM, Hans Hagen wrote: I was wondering if it is possible to have some vertical stretch in xtables so they fill the entire page area. I know this sounds a bit bizarre, but it would look good on slides: have an option that will automatically calculate the height of every row as \

[NTG-context] xtables: vertical stretch

2012-02-07 Thread Thomas A. Schmitz
Hi all, I was wondering if it is possible to have some vertical stretch in xtables so they fill the entire page area. I know this sounds a bit bizarre, but it would look good on slides: have an option that will automatically calculate the height of every row as \textheight/x for any x. All b

Re: [NTG-context] Simpleslides crash

2012-02-04 Thread Thomas A. Schmitz
On 2/3/12 7:45 AM, Otared Kavian wrote: Dear Aditya and Thomas, Using the simpleslides seems impossible with the latest beta (ConTeXt ver: 2012.01.25 14:16 MKIV fmt: 2012.1.31): mkiv stops with a « fatal error » on this minimal test: Hi Otared, yes, we're aware of the problem; Aditya is w

Re: [NTG-context] Bibliography problem

2012-02-02 Thread Thomas A. Schmitz
On 02/02/2012 05:26 AM, Pontus Lurcock wrote: ere's a long-standing problem I have with BibTeX databases in ConTeXt Mk IV (I'm currently using version 2011.10.01). If there are multiple publications with the same authors and year, they get suffixes a, b, etc. as is usually expected in bibliograph

Re: [NTG-context] What’s your favorite command?

2012-01-30 Thread Thomas A. Schmitz
On 01/30/2012 07:55 PM, Wolfgang Schuster wrote: Hi all, to bring some traffic to the list I have a question where I hope even non regulars send a answer. The ConTeXt package is huge and provides dozen of commands but I guess many have*one* favorite command (maybe also functionality). As I

Re: [NTG-context] issue with \setuplabeltext

2012-01-22 Thread Thomas A. Schmitz
On 01/22/12 20:49, Pablo Rodríguez wrote: And I have just accidentally discovered that label text is only shown in the chapter title, if the \mainlanguage is different from [agr]. (I haven't checked all languages, but it works with la, en, ru and es.) agr is not a full language in the ConTeXt s

Re: [NTG-context] Surprising changes in vers. 2012.01.11

2012-01-11 Thread Thomas A. Schmitz
On 1/11/12 2:01 PM, Hans Hagen wrote: hm, i didn't know anyone was using it that way \define\sampi{\greeksampi} should work ok. I'll be a bot more tolerant then. Hans Was just about to write; I had found that too about two weeks ago. I don't know if it's incorrect syntax, but it had been wo

Re: [NTG-context] for luigi's gadget gallery

2012-01-09 Thread Thomas A. Schmitz
On 01/09/2012 06:42 PM, Aditya Mahajan wrote: showing black-and-white printouts instead of using a projector. That'll learn them! No need for printouts! http://www.ngolde.de/tpp.html I gotta try this out one of these days! Thomas _

Re: [NTG-context] for luigi's gadget gallery

2012-01-09 Thread Thomas A. Schmitz
On 1/9/12 6:19 PM, Hans Hagen wrote: I would not be surprised if at the next context meeting Thomas will have one ... (and doing a presentation using the upcoming high res macbook, ipad 3, this keyboard, a 3d beamer with greek/latin/german/english in parallel) .. after all, he's set the standard

Re: [NTG-context] Barcodes

2012-01-08 Thread Thomas A. Schmitz
On 01/06/2012 12:28 AM, Ben Schlingelhof wrote: Hi there, is there a possibility to generate barcodes (Code128 and QR) in ConTeXt? I've had a look at pstricks but this seems broken. Something about ! "I can't find file `multido'." ? These barcodes are a Dealbreaker for my company, I know they wo

Re: [NTG-context] beta

2012-01-02 Thread Thomas A. Schmitz
On 01/02/2012 11:46 PM, Wolfgang Schuster wrote: You have \definefontfeature[default][default][protrusion=quality] or a similar setting in your document? Wolfgang Now I do... Thanks Wolfgang, it works now! Thomas ___

Re: [NTG-context] beta

2012-01-02 Thread Thomas A. Schmitz
On 01/02/2012 09:44 PM, Hans Hagen wrote: Other than that, the parameters mechanism appears to have changed, so it baulks at our simpleslides module which uses this all over the place. I'll have to make a minimal example later. I keep 2011.11.29 around, for when I need urgent results... well, n

Re: [NTG-context] beta

2012-01-02 Thread Thomas A. Schmitz
On 01/02/2012 09:45 PM, Hans Hagen wrote: >> Is \enableprotruding obsolete, then? One can wonder if it ever was solete Hans OK, I see :-) Must have been a leftover from the olden days, when we had to compile our context documents with a magnetized needle and a steady hand directly on the ha

Re: [NTG-context] beta

2012-01-02 Thread Thomas A. Schmitz
On 01/02/2012 09:29 PM, Wolfgang Schuster wrote: I deleted the texmf-context folder and hand-ini.mkiv was downloaded when I run first-setup.sh, it’s also included in the cont-tmf archive from Hans. Hmm, maybe system-dependent? I'm on linux-64; I'll try with my OS X box. Thomas ___

Re: [NTG-context] beta

2012-01-02 Thread Thomas A. Schmitz
On 01/02/2012 09:08 PM, Wolfgang Schuster wrote: In the latest beta, the file hand-ini.mkiv is gone, I can’t reproduce this because I have the file on my system. That may be the case, but the question is how it got there. Not by running first-setup.sh - I just did a test run into an empty dir

Re: [NTG-context] beta

2012-01-02 Thread Thomas A. Schmitz
On 01/02/2012 05:28 PM, Hans Hagen wrote: Hi, I uploaded a new beta ... hopefully not too many renaming side effects Hi Hans, all best for the New Year! And thanks for the wonderful New Year's card - I received two of them and could appreciate the full randomness of it all... In the lates

Re: [NTG-context] PDF not generated from XML

2011-12-31 Thread Thomas A. Schmitz
On 12/31/2011 02:16 PM, Pablo Rodríguez wrote: Hi there, with the files form http://meeting.contextgarden.net/2011/talks/day2_03_thomas_xml-tutorial/, I tried: context --environment=mysecondstyle.tex myexample.xml But I don't get the PDF output (attached log file). What is wrong here?

Re: [NTG-context] beta (again)

2011-12-17 Thread Thomas A. Schmitz
On 12/17/2011 10:23 AM, Hans Hagen wrote: I'm experiencing problems with the latest (today's) beta, and I suspect they are caused by the "bold math" change. The error is: fixed Oops, sorry, I spoke too soon, I now get: ! Undefined control sequence. system > tex > error on line 13

Re: [NTG-context] beta (again)

2011-12-17 Thread Thomas A. Schmitz
On 12/17/2011 10:23 AM, Hans Hagen wrote: I'm experiencing problems with the latest (today's) beta, and I suspect they are caused by the "bold math" change. The error is: fixed Thanks Hans! Thomas ___ If your ques

[NTG-context] beta (again)

2011-12-16 Thread Thomas A. Schmitz
Hi, I'm experiencing problems with the latest (today's) beta, and I suspect they are caused by the "bold math" change. The error is: (/mnt/shared/context/tex/texmf-context/tex/context/base/type-otf.mkiv){/mnt/shared/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/mnt/shared/context/tex/texm

Re: [NTG-context] beta

2011-12-15 Thread Thomas A. Schmitz
On 12/15/11 23:41, Hans Hagen wrote: fixed in next beta Hans Thanks a lot, Hans! Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / htt

Re: [NTG-context] beta

2011-12-15 Thread Thomas A. Schmitz
Hi all, Hans, something is not working with our simpleslides module and the latest beta. The following example (from our documentation) is not quite minimal, but it shows the problem: \unprotect \def\setupTitle% {\dosingleargument\dosetupTitle} \def\dosetupTitle% {\setvariables[simplesli

Re: [NTG-context] How to do coloured heads

2011-12-07 Thread Thomas A. Schmitz
On 12/07/2011 11:16 AM, Philipp Gesang wrote: Better group the arguments of the “style” key as a whole: · \definehead[colorsection][section] \setuphead [colorsection][ style={\tfb\ss\color[darkgray]}, ] or, more ConTeXt-like:

Re: [NTG-context] Migrating from prosper to simpleslides in creating presentations

2011-12-07 Thread Thomas A. Schmitz
On 12/06/2011 11:40 PM, Pavneet Arora wrote: Thanks Wolfgang and Marco for the quick responses. Marco, `impressive' looks just the thing that will easily allow me to add transitions while still using simpleslides to get me going until I can do my own DIY slides. Regards. Glad you found a solu

Re: [NTG-context] Error while compiling : ! String contains an invalid utf-8 sequence.

2011-12-07 Thread Thomas A. Schmitz
On 11/25/2011 09:09 PM, Hans Hagen wrote: It makes me wonder how Thomas gets his greek etc done in bibtex. To be quite honest: I rarely have more than a few words of Greek, and I wrap them up in \localgreek{} markup in my bibtex files, so I assume that's why I have never run into this problem

Re: [NTG-context] caption "none"

2011-11-24 Thread Thomas A. Schmitz
On 11/24/2011 09:12 PM, Wolfgang Schuster wrote: This was always possible: \placefigure[here,none]{}{…} Wolfgang OK, I see, now it's only the combination of these two keywords that gets rid of the caption. Conscious decision or side effect? Thomas __

[NTG-context] caption "none"

2011-11-24 Thread Thomas A. Schmitz
Has something changed here? With the latest beta, \placefigure[none] places a caption; and didn't use to: \starttext \placefigure[here]{none}{\externalfigure[cow][width=5cm]} \stoptext Or has this behavior been replaced with something else? Thomas

Re: [NTG-context] latest beta

2011-11-23 Thread Thomas A. Schmitz
On 11/23/2011 09:21 AM, Hans Hagen wrote: this is probably one of those rare cases of unzipping the archive at the garden interfering with an update .. i'll re-uploade later today Hans Great, thanks for the quick fix! Thomas

[NTG-context] latest beta

2011-11-22 Thread Thomas A. Schmitz
Hi Hans, the files typo-itc.lua and typo-itc.mkvi are missing in today's beta; I assume that's just an oversight? All best Thomas ___ If your question is of interest to others as well, please add an entry to the

Re: [NTG-context] Simplefonts: Font scaling problem

2011-11-12 Thread Thomas A. Schmitz
On 11/11/2011 06:20 PM, Christian wrote: Good evening! I want to scale a font loaded via the simplefonts so sans and serif have the same x-height. But as soon as I use a font size larger than 12pt, the scaling is somehow off or ignored. Example: \usemodule[simplefonts] \setupsimplefonts

Re: [NTG-context] xtables in custom macros

2011-11-06 Thread Thomas A. Schmitz
On 11/04/2011 10:44 PM, Thomas A. Schmitz wrote: Hans, thanks a lot, I'll play with it tomorrow (was on the road today, from Florence back home...). All best Thomas Yes, this works wonderfully! And thanks for mentioning the xml example in the manual! All best T

Re: [NTG-context] Two frames side by side?

2011-11-06 Thread Thomas A. Schmitz
On 11/06/2011 01:45 AM, Alasdair McAndrew wrote: I want two frames side by side: the left frame comprising just text (and some displayed formulas), and the right hand side frame some high level computer algebra code. The right hand side will have a gray background, and will consist mainly of typ

Re: [NTG-context] xtables in custom macros

2011-11-04 Thread Thomas A. Schmitz
On 11/04/2011 01:48 PM, Hans Hagen wrote: \startxmlsetups xml:table \startembeddedxtable \xmlflush{#1} \stopembeddedxtable \stopxmlsetups Hans, thanks a lot, I'll play with it tomorrow (was on the road today, from Florence back home...). All best Thomas ___

Re: [NTG-context] xtables in custom macros

2011-11-04 Thread Thomas A. Schmitz
On 11/4/11 10:38 AM, Hans Hagen wrote: \def\test {\setbuffer[demo] \startxtable \startxrow \startxcell does not work \stopxcell \stopxrow \stopxtable \endbuffer \processxtablebuffer[demo]} Hans, is the solution to my xml problem along these lin

Re: [NTG-context] beta

2011-10-28 Thread Thomas A. Schmitz
On 10/28/11 16:24, Hans Hagen wrote: I uploaded a new beta. The biggest new thing is that there is yet another table mechanism: extreme tables. Extreme tables - be careful, leave yourself some room for the next iteration; you might run out of superlatives. What will be next: supermongous tabl

Re: [NTG-context] xml and lua again

2011-10-28 Thread Thomas A. Schmitz
On 10/28/11 10:56, Hans Hagen wrote: Just switch to philosopher mode for a while and ask yourself what implications that would have in the rather fuzzy world of printing. What is a 'real' dimension? What we call points (pt) is in other application also called points but happens to be basepoints

Re: [NTG-context] Line spacing with a large font?

2011-10-28 Thread Thomas A. Schmitz
On 10/28/11 12:37, Alasdair McAndrew wrote: Thanks, but it doesn't work: {\tfe This is the title of my book\par} still gives vertically squashed text. Which means you should probably provide a complete example. Thomas __

Re: [NTG-context] Line spacing with a large font?

2011-10-28 Thread Thomas A. Schmitz
On 10/28/11 12:18, Alasdair McAndrew wrote: How can I ensure that \tfe uses more interline space? by adding a \par at the end. Thomas ___ If your question is of interest to others as well, please add an entry to th

Re: [NTG-context] xml and lua again

2011-10-27 Thread Thomas A. Schmitz
On 10/28/11 08:44, Patrick Gundlach wrote: context.blackrule{ width = number.topoints(tex.dimen["textwidth"]/2) } or just tex.dimen["textwidth"]/2 .. "sp" Wait, just so I understand: your solution would imply that tex.dimen["textwidth"] holds a number, not a dimension, right? (Because yo

Re: [NTG-context] xml and lua again

2011-10-27 Thread Thomas A. Schmitz
On 10/27/11 13:05, Hans Hagen wrote: With “tex.dimen[…]” you get the value in scaled points but util-dim.lua provides some functions to convert the value in points, centimeter etc. \starttext \startluacode context.blackrule{ width = number.topoints(tex.dimen["textwidth"]/2) } \stopluacode \stopt

Re: [NTG-context] xml and lua again

2011-10-27 Thread Thomas A. Schmitz
On 10/27/2011 11:53 AM, Wolfgang Schuster wrote: With “tex.dimen[…]” you get the value in scaled points but util-dim.lua provides some functions to convert the value in points, centimeter etc. \starttext \startluacode context.blackrule{ width = number.topoints(tex.dimen["textwidth"]/2) } \stopl

Re: [NTG-context] xml and lua again

2011-10-27 Thread Thomas A. Schmitz
On 10/25/2011 12:27 PM, Thomas A. Schmitz wrote: Wolfgang, Hans, thanks a lot, this works now. Will now try and move the code to a ctxluafile and see if I can make it work again. If not, I'll be back; no good deed goes unpunished... Thomas OK, I'm slowly making progress processing

Re: [NTG-context] xml and lua again

2011-10-25 Thread Thomas A. Schmitz
On 10/25/11 12:17 PM, Hans Hagen wrote: see Wolfgangs answer anyway, best move the lua code and wrap it in a function "document.MyWhatever" ... now its get defined each time Hans Wolfgang, Hans, thanks a lot, this works now. Will now try and move the code to a ctxluafile and see if I can m

Re: [NTG-context] xml and lua again

2011-10-25 Thread Thomas A. Schmitz
On 10/24/11 8:48 PM, Hans Hagen wrote: sure, oryou can play with if xml.filter(t,".[@frame=on]) then the x-*.lua show some tricks OK, I'm in my "stubborn" mode then: why doesn't this work: \startbuffer[test] 1 2 3 4 5 6 7 8

Re: [NTG-context] xml and lua again

2011-10-24 Thread Thomas A. Schmitz
On 10/24/2011 02:26 PM, Hans Hagen wrote: if lxml.att(t, "frame") == "on" then context("Yes, the frame is really on!") else context("Nope, sorry, it's still off.") end I don't really understand what kind of object a call such as lxml.att(t, "frame") produces. all lxml.* calls print something t

Re: [NTG-context] xml and lua again

2011-10-24 Thread Thomas A. Schmitz
On 10/24/2011 12:17 PM, Hans Hagen wrote: why so complex Hi Hans, yes, I'm aware that this procedure is quite silly for this example, this was just for myself, for educational purposes. As soon as the setup becomes more complex, I thought it might be easier to collect and process the option

Re: [NTG-context] xml and lua again

2011-10-23 Thread Thomas A. Schmitz
Hi Peter, thanks for your reply, and I'll keep the bit about goat milk in mind :-). "frame=" .. tostring(framestate) It has the advantage of making the example compile. It has the drawback of not doing anything :-) seems to work. Anyhow, if you are planning to do some more complex stuff,

[NTG-context] xml and lua again

2011-10-22 Thread Thomas A. Schmitz
Hi all, again, I'm playing a bit with processing my xml in lua. I want a simple interface for processing tables (I don't need all the power and complexity of cals tables and want to learn something in the process). And I thought that collecting the setups in lua might be the easiest way, but

Re: [NTG-context] For Windows users: ConTeXt + SciTe installation instructions updated

2011-10-19 Thread Thomas A. Schmitz
On 10/19/11 11:55 AM, Patrick Gundlach wrote: I've seen it in the app store a few days ago. Haven't tried it, though. Patrick Ah thanks - and right you are! Comes with a price tag of 33.49 € though; not sure if it's worth that... Thomas __

Re: [NTG-context] For Windows users: ConTeXt + SciTe installation instructions updated

2011-10-19 Thread Thomas A. Schmitz
On 10/19/11 11:49 AM, Hans Hagen wrote: there is now also a scite-for-osx but someone needs to compile the external lexer lua library as it's only available for windows and linux Hans hey, that sounds good - but where can I find it? There's nothing about it on the scintilla page. Or do you me

Re: [NTG-context] arguments on context call

2011-10-16 Thread Thomas A. Schmitz
On 10/16/11 5:35 PM, Meer, H. van der wrote: The "context --help" shows the following option: --arguments=list set variables that can be consulted during a run (key/value pairs) It looks like something I need at the moment. There seems to be no further information on it, at least not be s

Re: [NTG-context] Error in simpleslides style Swoosh

2011-10-13 Thread Thomas A. Schmitz
On 10/13/2011 05:01 PM, Hans Hagen wrote: probably something messy with multipass data then (not enough checking or so) That's probably the case; I may have created a condition that mplib/context can't solve: I want a slightly randomized path and an intersectionpoint with a progress meter to

Re: [NTG-context] Error in simpleslides style Swoosh

2011-10-13 Thread Thomas A. Schmitz
On 10/13/2011 04:30 PM, Marco wrote: Hi, the presentation template “Swoosh” behaves weird and triggers an error. • Use the example file generic-talk-15min-45min.tex • Comment “style=BigNumber,” • Uncomment “style=Swoosh,” The log file is attached. Workaround: First processing the file u

Re: [NTG-context] new beta

2011-10-03 Thread Thomas A. Schmitz
Another problem: interactive links appear to be broken with the latest beta. This works with 2011.09.20, but not with the latest: \setupinteraction [state=start, color=darkblue] \useURL[luatex][http://www.luatex.org][][luatex website] \starttext Does this work? \from[luatex] \stoptext

Re: [NTG-context] new beta

2011-10-02 Thread Thomas A. Schmitz
On 10/02/2011 10:59 PM, Hans Hagen wrote: On 2-10-2011 18:16, Thomas A. Schmitz wrote: the cross-referencing is excellent new, I will have to play with it very soon! In the meantime, here's something which broke with the October beta (worked a week ago): fixed (just a forgotten low

Re: [NTG-context] new beta

2011-10-02 Thread Thomas A. Schmitz
On 10/01/2011 11:16 AM, Hans Hagen wrote: Hi, I uploaded a new beta. Apart from some fixes the following has been added/changed. Some are side effects of discussions at the context meeting. However, the biggest new thing is adapted cross document referencing. This was already possible but we co

Re: [NTG-context] errors with simpleslides (style-specific)

2011-09-30 Thread Thomas A. Schmitz
On 09/27/2011 11:40 PM, Ondřej Hošek wrote: sh first-setup.sh --context=beta --fonts=all --modules=all --goodies=all Just did a clean installation using this command; the problem's still there. I should probably mention that I only tried mkiv. Cheers, ~~ Ondra Ondra, Aditya and I just rolled

Re: [NTG-context] errors with simpleslides (style-specific)

2011-09-28 Thread Thomas A. Schmitz
On 9/28/11 11:14 AM, Ondřej Hošek wrote: OK, I see where your error comes from: I had experimented with a modular design for the counters, and there is some leftover code of this experiment in the version that I uploaded; sorry about this. (I had created a designated counter submodule that is

Re: [NTG-context] errors with simpleslides (style-specific)

2011-09-27 Thread Thomas A. Schmitz
On 09/27/2011 11:40 PM, Ondřej Hošek wrote: On Tue, Sep 27, 2011 at 23:21, Thomas A. Schmitz wrote: How did you obtain the module? sh first-setup.sh --context=beta --fonts=all --modules=all --goodies=all Just did a clean installation using this command; the problem's still there. I s

Re: [NTG-context] errors with simpleslides (style-specific)

2011-09-27 Thread Thomas A. Schmitz
On 09/27/2011 11:15 PM, Ondřej Hošek wrote: Greetings, I'm using ConTeXt Standalone 2011.09.27 20:05. \usemodule[simpleslides][style=Shaded] \starttext \SlideTitle{The first slide} Hello, world. \SlideTitle{The second slide} Greetings, world. \stoptext Thanks for reporting these problems. Unf

Re: [NTG-context] xml processing in lua

2011-09-26 Thread Thomas A. Schmitz
On 09/26/2011 09:15 PM, Aditya Mahajan wrote: On Mon, 26 Sep 2011, Thomas A. Schmitz wrote: Hi all, after boring people with xml processing in TeX at the meeting in Bassenge, I'm looking for new challenges and am trying my hand at processing xml in lua. But so far, even the simplest t

[NTG-context] xml processing in lua

2011-09-26 Thread Thomas A. Schmitz
Hi all, after boring people with xml processing in TeX at the meeting in Bassenge, I'm looking for new challenges and am trying my hand at processing xml in lua. But so far, even the simplest things escape me. Here's an example: \startbuffer[test] One Two \stopbuffer \startxmlsetups x

Re: [NTG-context] arbitrary tex-code in xml?

2011-08-22 Thread Thomas A. Schmitz
On 08/22/2011 07:19 PM, Hans Hagen wrote: I know that I should refuse to answer questions without a minimal example ... I'm pretty sure that your students can't use the heat-wave excuse. You're right, of course, for educational purposes... As for my students: they use the weirdest excuses any

[NTG-context] arbitrary tex-code in xml?

2011-08-22 Thread Thomas A. Schmitz
Hi all, must be the heat here in Germany - I'm all out of ideas, and I have no example yet. Maybe someone can help: is it possible to define an xml setup that will run arbitrary tex code? Something like this (obviously pseudo-code): in a TeX file MyInputs.tex which will be loaded at runtime,

Re: [NTG-context] ConTeXt Book: Request for help!

2011-08-15 Thread Thomas A. Schmitz
On 08/15/2011 09:46 AM, Florian Wobbe wrote: Have you ever googled for something context related? You end up mostly with false positives because "context" can appear just in any context. I wonder if all those windows hits are from people who searched for any other "context" and ended up on the

Re: [NTG-context] ConTeXt Book: Request for help!

2011-08-15 Thread Thomas A. Schmitz
On 08/15/2011 09:16 AM, luigi scarso wrote: Under linux Wine sometimes does a great job. *If* the linux user happens to have 150 bucks and thinks it's a good idea to give that to Microsoft. No thanks. It's of course way too early to say anything about a project that I haven't seen a single li

[NTG-context] some bug in xml processing

2011-08-12 Thread Thomas A. Schmitz
Hi all, Hans, you won't like this a bit, but I'm hitting a bug in xml-processing with the latest beta. It's a fairly complex setup, so I don't have a minimal example yet. All I can say is: it works with version 2011.06.19 14:17 (which I have on a server), but when I process the same files with

Re: [NTG-context] sorted phone directory

2011-08-02 Thread Thomas A. Schmitz
On 08/02/2011 04:08 PM, Johan Sandblom wrote: Thank you for your suggestions! Jaroslav, having the numbers in a separate file and sorting there, while possible, would increase overhead in managing the document and make it impossible to enter phone numbers at other places in the text. Ultimately

<    1   2   3   4   5   6   7   8   9   10   >