Re: [NTG-context] beta release
Oh, Hans, another bug report, pls test this (come from my thesis): \usetypescript[palatino] \setupbodyfont[palatino,rm] \starttext \placeformula\startformula P_{(i,j)}=\sum_{n=1}^{n_s} P_{{\rm straight},n} \sum_{n=1}^{n_b} P_{{\rm bend},n} \stopformula \placeformula\startformula {{\rm d} {\bf y}\over {\rm d} t} = f(t,{\bf y}) \quad {\bf y}(0)={\bf k} \stopformula \stoptext On Sat, Feb 28, 2009 at 11:55 AM, Yue Wang wrote: > Hi, Hans: > > Are HZ features still working? I test the beta with one of my > documents, and it gives very bad line break:( > > Yue Wang > > On Wed, Feb 25, 2009 at 12:09 AM, Hans Hagen wrote: >> Hi, >> >> As prelude to LuaTeX 0.40 there is now a beta 0.35. I uploaded a context >> beta that matches this version. The most important move is that we now have >> a new math subsystem. (Specially for Mojca: iwona seems to work ok). Apart >> from bringin unicode math this also gives a better performance. (Some info >> about what is involved can be found in mk.pdf on the website). >> >> There might be ommisions so when you run into one, just let us know. >> >> Hans >> >> - >> Hans Hagen | PRAGMA ADE >> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands >> tel: 038 477 53 69 | fax: 038 477 53 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 : https://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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta release
Hi, Hans: Are HZ features still working? I test the beta with one of my documents, and it gives very bad line break:( Yue Wang On Wed, Feb 25, 2009 at 12:09 AM, Hans Hagen wrote: > Hi, > > As prelude to LuaTeX 0.40 there is now a beta 0.35. I uploaded a context > beta that matches this version. The most important move is that we now have > a new math subsystem. (Specially for Mojca: iwona seems to work ok). Apart > from bringin unicode math this also gives a better performance. (Some info > about what is involved can be found in mk.pdf on the website). > > There might be ommisions so when you run into one, just let us know. > > Hans > > - > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | fax: 038 477 53 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 : https://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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \itemize[random] does not work
On Fri, 27 Feb 2009, Curious Learn wrote: I was not aware of this cool feature in Context. This could be very useful in making multiple choice tests. I have one question. Is there a simple way in which one can switch between itemized lists that are random and non-random? For example, if I have 40 multiple choice questions, each of which has the following form: Question Text \startitemize[random] \startitem first item \stopitem \startitem second item \stopitem \startitem third item \stopitem \startitem fourth item \stopitem \stopitemize If I want the PDF file that has the items in the order I entered them in (i.e., not a random permutation); is it possible to do that in a way other than going and taking out the "random" from each itemize environment? Use modes: \defineitemgroup[choices] \startmode[random] \setupitemgroup[choices][1][random] \nextrandom % to get rid of the randomize bug \stopmode \starttext \startchoices[n] \startitem 1 \stopitem \startitem 2 \stopitem \startitem 3 \stopitem \startitem 4 \stopitem \startitem 5 \stopitem \stopchoices \stoptext Compile this file with "texexec --mode=random " to get random choices, compile without --mode=... to get normal behaviour. If you want random all the time and normal a few times, then change \startmode[random]...\stopmode to \stopnotmode[nonrandom] \stopnotmode. Then when you compile with texexec --mode=nonrandom you will not get random choices, if you compile without --mode=... you will get random answers. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \itemize[random] does not work
I was not aware of this cool feature in Context. This could be very useful in making multiple choice tests. I have one question. Is there a simple way in which one can switch between itemized lists that are random and non-random? For example, if I have 40 multiple choice questions, each of which has the following form: Question Text \startitemize[random] \startitem first item \stopitem \startitem second item \stopitem \startitem third item \stopitem \startitem fourth item \stopitem \stopitemize If I want the PDF file that has the items in the order I entered them in (i.e., not a random permutation); is it possible to do that in a way other than going and taking out the "random" from each itemize environment? Thanks. ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \itemize[random] does not work
On Fri, 27 Feb 2009, Wolfgang Schuster wrote: 2009/2/27 Marcin Borkowski : Thanks for a speedy response! I've also noticed a strange thing: the first item always is the first - it won't get mixed with the others. This is normal although I have here a document [1] where the first item always appear between the other items, There is a bug somewhere in the initialization of the random number generator. The first random number is always 1. An easy work around is to add \nextrandom somewhere before \starttext and then the first item will be random. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Creating a nomenclature section?
On 18.02.2009 at 16:45 wrote Michael Bynum: Yes, I think this will suit my needs. Thank you. I have one additional question though. In the command \definesynonyms[nomenclature][nomenclatures][\infull] What does the [nomenclatures] field do? Looking at the manual it seems to be the "plural name" input, but what purpose does it serve? Other than letting ConTeXt know that \completelistofnomenclatures % <- note the plural and \placelistofnomenclatures % <- same here belong to the 'nomenclature' definition... No idea, but since one can (easily) define commands / synonyms in other languages and not all use a simple 'add an "s" for plural' ... My guess is, it is just for that (and very convenient at that) Cheers Carsten ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \itemize[random] does not work
2009/2/27 Marcin Borkowski : > Thanks for a speedy response! > > I've also noticed a strange thing: the first item always is the first - > it won't get mixed with the others. This is normal although I have here a document [1] where the first item always appear between the other items, you can try if this did also happen for you. [1] http://wolfgang.schuster.googlepages.com/baytex 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \itemize[random] does not work
Dnia Fri, Feb 27, 2009 at 12:25:39PM +0100, Wolfgang Schuster napisał(a): > On Fri, Feb 27, 2009 at 11:57 AM, Marcin Borkowski > wrote: > > Hello, > > > > I've noticed that \startitemize[random] does not mix the items randomly. > > Is it a bug or am I doing something wrong? > > A simple \item is not enough, you need a \startitem ... \stopitem pair. > Please add a note to the wiki. > > \startitemize[a,random] > \startitem A \stopitem > \startitem B \stopitem > \startitem C \stopitem > \stopitemize Thanks for a speedy response! I've also noticed a strange thing: the first item always is the first - it won't get mixed with the others. > Wolfgang Regards -- Marcin Borkowski (http://mbork.pl) 888 * ostre słowa * ostra muzyka * ostra płyta ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \itemize[random] does not work
On Fri, Feb 27, 2009 at 11:57 AM, Marcin Borkowski wrote: > Hello, > > I've noticed that \startitemize[random] does not mix the items randomly. > Is it a bug or am I doing something wrong? A simple \item is not enough, you need a \startitem ... \stopitem pair. Please add a note to the wiki. \startitemize[a,random] \startitem A \stopitem \startitem B \stopitem \startitem C \stopitem \stopitemize 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] \itemize[random] does not work
Hello, I've noticed that \startitemize[random] does not mix the items randomly. Is it a bug or am I doing something wrong? Here's the code (tested on context live): \starttext \startitemize[a,random] \item A \item B \item C \stopitemize \stoptext Regards -- Marcin Borkowski (http://mbork.pl) ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] centered text in frame does not fit
On Fri, Feb 27, 2009 at 12:16 AM, wrote: > After a couple of years of using an older context version, it was time to > update the whole setup. So I installed the context standalone version. I was > pretty impressed about the ease of installation compared to what I remember > from previous experiences. However, using a piece of tex that never gave me > problems before, I now see the following : as you will see in the example, I > put a centered text within a frame, and for some reason the line is splitted > (see center and right frame), while the same text in the same frames, using > left or right alignment does not split the lines, so the text itself is not > too long to fit.. This did not happen on my previous context > installation. what could be the cause ? align={wide,center} 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] MinionPro problems
Dear All, I have a comment only on a minor issue and just warning, not error: On Fri, 27 Feb 2009, Vyatcheslav Yatskovsky wrote: Does somebody know what the following means? (Was working a few monthes ago) load otf | warning: The glyph named mu is mapped to U+00B5. But its name indicates it should be mapped to U+03BC. load otf | warning: The glyph named Delta is mapped to U+2206. But its name indicates it should be mapped to U+0394. load otf | warning: The glyph named Omega is mapped to U+2126. But its name indicates it should be mapped to U+03A9. the warnings seem to be related to an old semi-fixed Adobe bug of incorrect mapping from glyph names to unicode "INCREMENT", "OHM SIGN" and "MICRO SIGN" instead of greek characters. It still lurks in many mapping tables. The bug also bits ConTeXt directly - already reported here but not considered fix-worthy. (May be worth reconsidering, hey authors!). http://www.ntg.nl/pipermail/ntg-context/2008/031562.html Sincerely, Michail ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] centered text in frame does not fit
Hi all, After a couple of years of using an older context version, it was time to update the whole setup. So I installed the context standalone version. I was pretty impressed about the ease of installation compared to what I remember from previous experiences. However, using a piece of tex that never gave me problems before, I now see the following : as you will see in the example, I put a centered text within a frame, and for some reason the line is splitted (see center and right frame), while the same text in the same frames, using left or right alignment does not split the lines, so the text itself is not too long to fit.. This did not happen on my previous context installation. what could be the cause ? Thanks... \starttext \framed[width=\makeupwidth, height=3cm, align=right,strut=no, offset=none,frame=on]{ \framed[width=0.230\makeupwidth,height=3cm, align=center, frame=off, rightframe=on, offset=none] {Mydepname \crlf anotherline} \framed[width=0.510\makeupwidth, height=3cm, frame=off, offset=none] {\crlf \crlf {\bf Descripci\'on Nr: 70/123--634} \crlf {\it Information Document nr. 70/123--634} \crlf Final Version} \framed[width=0.230\makeupwidth, height=3cm, align=center, frame=off, leftframe=on, offset=none] {\crlf \tfx Fecha de emisi\'on: \crlf Date of issue: \crlf \currentdate[dd,--,mm,--,j] \crlf \crlf pagina/page {\pagenumber} de/of {\lastpage}} } \crlf \crlf \crlf \crlf \crlf \framed[width=\makeupwidth, height=3cm, align=right,strut=no, offset=none,frame=on]{ \framed[width=0.230\makeupwidth,height=3cm, align=center, frame=off, rightframe=on, offset=none] {Mydepname \crlf anotherline} \framed[width=0.510\makeupwidth, height=3cm, align=left, frame=off, offset=none] {\crlf \crlf {\bf Descripci\'on Nr: 70/123--634} \crlf {\it Information Document nr. 70/123--634} \crlf Final Version} \framed[width=0.230\makeupwidth, height=3cm, align=right, frame=off, leftframe=on, offset=none] {\crlf \tfx Fecha de emisi\'on: \crlf Date of issue: \crlf \currentdate[dd,--,mm,--,j] \crlf \crlf pagina/page {\pagenumber} de/of {\lastpage}} } \stoptext ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] MinionPro problems
Does somebody know what the following means? (Was working a few monthes ago) (lyrics-env.tex (win-font.tex) load otf | loading: C:/WINDOWS/Fonts/MinionPro-Regular.otf load otf | warning: The following table(s) in the font have been ignored by FontForge load otf | warning: Ignoring 'DSIG' digital signature table load otf | warning: Warning: Mac and Windows entries in the 'name' table differ for the Fullname string in the language English (US) Mac String: Minion Pro Windows String: MinionPro-Regular load otf | warning: The glyph named mu is mapped to U+00B5. But its name indicates it should be mapped to U+03BC. load otf | warning: The glyph named Delta is mapped to U+2206. But its name indicates it should be mapped to U+0394. load otf | warning: The glyph named Omega is mapped to U+2126. But its name indicates it should be mapped to U+03A9. load otf | enhance: patch load otf | enhance: before load otf | enhance: enrich load otf | enhance: registering tlig feature load otf | enhance: registering trep feature load otf | enhance: flatten load otf | flattening 'specifications' tables load otf | flattening 'anchor' tables load otf | flattening 'gpos' tables load otf | flattening 'gsub' tables load otf | enhance: analyze load otf | enhance: after load otf | replacing 'kerns' tables by 'mykerns' tables ! LuaTeX error ...tminimal/texmf-context/tex/context/base/luat-log.lua:75: bad argument #2 to 'format' (string expected, got table) stack traceback: [C]: in function 'format' ...tminimal/texmf-context/tex/context/base/luat-log.lua:75: in function 'report' ...tminimal/texmf-context/tex/context/base/font-otf.lua:1431: in function 'after' ...tminimal/texmf-context/tex/context/base/font-otf.lua:895: in function 'load' ...tminimal/texmf-context/tex/context/base/font-otf.lua:1845: in function 'otf_to_tfm' ...tminimal/texmf-context/tex/context/base/font-otf.lua:2066: in function 'read_from_open_type' ...tminimal/texmf-context/tex/context/base/font-def.lua:333: in function <...tminimal/texmf-context/tex/context/base/font-def.lua:315> (tail call): ? ...tminimal/texmf-context/tex/context/base/font-def.lua:250: in function 'read' ...tminimal/texmf-context/tex/context/base/font-def.lua:645: in function 'read' ...tminimal/texmf-context/tex/context/base/font-def.lua:752: in function 'command_2' :1: in main chunk. \lowleveldefinefont ...s ", "\@@fontfallbacks " )} \edef \somefontspec {at \s... \xxdododefinefont ...efont {#4}\newfontidentifier \let \localrelativefontsiz... \fontstrategy ...me \fontclass #2#3#4#5\endcsname \tryingfontfalse \fi ...yle \fontalternative \fontsize \fi \iftryingfont \fontstr... \synchronizefont ...strategy \the \fontstrategies \relax \fi \iftryingfont \... \getvalue {...@style@ \fontstyle } \edef \fontstyle {\fontstyle }\if... ... l.3 ...t[MinionPro]\setupbodyfont[MinionPro, 14pt] ? ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___