[NTG-context] Two interline space setup troubles

2010-02-13 Thread Vyatcheslav Yatskovsky
Hello, I have some troubles with interline space setup. 1) I want whole document to have medium interline space. When I put \setupinterlinespace[medium] in the preample (before \starttext), it has no effect at all. I want keep all style definitions in a separate environment module, so how to

Re: [NTG-context] One interline space setup trouble

2010-02-14 Thread Vyatcheslav Yatskovsky
Hello Wolfgang \definestartstop [example] [before={\blank[small]}, after={\blank[small]}, style=\tfx, commands={\setupinterlinespace[big]}] Thank you, Wolfgang, but the 'commands' tag seems to not have no effect at all. Even when explicit value provided. \setupinterlinespace[l

Re: [NTG-context] One interline space setup trouble

2010-02-14 Thread Vyatcheslav Yatskovsky
Thanks! \definedelimitedtext is a nice command, indeed. As often happens, it is carefully hidden in the wiki documentation ))) Found only in http://wiki.contextgarden.net/Quotes Regards, Vyatcheslav Am 14.02.10 15:05, schrieb Vyatcheslav Yatskovsky: Thank you, Wolfgang, but the 'com

Re: [NTG-context] ntg-context Digest, Vol 68, Issue 57

2010-02-14 Thread Vyatcheslav Yatskovsky
Hello, Hans i'm still reconsidering this ... maybe in mkiv we will have - \setupbodyinterlinespace - \switchtobodyinterlinespace and \setupinterlinespace being local (or global till starttext) Hans \setupbodyinterlinespace is probably what I needed. But I'm quite happy with current solutio

Re: [NTG-context] One interline space setup trouble

2010-02-16 Thread Vyatcheslav Yatskovsky
Hi, Sorry for my strive for perfection, but if I set new interline space in delimited text using 'before' key, the space BEFORE is affected by \setupinterlinespace, while the space AFTER does not. The result is a paragraph with visibly unbalanced surroundings. Is there a way to set the spaces

Re: [NTG-context] One interline space setup trouble

