[NTG-context] Orphans and Windows
G'day everyone, I use introductory sentences to numbered lists all the time, like this (where \startnlist...\stopnlist is a custom itemised list): To remove a foo from a pool of foos: \startnlist \item Do this... \item Do that... \item ...and so on... \stopnlist On occasions, I am getting that introductory sentence as an orphaned line at the end of a page and my numbered list as the first thing on the next page. How can I avoid that? There is not much about orphans and widows on the Wiki or in the reference manual. Thank you, Malte. -- “The Electric Monk was a labour-saving device, like a dishwasher or a video recorder... Electric Monks believed things for you, thus saving you what was becoming an increasingly onerous task, that of believing all the things the world expected you to believe.” ― Douglas Adams, Dirk Gently's Holistic Detective Agency ___ 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] Orphans and Windows
Am 19.06.2013 um 08:03 schrieb Malte Stien ma...@stien.de: G'day everyone, I use introductory sentences to numbered lists all the time, like this (where \startnlist...\stopnlist is a custom itemised list): To remove a foo from a pool of foos: \startnlist \item Do this... \item Do that... \item ...and so on... \stopnlist On occasions, I am getting that introductory sentence as an orphaned line at the end of a page and my numbered list as the first thing on the next page. How can I avoid that? There is not much about orphans and widows on the Wiki or in the reference manual. Use the “intro” keyword for the itemgroup, i.e. \startnlist[intro]. 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] item bullet processing / font problem
Am 19.06.2013 um 01:10 schrieb hwit...@gmail.com: The result of adding: \definetypeface[test][rm][serif][latin-modern][default] \definetypeface[test][mm][math] [latin-modern][default] \setupbodyfont[test] Make no difference whatsoever. Sorry, but I can't typeset math unless various parameters have been set. This is normally done by loading special math fonts into the math family slots. Your font set is lacking at least the parameter mentioned earlier. ! Math error: parameter \Umathquad\displaystyle is not set. system tex error on line 20 in file bullet-problem.tex: Math error: parameter \Umathquad\displaystyle is not set ... As pointed out an arument is not being passed through to a lower level and apparently in this case the argument is probably NULL or not valid. However adding: \setmathfont[modern] did allow normal default symbols working. Only problem now is a halting compile with error messages and inability to use $/diamond$ (and other symbols) as bullet shapes/characters. I suggest to install either the context suite [1] or update your installation to texlive 2013 (mac users can use mactex 2013 [3]). [1] http://wiki.contextgarden.net/ConTeXt_Standalone [2] http://www.tug.org/texlive/ [3] http://tug.org/mactex/ 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] item bullet processing / font problem
On 6/19/2013 1:23 AM, hwit...@gmail.com wrote: Hans Hagen pra...@wxs.nl wrote: On 6/18/2013 1:38 PM, hwit...@gmail.com wrote: Aditya, thanks for the information adding \setmathfont[modern] It fixed the problem for the default bullet symbols. But, it did not fix the case where I'm trying to use the $\diamond$ symbol as the bullet, and compile time errors occur. I will attach the log file. Hopefully you can identify what is missing. I apologize for my lack of knowledge about fonts details and handling at this poing, but am learning. Here is the minimal exampple: the names of lm math fonts have changed a few times ... if you use the file: prefix and goodie files are loaded the logic makes sure that at least one is found so, the question is: does simplefonts (the one on your machine) define the lm math font in the right way (read: adapted to the latest fashion) Hans Good question. How should I go about finding the answer to this? Updated all TeXLive 2011 a week ago. that one is way too old for lm math as these fonts only showed up last year so, either update to - tex live 2013 or - use the context garden distribution 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] Referencing problem
Hi all, To include in a text several graphics that for some reason must have the same figure number (with suffixes .a, .b etc.), I use \\startplacefigure[location=here,reference=,title={},group=,groupsuffix=] {\externalfigure[]} \stopplacefigure an experimental solution that Hans gave me in april (Ref. ntg-context Digest, Vol 106, Issue 4, Date:14 April 2013) and which works perfectly. My problem is: how can I refer in my text to this set of figures (instead of to the separate figures). I have tried to use group as the label for referencing, as it is the only argument that all figures have in common, but my trials failed and I have no idea how to accomplish this. (The wiki is too vague for me on this point.) Thanks in advance for any help. Regards, Robert Blackstone___ 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] Referencing problem (correction)
Sorry for the mistake: I wrote one \ too many so that I unwittingly created an absurd link. The message was supposed to be this: Hi all, To include in a text several graphics that for some reason must have the same figure number (with suffixes .a, .b etc.), I use \startplacefigure[location=here,reference=,title={},group=,groupsuffix=] {\externalfigure[]} \stopplacefigure an experimental solution that Hans gave me in april (Ref. ntg-context Digest, Vol 106, Issue 4, Date:14 April 2013) and which works perfectly. My problem is: how can I refer in my text to this set of figures (instead of to the separate figures). I have tried to use group as the label for referencing, as it is the only argument that all figures have in common, but my trials failed and I have no idea how to accomplish this. (The wiki is too vague for me on this point.) Thanks in advance for any help. Regards, Robert Blackstone___ 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] item bullet processing / font problem
Thank you Hans and Wolfgang for all your advice and assistance. I will learn how to and update to a newer standalone version. Regads Hans Hagen pra...@wxs.nl wrote: ... .. . Good question. How should I go about finding the answer to this? Updated all TeXLive 2011 a week ago. that one is way too old for lm math as these fonts only showed up last year so, either update to - tex live 2013 or - use the context garden distribution Hans ___ 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] luajittex not able to find some fonts
On 18/06/13 23:35, Hans Hagen wrote: On 6/18/2013 11:05 PM, Pablo Rodríguez wrote: Dear list, I wonder whether this would be interesting to the luajittex developers, but for some strange reason when I invoke context with --engine=luajittex, only some system fonts are found. My guess is that with luajittext the most recently installed system fonts aren't the ones not found. Just in case it might help, maybe there is something wrong in your setup as it works ok here maybe deleting the cache helps Many thanks for your help, Hans. That was it. Deleting the cache made luajittex find all fonts. I assume there my be something wrong on my setup, since I cannot reload font cache at /home/user/, but I can at any other directory. I get this message at /home/user: system | lua | compiling '/var/cache/ctxbeta/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/data/names.tma' into '/var/cache/ctxbeta/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/data/names.tmc' system | lua | dumping '/var/cache/ctxbeta/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/data/names.tma' into '/var/cache/ctxbeta/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/data/names.tmc' stripped fonts | names | warnings are disabled (tracker 'fonts.warnings').../ctxbeta/tex/texmf-context/tex/context/base/font-syn.lua:723: attempt to index field 'treatments' (a nil value) I guess I have to delete something at my home directory, but I don't know what. Just in case it helps, I attach the verbose output. Many thanks for your help again, Pablo -- http://www.ousia.tk resolvers | resolving | creating instance resolvers | resolving | variable 'SELFAUTOLOC' set to '/opt/ctxbeta/tex/texmf-linux/bin' resolvers | resolving | variable 'SELFAUTODIR' set to '/opt/ctxbeta/tex/texmf-linux' resolvers | resolving | variable 'SELFAUTOPARENT' set to '/opt/ctxbeta/tex' resolvers | resolving | variable 'TEXMFCNF' set to '' resolvers | resolving | variable 'TEXMF' set to '' resolvers | resolving | variable 'TEXOS' set to 'texmf-linux' resolvers | resolving | resolvers | resolving | using configuration specification 'home:texmf/web2c;{selfautoloc:,selfautoloc:/share/texmf-local/web2c,selfautoloc:/share/texmf/web2c,selfautoloc:/texmf-local/web2c,selfautoloc:/texmf/web2c,selfautodir:,selfautodir:/share/texmf-local/web2c,selfautodir:/share/texmf/web2c,selfautodir:/texmf-local/web2c,selfautodir:/texmf/web2c,selfautoparent:/../texmf-local/web2c,selfautoparent:,selfautoparent:/share/texmf-local/web2c,selfautoparent:/share/texmf/web2c,selfautoparent:/texmf-local/web2c,selfautoparent:/texmf/web2c}' resolvers | resolving | resolvers | resolving | looking for 'texmfcnf.lua' on given path '/home/ousia/texmf/web2c' from specification 'home:texmf/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on weird path '/opt/ctxbeta/tex/texmf-linux/bin/' from specification 'selfautoloc:' resolvers | resolving | looking for 'texmfcnf.lua' on weird path '/opt/ctxbeta/tex/texmf-linux/bin/share/texmf-local/web2c' from specification 'selfautoloc:/share/texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on weird path '/opt/ctxbeta/tex/texmf-linux/bin/share/texmf/web2c' from specification 'selfautoloc:/share/texmf/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on weird path '/opt/ctxbeta/tex/texmf-linux/bin/texmf-local/web2c' from specification 'selfautoloc:/texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on weird path '/opt/ctxbeta/tex/texmf-linux/bin/texmf/web2c' from specification 'selfautoloc:/texmf/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on weird path '/opt/ctxbeta/tex/texmf-linux/' from specification 'selfautodir:' resolvers | resolving | looking for 'texmfcnf.lua' on weird path '/opt/ctxbeta/tex/texmf-linux/share/texmf-local/web2c' from specification 'selfautodir:/share/texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on weird path '/opt/ctxbeta/tex/texmf-linux/share/texmf/web2c' from specification 'selfautodir:/share/texmf/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on weird path '/opt/ctxbeta/tex/texmf-linux/texmf-local/web2c' from specification 'selfautodir:/texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on weird path '/opt/ctxbeta/tex/texmf-linux/texmf/web2c' from specification 'selfautodir:/texmf/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/opt/ctxbeta/tex/../texmf-local/web2c' from specification 'selfautoparent:/../texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on weird path '/opt/ctxbeta/tex/' from specification 'selfautoparent:' resolvers | resolving | looking for 'texmfcnf.lua' on given path
Re: [NTG-context] background color for makeups
On 18/06/13 23:38, Hans Hagen wrote: On 6/18/2013 10:58 PM, Pablo Rodríguez wrote: \startstandardmakeup[align=middle] content to be centered \stopstandardmakeup I need to be able to change the background on some given pages. Which is the way to do this? why not just \startstandardmakeup[align=middle] content to be centered \stopstandardmakeup \setupbackgrounds[page][background=color,backgroundcolor=red] \startstandardmakeup[align=middle] content \stopstandardmakeup Well, so stupid it sounds, I had no idea this was possible (I thought it was forbidden to setup anything after \starttext). Many thank for your help, Pablo -- http://www.ousia.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 ___
[NTG-context] two questions on paragraphed linenotes
Dear Hans, I'd like to introduce a friend into composing critical editions using ConTeXt. I have made some tests myself, and I'd like to know a couple of issues about paragraphed linenotes before start explaining. The first issue is about note split. When I started using ConTeXt, I realized that footnotes might be placed in the next page (unless split=verystrict is set). Fearing the same results in linenotes, I set this, but this lead to wrong separation between body and notes (at least on my examples). My question is: does the default split value for paragraphed linenotes keep all notes in the same page? The second question is on the space before linenotes that separates from text body. With your fix from last week, things have improved a lot. You told me is tricky. If you allow me a (naive) question: wouldn't it be possible that ConTeXt would check whether body lines respect the before distance of the first paragraphed linenotes and move as many lines that don't respect this distance to the next page? There are another issues. I'd love to use ConTeXt for critical editions. But I need to know both issues first. Many thanks for your help, Pablo -- http://www.ousia.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 ___