Re: [NTG-context] bug: colors in TikZ/ConTeXt MKIV
On Wednesday 01 December 2010 13:58:23 Hans Hagen wrote: > > I could probably support > > \definecolor[xxx][0.5(red,green)] > \definecolor[xxx][0.5(red)] > > which looks better than this ! and is less likely to conflict with names > as abc! is a rather value color name. > Indeed, a favorite color is "surprisepink!" \definecolor [roscolux51] [h=aaacd5] % Touch of color when white light is not desirable. \definecolor [surprisepink!] [roscolux51] The TiKz syntax "red!50!green" is short, sweet and rather strange. But the question remains on how to support full TiKz use under ConTeXt. In Metapost, we have 0.5[red,green] (does this work with colors?). Would \definecolor[xxx][0.5[red,green]] be a better alternative? Is such a syntax possible? Would this be readable? The next step would be to allow \color[0.5[red,green]] (or \color[0.5(red,green)]), i.e. such syntax wherever a color can be used. Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] how to write morsecode?
On Thu, Dec 02 2010, Jonas Stein wrote: > > \define[]\kurz{\blackrule[width=0.3em]} > \define[]\lang{\blackrule[width=1.4em]} > \starttext > \kurz \kurz \lang \kurz Signal > \stoptext You need \dontleavehmode, see also: http://wiki.contextgarden.net/FAQ#Why_is_there_a_line-break_in_the_output_after_some_commands.3F Peter -- Contact information: http://pmrb.free.fr/contact/ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] bug: colors in TikZ/ConTeXt MKIV
On Wed, Dec 1, 2010 at 7:58 AM, Hans Hagen wrote: > I could probably support > > \definecolor[xxx][0.5(red,green)] > \definecolor[xxx][0.5(red)] > > which looks better than this ! and is less likely to conflict with names as > abc! is a rather value color name. That will be a nice feature to have (especially, if it can also be used with \definedcolor) Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta
On Wed, Dec 1, 2010 at 4:25 PM, Mojca Miklavec wrote: > > On Wed, Dec 1, 2010 at 22:06, Leo Razoumov wrote: > > > > With such a fast changing codebase would it be possible to set up a > > SCM repository to track ConTeXt beta development. GIT/HG/SVN would do > > it. With revision control one can at least roll back changes that are > > broken. > > See at least > http://gitorious.org/context/context and Patrick's git repo (which I use for the context minimals package on Arch Linux) http://dl.contextgarden.net/distribution/git/ Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] list of all (even unused) abbreviations
It works now. I think i had a Problem with the line \definesynonyms[abbreviation][abbreviations][\infull] in Description on [1] Should i delete the "[\infull]" there? It works fine without it. I added an example now. [1] http://wiki.contextgarden.net/Reference/en/definesynonyms -- Jonas Stein ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Bibliography contains references not cited in the text
Thanks a ton for doing all of this, Hans. Thanks also to all other developers of Context. On Wed, Dec 1, 2010 at 4:24 AM, Hans Hagen wrote: > On 30-11-2010 11:02, Curiouslearn wrote: >> >> Perhaps, by coincidence the example that I sent had the bbl file >> sorted. But the full file does not have the references sorted. Does >> this mean I have to first get the bbl file sorted. If so, how do I do >> that? >> >> Why is Hans quiet if this is a bug? He usually always says something >> about when he will fix it. > > because i'm in the middle of something else and thomas will wrap up all > problems with bibliographies so that i can look into it > > Hans > > > - > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com > | www.pragma-pod.nl > - > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] how to write morsecode?
i tried: = \define[]\kurz{\blackrule[width=0.3em]} \define[]\lang{\blackrule[width=1.4em]} \starttext \kurz \kurz \lang \kurz Signal \stoptext = generates: - - --- - Signal the text continues after the bar, but every bar starts on a new line. I dont know why. It was not said so in documentation [1] How would you write morsecodes? [1] http://www.pragma-ade.com/general/manuals/cont-eni.pdf -- Jonas Stein ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] The Wiki about Context on Debian
On 2-12-2010 12:15, Jonas Stein wrote: http://wiki.contextgarden.net/Debian_installation was very outdated. I tried to update it. Could someone have a look over it if everything is ok now? the mkiv section is real old .. luatex 0.20 ... for instance, you run mkiv with çontext', not with texexec. - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] The Wiki about Context on Debian
http://wiki.contextgarden.net/Debian_installation was very outdated. I tried to update it. Could someone have a look over it if everything is ok now? Kind regards, -- Jonas Stein ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] how to flip even pages upside down??
Hi, sorry for a delayed answer. There are also keys as 'rotated','doublesided' which are used inside the \setuparranging command. For duplex printers \setuplayout[location=duplex] and \setuppagenumbering[alternative=doublesided] are commands and keys to try. Untested though... Willi On 28 Nov 2010, at 07:30, luigi scarso wrote: > On Sun, Nov 28, 2010 at 2:15 AM, Leo Razoumov wrote: >> On Sat, Nov 27, 2010 at 19:45, Renaud AUBIN wrote: >>> Hi Leo, >>> >>> Uh? Use the right printer driver and set the automatic duplex mode to >>> "short edge/side"? >>> Do you have any good reason to do that directly with your pdf instead of >>> using the printer configuration? >>> If yes, then http://wiki.contextgarden.net/Reference/en/setuparranging >>> and http://wiki.contextgarden.net/Imposition >>> >>> Cheers, >>> >>> Renaud >>> >> >> Currently I am using "pstops" filter to flip off pages. Reading >> ConTeXt manual I got captivated by sheer power and flexibility of >> ConTeXt. It can produce quite elaborate booklet layouts with up to 32 >> pages/sheet. Just flipping every other page should be possible as >> well. Being a newbie I simply do not see how. > Willi is the master of page arrangements: see also > http://meeting.contextgarden.net/2010/talks/2010-09-18-willi-arrangements/ > > > -- > luigi > ___ > If your question is of interest to others as well, please add an entry to the > Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta
On Wed, Dec 1, 2010 at 22:06, Leo Razoumov wrote: > > With such a fast changing codebase would it be possible to set up a > SCM repository to track ConTeXt beta development. GIT/HG/SVN would do > it. With revision control one can at least roll back changes that are > broken. See at least http://gitorious.org/context/context Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta
On Wed, Dec 1, 2010 at 12:10, Hans Hagen wrote: > > new beta on the ftp server > With such a fast changing codebase would it be possible to set up a SCM repository to track ConTeXt beta development. GIT/HG/SVN would do it. With revision control one can at least roll back changes that are broken. --Leo-- ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta
On Wednesday 01 December 2010 17:39:54 Wolfgang Schuster wrote: > Am 01.12.2010 um 17:03 schrieb Mojca Miklavec: > > ... mmm ... what exactly did you do with this beta? > > Lucky you, i can’t even run context without a fatal error like this: > > meta:TeX wolf$ context test > > MTXrun | run 1: luatex > --fmt="/Users/wolf/context/tex/texmf-cache/luatex-cache/context/4cb9847104 > eb57f481b5488a9b057c50/formats/cont-en" > --lua="/Users/wolf/context/tex/texmf-cache/luatex-cache/context/4cb9847104 > eb57f481b5488a9b057c50/formats/cont-en.lui" --backend=pdf "./test"This is > LuaTeX, Version beta-0.64.0-2010111215 \write18 enabled. > This went wrong: > ...text/tex/texmf-context/tex/context/base/data-tex.lua:84: attempt to get > length of local 'lines' (a nil value) . > > > <*> ./test > > ? > > And my test file to get this is only: > > \starttext > text > \stoptext And, with \component myfile I get: ! LuaTeX error ...beta/tex/texmf-context/tex/context/base/data-tex.lua:84: attempt to get length of local 'lines' (a nil value). \relax l.1 \input ./myfile\relax \processfile ...txlua {commands.processfile("#1")} \doexecutefile ...rttextfile {#1}\processfile {#1} \dostoptextfile \registerf... l.101 ...\component myfile Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] list of all (even unused) abbreviations
Am 01.12.2010 um 20:58 schrieb Jonas Stein: > This example did not work on my pc and not on > http://live.contextgarden.net/ > > What could be wrong here? The context on the wiki provides only mkii and your installation is probably to old. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] list of all (even unused) abbreviations
How can i get a list of _all_ (even unused) abbreviations? >>> \placelistofabbreviations[criterium=all] >> >> that does not work here with mkiv >> i get the text >> [criterium=all] >> after the usual list of abbreviations. > > You need the setup command: > > \setupsynonyms[abbreviation][criterium=all] > > Example: > > \definesynonyms[test][tests] > > \setupsynonyms[test][criterium=all] > > \test{one}{1} > \test{two}{2} > > \starttext > > \one > > \placelistoftests > > \stoptext > This example did not work on my pc and not on http://live.contextgarden.net/ What could be wrong here? -- Jonas Stein ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] seeking 'hello world' example for Arabic typesetting with conTeXt
On Wed, 01 Dec 2010 02:48:13 -0700, luigi scarso wrote: 2010/11/30 Idris Samawi Hamid ادريس سماوي حامد : What we need is for new users to be able to say, eg, \setmainlanguage[arabic] \setupdirections[bidi=global] % maybe this should be implied by \setmainlanguage[arabic] \starttext أهلا بالعالم! \stoptext And get Scheharezade without doing anything else. Maybe we can put the fonts as an extra module . Why a seperate module? It's an Open Font License. Why add unnecessary extra work for users, especially new ones? Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shiʿi Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] bug: colors in TikZ/ConTeXt MKIV
Am 01.12.2010 um 18:37 schrieb Michael Murphy: > OK, thanks. Last question then: is there a way to redefine standard > colors? Something like: > > \redefinecolor[red][r=0,g=1,b=0] \starttext \definecolor[test][r=1]\color[test]{red?} \definecolor[test][g=1]\color[test]{red?} \definecolor[test][b=1]\color[test]{red?} \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] bug: colors in TikZ/ConTeXt MKIV
> I'm pretty sure that I never implemented something using a questionmark. > However, we do have: > > \definecolor[red-t] [r=1,t=0.5,a=1] > \definecolor[green-t][g=1,t=0.5,a=1] > \defineintermediatecolor[mycolora][0.5,red,green] > \defineintermediatecolor[mycolorb][0.5,red-t,green-t] > > \starttext > test {\mycolora OEPS} test > test {\mycolorb OEPS} test > \stoptext > > I could probably support > > \definecolor[xxx][0.5(red,green)] > \definecolor[xxx][0.5(red)] > > which looks better than this ! and is less likely to conflict with names > as abc! is a rather value color name. OK, thanks. Last question then: is there a way to redefine standard colors? Something like: \redefinecolor[red][r=0,g=1,b=0] -- Michael Murphy ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta
On 1-12-2010 5:03, Mojca Miklavec wrote: On Wed, Dec 1, 2010 at 16:54, Mojca Miklavec wrote: Hans, something with tables is horribly horribly broken. I get a number 4 instead of vertical line all over the place. Normally something like is not that horrible and easy to fix (parameter passing problem or so); keep in mind that I merged all the table code and added color (because someone wanted it) and kept the module. That comes with a temporary price. Believe me, there are other areas where things can fail -) new beta on the ftp server I'm trying to prepare a minimal example. \starttext \starttable[|c|c|] \VL a \VL b \VL\AR \stoptable \stoptext it's a side effect of new functionality and calling the wrong old code for rules ... i pruned some more so now this works ok \starttext \starttable[|c|c|] \VL a \VL[50] b \VL\AR \VL a \VL[red,10] b \VL\AR \VL a \VL b \VL\AR \stoptable \stoptext - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta
Am 01.12.2010 um 17:03 schrieb Mojca Miklavec: > ... mmm ... what exactly did you do with this beta? Lucky you, i can’t even run context without a fatal error like this: meta:TeX wolf$ context test MTXrun | run 1: luatex --fmt="/Users/wolf/context/tex/texmf-cache/luatex-cache/context/4cb9847104eb57f481b5488a9b057c50/formats/cont-en" --lua="/Users/wolf/context/tex/texmf-cache/luatex-cache/context/4cb9847104eb57f481b5488a9b057c50/formats/cont-en.lui" --backend=pdf "./test"This is LuaTeX, Version beta-0.64.0-2010111215 \write18 enabled. This went wrong: ...text/tex/texmf-context/tex/context/base/data-tex.lua:84: attempt to get length of local 'lines' (a nil value) . <*> ./test ? And my test file to get this is only: \starttext text \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta
On Wed, Dec 1, 2010 at 17:25, Hans Hagen wrote: > On 1-12-2010 5:13, Mojca Miklavec wrote: >> >> [33.32] (./seminar-simetrije.tuo) (./seminar-simetrije.tuo >> ! Improper alphabetic constant. >> >> \bi >> \ifnum `\bi > > hm, I didn't touch mkii at all ... probably some fancy expansion in > bookmarks I don't claim that I have tested MKII after changing titles into something like \subsubsection{$\bi sp^2$ hibridisation} If I knew how to switch to bold math properly, I could avoid using \bi (which I should do in any case anyway), but \bi was the fastest hack I could come up with quickly. I suggest that once the other more urgest MKIV-related issues are resolved ... to take a quick look into this as well. Tuo file says: \listentry{subsubsection}{17}{}{$\bi sp$ -- linearna hibridizacija}{2--0-0-6-1-1-0-0--8}{9}% And I suspect that this breaks. But please fix the MKIV issues first since they are all pretty serious. Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta
On 1-12-2010 5:13, Mojca Miklavec wrote: On Wed, Dec 1, 2010 at 17:04, Mojca Miklavec wrote: May I suggest reverting to the previous version until so critical issues are solved? Well ... I'm simply grateful for having MKII-compatible documents in such cases ... :) Arghh! Not even MKII works now. The first run is successfull: pdfTeX warning: pdftex: no GlyphToUnicode entry has been inserted yet! Output written on seminar-simetrije.pdf (34 pages, 2439864 bytes). SyncTeX written on seminar-simetrije.synctex.gz Transcript written on seminar-simetrije.log. TeXUtil | parsing file seminar-simetrije.tui but then the second run gives me floatblocks : order disturbed floatblocks : 31 placed structure : end of sectionblock appendices [33.32] (./seminar-simetrije.tuo) (./seminar-simetrije.tuo ! Improper alphabetic constant. \bi \ifnum `\bi hm, I didn't touch mkii at all ... probably some fancy expansion in bookmarks Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta
> \starttext > \starttable[|c|c|] > \VL a \VL b \VL\AR > \stoptable > \stoptext Confirmed on my machine. Arthur % engine=luatex \starttext \starttable[|c|c|] \VL a \VL b \VL\AR \stoptable \stoptext mojca.pdf Description: Adobe PDF document ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta
On Wed, Dec 1, 2010 at 17:04, Mojca Miklavec wrote: >> May I suggest reverting to the previous version until so critical >> issues are solved? > > Well ... I'm simply grateful for having MKII-compatible documents in > such cases ... :) Arghh! Not even MKII works now. The first run is successfull: pdfTeX warning: pdftex: no GlyphToUnicode entry has been inserted yet! Output written on seminar-simetrije.pdf (34 pages, 2439864 bytes). SyncTeX written on seminar-simetrije.synctex.gz Transcript written on seminar-simetrije.log. TeXUtil | parsing file seminar-simetrije.tui but then the second run gives me ... floatblocks : order disturbed floatblocks : 31 placed structure : end of sectionblock appendices [33.32] (./seminar-simetrije.tuo) (./seminar-simetrije.tuo ! Improper alphabetic constant. \bi \ifnum `\bi =255 32\else `\bi \fi \utfdiv #1->\the \numexpr \ifcase \numexpr #1 \relax 0\else (#1-\...@g )/\utf... \PDFunicodechar ...bers \...@ea {\number \utfdiv {#1} }...@ea \lchexnumbers \...@ea {... \nodoPDFuni ...ar {\ifnum `#1=255 32\else `#1\fi } \doPDFuni \bookmarktext ->\unicodechar {65279}$\bi sp$?--?linearna?hibridizacija ... l.77 ...tna hibridizacija}{2--0-0-6-1-2-0-0--8}{9} % ? In the source I have \def\naslovhib#1#2{\subsubsection{$\bi#1$ -- #2 hibridizacija}} Which I call as: \naslovhib{sp}{linearna} Apart from that I get some weird messages like references : duplicate object [FDF colorspaces=>16/2] references : duplicate object [FDF colorspaces=>22/3] references : duplicate object [FDF colorspaces=>29/4] references : duplicate object [FDF colorspaces=>33/5] references : duplicate object [FDF colorspaces=>64/6] references : duplicate object [FDF colorspaces=>75/7] references : duplicate object [FDF colorspaces=>93/8] references : duplicate object [FDF colorspaces=>117/9] references : duplicate object [FDF colorspaces=>135/10] references : duplicate object [FDF colorspaces=>143/11] references : duplicate object [FDF colorspaces=>153/12] references : duplicate object [FDF colorspaces=>161/13] references : duplicate object [FDF colorspaces=>172/14] references : duplicate object [FDF colorspaces=>179/15] references : duplicate object [FDF colorspaces=>188/16] references : duplicate object [FDF colorspaces=>199/17] references : duplicate object [FDF colorspaces=>214/18] references : duplicate object [FDF colorspaces=>219/19] references : duplicate object [FDF colorspaces=>232/20] references : duplicate object [FDF colorspaces=>237/21] references : duplicate object [FDF colorspaces=>251/22] references : duplicate object [FDF colorspaces=>265/23] references : duplicate object [FDF colorspaces=>276/24] references : duplicate object [FDF colorspaces=>298/25] references : duplicate object [FDF colorspaces=>323/26] references : duplicate object [FDF colorspaces=>333/27] references : duplicate object [FDF colorspaces=>340/28] references : duplicate object [FDF colorspaces=>350/29] references : duplicate object [FDF colorspaces=>359/30] references : duplicate object [FDF colorspaces=>368/31] references : duplicate object [FDF colorspaces=>378/32] references : duplicate object [FDF colorspaces=>383/33] Thanks a lot, Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setuptyping: font size
... Much better, thanks! Lukas On Wed, 01 Dec 2010 17:00:59 +0100, Wolfgang Schuster wrote: \definetyping[default][bodyfont=8pt] -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta
> May I suggest reverting to the previous version until so critical > issues are solved? Well ... I'm simply grateful for having MKII-compatible documents in such cases ... :) Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta
On Wed, Dec 1, 2010 at 16:54, Mojca Miklavec wrote: > > Hans, > > something with tables is horribly horribly broken. I get a number 4 > instead of vertical line all over the place. > > I'm trying to prepare a minimal example. \starttext \starttable[|c|c|] \VL a \VL b \VL\AR \stoptable \stoptext On top of that, there are Figure & Table numbers missing. ... mmm ... what exactly did you do with this beta? May I suggest reverting to the previous version until so critical issues are solved? (People should be free to use --context=experimental to help you discover other problems.) Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setuptyping: font size
Am 01.12.2010 um 16:53 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: > ... Still the same error with the latest beta. Replace your \setuptyping with: \definetyping[default][bodyfont=8pt] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta
On Wed, Dec 1, 2010 at 15:59, Hans Hagen wrote: > Hi, > > I uploaded a beta. Quite some of the file related code has been cleaned up > but as Taco and I can make a format and process a file, I decided to upload > anyway. Hans, something with tables is horribly horribly broken. I get a number 4 instead of vertical line all over the place. I'm trying to prepare a minimal example. Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setuptyping: font size
... Still the same error with the latest beta. Lukas On Wed, 01 Dec 2010 15:47:31 +0100, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello Hans - On Wed, 01 Dec 2010 15:32:05 +0100, Hans Hagen wrote: I'm trying to \setuptyping to use a 8pt font size [of a tt typeface]. \setuptyping ... bodyfont=8pt - Did you test it? --- t2.mkiv \enableregime[cp1250] \setuptyping[default][bodyfont=8pt] % As you advised \starttext \typefile[default]{t2.mkiv} \stoptext --- I got a result (seems desired), but with error return code: --- MTXrun | run 1: luatex --fmt="c:/ConTeXt/tex/texmf-cache/luatex-cache/context/f53042fa2e1c106bc7e3383ec8c3a00c/formats/cont-en" --lua="c:/ConTeXt/tex/texmf-cache/luatex-cache/context/f53042fa2e1c106bc7e3383ec8c3a00c/formats/cont-en.lui" --backend=pdf "C:/Lukas/ConTeXt/Cont-Tst/t2.mki \write18 enabled. (C:/Lukas/ConTeXt/Cont-Tst/t2.mkiv ConTeXt ver: 2010.11.27 14:27 MKIV fmt: 2010.11.29 int: english/english system : cont-new loaded (c:/ConTeXt/tex/texmf-context/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (c:/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv)) system : cont-fil.mkiv loaded (c:/ConTeXt/tex/texmf-context/tex/context/base/cont-fil.mkiv loading : ConTeXt File Synonyms ) system : cont-sys.rme loaded (c:/ConTeXt/tex/texmf-context/tex/context/user/cont-sys.rme (c:/ConTeXt/tex/texmf-context/tex/context/base/type-def.mkiv) (c:/ConTeXt/tex/texmf-context/tex/context/base/type-lua.mkiv) (c:/ConTeXt/tex/texmf-context/tex/context/base/type-siz.mkiv) (c:/ConTeXt/tex/texmf-context/tex/cont system : cont-err loaded (c:/ConTeXt/tex/texmf-context/tex/context/base/cont-err.tex systems : no file 'cont-sys.tex', using 'cont-sys.rme' instead ) system : t2.top loaded (t2.top ){c:/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-math.map}{c:/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-rm.map}{c:/ConTeXt/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map} bodyfont: 12pt rm is loaded fonts : preloading latin modern fonts (first stage) language: language en is active publications: loading formatting style from bxml-apa (c:/ConTeXt/tex/texmf-context/tex/context/base/bxml-apa.mkiv) systems : begin file C:/Lukas/ConTeXt/Cont-Tst/t2.mkiv at line 5 ! Missing number, treated as zero. \relax \docheckverbatimmargins ...er \c!oddmargin \relax \ifzeropt \scratchskip \el... \firststageinitializetyping ...eckverbatimmargins \dosettypingattributes \c!... \dodododotypefile ... \firststageinitializetyping \secondstageinitializetypi... \dotypefile ...le {#3}} {\dododotypefile {#1}{#3}} \else \dododotypefile \v!f... l.6 \typefile[default]{t2.mkiv} ! Illegal unit of measure (pt inserted). ... MTXrun | fatal error: return code: 1 --- The source file and the log are attached... Lukas t2.log Description: Binary data t2.mkiv Description: Binary data t2.pdf Description: Adobe PDF document ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] beta
Hi, I uploaded a beta. Quite some of the file related code has been cleaned up but as Taco and I can make a format and process a file, I decided to upload anyway. Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setuptyping: font size
Hello Hans - On Wed, 01 Dec 2010 15:32:05 +0100, Hans Hagen wrote: I'm trying to \setuptyping to use a 8pt font size [of a tt typeface]. \setuptyping ... bodyfont=8pt - Did you test it? --- t2.mkiv \enableregime[cp1250] \setuptyping[default][bodyfont=8pt] % As you advised \starttext \typefile[default]{t2.mkiv} \stoptext --- I got a result (seems desired), but with error return code: --- MTXrun | run 1: luatex --fmt="c:/ConTeXt/tex/texmf-cache/luatex-cache/context/f53042fa2e1c106bc7e3383ec8c3a00c/formats/cont-en" --lua="c:/ConTeXt/tex/texmf-cache/luatex-cache/context/f53042fa2e1c106bc7e3383ec8c3a00c/formats/cont-en.lui" --backend=pdf "C:/Lukas/ConTeXt/Cont-Tst/t2.mki \write18 enabled. (C:/Lukas/ConTeXt/Cont-Tst/t2.mkiv ConTeXt ver: 2010.11.27 14:27 MKIV fmt: 2010.11.29 int: english/english system : cont-new loaded (c:/ConTeXt/tex/texmf-context/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (c:/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv)) system : cont-fil.mkiv loaded (c:/ConTeXt/tex/texmf-context/tex/context/base/cont-fil.mkiv loading : ConTeXt File Synonyms ) system : cont-sys.rme loaded (c:/ConTeXt/tex/texmf-context/tex/context/user/cont-sys.rme (c:/ConTeXt/tex/texmf-context/tex/context/base/type-def.mkiv) (c:/ConTeXt/tex/texmf-context/tex/context/base/type-lua.mkiv) (c:/ConTeXt/tex/texmf-context/tex/context/base/type-siz.mkiv) (c:/ConTeXt/tex/texmf-context/tex/cont system : cont-err loaded (c:/ConTeXt/tex/texmf-context/tex/context/base/cont-err.tex systems : no file 'cont-sys.tex', using 'cont-sys.rme' instead ) system : t2.top loaded (t2.top ){c:/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-math.map}{c:/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-rm.map}{c:/ConTeXt/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map} bodyfont: 12pt rm is loaded fonts : preloading latin modern fonts (first stage) language: language en is active publications: loading formatting style from bxml-apa (c:/ConTeXt/tex/texmf-context/tex/context/base/bxml-apa.mkiv) systems : begin file C:/Lukas/ConTeXt/Cont-Tst/t2.mkiv at line 5 ! Missing number, treated as zero. \relax \docheckverbatimmargins ...er \c!oddmargin \relax \ifzeropt \scratchskip \el... \firststageinitializetyping ...eckverbatimmargins \dosettypingattributes \c!... \dodododotypefile ... \firststageinitializetyping \secondstageinitializetypi... \dotypefile ...le {#3}} {\dododotypefile {#1}{#3}} \else \dododotypefile \v!f... l.6 \typefile[default]{t2.mkiv} ! Illegal unit of measure (pt inserted). ... MTXrun | fatal error: return code: 1 --- The source file and the log are attached... Lukas -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 t2.log Description: Binary data t2.mkiv Description: Binary data t2.pdf Description: Adobe PDF document ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Indent after Float
Am 01.12.2010 um 13:02 schrieb Andreas Harder: > Hi all, > > please consider the following example: > > \setupindenting[big,yes] > \setupfloats[indentnext=yes] % default: no > > \def\TestFloatPlacement#1% > {\input tufte \par > \placefigure[#1,nonumber]{place=#1}{} > \dorecurse{2}{\input tufte \par} \page} > > \starttext > \TestFloatPlacement{top} > \TestFloatPlacement{bottom} > \TestFloatPlacement{auto} > \TestFloatPlacement{right} > \stoptext > > Only "top" seems to give the right indenting. It worked (at least with > "auto") a while ago. I have many floats placed "auto". So is there a quick > fix? Hi again, I tried some more placement options (attachment). An indent only shows up with the option "here", "top" and "margin". test-float-indenting.tex Description: Binary data I appreciate any answer Andreas___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setuptyping: font size
On 1-12-2010 10:50, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, I'm trying to \setuptyping to use a 8pt font size [of a tt typeface]. \setuptyping ... bodyfont=8pt - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \enableregime
On 1-12-2010 12:59, Peter Münster wrote: \enableregime[cp1250] \starttext bla \stoptext ok, will be fixed -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] interactive chapter titles in margin
Hi all, for my document setup, I would like to have interactive chapter headings, and I want the chapter titles in the margins only; they should not interfere with normal indentation, spacing, etc. So far, I haven't really found a solution. Here's a small example (with some code from the wiki): \defineinmargin [ChapterInMargin] [outer] [normal] [distance=0.3em] \setuphead[chapter][style=bold, number=no, expansion=yes, alternative=text, distance=0pt, indentnext=yes, before={\blank[0pt]}, after={\blank[0pt]}, command=\MyChapter, page=no] \def\MyChapter#1#2{\ChapterInMargin{#2}} \setupinteraction[state=start] \placebookmarks[chapter][all][force=yes] \setupindenting[medium,yes] \starttext \startchapter[title=One,bookmark=One] \dorecurse{5}{\input knuth} \stopchapter \startchapter[title=Two,bookmark=Two] \dorecurse{5}{\input tufte} \stopchapter \startchapter[title=Three,bookmark=Three] \dorecurse{5}{\input bryson} \stopchapter \stoptext Can anybody provide an idea what to do? THanks! All best Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Three column nomenclature settings?
Nomenclature can be considered as a type of synonyms. Therefore, I can define a nomenclature as : \definesynonyms[nomenclature][nomenclatures][\infull] \setupsynonyms[nomenclature] [criterium=all,location=serried] here I use location=serried, becasue I found the synonym is not in the same line ( higher than) the meaning. But I want a three-column nomenclature list. The first column is the synonym, the second is the meaning, the third is the si-unit of it, if the synonym has an unit. Like -- p Pressure of xxx Pa l Length of xxx m --- How to redefine the nomenclature command? ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] itemgroup broken
Am 01.12.2010 um 10:43 schrieb Steffen Wolfrum: >> \startNumberBracket[1] > > > Somehow I thought the first pair of brackets indicate the level of > itemization ... No, \startitemgroup has two argument which can contains lists with keywords or key-val-arguments and the „1“ is the symbol for the bullet and „2“ is the symbol for the dash. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] bug: colors in TikZ/ConTeXt MKIV
On 1-12-2010 1:36, Michael Murphy wrote: On Sat, 2010-11-27 at 14:25 +0100, Hans Hagen wrote: On 27-11-2010 2:16, Mojca Miklavec wrote: On Sat, Nov 27, 2010 at 13:29, Hans Hagen wrote: \starttikzpicture \node[circle,ball color=darkred] (a) at (0,0,0) {$p_x$}; \stoptikzpicture I made a workaround in that way, but it's still a bug ... I have no clue what the ! does apart from defining a color red at 10% but I do know that context ignores it. Hans The '!' is actually pretty neat, since it allows you to blend colors. By default, tikz blends colors with white, so red!10 means mix 10% red with 90% white. This has the advantage that I can take any color, say \definecolor[mycolor][r=0.42,g=1.,b=0.2] and lighten it 50% by just using mycolor!50 I can also blend two colors together, using colorA!50!colorB I'm also pretty sure that context didn't always ignore the exclamation mark. Is there a way to reverse this behaviour? I'm pretty sure that I never implemented something using a questionmark. However, we do have: \definecolor[red-t] [r=1,t=0.5,a=1] \definecolor[green-t][g=1,t=0.5,a=1] \defineintermediatecolor[mycolora][0.5,red,green] \defineintermediatecolor[mycolorb][0.5,red-t,green-t] \starttext test {\mycolora OEPS} test test {\mycolorb OEPS} test \stoptext I could probably support \definecolor[xxx][0.5(red,green)] \definecolor[xxx][0.5(red)] which looks better than this ! and is less likely to conflict with names as abc! is a rather value color name. Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Indent after Float
Hi all, please consider the following example: \setupindenting[big,yes] \setupfloats[indentnext=yes] % default: no \def\TestFloatPlacement#1% {\input tufte \par \placefigure[#1,nonumber]{place=#1}{} \dorecurse{2}{\input tufte \par} \page} \starttext \TestFloatPlacement{top} \TestFloatPlacement{bottom} \TestFloatPlacement{auto} \TestFloatPlacement{right} \stoptext Only "top" seems to give the right indenting. It worked (at least with "auto") a while ago. I have many floats placed "auto". So is there a quick fix? Greeting Andreas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] bug: colors in TikZ/ConTeXt MKIV
On Sat, 2010-11-27 at 14:25 +0100, Hans Hagen wrote: > On 27-11-2010 2:16, Mojca Miklavec wrote: > > On Sat, Nov 27, 2010 at 13:29, Hans Hagen wrote: > >> > >> \starttikzpicture > >>\node[circle,ball color=darkred] (a) at (0,0,0) {$p_x$}; > >> \stoptikzpicture > > > > I made a workaround in that way, but it's still a bug ... > > I have no clue what the ! does apart from defining a color red at 10% > but I do know that context ignores it. > > Hans The '!' is actually pretty neat, since it allows you to blend colors. By default, tikz blends colors with white, so red!10 means mix 10% red with 90% white. This has the advantage that I can take any color, say \definecolor[mycolor][r=0.42,g=1.,b=0.2] and lighten it 50% by just using mycolor!50 I can also blend two colors together, using colorA!50!colorB I'm also pretty sure that context didn't always ignore the exclamation mark. Is there a way to reverse this behaviour? PS I've tried using spot colors in context, but that doesn't seem to work: \definespotcolor[mycolor][red][p=.1] -- Michael Murphy MPhys Institute für Quanteninformationsverarbeitung Room N25/4409 Universität Ulm Albert-Einstein-Allee 11 89081 Ulm Deutschland tel +49 731 50 22824 fax +49 731 50 22839 www.uni-ulm.de/nawi/nawi-qiv.html ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \enableregime (was: Re: Problem with context.startsection)
I had the same problem several days ago; Wolfgang answered but I cannot remember the mail thread. It requires a small patch in c:\ConTeXt\tex\texmf-context\tex\context\base\regi-ini.lua - see the attachment. Or maybe it's been patched in the newest ctx minimals. Note that if you replace reg-ini.lua manually, you'll probably need to delete the lua-cache (c:\ConTeXt\tex\texmf-cache\luatex-cache\context\f53042fa2e1c106bc7e3383ec8c3a00c in my case) directory as well. Cheers, Lukas On Wed, 01 Dec 2010 12:59:45 +0100, Peter Münster wrote: On Wed, Dec 01 2010, Hans Hagen wrote: support for 8 bit is rather trivial so what is the problem? Test file: \enableregime[cp1250] \starttext bla \stoptext Error: ! LuaTeX error ...text/tex/texmf-context/tex/context/base/regi-ini.lua:100: attempt to call global 'translate' (a nil value). Peter -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 regi-ini.lua Description: Binary data ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] \enableregime (was: Re: Problem with context.startsection)
On Wed, Dec 01 2010, Hans Hagen wrote: > support for 8 bit is rather trivial so what is the problem? Test file: \enableregime[cp1250] \starttext bla \stoptext Error: ! LuaTeX error ...text/tex/texmf-context/tex/context/base/regi-ini.lua:100: attempt to call global 'translate' (a nil value). Peter -- Contact information: http://pmrb.free.fr/contact/ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] bib problems
Hi all, the last days have brought a couple of bug reports on bibliographies in ConTeXt. I will try and create a number of examples so Hans can test and debug. In order to facilitate the creation of minimal examples for all users, we have a couple of suggestions: 1. There is now a dedicated page for bibliography support on the wiki; unsurprisingly, it's at http://wiki.contextgarden.net/Bibliographies. For the time being, this page is just a skeleton; you are all invited to contribute. 2. The page contains a link to a sample bib file. This file will be part of the main distribution (and hence of the minimals) under context/tex/texmf-context/bibtex/bib/sample.bib. I will send this file to Hans. At the same time, it is meant as a bibliography for ConTeXt related publications. So if you build minimal examples, please try with this file first. If the error you are reporting is triggered by a certain publication type which is not yet represented in the sample file, please modify the file on your disk, but *remember to add these modifications to the file on the wiki* (http://wiki.contextgarden.net/sample_bib) and drop me a line! If you want to add further ConTeXt related publications, feel free to do so! I will send Hans and Mojca updated versions of this file which I'll pick up on the wiki. 3. As you know, priority in development is given to mkiv. The bib module for mkii was written by Taco, and as far as I understood him, it is quite unlikely that he will have the time to do extensive work on it. Later today, I will try and coordinate the bug reports I can still find in an example. Please add your reports as well. All best Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] \setuptyping: font size
Hello, I'm trying to \setuptyping to use a 8pt font size [of a tt typeface]. Here are my trials - in several cases I get the wanted result but with error messages: --- t.mkiv \enableregime[cp1250] %\setuptyping[default][style=\ttxx\setupinterlinespace] % This works somehow but with errors \setuptyping[default][bodyfont=8pt,style=\tt\setupinterlinespace] % This works somehow but with errors %\setuptyping[default][style=\eightpoint\tt\setupinterlinespace] %\setuptyping[default][style=\viii\tt\setupinterlinespace] %\setuptyping[default][bodyfont=viii,style=\tt\setupinterlinespace] %\setuptyping[default][bodyfont=sixpoint,style=\tt\setupinterlinespace] \starttext \typefile[default]{t.mkiv} \stoptext --- A part of the error message: --- ! Missing number, treated as zero. \relax \docheckverbatimmargins ...er \c!oddmargin \relax \ifzeropt \scratchskip \el... \firststageinitializetyping ...eckverbatimmargins \dosettypingattributes \c!... \dodododotypefile ... \firststageinitializetyping \secondstageinitializetypi... \dotypefile ...le {#3}} {\dododotypefile {#1}{#3}} \else \dododotypefile \v!f... l.9 \typefile[default]{t.mkiv} --- The code "\setuptyping[default][bodyfont=8pt,style=\tt\setupinterlinespace]" used to work; but this may have been an accident - there is no option "bodyfont" for \setuptyping on wiki. So what is the CORRECT way how to select a specific font size for \setuptyping or \typefile? Kind regards, Lukas -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 t.mkiv Description: Binary data t.log Description: Binary data ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] seeking 'hello world' example for Arabic typesetting with conTeXt
2010/11/30 Idris Samawi Hamid ادريس سماوي حامد : > What we need is for new users to be able to say, eg, > > \setmainlanguage[arabic] > \setupdirections[bidi=global] % maybe this should be implied by > \setmainlanguage[arabic] > > \starttext > أهلا بالعالم! > \stoptext > > And get Scheharezade without doing anything else. Maybe we can put the fonts as an extra module . -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] itemgroup broken
Am 01.12.2010 um 06:30 schrieb Wolfgang Schuster: > > Am 30.11.2010 um 22:51 schrieb Steffen Wolfrum: > >> Hi, >> >> is "\setupitemgroup" broken in current beta? >> Or did the syntax change? >> >> I am missing "symbol", "left", "right", "stopper". >> >> They don't seem to work. >> See example below, please. > > You need a number as item symbol for the left, right and stopper keys > and the symbol isn’t shown because you overwrite it in your example with > > \startNumberBracket[1] Somehow I thought the first pair of brackets indicate the level of itemization ... Thank you! Steffen ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \placeformula
On 30-11-2010 8:10, Wolfgang Schuster wrote: Hi Hans, a fix for strc-mat.mkiv \unexpanded\def\placeformula - {\doglobal\settrue\insideplaceformula + {\global\settrue\insideplaceformula \settrue\incrementformulanumber \dodoubleempty\doplaceformula} \unexpanded\def\placesubformula - {\doglobal\settrue\insideplacesubformula + {\global\settrue\insideplacesubformula \setfalse\incrementformulanumber \dodoubleempty\doplaceformula} fixed - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \registerparoptions ! Extra \else
On 30-11-2010 11:21, Alan BRASLAU wrote: Help! There is an error with \registerparoptions. Of course, I have not (yet) come up with a minimal example as this depends on some condition that not obvious. Looking into the code here (in anch- pos.mkiv?) does not get me any further. ! Extra \else. \registerparoptions ...gisterparoptions \fi \else \dodoregisterparoptions \f... ...stponedbookmark \registerparoptions \flushsyncpositions \flush... \hskip \fixedspace ...malhbox {\mathortext {0}{0}}\hskip \wd \scratchbox \relax \ejectdummypage ...vmode \ejectinsert \fixedspace \vfill \gotonextpage \fi \executepagebreakhandler ...cification \endcsname \else \ifcsname \??pe :: \...@... I can work harder at stripping my code down to a minimally broken example if this be necessary in order to debug... Please let me know. unfortunately a test is needed for such problems as everypar happens in a lot of places; it's probably a typo someplace where I replaced an if by a conditional - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Bibliography contains references not cited in the text
On 30-11-2010 11:02, Curiouslearn wrote: Perhaps, by coincidence the example that I sent had the bbl file sorted. But the full file does not have the references sorted. Does this mean I have to first get the bbl file sorted. If so, how do I do that? Why is Hans quiet if this is a bug? He usually always says something about when he will fix it. because i'm in the middle of something else and thomas will wrap up all problems with bibliographies so that i can look into it Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Problem with context.startsection
On 30-11-2010 10:38, Peter Münster wrote: On Tue, Nov 30 2010, Procházka Lukáš Ing. - Pontex s. r. o. wrote: \enableregime[cp1250] Remove this line, see also page 6 of http://meeting.contextgarden.net/2010/talks/2010-09-15-documentworkflow/workflows.pdf (ok, there seems to be a bug with \enableregime[], but if Hans could drop support for 8-bit encodings, then he would have more time for other things ;) support for 8 bit is rather trivial so what is the problem? - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] space in \longrightarrow in lucida (mkiv)
On 30-11-2010 6:23, Herbert Voss wrote: Am 30.11.2010 17:54, schrieb Mojca Miklavec: \setupbodyfont[lucida] \starttext $\longrightarrow$ \stoptext The arrow has white space in the middle. in mkii \joinrel is \mkern-4mu in mkiv only \mkern-3mu \setupbodyfont[lucida] \def\longrightarrow{\relbar\mkern-4mu\rightarrow} \starttext $\longrightarrow$ \stoptext ok, will be fixed - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___