2010-02-16 Thread Vyatcheslav Yatskovsky
Hi, Wolfgang, Thank you for the visual hint. The space around 2th paragraph is equal, I agree with you. However, why there is only a half of interline space BELOW 1st paragraph, while 3st paragraph has full space ABOVE it? That is the root cause of my problem. \setupinterlinespace[line=28pt

Re: [NTG-context] ancient greek module

2010-02-20 Thread Vyatcheslav Yatskovsky
Hello, Thanks for very clear explanation. I wikified it. Vyatcheslav When you load a module with \usemodule[modulename] ConTeXt looks for a file with the following names: - m-modulaname (core module) - p-modulename (private module) - s-modulename (ConTeXt style file) - x-modulename (XML modu

Re: [NTG-context] One interline space setup trouble

2010-02-20 Thread Vyatcheslav Yatskovsky
Thanks, Wolfgang! This works really fine \setupinterlinespace[height=0.55,depth=0.45,line=38pt] \definedelimitedtext [example] [spacebefore={\strutdepth,none}, spaceafter=none, style=\tfx, before={\setupinterlinespace[line=16pt]}] B.R. Vyatcheslav

[NTG-context] Floats broken under some circumstances

2010-02-21 Thread Vyatcheslav Yatskovsky
Hi, Weird, but when I use rather big linespace \setupinterlinespace[line=28pt] and set \setupfloats[spaceafter=medium], then the error rises. With less interlinespace value or without spaceafter all works ok. !pages : flushing realpage 1, userpage 1, subpage 1 floatblocks : 1 moved ! Missing

[NTG-context] Automatically filling forms

2010-02-22 Thread Vyatcheslav Yatskovsky
Hello, First of all, thanks to NTG for the proceedings book. I have a rather specific question. In my workplace, there are many forms in Word format: TITLE OF THE FORM A student ___ (name, surname) was employed at (place) ___ (date) bla-bla

Re: [NTG-context] Automatically filling forms

2010-02-22 Thread Vyatcheslav Yatskovsky
Wolfgang, editable pdf fields are also good idea, but this will be just another form or current workflow, and I want another thing. I want to generate pdf with data already filled in, taken from a database. The form should be repeated as many times as there are rows in the database. By datab

Re: [NTG-context] Automatically filled forms

2010-02-22 Thread Vyatcheslav Yatskovsky
Ok, thanks. I will investigate the possibilities. Database module looks like the right choice. Vyatcheslav ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-con

Re: [NTG-context] Math in MKIV - HOWTO

2010-02-25 Thread Vyatcheslav Yatskovsky
Hi Mojca, After trying step 1 (vusialize the font) with Times math, I have the following error: systems : begin file math.tex at line 2 (c:/contextminimal/texmf-context/tex/context/base/font-run.mkii) color : system all is global activated ! Undefined control sequence. \doshowfont ...f \s

Re: [NTG-context] Occasional words sticking out from flush-right

2010-03-03 Thread Vyatcheslav Yatskovsky
On 03.03.2010 22:41, ntg-context-requ...@ntg.nl wrote: Stymies me how people on this mailing list know this stuff -- even a Google search for "setbreakpoints", assuming I knew the command in advance, returns nada. This all is sacred knowledge, for devoted seekers :o) (Arthur, what about your

Re: [NTG-context] setbreakpoints

2010-03-03 Thread Vyatcheslav Yatskovsky
Hi Wolfgang, To be serious, what \setbreakpoints[] do? I want to wikify this command. Vyatcheslav ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.

Re: [NTG-context] [OT] Lua sponsors

2010-03-04 Thread Vyatcheslav Yatskovsky
" We are pleased to announce that Adobe has joined our corporate > sponsorship program." > http://www.lua.org/sponsors.html Oh, I already see Hans replacing his "javascript in pdf documents" strategy with "fun with lua scripts in pdf documents" now:) Wow. I first decided that Adobe

Re: [NTG-context] Where is the cow?

2010-03-07 Thread Vyatcheslav Yatskovsky
\setupexternalfigures[location={local,global,default}] local : currentdirectory + .. + ../.. global : paths set with 'directory=...' default : tex tree Hi Wolfgang, I want to draw your attention about what Texshow says \setupexternalfigures: global: the whole current project environmen

[NTG-context] Math setups

2010-03-10 Thread Vyatcheslav Yatskovsky
Hello Wolfgand and other ConTeXties, You are welcome to watch and expand new wiki page http://wiki.contextgarden.net/Math_setups Vyatcheslav \setupmathematics[autopunctuation=yes] ___ If your question is of

[NTG-context] ConTeXt forum engine

2010-03-14 Thread Vyatcheslav Yatskovsky
Hello Why not phpBB?? http://www.phpbb.com/ B.R. Vyatcheslav ___ 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/listin

[NTG-context] simple document layout setup

2010-03-24 Thread Vyatcheslav Yatskovsky
Hello, Is there a simple command to setup narrower document margins, without resorting to \setuplayout with numerical values? I think of MS Word 2007 settings. B.R. Vyatcheslav ___ If your question is of interest

[NTG-context] URL setup

2010-03-26 Thread Vyatcheslav Yatskovsky
Hello, \setupurl[color=blue] does not work in mkiv again. Also, please look how I use \useURL and \goto to typeset the link. Is there a way do it less verbose? Regards, Vyatcheslav %EXAMPLE= \chapter{Modelling of Continuous-Time Dynamic Syste

Re: [NTG-context] URL setup

2010-03-26 Thread Vyatcheslav Yatskovsky
{In Lua, array indices start from one.}[url(http://www.xkcd.com/163/)] \from[149] \url [224] \stoplines \stoptext Wolfgang -- Best Regards, Vyatcheslav Yatskovsky ___ If your question is of interest to others as well

Re: [NTG-context] URL setup

2010-03-27 Thread Vyatcheslav Yatskovsky
Hi Now I see. Thanks. \setupinteraction [state=start, color=red] % \goto and \from \setupurl [color=orange] % \url B.R. Vyatcheslav ___ If your question is of interest to others as well, please add an e

[NTG-context] Vertical alignment in combinations

2010-03-28 Thread Vyatcheslav Yatskovsky
Hi, Please, advise. I want two pictures to stand side-by side. The first picture has much smaller height. In result, the pictures are aligned by the bottom line. How to move the first figure up in the center or top (at least, manually)? \startcombination[2*1] {\externalfigure[lily02.png]}{}

Re: [NTG-context] Vertical alignment in combinations

2010-03-29 Thread Vyatcheslav Yatskovsky
Thank you, Wolfgang, for \setupcombinations[location=top] I always believed there must exist such a command. :) Wikified. BR, Vyatcheslav ___ If your question is of interest to others as well, please add an e

[NTG-context] '#' sign in hyphenatedurl

2010-03-30 Thread Vyatcheslav Yatskovsky
Hello, I noticed that in \hyphenatedurl the '#' sign should be escaped, otherwise strange result occurs. \startext \hyphenatedurl{http://en.wikipedia.org/wiki/Differential_algebraic_equation#Numerical_solution_of_DAEs} \hyphenatedurl{http://en.wikipedia.org/wiki/Differential_algebraic_equation

[NTG-context] Line numbering in columns

2010-03-31 Thread Vyatcheslav Yatskovsky
Hello, I'm just curious, why line mumbers appear mirrored (on the right side of text) in the rightmost column? \starttext \startcolumns\startlinenumbering\startlines Fly me to the moon Hit the road jack Sway Libertango Sunny Besame mucho (Em) La Bamba Hey-na-na-na Venus (Dm) El Talisman Oye Co

Re: [NTG-context] How can one center or align a float?

2010-04-08 Thread Vyatcheslav Yatskovsky
Hi, How is it possible to have a STEPchart be midaligned, or right-aligned, Another way: \startnarrower[6*left] \getbuffer \stopnarrower -- Best Regards, Vyatcheslav Yatskovsky ___ If your question is of interest

[NTG-context] Building a guitar chord using MP

2010-04-09 Thread Vyatcheslav Yatskovsky
-|---| |-O-|---|---|---| |---|---|-O-|---| |-O-|---|---|---| Please, help me with it. -- Best Regards, Vyatcheslav Yatskovsky ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : n

Re: [NTG-context] Building a guitar chord using MP

2010-04-10 Thread Vyatcheslav Yatskovsky
? Please, an example. -- Best Regards, Vyatcheslav Yatskovsky ___ 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

Re: [NTG-context] Building a guitar chord using MP

2010-04-10 Thread Vyatcheslav Yatskovsky
concluded that on-the-fly insertion of Lilypond images does not work. 2) Generation of dozens of stand alone chords requires dozens of calls to lilypond, and, thus, terrifically slow. Am I right with this? -- Best Regards, Vyatche

Re: [NTG-context] Help needed: texshow-web/command reference

2010-04-11 Thread Vyatcheslav Yatskovsky
but wiki page looks meaningless without the descrption. http://wiki.contextgarden.net/Reference/en/but -- Best Regards, Vyatcheslav Yatskovsky ___ If your question is of interest to others as well, please add an entry

[NTG-context] Where to put MP macro?

2010-04-11 Thread Vyatcheslav Yatskovsky
{chordgrid}{e={#1},B={#2},G={#3},D={#4},A={#5},E={#6}}% \hskip2mm} \starttext \Ch{1}{3}{1}{2}{1}{1} \stoptext -- Best Regards, Vyatcheslav Yatskovsky ___ If your question is of interest to others as well, please add a

Re: [NTG-context] Help needed: texshow-web/command reference

2010-04-11 Thread Vyatcheslav Yatskovsky
/20100411.134521.3f2da72d.en.html -- Best Regards, Vyatcheslav Yatskovsky ___ 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] Help needed: texshow-web/command reference

2010-04-11 Thread Vyatcheslav Yatskovsky
Thank you for answer, Wolfgang. ConTeXt has no \but command although i think there was one in the past. I'm afraid you are wrong. See updated wiki page: http://wiki.contextgarden.net/Reference/en/but P.S. What about to wikify \show command itself? Or it is not ConTeXt command? Regards, Vy

Re: [NTG-context] Help needed: texshow-web/command reference

2010-04-11 Thread Vyatcheslav Yatskovsky
artitemize \but [content] ... \stopitemize -- Best Regards, Vyatcheslav Yatskovsky ___ 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/m

[NTG-context] marginrule does not work properly in wiki

2010-04-11 Thread Vyatcheslav Yatskovsky
Hello, The following example does not work properly in wiki (the rule is missed), while in mkIV it's OK. \starttext \startmarginrule The sound of a duck is a good demonstration of how different people listen to a sound. Everywhere in Europe the sound is equal. But in every country it is descri

[NTG-context] difference between a and b alternatives in \blackrule

2010-04-11 Thread Vyatcheslav Yatskovsky
Hello, What is the difference between a and b alternatives in \blackrule? http://wiki.contextgarden.net/Reference/en/setupblackrules#Description Regards, Vyatcheslav ___ If your question is of interest to others as

Re: [NTG-context] marginrule does not work properly in wiki

2010-04-11 Thread Vyatcheslav Yatskovsky
aloud you will notice that in spite of the consonants the sound is really very well described. And what about a cow, does it say boe, mboe or mm? \stopmarginrule \stoptext http://wiki.contextgarden.net/Reference/en/startmarginrule Regards, Vyatcheslav -- Best Regards, Vyatche

Re: [NTG-context] Building a guitar chord using MP

2010-04-12 Thread Vyatcheslav Yatskovsky
Hurray! I've got first draft version of guitar chord building macro. (With the help of this excellent manual http://www.tug.org/docs/metapost/mpman.pdf ) % -- working version --- \startuseMPgraphic{chordgrid}{e,B,G,D,A,E} def fretmark(expr a,b) = % a = string number % b = fret

[NTG-context] What happened with bold math?

2010-04-13 Thread Vyatcheslav Yatskovsky
Hello, What happened with bold math? \mathbf does not have any effect. \setupbodyfont[mscore,rm,12pt] \starttext $${\mathbf x}'(t) = f({\mathbf x}(t), {\mathbf u}(t), t)$$ \stoptext Regards, Vyatcheslav \setupbodyfont[mscore,rm,12pt] \starttext $${\mathbf x}'(t) = f({\mathbf x}(t), {\math

[NTG-context] fullpage module

2010-04-18 Thread Vyatcheslav Yatskovsky
Hello Wolfgand, why your fullpage module is not a part of standard Context distribution yet? It is extremely useful! Regards, Vyatcheslav ___ If your question is of interest to others as well, please add an entry

[NTG-context] A question about \define vs. \def

2010-04-18 Thread Vyatcheslav Yatskovsky
Hello, Patrick posed a good question on wiki at http://wiki.contextgarden.net/Reference/en/define "is there any bonus when I use \define instead of \def?" Regards, Vyatcheslav ___ If your question is of interest to

[NTG-context] Structuring topics

2010-04-18 Thread Vyatcheslav Yatskovsky
Hello, Pardon me for another small question. I want to structure my document into topics, surrounded by start/stop, numbered and with caption. I discovered that enumerations do numbering, but don't allow caption to pass, and descriptions allow captions, but don't numerate. Is there a middl

Re: [NTG-context] Structuring topics

2010-04-19 Thread Vyatcheslav Yatskovsky
Hi Wolfgang, title=yes, titleleft=, titleright=, Yeah, thanks! That's the title that makes it! Concerning \define... The answer is too witty for me, so I will leave the wiki page untouched. -- Best Regards, Vyatcheslav Yatsk

Re: [NTG-context] Structuring topics

2010-04-19 Thread Vyatcheslav Yatskovsky
y \def is for developers and \define for users but this won't work in all cases because \define can't create commands with optional arguments :( Wolfgang -- Best Regards, Vyatcheslav Yatskovsky ___ If your

Re: [NTG-context] \define...

2010-04-20 Thread Vyatcheslav Yatskovsky
ine should be used in this case (but we need a version with parameters) -- Best Regards, Vyatcheslav Yatskovsky ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : n

[NTG-context] Fullpage module

2010-04-22 Thread Vyatcheslav Yatskovsky
Hello Please, include *fullpage* module into the standard Context distribution. I badly need it in many kinds of documents. -- Best Regards, Vyatcheslav Yatskovsky ___ If your question is of interest to others as

Re: [NTG-context] Fullpage module

2010-04-22 Thread Vyatcheslav Yatskovsky
Please, include *fullpage* module into the standard Context distribution. I badly need it in many kinds of documents. First step: someone has to upload that module to the third party modules section of contextgarden. I'm willing to do it. But *how*? -- Best Regards, Vyatcheslav Yatsk

Re: [NTG-context] Fullpage

2010-04-24 Thread Vyatcheslav Yatskovsky
Hi, > The module is now on the garden, it’s Mojcas job to include it in the > minimals. It's there. I just synchronized with beta minimals, and no fullpage module is included :( -- Best Regards, Vyatcheslav

[NTG-context] Sorting the content of \startlines

2010-04-24 Thread Vyatcheslav Yatskovsky
Sway Libertango Sunny % and more titles \stoplines\stoplinenumbering\stopcolumns \stoptext -- Best Regards, Vyatcheslav Yatskovsky ___ If your question is of interest to others as well, please add an entry to the Wiki

[NTG-context] How to use musical symbols from a font

2010-04-27 Thread Vyatcheslav Yatskovsky
Hi, I want to use musical symbols (e.g. rest) in my documents. I have MusicalSymbols.ttf font, and know that the rest is, say "r" symbol. How to make a macro that will place this symbol and possibly crop it? -- Best Regards, Vyatcheslav

Re: [NTG-context] How to use musical symbols from a font

2010-04-29 Thread Vyatcheslav Yatskovsky
ing line: \definefontsynonym[Dingbats][uzdr] \definesymbol[box][\getglyph{Dingbats}{\char113}] \def\Check% {{\tfa\symbol[box]}} -- Best Regards, Vyatcheslav Yatskovsky ___ If your question is of interest to others

Re: [NTG-context] How to use musical symbols from a font

2010-04-29 Thread Vyatcheslav Yatskovsky
sure that TeX can find the font. Probably you need to check whether the OSFONTDIR is set correctly. Otherwise copy the to a place e.g. texmf-local en run luatools --generate. I hop this helps. -- Best Regards, Vyatcheslav Yatskovsky

[NTG-context] \startmakeup

2010-05-21 Thread Vyatcheslav Yatskovsky
Hi, Could anyone please explain what \startmakeup do (and similar commands)? I suspect that commands like this are often used for creating title pages. But have now idea what they do. When given explanation, I want to wikify it. http://wiki.contextgarden.net/Reference/en/startmakeup Regards,

Re: [NTG-context] \startmakeup

2010-05-22 Thread Vyatcheslav Yatskovsky
eup do then? And what is the purpose of defining custom makeups? Hope this help me an other ConTeXt users ;) -- Best Regards, Vyatcheslav Yatskovsky ___ If your question is of interest to others as well, please add an

[NTG-context] fullpage still not preset in minimals

2010-05-22 Thread Vyatcheslav Yatskovsky
Hi, Long time ago I asked about including fullpage module into the standard ConTeXt distribution. I thought that the answer was positive, but this module still not present in either beta nor current minimal distribution. I think it should be a part of standard package because it makes setting

[NTG-context] stelinterliniein

2010-05-30 Thread Vyatcheslav Yatskovsky
Hello, What \stelinterliniein means in the following (taken from Skdk style). \def\StartTitlePage% {\startstandardmakeup[doublesided=no] \setupbackgrounds[header][text][background=] \switchtobodyfont[ss,18pt] \setupalign[right] \setupindenting[0pt] \stelinterliniein \vfil

Re: [NTG-context] stelinterliniein

2010-05-30 Thread Vyatcheslav Yatskovsky
")} \fi \dopreventbreakafterstructureheadauto ...adlevel ] \fi ... l.27 \TitlePage{Hello} ? -- Best Regards, Vyatcheslav Yatskovsky ___ If your que

Re: [NTG-context] stelinterliniein

2010-05-30 Thread Vyatcheslav Yatskovsky
P)? 3) I took the example from the wiki. Is the example still valid (even for MkII)? -- Best Regards, Vyatcheslav Yatskovsky ConTeXt has for headers the key 'placehead' which controls whether a header (placehead=yes) is shown or hidden (placehead=no) but there is a third value (pl

[NTG-context] Windows Minimals installer is broken -- mtxrun does not work

2010-05-30 Thread Vyatcheslav Yatskovsky
Hello everybody and esp. Mojca, I started updating my Windows installer code to include "--extras" switch. Unfortunately, I found that mtxrun.cmd does not exist anymore and is replaced by mtxrun.exe. Moreover, mtxrun.exe is not working at all, complaining "mtxrun: unable to locate texlua.exe

Re: [NTG-context] stelinterliniein

2010-05-31 Thread Vyatcheslav Yatskovsky
Hi, Wolfgang I would be nice to see what your Algorithms package can do ;) I mean example PDF. Regards, Vyatcheslav ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist

[NTG-context] Syllabus title page (newbie problems)

2010-05-31 Thread Vyatcheslav Yatskovsky
{"}{"}\fillinrules[]{}{\currentdate[year]}\par %have problem here: need to keep two rules on one line \stopnarrower \stopstandardmakeup \par\vfill {\tfx Kiyv \currentdate[year]} \stopstandardmakeup \stopt

Re: [NTG-context] Algorithmic (was: stelinterliniein)

2010-05-31 Thread Vyatcheslav Yatskovsky
Attached is my test file where I used examples from the algorithmic package for LaTeX. Wolfgang Thanks, could be handy. I wish this test file was added to extras along with the module. -- Best Regards, Vyatcheslav Yatskovsky

Re: [NTG-context] Windows Minimals installer is broken -- mtxrun does not, work

2010-05-31 Thread Vyatcheslav Yatskovsky
For me, it looks rather like a bug, not a feature :) In the installer, I need to setup PATH variable before executing the real script, and this thing bothers me. -- Best Regards, Vyatcheslav Yatskovsky ___ If

Re: [NTG-context] Syllabus title page (newbie problems)

2010-05-31 Thread Vyatcheslav Yatskovsky
Hello, Maybe my previous mail was puzzled, let me put it simple. How to achieve this, using \fillinrules or other command "" 20__ ? Vyatcheslav ___ If your question is of interest to others as well,

<    1   2   3   4   5   6