Re: [NTG-context] Dubious "checksum mismatch" message on log file
On Wed, Feb 1, 2012 at 7:00 AM, Vladimir Lomov wrote: > I specially chose that font (txr, txr.tfm and txr.vf files), it is > distributed by txfonts "package". May be you installation doesn't have > them because I installed context suite with './first-setup.sh --modules=all'. > > Nevertheless, that 'Font ... at 600 ...' reminds me how pdftex (pdflatex > actually) deals with tfm/mf/pk fonts (generate pk and insert them into > pdf file). Even with --modules=all' LuaTeX warning (file rtxptmr): Font rtxptmr at 600 not found and $> pdffonts test.pdf name type emb sub uni object ID - --- --- --- - Error: font resource is not a dictionary JFRMQG+LMRoman10-Regular CID Type 0C yes yes yes 18 0 It seems that this font is not a font of the suite. -- 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] Still Problems With TextBackground bottomoffset / topoffset
On Wed, 2012-02-01 at 01:15 +0100, luigi scarso wrote: > Do you have a small complete example ? Sure: \definetextbackground[GeneralDocument][ location=paragraph, topoffset=1.0cm, bottomoffset=1.0cm, leftoffset=1.0cm, rightoffset=1.0cm, before={ \blank[2*big] }, after={ \blank[2*big] }, style=small, corner=round, frame=on] \starttext This is some text outside of a text background. \startGeneralDocument \dorecurse{10}{\input tufte \par \input knuth \par} \stopGeneralDocument This is more text outside of a text background. \stoptext -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ 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] Still Problems With TextBackground bottomoffset / topoffset
On Tue, 2012-01-31 at 19:25 -0500, Aditya Mahajan wrote: > Do you have to use textbackground (assuming, of course, that you are using > MkIV)? I think so. I can't remember why, but someone on the list probably made a compelling argument for its use. > The main advantage of textbackground is that they adapt to pararagraph > shapes (if you use things like \startplacefigure[location=left] ... > \stopplacefigure), and can be nested. Yes, which I may require from time to time. Why doesn't the bottomoffset and topoffset variables do anything in a textbackground? -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ 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] Dubious "checksum mismatch" message on log file
Hello, ** luigi scarso [2012-02-01 02:37:20 +0100]: > On Wed, Feb 1, 2012 at 2:09 AM, Vladimir Lomov wrote: >> Hello, >> please consider the following example: >> >> \starttext >> \font\test=txr \test abs >> \stoptext >> >> I process this document with context (context --version -> 2012.01.25) >> nothing suspecious in terminal output but in log file I see "checksum >> mismatch", >> >> $ grep 'checksum' ex8.log >> checksum mismatch in font txr.vf ignored >> >> Simple plain tex file >> >> \font\test=txr \test abs >> \bye >> >> processed by luatex and pdftex engines (both from TeX Live 2011, I don't >> know >> how to generate formats for them in context suite) doesn't give same >> message. >> Is it a "bug" in font system of context? >> My standalone also says > LuaTeX warning (file rtxptmr): Font rtxptmr at 600 not found > i.e I have not the font. > Maybe the tl2011 has this font ? I specially chose that font (txr, txr.tfm and txr.vf files), it is distributed by txfonts "package". May be you installation doesn't have them because I installed context suite with './first-setup.sh --modules=all'. Nevertheless, that 'Font ... at 600 ...' reminds me how pdftex (pdflatex actually) deals with tfm/mf/pk fonts (generate pk and insert them into pdf file). --- WBR, Vladimir Lomov -- Never eat anything bigger than your head. ___ 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] Dubious "checksum mismatch" message on log file
On Wed, Feb 1, 2012 at 2:09 AM, Vladimir Lomov wrote: > Hello, > please consider the following example: > > \starttext > > \font\test=txr \test abs > > \stoptext > > > I process this document with context (context --version -> 2012.01.25) > nothing suspecious in terminal output but in log file I see "checksum > mismatch", > > $ grep 'checksum' ex8.log > checksum mismatch in font txr.vf ignored > > > Simple plain tex file > > \font\test=txr \test abs > \bye > > > processed by luatex and pdftex engines (both from TeX Live 2011, I don't > know > how to generate formats for them in context suite) doesn't give same > message. > > Is it a "bug" in font system of context? > > My standalone also says LuaTeX warning (file rtxptmr): Font rtxptmr at 600 not found i.e I have not the font. Maybe the tl2011 has this font ? -- 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 ___
[NTG-context] location=middle smashes the height
Hi, Something has changed recently in how location=middle (and location=low) work in frames. The height of the frame is \smash-ed in both cases. Minimal example: \useMPlibrary[dum] \starttext \input knuth Some text \inframed[height=4cm]{\tfc IMPORTANT} \input ward \startcombination[2] {\externalfigure[dum][location=middle,width=3cm, height=5cm]}{a} {\externalfigure[dum][location=middle,width=3cm, height=2cm]}{b} \stopcombination \stoptext 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 ___
[NTG-context] Dubious "checksum mismatch" message on log file
Hello, please consider the following example: \starttext \font\test=txr \test abs \stoptext I process this document with context (context --version -> 2012.01.25) nothing suspecious in terminal output but in log file I see "checksum mismatch", $ grep 'checksum' ex8.log checksum mismatch in font txr.vf ignored Simple plain tex file \font\test=txr \test abs \bye processed by luatex and pdftex engines (both from TeX Live 2011, I don't know how to generate formats for them in context suite) doesn't give same message. Is it a "bug" in font system of context? P.S. There is a thread on tex-live mailing list about "checksum mismatch", I took a little investigation that reveals the source of problem: 'luaotfload', adaptation of context font system for latex world. As you can see from "ex8.tex", current context have the same behaviour. I'm not fully sure if it is save to ignore this message (I read briefly about vf fonts here: http://www.tex.ac.uk/tex-archive/help/virtual-fonts.knuth) but as both pdftex and luatex engines give nothing on "plain" example I want to report about this issue. -- WBR, Vladimir Lomov -- That's the thing about people who think they hate computers. What they really hate is lousy programmers. -- Larry Niven and Jerry Pournelle in "Oath of Fealty" ___ 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] Still Problems With TextBackground bottomoffset / topoffset
On Mon, 30 Jan 2012, Kip Warner wrote: Hey Hans, Aditya, and Wolfgang, You gentlemen seem to be very knowledgeable with ConTeXt, so I will run a question by you that has been plaguing me for months. I am using the following to typeset a text box containing text. \definetextbackground[GeneralDocument][ location=paragraph, color=color_text, background=color, backgroundcolor=colour_page, framecolor=colour_text, topoffset=1.0cm, bottomoffset=1.0cm, leftoffset=1.0cm, rightoffset=1.0cm, before={ \blank[2*big] }, after={ \blank[2*big] }, style=small, corner=round, frame=on] This works fine, but I still have a problem if the text box spans multiple pages because bottomoffset / topoffset seem to be ignored at the points where the page breaks. The text just goes right to the edge of the page top or bottom without any whitespace. Do you have to use textbackground (assuming, of course, that you are using MkIV)? Regular backgrounds take care of top and bottom offsets: \definebackground [whatever] [topoffset=1cm, bottomoffset=1cm, frame=on] \starttext \input ward \startwhatever \dorecurse{6}{\input knuth \endgraf} \stopwhatever \input ward \stoptext The main advantage of textbackground is that they adapt to pararagraph shapes (if you use things like \startplacefigure[location=left] ... \stopplacefigure), and can be nested. 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] Still Problems With TextBackground bottomoffset / topoffset
On Tue, 2012-01-31 at 09:50 +0100, Hans Hagen wrote: > well but sometimes others beat me in knowledge about the internals -) Great, but can either of you help with the question? =) -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ 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 Citing a Definition
On Tue, 2012-01-31 at 15:18 +0100, Wolfgang Schuster wrote: > For enumerations, floats etc. you can use the section number as prefix for > the objects own counter but there is no way AFAIK to get way you described. I tried using \in{page \at{definition:foo}}[definition:foo], but it would look better with the section number prefixed instead. How would I go about doing that? -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ 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] GSUB init, medi, fina and .fea file
Hi there, I have the following OpenType feature archive (intended to use diferent forms for initial and medial/final beta, theta and phi): languagesystem DFLT dflt ; feature init { sub uni03D0 by uni03B2 ; sub uni03B8 by uni03D1 ; sub uni03D5 by uni03C6 ; } init ; feature medi { sub uni03B2 by uni03D0 ; sub uni03D1 by uni03B8 ; sub uni03C6 by uni03D5 ; } medi ; feature fina { sub uni03B2 by uni03D0 ; sub uni03D1 by uni03B8 ; sub uni03C6 by uni03D5 ; } fina ; I use it with this file: \usemodule[simplefonts] \definefontfeature[default][default][script=latn,init=yes,medi=yes,fina=yes,featurefile={greeksubs.fea}] \setmainfont[Theano Didot] \starttext βάρβαρος φιλοσοφία θεάσασθαι \stoptext But for some strange reason, even with this font I don't get the initial theta (uni03D1) and middle . If I change the font, add \agr to the text, change the script or remove Latin for the default font feature, GSUB no longer work. As far as I understand, the default rules should be independent from script, language and font. What am I missing here or doing simply wrong? Many thanks for your help, Pablo -- http://www.oudeis.tk ___ 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] What’s your favorite command?
Wolfgang Schuster writes: > As I started this thread I’ll present my favorite command which is > \donothing My favourite command is \donknuthmode, which is the opposite of \nonknuthmode of course. -- Christian Neukirchenhttp://chneukirchen.org ___ 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] What’s your favorite command?
Wolfgang Schuster writes: > 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). \startmode & company changed my life. And the unicode support of luatex, of course. Many thanks to Taco and Hans (and the others contributors) for such beautiful tools. -- Marco ___ 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] What’s your favorite command?
On 2012-01-31 16:33, Wolfgang Schuster wrote: > Am 31.01.2012 um 16:15 schrieb Philipp Gesang: > > > > PS: Anybody fond of “\@EAEAEAEAEAEA”? > > The @ is a dying symbol in MkIV because the underscore has replaced it > and there are now alternative names for these function, the one you mention > can now be written as \tripleexpandafter. Indeed ;-). I recently came to notice the ongoing extinction of the “@” the hard way when “\@gluenode” evolved into “\gluenodecode”, thereby breaking the letterspace module … I just thought it was worth mentioning because the repetition is so intimidating that I can imagine the pain one would experience when lost in Expansion Hell. Thanks for your contribution to Context morphology Philipp > > 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 > ___ -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgp3SFwHXUtk9.pgp Description: PGP signature ___ 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] What’s your favorite command?
Am 31.01.2012 um 16:15 schrieb Philipp Gesang: > On 2012-01-30 19:55, 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). > > Hi Wolfgang & Others, > > my favorite feature maybe neither a command nor a macro as such: > I’m especially fond of one “linguistic” feature that makes > Context source code easily readable: the (often repeated) “do” > prefix and “indeed” suffix in macro names. This way the majority > of macros are to a certain extent self-descriptive, their names > carrying a hint about the current nesting depth and the number of > steps already executed before the macro itself is encountered. There are also variations of the prefixes and suffixes. Prefixes: - do - dodo - nodo - redo Suffixes: - indeed - ignore - yes - nop 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] What’s your favorite command?
Am 31.01.2012 um 16:15 schrieb Philipp Gesang: > On 2012-01-30 19:55, 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). > > Hi Wolfgang & Others, > > my favorite feature maybe neither a command nor a macro as such: > I’m especially fond of one “linguistic” feature that makes > Context source code easily readable: the (often repeated) “do” > prefix and “indeed” suffix in macro names. This way the majority > of macros are to a certain extent self-descriptive, their names > carrying a hint about the current nesting depth and the number of > steps already executed before the macro itself is encountered. > A crude scripted scan of the directory > context/tex/texmf-context/tex/context/base/ > reveals the longest prefixed macro name to be >“\dofinishregisterstructurepageregister” > (not yet underscorified), and the longest suffixed one >“\syst_helpers_inspect_next_parenthesis_character_indeed”. > Finally, the macro >“\dododododoGTC” > has the most “do” prefixes of all. > > I hereby declare these three my favorite macros, although I never > read their definitions, let alone used them. The second is part of the internals for \doifnextparenthesiselse. > Thanks for the clarity > Philipp > > PS: Anybody fond of “\@EAEAEAEAEAEA”? The @ is a dying symbol in MkIV because the underscore has replaced it and there are now alternative names for these function, the one you mention can now be written as \tripleexpandafter. 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] What’s your favorite command?
On 31-1-2012 16:15, Philipp Gesang wrote: PS: Anybody fond of “\@EAEAEAEAEAEA”? or: \tripleexpandafter 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] What’s your favorite command?
On 2012-01-30 19:55, 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). Hi Wolfgang & Others, my favorite feature maybe neither a command nor a macro as such: I’m especially fond of one “linguistic” feature that makes Context source code easily readable: the (often repeated) “do” prefix and “indeed” suffix in macro names. This way the majority of macros are to a certain extent self-descriptive, their names carrying a hint about the current nesting depth and the number of steps already executed before the macro itself is encountered. A crude scripted scan of the directory context/tex/texmf-context/tex/context/base/ reveals the longest prefixed macro name to be “\dofinishregisterstructurepageregister” (not yet underscorified), and the longest suffixed one “\syst_helpers_inspect_next_parenthesis_character_indeed”. Finally, the macro “\dododododoGTC” has the most “do” prefixes of all. I hereby declare these three my favorite macros, although I never read their definitions, let alone used them. Thanks for the clarity Philipp PS: Anybody fond of “\@EAEAEAEAEAEA”? > As I started this thread I’ll present my favorite command which is > \donothing, it is a internal command and only a synonym for \empty but it’s > one reason why I prefer ConTeXt’s coding style (especially with the recent > changes in MkIV) over the unreadable LaTeX code. > > 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 > ___ -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgp7t8snGWshI.pgp Description: PGP signature ___ 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 Citing a Definition
Am 31.01.2012 um 06:02 schrieb Kip Warner: > Hey list, > > I am trying to cite a definition typeset with a > \startdefinition[definition:foo] and \stopdefinition pair. I am doing > this by using a \in{definition}[definition:foo]. That works, but in > the text I just see linkable text "definition". > > I'd like it to be more descriptive of the physical location in the > book, e.g. "foo in section 10.2". It was my impression according to the > manual that it was suppose to already do that, or am I not using \in > correctly? The result of the \in command depends on the referenced object, when you refer to a section or enumeration you get the number of the section or enumeration but when you refer to something without a number you get the stored text etc., e.g. \textreference[foo]{This is the text!} print “This is the text!”. For enumerations, floats etc. you can use the section number as prefix for the objects own counter but there is no way AFAIK to get way you described. 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] What’s your favorite command?
On 2012-01-30 Aditya Mahajan wrote: > > My favourite command is \externalfigure [placeholder] > > because it produces very pretty colourful graphics (I'm > > bored to use the dutch cow or the wind mill every time). > > […] > > You can also use my `\externalkitten` macro: > http://randomdeterminism.wordpress.com/2011/05/07/images-for-documentation-examples/ + Nice idea + Natural \externalfigure UI + Great use case of ConTeXts http capability + Cute kitties + Even more cute kitties - Relies on an internet connection Marco ___ 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] What?s your favorite command?
My favourite command chooses to remain anonymous for now. All it has agreed to disclose about itself is that it gives total control over margin notes, in particular placement & page breaking... In case an ID is required for attendance, I think I'll go for \setCJKmainfont, representing Unicode support and simple way of choosing fonts across scripts, which is a "deal maker" for me... Thank you Hans and Wolfgang =) Severin ___ 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] Links in TOC not working properly?!
On 01/30/2012 06:35 PM, Wolfgang Schuster wrote: Am 30.01.2012 um 16:23 schrieb Verhaag, G.C.H.M.: Hi, I installed the newest upgrade of ConTeXt, but processing my files yields strange results! In an interactive document the links to the different sections are not working any more. Selecting the different sections from the table-of-contents (with \placelist command!) all yield a jump to the very first section!!! Your chances to get a answer will increase with a minimal example. Wolfgang Hi, Okay, you'll find a basic example (test.tex) and it's resulting pdf file (test.pdf) included! In this example the jump to the second section from the table of contents on the top of the chapter doesn't seem to work anymore, after I upgraded to the version of the 25th of January! Example compiled with: ConTeXt ver: 2012.01.25 14:16 MKIV fmt: 2012.1.30 int: english/english. Thanks for paying attention to this problem! Regards, Gerard Verhaag % Test file \setupinteraction [state=start, style=, color=blue, contrastcolor=, menu=on, title=Test File, author=Gerard Verhaag] \starttext \chapter[test]{Test} \startcolumns[n=2] \placelist[section][pagenumber=no,interaction=text] \stopcolumns \section[abc]{Abc} \dorecurse{70} {A test of placelist-command and interaction! } \section[def]{Def} \stoptext test.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] What’s your favorite command?
On 31-1-2012 00:23, Mojca Miklavec wrote: On Mon, Jan 30, 2012 at 19:55, Wolfgang Schuster wrote: I guess many have *one* favorite command (maybe also functionality). \simplethesis (Sadly it is a bit buggy, else I would be finished already ;) As I don't want to bre responsiible for you not passing an examn ... here's a fix (actually the random args were always swapped but the mkii code is not sensitive for wrong random ranges) \unexpanded\def\fakefigure {\dodoubleempty\dofakefigure} \def\dofakefigure[#1][#2]#3#4#5#6% {\getvalue{\e!place\v!figure} [#1][#2]% {\freezerandomseed \let\endstrut\relax \let\begstrut\relax \doifinsetelse{#1}{\v!left,\v!right} {\fakewords{2}{4}} {\fakewords{4}{10}}}% {\doifinset{#1}{\v!left,\v!right} {\dimen0=.75\dimen0 \ifdim\dimen0>.6\hsize \dimen0=.5\hsize\fi \ifdim\dimen0<.3\hsize \dimen0=.3\hsize\fi}% \framed [\c!width=\dimen0, \c!height=\dimen2, \c!frame=\v!off, \c!background=\v!color, \c!backgroundcolor=fakeparindentcolor] {\bf\white#1}}% \defrostrandomseed} I'll upgrade that module anyhow (e.g we need random footnotes for thomas and random font features for idris) ... then we can have a competition for the smallest set of commands that generates the nicest thesis. 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] Still Problems With TextBackground bottomoffset / topoffset
On 31-1-2012 08:24, luigi scarso wrote: On Tue, Jan 31, 2012 at 5:18 AM, Kip Warner wrote: Hey Hans, Aditya, and Wolfgang, You gentlemen seem to be very knowledgeable with ConTeXt, Yes, at least Hans. IIRC he is the *only* author of ConTeXt. well but sometimes others beat me in knowledge about the internals -) - 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] What’s your favorite command?
On 31-1-2012 09:34, Alan Braslau wrote: On Mon, Jan 30, 2012 at 07:55:51PM +0100, 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 started this thread I’ll present my favorite command which is \donothing, it is a internal command and only a synonym for \empty but it’s one reason why I prefer ConTeXt’s coding style (especially with the recent changes in MkIV) over the unreadable LaTeX code. Wolfgang Not quite the same as \null: \def\null {\hbox{}} there is \emptyhbox which for me is easier to grasp than \null - 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] What’s your favorite command?
On 31-1-2012 00:23, Mojca Miklavec wrote: On Mon, Jan 30, 2012 at 19:55, Wolfgang Schuster wrote: I guess many have *one* favorite command (maybe also functionality). \simplethesis (Sadly it is a bit buggy, else I would be finished already ;) So you want me to \dosomething - 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] What’s your favorite command?
On Mon, Jan 30, 2012 at 7:55 PM, Wolfgang Schuster < schuster.wolfg...@googlemail.com> 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 started this thread I’ll present my favorite command which is > \donothing, it is a internal command and only a synonym for \empty but it’s > one reason why I prefer ConTeXt’s coding style (especially with the recent > changes in MkIV) over the unreadable LaTeX code. > \ruledvbox I always need to see the bbox of my objects. -- 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] What’s your favorite command?
On Mon, Jan 30, 2012 at 07:55:51PM +0100, 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 started this thread I’ll present my favorite command which is > \donothing, it is a internal command and only a synonym for \empty but it’s > one reason why I prefer ConTeXt’s coding style (especially with the recent > changes in MkIV) over the unreadable LaTeX code. > > Wolfgang Not quite the same as \null: \def\null {\hbox{}} My (LaTeX) code used to always be riddled with \mbox{} (somehow, I got into the habit of using this rather than \hbox{}) But this is not my favorite. Believe it or not, I quite often make the error of typing '\startext'. (Hans, don't think about adding this as a synonym - each time that I make this mistake I am quite happy to get an error message... This is what I get for typing and reading too fast!) I do like unicode support. However, what I like best about ConTeXt commands is consistency, where the choice of syntax is constantly moving towards standardization. Often, when I want to do something new, I just try what seems logical, using the very same keywords as used elsewhere (when appropriate), and usually this just works! Alan P.S. I regret that ConTeXt and Mojca's \simplethesis command was not available when I needed it! ___ 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] What’s your favorite command?
I'm with Mikael in that natural tables is one of the things that has made a real difference to my ConTeXting, and I no longer hesitate with adding tables to the my documents. My current favourite is probably \usemodule, especially \usemodule[simplefonts]. Being a Windows dummy and working mostly in a standard (M$) Office environment, the Simplefonts module has taken a lot of sweat out of coding. In my non-working life as a half-professional craftster and budding publisher I'm learning to enjoy playing around with \setuplayout; the learning curve is sometimes pretty steep, but it still beats fiddling with Word because once you get something right, it stays right. :-) Mari ___ 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 ___