Re: [NTG-context] Problem with MkIV and TikZ picture remembering
Am Tue, 3 Mar 2015 14:11:56 +0100 schrieb Mojca Miklavec: >> -- the installation advices on contextgarden doesn't explain what to >> do if you want to update modules too. > Do you want to say that the module gets removed next time when you run > first-setup.bat? If that is the case, it should be fixed. Updating > works for me and also keeps the modules up to date. I have no idea ;-). >> I'm always using (on windows) >> first-setup.bat --keep > > I would advise you against using the --keep option unless there are > some other/strong reasons to do so. Then the instructions here are quite misleading: http://wiki.contextgarden.net/ConTeXt_Standalone#Updating_2 I'm not a regularly context user, I maintain the installation mostly for tests and want "an up-to-date, complete (with all modules)" installation and was looking for a command that compares to "tlmgr update --all" from texlive. Did I got it right now that I should do "first-setup.bat" and that "first-setup.bat --keep" doesn't update the modules? -- Ulrike Fischer http://www.troubleshooting-tex.de/ ___ 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 MkIV and TikZ picture remembering
On Tue, Mar 3, 2015 at 1:38 PM, Ulrike Fischer wrote: > > I wanted to try the example in my context standalone installation > and got an "undefined command error" on the \usetikzlibrary. > After a bit digging I could repair this with "first-install.bat > --modules="t-tikz" which seems to get me the newest tikz. > > But during this digging I saw > > -- that tikz is not mentioned on the module list: > http://modules.contextgarden.net/ That site is used for uploading modules by authors. I never thought about users trying to learn about existence of modules via that site. > -- Following the link to the module > (http://modules.contextgarden.net/TikZ) from > http://wiki.contextgarden.net/TikZ gives an "internal error message" I removed the link. > -- the installation advices on contextgarden doesn't explain what to > do if you want to update modules too. Do you want to say that the module gets removed next time when you run first-setup.bat? If that is the case, it should be fixed. Updating works for me and also keeps the modules up to date. > I'm always using (on windows) > first-setup.bat --keep I would advise you against using the --keep option unless there are some other/strong reasons to do so. But you shouldn't need keep just for the sake of a potential bug. I would need to check again what exactly --all does. But --modules=all should install all modules and --modules=t-tikz should be sufficient to keep that module. However I don't know what happens if you use --modules=t-somethingelse next time. Maybe that removes the modules that you installed previously as it expects the complete list of modules. I need to check. 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 ___
[NTG-context] Get rid of caption on an intermezzo.
I managed after many trips to the Wiki to get a text frame pretty much as I want it, with text wrapping around and so on. But the technique requires using an intermezzo as a wrapper. This feature always puts a title like "intermezzo 1" at the bottom. How do I get rid of this title? For the curious here is my code segment to date: \setupframed[framecorner=round, frameradius=1em, background=screen, backgroundscreen=0.70, backgroundcorner=round, backgroundradius=1em, corner=round, radius=1em] \definefloat[intermezzo]{ } \kern 5em\placeintermezzo[right]{} \startframedtext[width=3.2in] \centerline{\ss\tfb Life Before Specialty} \centerline{\ss\tfb Food Marketing} \tfx What food entrepeneurs did before starting a specialty food firm (in order of prevalence): \startitemize[1] \item Other business non-food-related (52\%) \item food-related business (14\%) \item Medical profession (11\%) \item Education (8\%) \item Nonprofit Charity (8\%) \item Entertainment (3.6\%) \stopitemize ---{\bf\it Food Entrepeneur Magazine 2014 pool responses} \stopframedtext -- John Culleton Wexford Press Free list of books for self-publishers: http://wexfordpress.net/shortlist.html Updated PDF e-book: "Create Book Covers with Scribus 1.4.5" coming soon at http://www.booklocker.com/! ___ 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] Citing a PhD dissertation
On Sun, 01 Feb 2015 07:24:00 -0700, Idris Samawi Hamid ادريس سماوي حامد wrote: Dear gang, ConTeXt currently follows archaic BibTeX conventions in labeling doctoral dissertations for bibliography. So we have the tag 'phdthesis' as in \startpublication[k=hamid98, t=phdthesis, a=Hamid, y=1998, s=ISH98] \author[]{Idris Samawi}[I.]{}{Hamid} \title{The Metaphysics and Cosmology of \TeX} \pubname{\TeX\ State University} \pubyear{1998} \stoppublication The tag gets mapped to 'PhD thesis' in the output. But current English style is to use 'thesis' for Masters degrees and 'dissertation' for doctoral degrees [See the Merriam-Webster Style Manual or even google 'phd thesis or dissertation' for lots of confirmation of this]. As development of a new mkiv module continues, I would suggest changing this to the standard usage. In the meantime: How can I change the label in the current bibliography system? I tried the following (also attached): \starttext \setuppublications[alternative=apa] \setupbtxlabeltext [en] [apa:phdthesis={Doctoral dissertation}] \startsetups btx:apa:phdthesis \setvariables[btx:temp][label=Doctoral Dissertation] \btxsetup{btx:apa:common:thesis} \stopsetups \startpublication[k=hamid98, t=phdthesis, a=Hamid, y=1998, s=ISH98] \author[]{Idris Samawi}[I.]{}{Hamid} \title{The Metaphysics and Cosmology of \TeX} \pubname{\TeX\ State University} \pubyear{1998} \stoppublication \placepublications [criterium=all] % inherits from \setuppublications % \completepublications[criterium=cite] % only works with criterium=all \stoptext But the output is still 'PhD thesis'. How do I get the changes in the btx labeltext passed on to ConTeXt so I can get the correct output? Answer is in context/bib/bibl-apa.tex: \setuppublicationlayout[phdthesis]{% \insertauthors{}{ }{}% \insertpubyear{(}{). }{}% \inserttitle{\bgroup\it }{\egroup \insertseries{ (}{)}{}. }{}% \insertbibtype{}{, }{Doctoral dissertation,}% \insertpublisher{ }{.}{.}% \insertpages{ }{ p. }{}% \insertnote{ }{.}{}% As Hans explained privately, this is hardwired so the btx labels don't kick in as expected. May be decoupled at a later date, but till then this is the key for anyone wanting to fix things. Best wishes Idris -- Idris Samawi Hamid Professor 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] Interactive table of content -- jumps always 1 page too far
> On 01/31/2015 01:36 PM, Hans Hagen wrote: >> On 1/31/2015 1:12 PM, Pablo Rodriguez wrote: >>> [...] >>> It doesnât show what you meant, the link destination is not on the >>> heading itself, but on the next paragraph. >> >> \enabletrackers[*references*] >> \enabletrackers[*destinations*] > > Hi Hans, > > many thanks for your reply. > > Iâm afraid there might be something wrong with this. I have been using > poppler-glib-demo to check it (and this is the first time I use it, so I > might be wrong as well). > > The minimal sample: > > \enabletrackers[*destinations*] > \setupinteraction[state=start, focus=standard] > \setupinteractionscreen[width=fit] > \starttext > \completecontent > \chapter{Chapter} > \stoptext > > Link destination for âChapterâ seems to be: > > << /D [27 0 R /XYZ 70.867 689.409 null]>> > > But both chapter headings are placed at x,y (70.87, 122.22), according > to poppler-glib-demo. > > Anyway, there is a proof that something might be rotten, because the > link itself has a higher box (an it is lower in the page): > > << /Subtype /Link /Dest (#2) /F 4 > /Rect [70.867 652.344 496.06 666.772] /Border [0 0 0]>> > > I cannot give a more accurate description (the PDF spec is all Greek to > me), but I think there is something wrong with link destinations (they > seem to be lower than they should be). > > BTW, does the sample above work right with Adobe? (Iâm donât have it > installed.) It doesnât work with either evince-3.10.3 or mupdf-1.6. > >>> I think this should be improved. And I guess it goes unnoticed, because >>> after clicking on a link, the browser fits view to page. >> >> this is also a bit browser dependent i think > > I guess this is caused by the link destination syntax (section 12.3.2.2 > of the PDF specification). > > Withouth specifying "focus=standard" in the sample above, the link is: > > << /Subtype /Link /Dest [13 0 R /Fit] /F 4 > /Rect [70.867 652.344 496.06 666.772] /Border [0 0 0]>> > > /Fit specifies that the page should be so that its entire width and > height are magnified enough so that they fit in the window. > > Having said that, I cannot see why it makes sense that ConTeXt generates > documents with this default. > > I mean, the default paper size is A4, if the default behavior after > cliciking on a link is to fit page height (or width in landscape), one > needs a huge screen not to render the text unreadable. > > Sorry, but I cannot see the gain in this default. Would it be possible > that the default would be the behaviour set by "focus=standard"? > > Could you consider both suggestions? > > Many thanks for your help, > > > Pablo > -- > http://www.ousia.tk > What I forgot to include in the code ex, was this settings: \setupinteraction [state=start, title={Leerboek politieke economie}, subtitle={politieke economie}, author={Academie der Wetenschappen van de Sovjet-Unie}, keyword={economie, politieke economie, marxisme, marxisme-leninisme}, openaction=FitWidth, focus=width, date={31 januari 2015}] I will replace this with: \setupinteraction[state=start] and see if that makes a difference... Greetings, Rob ___ 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 again: “von” and “van”
Hi Alan, Hans, As you say the treatmeant of the „particles“ are complicated. They depend on „citizenship“, period, country of title, true nobility or ennoblement, the region of a country one comes, and form of the particle (abbreviation, captilization). Practically all of this information is missing in the a normal bibliography. Sure we can try to guess some from publication date, language, etc. But, these are very in accurate, and will not give decent results. Now, I am all for making as easy as possible for the user and have a system do as much inference as possible. We could simply add all kinds of switches and coding to help this process, but in the end we end up with an over complicated format that grows into a monster! I as an old school type and database person would think it far better, to take a more pratical approach. Set up the inference rules for the names after 1920. Most of the ambiguity is gone for most of the western world to my knowledge! (I can not say much about the rest, we have not even talked about them). We can add fields or a mechanisms where the author of a bibliography can set display form, sort form etc. that are used. Yes, this does put the burden on the author, but is the cleanest and most flexible way to do it. Or implement a mechanism where the Author of the bibliography can write a SETUP/filter for the format of the author field and add a field to the format called authorfieldtype. this way. I believe this would be the ConTeXt way. regards Keith. > Am 28.01.2015 um 04:10 schrieb Alan BRASLAU : > > I have been arguing with Hans over the proper treatment of "particles", > in general. The rules vary greatly - here we are looking at a > comparison between Dutch and German practice. In French, the use often > depends on history differing before and after the revolution. In > Spanish, we have other practice. > > One solution is to make the rendering depend on the "language=" bibtex > field. But this does not work universally. With Hans, we have extended > the bibtex standard so that names can be explicitly separated, as in: > author = {particle, lastname, suffix, firstname} > This allows the author to use a free form for each component without > resorting to any bibtex trickery (like capitalization or not). How > these components are handled or rendered is not entirely worked out. > Indeed, the German practice differs from others. Thus my suggestion of > the use of the language field (or setting). > > 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] Context modules not on CATN and not in TeX Live (slightly OT)
On 1/26/2015 2:57 PM, Keith J. Schultz wrote: Hi Mojca, Thank you for clarifying a few things. I have not seen any information how to contribute modules to ConTeXt or how they are passed up the stream! A few caveats though! 1) Who „authorizes“ ConTeXt modules for CTAN ? 2) Do not CTAN and TeXLive have pretty much the same guidelines? 3) Who gets to decide what is really „Useful“ ? 1 : the ctan maintainers, but in general they accept everything that suits tex and friends (of course it will only accept legally correct items) 2 : i think that texlive has more strict rules with respect to licenses 3 : quality control is not part of the picture nor is maintainance or useability ... i suppose something can end up on ctan that is unuseable, broken and unmaintained ... it's user driven - : for texlive it can make sense to also provide the right information for inclusion and installation and that is what the garden packager does (you cannot expect texlive maintainers to keep track of all that) I did not mean to say do not use TDS! Besides, one can always install the „missing“ modules in the TeXLive tree, if they really want them! regards Keith. Am 26.01.2015 um 14:03 schrieb Mojca Miklavec mailto:mojca.miklavec.li...@gmail.com>>: On Mon, Jan 26, 2015 at 1:40 PM, Keith Schultz wrote: Hi Alex, The simple answer to your question would be to use this page: http://www.ctan.org/upload/ No, in case of ConTeXt that's not correct. The idea would be to handle everything automatically once the modules are uploaded to modules.contextgarden.net <http://modules.contextgarden.net/>. Some discrepancies are intentional, some are "bugs" (read as: nobody noticed that a module was missing and/or bothered requesting it). I was offline for a while and will explain this later in detail. I just wanted to make sure that nobody starts uploading cmscbf and alike to CTAN. BUT, the MISSING modules or packages are so-called third party! It should be the responsibility of the AUTHORS, to upload the to CTAN! No, that's not the case with ConTeXt modules. They are synced automatically. Also, e.g cmscbf and cmttbf are no longer needed in mkiv! They are for use with mkii! Furthermore, you should concertrate on using ONLY MKIV! Especially, since your audience seem to be introductory. MKII is frozen and IMHO outdated! It's not so much outdated, but it's certainly frozen and certainly not worth spending too much effort in it. (With an exception of occasional support for XeTeX which is still an up-to-date engine.) I would suggest that you point them to the Standalone stable release, if you actually need the missing third party modules. No, wait, let's try to clear things up first. If modules should be on CTAN and aren't, I'll add them to CTAN. If modules are on CTAN, but not in TeX Live, we should figure out why they are excluded from TeX Live and either make sure that they are either added to TeX Live (if there are no problems with licencing, packaging etc.) or removed from CTAN (in case they are not really useful). We could keep some modules on CTAN if they are useful, but don't qualify for TL inclusion for some obscure reason. "Don't use TeX Live" could be the proper advice for someone who wants to use the latest version of ConTeXt, but one shouldn't confuse the user just because a module is missing in TL by accident. Mojca [snip, snip] ___ 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 ___ -- - 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] Context modules not on CATN and not in TeX Live (slightly OT)
Hi Mojca, Thank you for clarifying a few things. I have not seen any information how to contribute modules to ConTeXt or how they are passed up the stream! A few caveats though! 1) Who „authorizes“ ConTeXt modules for CTAN ? 2) Do not CTAN and TeXLive have pretty much the same guidelines? 3) Who gets to decide what is really „Useful“ ? I did not mean to say do not use TDS! Besides, one can always install the „missing“ modules in the TeXLive tree, if they really want them! regards Keith. > Am 26.01.2015 um 14:03 schrieb Mojca Miklavec > : > > On Mon, Jan 26, 2015 at 1:40 PM, Keith Schultz wrote: >> Hi Alex, >> >> The simple answer to your question would be to use this page: >> >> http://www.ctan.org/upload/ <http://www.ctan.org/upload/> > > No, in case of ConTeXt that's not correct. The idea would be to handle > everything automatically once the modules are uploaded to > modules.contextgarden.net <http://modules.contextgarden.net/>. Some > discrepancies are intentional, some > are "bugs" (read as: nobody noticed that a module was missing and/or > bothered requesting it). > > I was offline for a while and will explain this later in detail. I > just wanted to make sure that nobody starts uploading cmscbf and alike > to CTAN. > >> BUT, the MISSING modules or packages are so-called third party! >> It should be the responsibility of the AUTHORS, to upload the to CTAN! > > No, that's not the case with ConTeXt modules. They are synced automatically. > >> Also, e.g cmscbf and cmttbf are no longer needed in mkiv! They are for use >> with >> mkii! >> >> Furthermore, you should concertrate on using ONLY MKIV! Especially, >> since your audience seem to be introductory. MKII is frozen and IMHO >> outdated! > > It's not so much outdated, but it's certainly frozen and certainly not > worth spending too much effort in it. (With an exception of occasional > support for XeTeX which is still an up-to-date engine.) > >> I would suggest that you point them to the Standalone stable release, >> if you actually need the missing third party modules. > > No, wait, let's try to clear things up first. > > If modules should be on CTAN and aren't, I'll add them to CTAN. If > modules are on CTAN, but not in TeX Live, we should figure out why > they are excluded from TeX Live and either make sure that they are > either added to TeX Live (if there are no problems with licencing, > packaging etc.) or removed from CTAN (in case they are not really > useful). We could keep some modules on CTAN if they are useful, but > don't qualify for TL inclusion for some obscure reason. > > "Don't use TeX Live" could be the proper advice for someone who wants > to use the latest version of ConTeXt, but one shouldn't confuse the > user just because a module is missing in TL by accident. > > Mojca > [snip, snip]___ 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] [luatex] [Dev-luatex] Luatex 0.79.3.1 announcement
On Mon, Jan 26, 2015 at 2:15 PM, Patrick Gundlach wrote: > Thank you Luigi and all others for the development! > > A quick note: if you like a git(hub) style interface, I try to keep > > > https://github.com/pgundlach/LuaTeX > > > up to date > No problem for me. -- 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] [Dev-luatex] Luatex 0.79.3.1 announcement
Thank you Luigi and all others for the development! A quick note: if you like a git(hub) style interface, I try to keep https://github.com/pgundlach/LuaTeX up to date Patrick ___ 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] Context modules not on CATN and not in TeX Live (slightly OT)
On Mon, Jan 26, 2015 at 1:40 PM, Keith Schultz wrote: > Hi Alex, > > The simple answer to your question would be to use this page: > > http://www.ctan.org/upload/ No, in case of ConTeXt that's not correct. The idea would be to handle everything automatically once the modules are uploaded to modules.contextgarden.net. Some discrepancies are intentional, some are "bugs" (read as: nobody noticed that a module was missing and/or bothered requesting it). I was offline for a while and will explain this later in detail. I just wanted to make sure that nobody starts uploading cmscbf and alike to CTAN. > BUT, the MISSING modules or packages are so-called third party! > It should be the responsibility of the AUTHORS, to upload the to CTAN! No, that's not the case with ConTeXt modules. They are synced automatically. > Also, e.g cmscbf and cmttbf are no longer needed in mkiv! They are for use > with > mkii! > > Furthermore, you should concertrate on using ONLY MKIV! Especially, > since your audience seem to be introductory. MKII is frozen and IMHO > outdated! It's not so much outdated, but it's certainly frozen and certainly not worth spending too much effort in it. (With an exception of occasional support for XeTeX which is still an up-to-date engine.) > I would suggest that you point them to the Standalone stable release, > if you actually need the missing third party modules. No, wait, let's try to clear things up first. If modules should be on CTAN and aren't, I'll add them to CTAN. If modules are on CTAN, but not in TeX Live, we should figure out why they are excluded from TeX Live and either make sure that they are either added to TeX Live (if there are no problems with licencing, packaging etc.) or removed from CTAN (in case they are not really useful). We could keep some modules on CTAN if they are useful, but don't qualify for TL inclusion for some obscure reason. "Don't use TeX Live" could be the proper advice for someone who wants to use the latest version of ConTeXt, but one shouldn't confuse the user just because a module is missing in TL by accident. Mojca > Am 25.01.2015 um 13:21 schrieb Axel Kielhorn : > > Hi! > > I'm trying to learn ConTeXt working through some examples I found on Context > Garden and the internet. > > Since I already have TeX Live 2014 installed I could run most of the > examples. > When I ran into a problem, I installed the standalone version and compared > the supplied modules. > > The following modules are not part of Context in TeX Live 2014. > > animation/ GPL 3 > annotation/GPL 3 > cmscbf/GPL 2 on CTAN > cmttbf/GPL 2 on CTAN > fancybreak/GPL 3 > layout/GPL > title/ GPL 3 > urwgaramond/ GPL 2 on CTAN > urwgothic/ Public Domain on CTAN > visualcounter/ Simplified BSD License > > > Some are on CTAN, some are missing there. > Since TeX Live takes the files from CTAN, it would be nice to put the > missing modules there. > What is the correct way to do that? > > I ask because I want to give a tutorial about ConTeXt at the Dante meeting > in april and it would be nice to tell the audience that everything they need > is already part of TeX Live and no extra installation is required. > > Axel > -- > Man sollte das mal mit ConTeXt betrachten. > ___ > 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 > ___ ___ 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 happened to the ePub script?
On 1/20/2015 10:16 AM, Henning Hraban Ramm wrote: Am 2015-01-19 um 15:48 schrieb Hans Hagen : On 1/17/2015 1:52 PM, Henning Hraban Ramm wrote: * How can I set the current \date in a metadata variable? (I know it’s also in the date tag of , but I know how to format \date …) This doesn’t work (i.e. I get „\date“ in XML/XHTML): \settaggedmetadata[ version={\date} ] \the\normalyear-\the\normalmonth-\the\normalday Thanks, but that’s not the same. Not only because I get „2015-1-20“ and not „2015-01-20“. Is there a way to get „everything“ expanded within \settaggedmetadata ? no, because \hbox{foo\smallcaps bar\kern10pt gnu} and such have no real string representation * Can I influence the directory/file names of the export from within the source? E.g. if I compile „minimal.tex“, I get minimal-export and minimal-epub The —result switch doesn’t change anything. hm, honoring --result is doable but in general i'd like to keep the export quite basic and predictable (the less options the better) Ok, that means we have no influence on files names at all? it would only be the directory and maybe the main files but not every specific file (it would demand an extra setup and lots of explanations in the manual) but maybe at soem point the mtx-epub script can do some magic ... it's already tricky to keep up cq. satisfy basic epub standards and it's really no fun to do that kind of stuff ... i have no real need for it so i cannot spend ages on it ... (in fact i only redid it because i wanted to play with the svg math and then noticed some possible improvements in the rest * BTW: Can I set —result from within my ConTeXt source? no, because the context script also does some cleanup and checking (like not replacing the tuc file when there is an issue) (letting tex influence its own run is somewhat tricky and has limitations) Ok, would have been nice. Will write a wrapper script for my use case. it it's systematic, predictable etc etc we can always add it as option but filenames and their use are pretty fragile in epub (i had no problems with crashing of locking the kobo) 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 happened to the ePub script?
Am 2015-01-19 um 15:48 schrieb Hans Hagen : > On 1/17/2015 1:52 PM, Henning Hraban Ramm wrote: >> * How can I set the current \date in a metadata variable? >> (I know it’s also in the date tag of , but I know how to format >> \date …) >> >> This doesn’t work (i.e. I get „\date“ in XML/XHTML): >> >> \settaggedmetadata[ >> version={\date} >> ] > > \the\normalyear-\the\normalmonth-\the\normalday Thanks, but that’s not the same. Not only because I get „2015-1-20“ and not „2015-01-20“. Is there a way to get „everything“ expanded within \settaggedmetadata ? >> * Can I influence the directory/file names of the export from within the >> source? >> E.g. if I compile „minimal.tex“, I get minimal-export and minimal-epub >> The —result switch doesn’t change anything. > > hm, honoring --result is doable but in general i'd like to keep the export > quite basic and predictable (the less options the better) Ok, that means we have no influence on files names at all? >> * BTW: Can I set —result from within my ConTeXt source? > > no, because the context script also does some cleanup and checking (like not > replacing the tuc file when there is an issue) > (letting tex influence its own run is somewhat tricky and has limitations) Ok, would have been nice. Will write a wrapper script for my use case. Greetlings, Hraban --- http://www.fiee.net http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ 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 happened to the ePub script?
On 1/17/2015 1:52 PM, Henning Hraban Ramm wrote: Hi there, I started documenting ConTeXt’s current ePub/export behaviour in http://wiki.contextgarden.net/ePub and will merge/delete the content of the current wiki pages as soon as I’m content with its content ;) * Do you think it would be better to document export and ePub separately? Of course I have questions, e.g.: * How can I set the current \date in a metadata variable? (I know it’s also in the date tag of , but I know how to format \date …) This doesn’t work (i.e. I get „\date“ in XML/XHTML): \settaggedmetadata[ version={\date} ] \the\normalyear-\the\normalmonth-\the\normalday * Can I influence the directory/file names of the export from within the source? E.g. if I compile „minimal.tex“, I get minimal-export and minimal-epub The —result switch doesn’t change anything. hm, honoring --result is doable but in general i'd like to keep the export quite basic and predictable (the less options the better) * BTW: Can I set —result from within my ConTeXt source? no, because the context script also does some cleanup and checking (like not replacing the tuc file when there is an issue) (letting tex influence its own run is somewhat tricky and has limitations) 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 happened to the ePub script?
Hi there, I started documenting ConTeXt’s current ePub/export behaviour in http://wiki.contextgarden.net/ePub and will merge/delete the content of the current wiki pages as soon as I’m content with its content ;) * Do you think it would be better to document export and ePub separately? Of course I have questions, e.g.: * How can I set the current \date in a metadata variable? (I know it’s also in the date tag of , but I know how to format \date …) This doesn’t work (i.e. I get „\date“ in XML/XHTML): \settaggedmetadata[ version={\date} ] * Can I influence the directory/file names of the export from within the source? E.g. if I compile „minimal.tex“, I get minimal-export and minimal-epub The —result switch doesn’t change anything. * BTW: Can I set —result from within my ConTeXt source? More to follow ;) Greetlings, Hraban --- http://www.fiee.net http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ 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] pgfplots.revision.tex is missing in the last ContextMinimals
Hi, On Mon, Jan 5, 2015 at 11:00 PM, DesdeChaves wrote: > > Dear Sirs > > In the last ContextMinimals the file "pgfplots.revision.tex" is missing. > This file is required by the pgfplots module. I need some help with this. I assume that I need to run scripts/pgfplots/pgfplotsrevisionfile.sh on the server, but running git describe --tags HEAD results in fatal: No names found, cannot describe anything. etc. I tried to keep up to date with the latest version from the repository for both TikZ and pgfplots (mainly because the release version of TikZ was usually so old that it didn't work with ConTeXt), but if that causes problems, I can try to switch to the released version. 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] Loading modules
> Am 23.12.2014 um 14:29 schrieb j. van den hoff : > > uups. I was to quick with my answer: in the meantime I did reset my $PATH > variable in order to use > the texlive-context version again. so adding the > \enabledirectives[modules.permitunprefixed] and recompiling > the document did not proof anything (stupid error...). so I have now retried > with the current standalone > `context' and -- alas! -- the `undefined control sequence' error does not go > away. do be specifc: > > -- document and module reside in the same directory > > -- the module is residing in file `t-title.tex' and defines (upon others) > `\doctitle' > > -- the document loads the module with `\usemodule[title]' (which is now > preceded by `\enabledirectives[modules.permitunprefixed]') > and then uses `\doctitle' which triggers the error. > > -- right now, the standalone `context' binary is at the very top of $PATH. > > any ideas? The ConTeXt suite includes a title module (when you install the third party modules) which is loaded instead of your own title module. The following example shows how you can use the module in your document. \usemodule[title] \starttext \placetitle [author=Ben Lee User, title=How to write a \tex{placetitle} command, date=\currentdate\space\currenttime] \dorecurse{6} {\startparagraph \input tufte\par \stopparagraph} \stoptext When you want to use your module instead of the third party module rename it from t-title.tex to p-title.tex. 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] expand date from CSV file
;-) Thanx Peter. I'm too not thought about solutions :-). I was so focused to mined data from a CSV file, and I've not think much about the appropriate algorithm. I love attentive and thoughtful people (although often I'm not alone such) Maybe I corrected in a subsequent e-mail properly. One more thanx. Jaroslav Hajtmar Dne 18.12.2014 v 13:37 Peter Münster napsal(a): On Thu, Dec 18 2014, Jaroslav Hajtmar wrote: if (year<2000) then year=year+2000 end; Hi, What about "Test;11/11/1999" ... ;-) ___ 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] Strange bug with overviewpage module.
Hi, Some time ago, Hans had helped me to write an 'overviewpage' module, that makes it easy to show a overview of the important slides at the end of a presentation. I have tweaked this module slightly to be able to save an arbitrary page by using \saveoverviewpage{reference} and reuse the page by \useoverviewpage{reference} An example is: \usemodule[overviewpage] \setuppapersize[S4] \setupframedtext[rulethickness=3pt] \starttext \startframedtext \input ward \stopframedtext \saveoverviewpage{ward} \page \input tufte \page \scale[width=0.5\textwidth]{\useoverviewpage{ward}} \stoptext However, when I save a page that contains a framed box (as in the above example), the box looses its right frame when it is displayed again (see page 3 of the attached pdf). It appears that the left edge is twice as thick. Any idea why this is happening and how I can avoid this? Thanks, Aditya test.pdf Description: Adobe PDF document %D \module %D [ file=t-overviewpage, %D version=2013.08.31, %Dtitle=\CONTEXT\ User Module, %D subtitle=Page Overviews, %D author=Aditya Mahajan and Hans Hagen, %D date=\currentdate, %Dcopyright=Aditya Mahajan, %Demail=adityam ieee org, %D license=Simplified BSD License] \writestatus{loading}{Overview Page (ver: 2013.08.31)} \startmodule [overviewpage] \unprotect \setupmodule [\c!level=] \installnamespace{overviewpage} \initializeboxstack{\overviewpage} \newconditional\c_overviewpage_state \unexpanded\def\enablesaveoverviewpage {\global\settrue\c_overviewpage_state} \unexpanded\def\saveoverviewpage#1% {\enablesaveoverviewpage \setevalue{\overviewpage:page:#1}{\the\realpageno}} \unexpanded\def\useoverviewpage#1% {\writestatus{overviewpage}{using page #1 (\getvalue{\overviewpage:page:#1})}% \expanded{\foundbox{\overviewpage}{\getvalue{\overviewpage:page:#1 \unexpanded\def\overviewpage_save_page#1% {\ifconditional\c_overviewpage_state \setbox\nextbox\hbox{#1}% \setbox\scratchbox\copy\nextbox \cleanupbox\scratchbox % remove nodes that should not be seen in the backend twice \writestatus{overviewpage}{saving overviewpage \the\realpageno}% \savebox{\overviewpage}{\the\realpageno}{\box\scratchbox}% \global\setfalse\c_overviewpage_state \page_shipouts_normal{\box\nextbox}% \else \page_shipouts_normal{#1}% \fi} \appendtoks \doif {\headparameter{option:overviewpage}} \v!yes \enablesaveoverviewpage \to \everyheadsynchronization \installshipoutmethod{overviewpage}\overviewpage_save_page \unexpanded\def\overviewpage_setup_head#1% {\setuphead[#1][option:overviewpage=\v!yes]} \appendtoks \processcommacommand [\moduleparameter{overviewpage}\c!level] \overviewpage_setup_head \to \everysetupmodule \the\everysetupmodule \setuppaper [\c!method=overviewpage] \definelistalternative [overviewpage] [\c!renderingsetup=\??listrenderings:overview] \setuplistalternative [overviewpage] [\c!before=\dontleavehmode, \c!after=\hskip\zeropoint\relax, % \c!width=\ctxlua{moduledata.overviewpage.calculatedwidth(\listlength)}] \c!width=\ctxlua{moduledata.overviewpage.calculatedwidth(structures.lists.size())}] \startsetups[\??listrenderings:overview] \doifboxelse{\overviewpage}{\structurelistrealpagenumber} {\listalternativeparameter\c!before \startcurrentlistentrywrapper \scale [\c!width=\listalternativeparameter\c!width] {\foundbox{\overviewpage}{\structurelistrealpagenumber}}% \stopcurrentlistentrywrapper \listalternativeparameter\c!after} {}% \stopsetups \definemakeup [overviewpage] [\c!align=\v!middle] \definelayout [overviewpage] [\v!page] \startluacode moduledata = moduledata or { } moduledata.overviewpage = moduledata.overviewpage or { } function moduledata.overviewpage.calculatedwidth(pages) context("%f\\textwidth",1/math.ceil(math.sqrt(pages))) end \stopluacode % Ideally, we would like to simply use the definition below. % However, the `before` and `after` keys are not used with `\placecombinedlist`. % Therefore we use a more manual solution. % \definecombinedlist [overviewpage] [\moduleparameter{overviewpage}\c!level] [ %\c!before=\startoverviewpagemakeup, %\c!after=\stopoverviewpagemakeup, \c!criterium=\v!all, \c!alternative=overviewpage, ] \unexpanded\def\placeoverviewpage {\dosingleargument\doplaceoverviewpage} \def\doplaceoverviewpage[#1]% {\startoverviewpagemakeup \placecombinedlist[overviewpage][#1] \stopoverviewpagemakeup} \protect \stopmodule ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/
Re: [NTG-context] expand date from CSV file
Hi Pablo. Peter pointed out an error in my solution. Thanks Peter! His message but pointed out that in fact is not the task as simple as it seems at first glance. In fact, a lot depends on what target group for those you solve a problem resp. whether e.g. date of birth of persons. What does it mean 03/01/00? It means 1/3/1900? Or does it mean 01/03/2000? Particular job you have to deal specifically separately. It occurred to me yet following solution that respects the current year as the year when he could anyone born. E.g. 19/12/14 means a newborn soul (ie. In fact, 12/19/2014), while 01/02/15 mean old man ie. in fact 01/02/1915. For the specific case you have to modify or create the solution separately. Greetings Jaroslav Hajtmar Here is new minimal example: \usemodule[scancsv] \def\ddmm#1#2#3{% #1 - date, #2 - old separator, #3 - new separator \startlua local parsedate=thirddata.scancsv.ParseCSVLine('#1','#2'); local day=tonumber(parsedate[1]); local month=tonumber(parsedate[2]); local year=tonumber(parsedate[3]); if (year<100) then % when is only two digits year format then if year<=14 then % it is very young person year=year+2000 else % this person has more than one hundred years year=year+1900; end; end; tex.print(day..'#3'..month..'#3'..year); \stoplua } \unexpanded\def\lineaction{ \Name\ born \Date\quad (\ddmm{\Date}{/}{.\\,}) \\ } % Content of CSV file: % Name;Date % ME;11/10/14 % You;05/02/14 % He;15/02/2014 % She;03/03/12 % It;03/03/14 % A;11/11/1999 % B;01/2/1964 % C;02/3/23 % D;03/4/64 % E;04/5/00 % F;05/6/01 % G;05/7/15 % H;05/7/1915 % Test0;1/2/00 % Test1;1/2/01 % Test2;1/2/02 % Test3;1/2/03 % Test4;1/2/04 % Test5;1/2/05 % Test6;1/2/06 % Test7;1/2/07 % Test8;1/2/08 % Test9;1/2/09 % Test10;1/2/10 % Test11;1/2/11 % Test12;1/2/12 % Test13;1/2/13 % Test14;1/2/14 % Test15;1/2/15 % Test16;1/2/16 % Test17;1/2/17 % Test18;1/2/18 % Test19;1/2/19 % Test20;1/2/20 \setheader \setsep{;} \setfiletoscan{mail.csv} \starttext \filelineaction \stoptext Dne 18.12.2014 19:07, Pablo Rodriguez napsal(a): On 12/18/2014 01:24 PM, Jaroslav Hajtmar wrote: Hi Pablo, I am sending still slightly modified version (use local variables and better typographic output). It use of much variables, but at least it is clear how it works. For solution occurred me to use parsing function that I have been defined in the library, so that it can be successfully used. Many thanks for your reply, Jaroslav. This is exactly what I need. Many thanks for your help, Pablo \usemodule[scancsv] \def\ddmm#1#2#3{% #1 - date, #2 - old separator, #3 - new separator \startlua local parsedate=thirddata.scancsv.ParseCSVLine('#1','#2'); local day=tonumber(parsedate[1]); local month=tonumber(parsedate[2]); local year=tonumber(parsedate[3]); if (year<2000) then year=year+2000 end; tex.print(day..'#3'..month..'#3'..year); \stoplua } \unexpanded\def\lineaction{ \Name\ arrived on \ddmm{\Date}{/}{.\\,} \\ } % Name;Date % ME;11/10/14 % You;05/02/14 % He;15/02/2014 % She;03/03/12 % It;03/03/14 \setheader \setsep{;} \setfiletoscan{mail.csv} \starttext \filelineaction \stoptext Dne 18.12.2014 9:39, Jaroslav Hajtmar napsal(a): Hi Pablo Here is a quick solution. However, it not treat the incorrect input data, ie it requires, however, correct input, otherwise it will collapse ... Jaroslav Hajtmar \usemodule[scancsv] \def\ddmm#1#2#3{% #1 - date, #2 - old separator, #3 - new separator \startlua parsedate=thirddata.scancsv.ParseCSVLine('#1','#2'); day=tonumber(parsedate[1]); month=tonumber(parsedate[2]); year=tonumber(parsedate[3]); if (year<2000) then year=year+2000 end; tex.print(day..'#3'..month..'#3'..year); \stoplua } \unexpanded\def\lineaction{ \Name\ arrived on \ddmm{\Date}{/}{.} \\ } % Name;Date % ME;11/10/14 % You;05/02/14 % He;15/02/2014 % She;03/03/12 % It;03/03/14 \setheader \setsep{;} \setfiletoscan{mail.csv} \starttext \filelineaction \stoptext Dne 17.12.2014 22:20, Pablo Rodriguez napsal(a): Dear list, I have the following sample: \usemodule[scancsv] \unexpanded\def\lineaction{ \Name\ arrived on \Date\\ } \setheader \setsep{;} \setfiletoscan{mail.csv} \starttext \filelineaction \stoptext that reads data from mail.csv: Name;Date ME;11/10/14 You;05/02/14 He;15/02/2014 She;03/03/12 It;03/03/14 My question is simple (and not related to CSV data import): how can I define a command (ConTeXt or Lua) that changes date format from DD/MM/YY to DD/MM/ when required? Many thanks for your help
Re: [NTG-context] expand date from CSV file
On 12/18/2014 01:37 PM, Peter Münster wrote: > On Thu, Dec 18 2014, Jaroslav Hajtmar wrote: > >> if (year<2000) then year=year+2000 end; > > Hi, > > What about "Test;11/11/1999" ... ;-) Hi Peter, all dates start from this year :-). 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 ___
Re: [NTG-context] expand date from CSV file
On 12/18/2014 01:24 PM, Jaroslav Hajtmar wrote: > Hi Pablo, > I am sending still slightly modified version (use local variables and > better typographic output). > It use of much variables, but at least it is clear how it works. For > solution occurred me to use parsing function that I have been defined in > the library, so that it can be successfully used. Many thanks for your reply, Jaroslav. This is exactly what I need. Many thanks for your help, Pablo > \usemodule[scancsv] > > \def\ddmm#1#2#3{% #1 - date, #2 - old separator, #3 - new separator > \startlua > local parsedate=thirddata.scancsv.ParseCSVLine('#1','#2'); > local day=tonumber(parsedate[1]); > local month=tonumber(parsedate[2]); > local year=tonumber(parsedate[3]); > if (year<2000) then year=year+2000 end; > tex.print(day..'#3'..month..'#3'..year); > \stoplua > } > > \unexpanded\def\lineaction{ > \Name\ arrived on \ddmm{\Date}{/}{.\\,} \\ > } > > > % Name;Date > % ME;11/10/14 > % You;05/02/14 > % He;15/02/2014 > % She;03/03/12 > % It;03/03/14 > > \setheader > \setsep{;} > \setfiletoscan{mail.csv} > > \starttext > \filelineaction > \stoptext > > > > > Dne 18.12.2014 9:39, Jaroslav Hajtmar napsal(a): >> Hi Pablo >> >> Here is a quick solution. However, it not treat the incorrect input >> data, ie it requires, however, correct input, otherwise it will >> collapse ... >> >> Jaroslav Hajtmar >> >> >> >> \usemodule[scancsv] >> >> \def\ddmm#1#2#3{% #1 - date, #2 - old separator, #3 - new separator >> \startlua >> parsedate=thirddata.scancsv.ParseCSVLine('#1','#2'); >> day=tonumber(parsedate[1]); >> month=tonumber(parsedate[2]); >> year=tonumber(parsedate[3]); >> if (year<2000) then year=year+2000 end; >> tex.print(day..'#3'..month..'#3'..year); >> \stoplua >> } >> >> \unexpanded\def\lineaction{ >> \Name\ arrived on \ddmm{\Date}{/}{.} \\ >> } >> >> >> % Name;Date >> % ME;11/10/14 >> % You;05/02/14 >> % He;15/02/2014 >> % She;03/03/12 >> % It;03/03/14 >> >> \setheader >> \setsep{;} >> \setfiletoscan{mail.csv} >> >> \starttext >>\filelineaction >> \stoptext >> >> >> >> >> >> Dne 17.12.2014 22:20, Pablo Rodriguez napsal(a): >>> Dear list, >>> >>> I have the following sample: >>> >>> \usemodule[scancsv] >>> >>> \unexpanded\def\lineaction{ >>> \Name\ arrived on \Date\\ >>> } >>> >>> \setheader >>> \setsep{;} >>> \setfiletoscan{mail.csv} >>> >>> \starttext >>> \filelineaction >>> \stoptext >>> >>> that reads data from mail.csv: >>> >>> Name;Date >>> ME;11/10/14 >>> You;05/02/14 >>> He;15/02/2014 >>> She;03/03/12 >>> It;03/03/14 >>> >>> My question is simple (and not related to CSV data import): how can I >>> define a command (ConTeXt or Lua) that changes date format from DD/MM/YY >>> to DD/MM/ when required? >>> >>> 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 ___
Re: [NTG-context] expand date from CSV file
On Thu, Dec 18 2014, Jaroslav Hajtmar wrote: > if (year<2000) then year=year+2000 end; Hi, What about "Test;11/11/1999" ... ;-) -- Peter ___ 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] expand date from CSV file
Hi Pablo, I am sending still slightly modified version (use local variables and better typographic output). It use of much variables, but at least it is clear how it works. For solution occurred me to use parsing function that I have been defined in the library, so that it can be successfully used. Sincerely Jaroslav Hajtmar \usemodule[scancsv] \def\ddmm#1#2#3{% #1 - date, #2 - old separator, #3 - new separator \startlua local parsedate=thirddata.scancsv.ParseCSVLine('#1','#2'); local day=tonumber(parsedate[1]); local month=tonumber(parsedate[2]); local year=tonumber(parsedate[3]); if (year<2000) then year=year+2000 end; tex.print(day..'#3'..month..'#3'..year); \stoplua } \unexpanded\def\lineaction{ \Name\ arrived on \ddmm{\Date}{/}{.\\,} \\ } % Name;Date % ME;11/10/14 % You;05/02/14 % He;15/02/2014 % She;03/03/12 % It;03/03/14 \setheader \setsep{;} \setfiletoscan{mail.csv} \starttext \filelineaction \stoptext Dne 18.12.2014 9:39, Jaroslav Hajtmar napsal(a): Hi Pablo Here is a quick solution. However, it not treat the incorrect input data, ie it requires, however, correct input, otherwise it will collapse ... Jaroslav Hajtmar \usemodule[scancsv] \def\ddmm#1#2#3{% #1 - date, #2 - old separator, #3 - new separator \startlua parsedate=thirddata.scancsv.ParseCSVLine('#1','#2'); day=tonumber(parsedate[1]); month=tonumber(parsedate[2]); year=tonumber(parsedate[3]); if (year<2000) then year=year+2000 end; tex.print(day..'#3'..month..'#3'..year); \stoplua } \unexpanded\def\lineaction{ \Name\ arrived on \ddmm{\Date}{/}{.} \\ } % Name;Date % ME;11/10/14 % You;05/02/14 % He;15/02/2014 % She;03/03/12 % It;03/03/14 \setheader \setsep{;} \setfiletoscan{mail.csv} \starttext \filelineaction \stoptext Dne 17.12.2014 22:20, Pablo Rodriguez napsal(a): Dear list, I have the following sample: \usemodule[scancsv] \unexpanded\def\lineaction{ \Name\ arrived on \Date\\ } \setheader \setsep{;} \setfiletoscan{mail.csv} \starttext \filelineaction \stoptext that reads data from mail.csv: Name;Date ME;11/10/14 You;05/02/14 He;15/02/2014 She;03/03/12 It;03/03/14 My question is simple (and not related to CSV data import): how can I define a command (ConTeXt or Lua) that changes date format from DD/MM/YY to DD/MM/ when required? Many thanks for your help, Pablo ___ 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] expand date from CSV file
Hi Pablo Here is a quick solution. However, it not treat the incorrect input data, ie it requires, however, correct input, otherwise it will collapse ... Jaroslav Hajtmar \usemodule[scancsv] \def\ddmm#1#2#3{% #1 - date, #2 - old separator, #3 - new separator \startlua parsedate=thirddata.scancsv.ParseCSVLine('#1','#2'); day=tonumber(parsedate[1]); month=tonumber(parsedate[2]); year=tonumber(parsedate[3]); if (year<2000) then year=year+2000 end; tex.print(day..'#3'..month..'#3'..year); \stoplua } \unexpanded\def\lineaction{ \Name\ arrived on \ddmm{\Date}{/}{.} \\ } % Name;Date % ME;11/10/14 % You;05/02/14 % He;15/02/2014 % She;03/03/12 % It;03/03/14 \setheader \setsep{;} \setfiletoscan{mail.csv} \starttext \filelineaction \stoptext Dne 17.12.2014 22:20, Pablo Rodriguez napsal(a): Dear list, I have the following sample: \usemodule[scancsv] \unexpanded\def\lineaction{ \Name\ arrived on \Date\\ } \setheader \setsep{;} \setfiletoscan{mail.csv} \starttext \filelineaction \stoptext that reads data from mail.csv: Name;Date ME;11/10/14 You;05/02/14 He;15/02/2014 She;03/03/12 It;03/03/14 My question is simple (and not related to CSV data import): how can I define a command (ConTeXt or Lua) that changes date format from DD/MM/YY to DD/MM/ when required? Many thanks for your help, Pablo ___ 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] expand date from CSV file
Dear list, I have the following sample: \usemodule[scancsv] \unexpanded\def\lineaction{ \Name\ arrived on \Date\\ } \setheader \setsep{;} \setfiletoscan{mail.csv} \starttext \filelineaction \stoptext that reads data from mail.csv: Name;Date ME;11/10/14 You;05/02/14 He;15/02/2014 She;03/03/12 It;03/03/14 My question is simple (and not related to CSV data import): how can I define a command (ConTeXt or Lua) that changes date format from DD/MM/YY to DD/MM/ when required? 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 ___
Re: [NTG-context] [garden] git mirror not syncing
· > On 12/8/2014 8:18 PM, Philipp Gesang wrote: > > Hi, > > > > the garden repo hasn’t been updated for months: > > > > http://git.contextgarden.net/context/context/commits/master > > > > Maybe a cron job got stuck? > > just mojca being away for a while and busy now, so eventually it will be > up to date again Okay, thanks. > (of course context has been updated a couple of times) I hope the script that imports files into the repo is still active. Best, Philipp pgpgT3R05zVui.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] [garden] git mirror not syncing
On 12/8/2014 8:18 PM, Philipp Gesang wrote: Hi, the garden repo hasn’t been updated for months: http://git.contextgarden.net/context/context/commits/master Maybe a cron job got stuck? just mojca being away for a while and busy now, so eventually it will be up to date again (of course context has been updated a couple of times) 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] Strange behavior of a macro with ConTeXt ver : 2014.11.12 9:46 p.m. MKIV beta
Hi, Macro written by Hans does not work. Best regards, Fabrice % macros=mkvi \starttext \starttexdefinition MyOtherHeader #where #day #month #year #title \defineoverlay[whatever][\useMPgraphic{whatever}] \startuseMPgraphic{whatever} path p; p:=fullsquare xyscaled (\overlaywidth,\overlayheight) squeezed 1pt; fill p withcolor white ; draw p withpen pencircle scaled 2pt withcolor 0.625white ; picture d ; d := textext("\quad#where\space\endash\space\date[d=#day,m=#month,y=#year]\quad") shifted .5[ulcorner p,urcorner p]; fill boundingbox d withcolor white ; draw d ; setbounds currentpicture to p ; \stopuseMPgraphic \framed [ width=\hsize, height=5em, foregroundstyle=\itx, Background=whatever, frame=off, ] {#title } \stoptexdefinition \MyOtherHeader{Premières STMGB-STMGD}{17}{11}{2014}{{\ss \tfb \bf Second degré : résolution d'une équation du second degré}} \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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] TikZ on the garden
Hi, What exactly should I to do with respect to TikZ on the garden (for the minimals)? Switch to the version of TikZ and pgfplots from TL 2014 + replace t-tikz.tex with Hans' version and freeze in that state until TikZ is fixed upstream? Or just freeze at whatever version is in CVS at the moment and patch t-tikz.tex and wait for the patch? Any other/better suggestions? And what version of pgfplots should I take? Does anyone need the latest functionality of TikZ or pgfplots? Ideally it would be nice if TikZ was fixed upstream, but developers are currently busy and would like to understand patches before applying them, so it might take a while before the code gets fixed. I hate having to use CVS to go back in time (svn or git would be easier to deal with; what date to use for CVS), but if that's the only option ... 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] mail merge in mkiv?
On 11/10/2014 12:17 AM, Jaroslav Hajtmar wrote: > Hello Pablo. > Here is example of add days in Lua: > > \startluacode > x=5 -- add five days > tex.print ('Actual date is :'..os.date('%d.%m.%Y')..'\\crlf') > tex.print ( 'And x days added date is :'.. os.date('%d.%m.%Y',os.time()+ > x * 24 * 3600)) > \stopluacode Many thanks for the reply, Jaroslav. I wanted to avoid Saturdays and Sundays, so I wrote: \startluacode x = 1 final_date = os.date('%a',os.time()+ x * 24 * 3600) if final_date == "Sat" then x = x + 2 elseif final_date == "Sun" then x = x + 1 end tex.print ( os.date('%d/%m/%Y',os.time()+ x * 24 * 3600)) \stopluacode This is all Greek to me, but it seems to work. Many thanks for your help again, 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 ___
Re: [NTG-context] mail merge in mkiv?
Hello Pablo. Here is example of add days in Lua: \startluacode x=5 -- add five days tex.print ('Actual date is :'..os.date('%d.%m.%Y')..'\\crlf') tex.print ( 'And x days added date is :'.. os.date('%d.%m.%Y',os.time()+ x * 24 * 3600)) \stopluacode Jaroslav Hajtmar Dne 9.11.2014 22:49, Pablo Rodriguez napsal(a): On 11/09/2014 03:59 PM, Jaroslav Hajtmar wrote: Hello Pablo. The module I created about before 4 years ago, when I wanted to learn to program in Lua. Therefore, I think that my module is too rudimentary and not quite optimized. Unfortunately, since I do not now use much Lua, so I dare not reasonably somehow finish. Before inclusion in third party modules that would probably have to take some experienced Lua expert and redo the whole module. For my needs it is enough. I use this module very often for my practise (I am teacher). Perhaps it helped a little. Greetings Jaroslav Hajtmar Many thanks for the module, Jaroslav. BTW, wouldn’t you know how can I set a \date using Lua that adds x working days to the current date? Many thanks for your help, Pablo ___ 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] mail merge in mkiv?
On 11/09/2014 03:59 PM, Jaroslav Hajtmar wrote: > Hello Pablo. > The module I created about before 4 years ago, when I wanted to learn to > program in Lua. Therefore, I think that my module is too rudimentary and > not quite optimized. Unfortunately, since I do not now use much Lua, so > I dare not reasonably somehow finish. Before inclusion in third party > modules that would probably have to take some experienced Lua expert and > redo the whole module. For my needs it is enough. I use this module very > often for my practise (I am teacher). Perhaps it helped a little. > Greetings Jaroslav Hajtmar Many thanks for the module, Jaroslav. BTW, wouldn’t you know how can I set a \date using Lua that adds x working days to the current date? 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 ___
Re: [NTG-context] Strange behavior with the command \color[]{}
On Thu, Nov 6, 2014 at 10:28 PM, Herbert Voss wrote: > Am 06.11.2014 um 21:16 schrieb luigi scarso: > > > > \definecolor[H1prime][c=0.50, m=0.00, y=1.00, k=0.00] > [...] > > > \setupTABLE[column][1][width=4cm,align={right,lohi},frame=on]%,framecolor=H1prime] > > > > > The problem seems to be > > %,framecolor=H1prime] > > > I have no problem with "framecolor=H1prime" setting. > I am using ConTeXt minimal copied into my up-to-date TL 2014. > hm the I have just update the TL 2014, and there is still the error. The latest t-tikz.tex form Hans solves the problems both in TL 2014 and standalone. -- 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] Strange behavior with the command \color[]{}
Am 06.11.2014 um 21:16 schrieb luigi scarso: > > \definecolor[H1prime][c=0.50, m=0.00, y=1.00, k=0.00] [...] > \setupTABLE[column][1][width=4cm,align={right,lohi},frame=on]%,framecolor=H1prime] > The problem seems to be > %,framecolor=H1prime] I have no problem with "framecolor=H1prime" setting. I am using ConTeXt minimal copied into my up-to-date TL 2014. Herbert ___ 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] Starting with bibliography / international entries
On 10/14/2014 10:19 AM, Ulrike Fischer wrote: Am Mon, 13 Oct 2014 18:22:09 +0200 schrieb Hans Hagen: I found this about BibLaTeX / Babel: http://tex.stackexchange.com/questions/28010/how-to-create-multilingual-english-japanese-bibliographies-with-biblatex-bib It’s nearly the same problem as mine. BibLaTeX 3.0 + Biber 2.0 are advertised to support this syntax: Well actually (after a renumbering) one needs biblatex 4.0 and biber 3.0. @COLLECTION{yanagida_zengaku_sosho_1975, LANGID = {japanese}, EDITOR = {柳田聖山}, EDITOR_romanised = {Yanagida, Seizan}, TITLE = {禪學叢書}, TITLE_romanised = {Chūbun shuppansha}, TITLE_translated_english = {Collected Materials for the Study of Zen}, LOCATION = {京都}, LOCATION_romanised = {Kyōto}, LOCATION_translated_english = {Kyoto}, PUBLISHER = {中文出版社}, PUBLISHER_romanised = {Chūbun shuppansha}, DATE = {1974/1977} } … and extract the right version according to configuration. Is there support for these constructed keys in ConTeXt? sure, you can use any field you like and you can adapt yoru rendering setups to use them the problem is not so much to support variants of fields (although I really dislike this mixed upper/lowercase mess) You can write everything in lowercase if you want. The syntax only expects the _ to separate the main field and the variant/language. the main question is: how mixed is this used? are EDITOR and EDITOR_whatever used at the same time? You can. There are commands to choose a specific variant, but you can also define fallbacks. So something like "Editor (Editor_translated)" or "Editor translated but fall back to editor if it doesn't exist" is possible. The main problem is not to get lost in the variants/fallback chains. That was my initial impression too. There are simply too many combination possible. In such a case it makes more sense to tune the rendering than to figure out all the options. So, in context speak that would mean something: \btxdoif {title} { \btxspace \btxflush{title} \btxdoifelse {title_variant_b} { \btxleftparenthesis \btxflush{title_variant_b} \btxrightparenthesis } { \btxdoif {title_variant_a} { \btxleftparenthesis \btxflush{title_variant_a} \btxrightparenthesis } } \btxperiod } Authors are of course somewhat more complex as there one needs to deal with the way names are constructed. But even then, in such cases adapting a few setups is not most work. Another problem is to get name lists right: After all it is possible that only some authors needs to be romanised. But with the help of the name hashes I was at the end able to do something like "Müller and 柳田聖山 (Yanagida, Seizan) ..." so basically you order by a mix of name and romanized name (or romanized name with name as fallback)? Smaller problems are how to write the names correctly -- after all not everywhere in the world names follows the "lastname, fistname" convention. yes, although if you use APA it might have rules for that (but that is Alan's speciality) 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] Starting with bibliography / international entries
Am Mon, 13 Oct 2014 18:22:09 +0200 schrieb Hans Hagen: >> I found this about BibLaTeX / Babel: >> http://tex.stackexchange.com/questions/28010/how-to-create-multilingual-english-japanese-bibliographies-with-biblatex-bib >> It’s nearly the same problem as mine. >> >> BibLaTeX 3.0 + Biber 2.0 are advertised to support this syntax: Well actually (after a renumbering) one needs biblatex 4.0 and biber 3.0. >> >> @COLLECTION{yanagida_zengaku_sosho_1975, >>LANGID = {japanese}, >>EDITOR = {柳田聖山}, >>EDITOR_romanised = {Yanagida, Seizan}, >>TITLE = {禪學叢書}, >>TITLE_romanised = {Chūbun shuppansha}, >>TITLE_translated_english = {Collected Materials for the Study of Zen}, >>LOCATION = {京都}, >>LOCATION_romanised = {Kyōto}, >>LOCATION_translated_english = {Kyoto}, >>PUBLISHER = {中文出版社}, >>PUBLISHER_romanised = {Chūbun shuppansha}, >>DATE = {1974/1977} >> } >> >> … and extract the right version according to configuration. >> Is there support for these constructed keys in ConTeXt? > > sure, you can use any field you like and you can adapt yoru rendering > setups to use them > > the problem is not so much to support variants of fields (although I > really dislike this mixed upper/lowercase mess) You can write everything in lowercase if you want. The syntax only expects the _ to separate the main field and the variant/language. > the main question is: how mixed is this used? are EDITOR and > EDITOR_whatever used at the same time? You can. There are commands to choose a specific variant, but you can also define fallbacks. So something like "Editor (Editor_translated)" or "Editor translated but fall back to editor if it doesn't exist" is possible. The main problem is not to get lost in the variants/fallback chains. Another problem is to get name lists right: After all it is possible that only some authors needs to be romanised. But with the help of the name hashes I was at the end able to do something like "Müller and 柳田聖山 (Yanagida, Seizan) ..." Smaller problems are how to write the names correctly -- after all not everywhere in the world names follows the "lastname, fistname" convention. I had some longer discussion about this with the biber/biblatex-maintainer: https://github.com/plk/biblatex/issues/132 -- Ulrike Fischer http://www.troubleshooting-tex.de/ ___ 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] Starting with bibliography / international entries
On 10/13/2014 5:18 PM, Henning Hraban Ramm wrote: Am 2014-10-13 um 18:00 schrieb Henning Hraban Ramm : Am 2014-10-13 um 16:49 schrieb Wolfgang Schuster : The context suite comes with the file mkiv-publications.pdf which is the manual for the new bibliography mechanism. Thanks for the hint, I didn’t look after that. I guess I will use the Lua syntax, since it’s the shortest. … or stay with .bib, since there are tools for it, and maybe someone else might need my data. And hopefully I’ll figure out how to setup the output ;-) But how would you cope with the international (i.e. Cyrillic) titles/authors? Should I define fields like author_original or is there a better way (maybe define the book twice, using crossref)? I found this about BibLaTeX / Babel: http://tex.stackexchange.com/questions/28010/how-to-create-multilingual-english-japanese-bibliographies-with-biblatex-bib It’s nearly the same problem as mine. BibLaTeX 3.0 + Biber 2.0 are advertised to support this syntax: @COLLECTION{yanagida_zengaku_sosho_1975, LANGID = {japanese}, EDITOR = {柳田聖山}, EDITOR_romanised = {Yanagida, Seizan}, TITLE = {禪學叢書}, TITLE_romanised = {Chūbun shuppansha}, TITLE_translated_english = {Collected Materials for the Study of Zen}, LOCATION = {京都}, LOCATION_romanised = {Kyōto}, LOCATION_translated_english = {Kyoto}, PUBLISHER = {中文出版社}, PUBLISHER_romanised = {Chūbun shuppansha}, DATE = {1974/1977} } … and extract the right version according to configuration. Is there support for these constructed keys in ConTeXt? sure, you can use any field you like and you can adapt yoru rendering setups to use them the problem is not so much to support variants of fields (although I really dislike this mixed upper/lowercase mess) the main question is: how mixed is this used? are EDITOR and EDITOR_whatever used at the same time? 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] Starting with bibliography / international entries
Am 2014-10-13 um 18:00 schrieb Henning Hraban Ramm : > Am 2014-10-13 um 16:49 schrieb Wolfgang Schuster > : > >> The context suite comes with the file mkiv-publications.pdf which is the >> manual for the new bibliography mechanism. > > Thanks for the hint, I didn’t look after that. > > I guess I will use the Lua syntax, since it’s the shortest. … or stay with .bib, since there are tools for it, and maybe someone else might need my data. > And hopefully I’ll figure out how to setup the output ;-) > > But how would you cope with the international (i.e. Cyrillic) titles/authors? > Should I define fields like author_original or is there a better way (maybe > define the book twice, using crossref)? I found this about BibLaTeX / Babel: http://tex.stackexchange.com/questions/28010/how-to-create-multilingual-english-japanese-bibliographies-with-biblatex-bib It’s nearly the same problem as mine. BibLaTeX 3.0 + Biber 2.0 are advertised to support this syntax: @COLLECTION{yanagida_zengaku_sosho_1975, LANGID = {japanese}, EDITOR = {柳田聖山}, EDITOR_romanised = {Yanagida, Seizan}, TITLE = {禪學叢書}, TITLE_romanised = {Chūbun shuppansha}, TITLE_translated_english = {Collected Materials for the Study of Zen}, LOCATION = {京都}, LOCATION_romanised = {Kyōto}, LOCATION_translated_english = {Kyoto}, PUBLISHER = {中文出版社}, PUBLISHER_romanised = {Chūbun shuppansha}, DATE = {1974/1977} } … and extract the right version according to configuration. Is there support for these constructed keys in ConTeXt? Greetlings, Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ 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] Automatic reference prefixing in heads with prefix=+ broken?
On Tue, Sep 30, 2014 at 8:08 AM, Christoph Reller < christoph.rel...@gmail.com> wrote: > On Sat, Sep 27, 2014 at 12:00 PM, Christoph Reller < > christoph.rel...@gmail.com> wrote: > >> Hi, >> >> Various documents mention a namespace feature for references by setting >> prefix=+. This is a really cool feature but I cannot get it to work. Why >> does the following example not work: >> >> \setupinteraction[state=start] >> \setuphead[chapter][prefix=+] >> >> \starttext >> >> \startchapter[reference=chap1,title={First Chapter}] >> \startsection[reference=sec1,title={First Section in First Chapter}] >> Reference \type{sec1} is \about[sec1].\par >> Reference \type{chap2:sec1} is \about[chap2:sec1].\par >> \stopsection >> \stopchapter >> >> \startchapter[reference=chap2,title={Second Chapter}] >> \startsection[reference=sec1,title={First Section in Second Chapter}] >> Reference \type{sec1} is \about[sec1].\par >> Reference \type{chap1:sec1} is \about[chap1:sec1].\par >> \stopsection >> \stopchapter >> >> \stoptext >> >> Any help is appreciated. >> >> Christoph Reller >> > > Does anybody have a minimal working example on this topic? Because of the > concise syntax "prefix=+" it is difficult to google for an example. > > This feature is mentioned in two places: > 1. contextref.pdf in section "12.5 Cross references" explains the main > mechanism but seems a little outdated. > 2. Hans Hagen, "This Way - Cross document referencing", September 2011. > This is more up to date, but mentions the feature only briefly. The > mentioned key there is not "prefix" but "referenceprefix", which doesn't > seem to work either. > > Regards, > Christoph Reller > Hi everybody Is automatic prefixing of references partially broken? I have found the following example for mkiv in the unofficial test suite ( https://github.com/melmothx/context-unofficial-test-suite): \setuphead[chapter][referenceprefix=+] \starttext \chapter[one]{Chapter One} \section[bla]{Blablabla} \chapter[two]{Chapter Two} See \in{Section}[one:bla] \stoptext The test suite also contains the output pdf with the correct reference. So there must have been a time when mkiv did resolve the reference in the above example correctly. On my ConTeXt standalone dating 2014.08.19 11:57, the above example does, however, not work. The example does only a test of "non-local" references (from within the namespace "two" to the different namespace "one"). Local references do, however, work even with my version of ConTeXt. Here is an example: \setuphead[chapter][referenceprefix=+] \starttext \startchapter[reference=chap1,title=First Chapter] \startsection[reference=sec1,title=First Section in First Chapter] Reference \type{sec1} is \about[sec1]. \stopsection \stopchapter \startchapter[reference=chap2,title=Second Chapter] \startsection[reference=sec1,title=First Section in Second Chapter] Reference \type{sec1} is \about[sec1]. \stopsection \stopchapter \stoptext But how can I now reference chap1:sec1 from withing chap2? I tried \about[chap1:sec1], but in vain. Referencing the global namespace with "-:" does, surprisingly, work. Here is an example: \setuphead[chapter][referenceprefix=+] \starttext \startsection[reference=sec1,title=Freefloating Section] \about[sec1] \stopsection \startchapter[reference=chap1,title=First Chapter] \startsection[reference=sec1,title=First Section in First Chapter] Reference \type{sec1} is \about[sec1].\par Reference \type{-:sec1} is \about[-:sec1] \stopsection \stopchapter \stoptext Any help is appreciated. Regards, Christoph Reller ___ 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] Automatic reference prefixing in heads with prefix=+
On Sat, Sep 27, 2014 at 12:00 PM, Christoph Reller < christoph.rel...@gmail.com> wrote: > Hi, > > Various documents mention a namespace feature for references by setting > prefix=+. This is a really cool feature but I cannot get it to work. Why > does the following example not work: > > \setupinteraction[state=start] > \setuphead[chapter][prefix=+] > > \starttext > > \startchapter[reference=chap1,title={First Chapter}] > \startsection[reference=sec1,title={First Section in First Chapter}] > Reference \type{sec1} is \about[sec1].\par > Reference \type{chap2:sec1} is \about[chap2:sec1].\par > \stopsection > \stopchapter > > \startchapter[reference=chap2,title={Second Chapter}] > \startsection[reference=sec1,title={First Section in Second Chapter}] > Reference \type{sec1} is \about[sec1].\par > Reference \type{chap1:sec1} is \about[chap1:sec1].\par > \stopsection > \stopchapter > > \stoptext > > Any help is appreciated. > > Christoph Reller > Does anybody have a minimal working example on this topic? Because of the concise syntax "prefix=+" it is difficult to google for an example. This feature is mentioned in two places: 1. contextref.pdf in section "12.5 Cross references" explains the main mechanism but seems a little outdated. 2. Hans Hagen, "This Way - Cross document referencing", September 2011. This is more up to date, but mentions the feature only briefly. The mentioned key there is not "prefix" but "referenceprefix", which doesn't seem to work either. Regards, Christoph Reller ___ 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] about Noto Sans CJK font problem
Dear Akira, Thank you for your test. I updated to ConTeXt ver: 2014.09.26 11:42 MKIV beta and test it again. But I got the same error. There may be another problem which I don’t know. Thank you again. Best regards, Dalyoung > -- > > Message: 6 > Date: Sat, 27 Sep 2014 10:30:51 +0900 > From: "Akira Kakuto" > To: > Subject: [NTG-context] about Noto Sans CJK font problem > Message-ID: <2136E6CBAF67499789D6C08EDA3FE859@CJ3001517A> > Content-Type: text/plain; charset="utf-8"; Format="flowed" > >> Recently, I installed ?Noto Sans CJK? font which is developed by Adobe and >> Google. >> After ?mtxrun ?generate?, luatex locates the font. >> >> For test, I run the following code and got ?fatal error:no return code? >> message. Even though I didn?t include Korea test, it >> says the same error message. > > In the case of NotoSansCJKjp-Regular, context ends > without errors (mtx-context | current version: 2014.09.26 11:42). > However the resulting PDF shows incorrect > characters. I attach nototest.tar.gz: > source = u.tex > result = u.pdf > Compare with the correct XeTeX case: > source = u1.tex > result = u1.pdf > > Best, > Akira > -- next part -- > A non-text attachment was scrubbed... > Name: nototest.tar.gz > Type: application/x-gzip > Size: 9937 bytes > Desc: not available > URL: > <http://www.ntg.nl/pipermail/ntg-context/attachments/20140927/a0769181/attachment.bin> > > -- > > ___ > 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 > ___ > > End of ntg-context Digest, Vol 123, Issue 40 > ___ 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] s-mod produces "system > error: invalid parameter ..."
Am 21.09.2014 um 15:29 schrieb Christoph Reller : > Hi, > > Probably this is a minor thing. When processing the following module template: > > %D \module[ > %D file=p-Mymod, > %D title=The Mymod Module, > %D author=The Author, > %D date=\currentdate, > %D ] > %M \usemodule[Mymod] > %D Hello > \writestatus{loading}{ConTeXt User Module / Mymod} > \unprotect > \protect > \endinput > > with: > > context --ctx=s-mod p-Mymod.mkiv > > then the console output contains: > > system > error: invalid parent type for parametercommand, type > defined too (best check it) > > The output module documentation is, however, produced correctly. I assume > that this is harmless, but it would be nice if the log file contained no > "error" message if the processing was successful. The error message is produced by the following line in x-set-11.mkiv: \definetype[parametercommand][type] The problem is the parent setting for the \parametercommand command which doesn’t exist because the \type command isn’t created with \definetype[type]. 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 ___
[NTG-context] s-mod produces "system > error: invalid parameter ..."
Hi, Probably this is a minor thing. When processing the following module template: %D \module[ %D file=p-Mymod, %D title=The Mymod Module, %D author=The Author, %D date=\currentdate, %D ] %M \usemodule[Mymod] %D Hello \writestatus{loading}{ConTeXt User Module / Mymod} \unprotect \protect \endinput with: context --ctx=s-mod p-Mymod.mkiv then the console output contains: system > error: invalid parent type for parametercommand, type defined too (best check it) The output module documentation is, however, produced correctly. I assume that this is harmless, but it would be nice if the log file contained no "error" message if the processing was successful. Thank you for any feedback, Christoph Reller ___ 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] E-books and XML.
On 8/28/2014 12:54 PM, Henning Hraban Ramm wrote: Am 2014-08-28 um 14:22 schrieb Hans Hagen : http://www.w3.org/1998/Math/MathML date-Thu Aug 28 14:00:55 2014 author-Henning Hraban Ramm, fiëé visuëlle version-0.31 title-Gestammelte Werke context-2014.08.27 11:51 file-prd_hraban language-de xmlns:xhtml-http://www.w3.org/1999/xhtml";> that one is already fixed good Henning Hraban Ramm, fiëé visuëlle those are is okay as a class can have multiple names and the attribute-name prefix can be used for further css detailing ... so we export both xthml old style (using tags, something that browsers understand) and xhtml new style (something that epub devices might be able to handle) Ok, I don’t care, will continue to use the XML. Next issue: I just recognized there’s a problem with references, esp. register: Erinnerung Erinnerung 4 Vor meinem inn’ren Auge schweben Namen 4 (These are title and start of lyrics of a song.) Beside the inconvenience that there is no node wrapping registerentry and registerpages, the locations don’t match. If there are several index entries pointing to the same point (page), as here, they’re continuously numbered, so that it’s no solution to just subtract 1, as I do at the moment to create my ToC. new beta \setupbackend [export=yes, xhtml=yes, css=export-example.css] \starttext \index{foo}foo \page \index{bar}bar \page \index{foo}foo \page \index{bar}bar \page \index{foo+test}foo \page \index{bar+test}bar \page \placeregister[index] \stoptext gives: b bar 2,4 test 6 f foo 1,3 test 5 Maybe the internal location numbers mean something, but I need a working reference; export.xml doesn’t know anything about pages, therefore the destination makes no sense. Doesn’t ConTeXt have some unique internal reference name? Greetlings, Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ 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 ___ -- - 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] E-books and XML.
On 8/28/2014 12:54 PM, Henning Hraban Ramm wrote: Am 2014-08-28 um 14:22 schrieb Hans Hagen : http://www.w3.org/1998/Math/MathML date-Thu Aug 28 14:00:55 2014 author-Henning Hraban Ramm, fiëé visuëlle version-0.31 title-Gestammelte Werke context-2014.08.27 11:51 file-prd_hraban language-de xmlns:xhtml-http://www.w3.org/1999/xhtml";> that one is already fixed good Henning Hraban Ramm, fiëé visuëlle those are is okay as a class can have multiple names and the attribute-name prefix can be used for further css detailing ... so we export both xthml old style (using tags, something that browsers understand) and xhtml new style (something that epub devices might be able to handle) Ok, I don’t care, will continue to use the XML. Next issue: I just recognized there’s a problem with references, esp. register: Erinnerung Erinnerung 4 Vor meinem inn’ren Auge schweben Namen 4 (These are title and start of lyrics of a song.) Beside the inconvenience that there is no node wrapping registerentry and registerpages, the locations don’t match. If there are several index entries pointing to the same point (page), as here, they’re continuously numbered, so that it’s no solution to just subtract 1, as I do at the moment to create my ToC. no test file ... no solution ... Maybe the internal location numbers mean something, but I need a working reference; export.xml doesn’t know anything about pages, therefore the destination makes no sense. Doesn’t ConTeXt have some unique internal reference name? Greetlings, Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ 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 ___ -- - 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] E-books and XML.
On 8/28/2014 12:54 PM, Henning Hraban Ramm wrote: Am 2014-08-28 um 14:22 schrieb Hans Hagen : http://www.w3.org/1998/Math/MathML date-Thu Aug 28 14:00:55 2014 author-Henning Hraban Ramm, fiëé visuëlle version-0.31 title-Gestammelte Werke context-2014.08.27 11:51 file-prd_hraban language-de xmlns:xhtml-http://www.w3.org/1999/xhtml";> that one is already fixed good Henning Hraban Ramm, fiëé visuëlle those are is okay as a class can have multiple names and the attribute-name prefix can be used for further css detailing ... so we export both xthml old style (using tags, something that browsers understand) and xhtml new style (something that epub devices might be able to handle) Ok, I don’t care, will continue to use the XML. Next issue: I just recognized there’s a problem with references, esp. register: Erinnerung Erinnerung 4 Vor meinem inn’ren Auge schweben Namen 4 (These are title and start of lyrics of a song.) Beside the inconvenience that there is no node wrapping registerentry and registerpages, the locations don’t match. If there are several index entries pointing to the same point (page), as here, they’re continuously numbered, so that it’s no solution to just subtract 1, as I do at the moment to create my ToC. Maybe the internal location numbers mean something, but I need a working reference; export.xml doesn’t know anything about pages, therefore the destination makes no sense. Doesn’t ConTeXt have some unique internal reference name? the internals are the unique ones - 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] E-books and XML.
Am 2014-08-28 um 14:22 schrieb Hans Hagen : >> http://www.w3.org/1998/Math/MathML date-Thu Aug >> 28 14:00:55 2014 author-Henning Hraban Ramm, fiëé visuëlle version-0.31 >> title-Gestammelte Werke context-2014.08.27 11:51 file-prd_hraban language-de >> xmlns:xhtml-http://www.w3.org/1999/xhtml";> > > that one is already fixed good >> >> >>Henning Hraban Ramm, fiëé >> visuëlle > > those are is okay as a class can have multiple names and the attribute-name > prefix can be used for further css detailing ... so we export both xthml old > style (using tags, something that browsers understand) and xhtml new style > (something that epub devices might be able to handle) Ok, I don’t care, will continue to use the XML. Next issue: I just recognized there’s a problem with references, esp. register: ... Erinnerung ... Erinnerung 4 ... Vor meinem inn’ren Auge schweben Namen 4 (These are title and start of lyrics of a song.) Beside the inconvenience that there is no node wrapping registerentry and registerpages, the locations don’t match. If there are several index entries pointing to the same point (page), as here, they’re continuously numbered, so that it’s no solution to just subtract 1, as I do at the moment to create my ToC. Maybe the internal location numbers mean something, but I need a working reference; export.xml doesn’t know anything about pages, therefore the destination makes no sense. Doesn’t ConTeXt have some unique internal reference name? Greetlings, Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ 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] E-books and XML.
On 8/28/2014 10:10 AM, Henning Hraban Ramm wrote: Am 2014-08-27 um 16:06 schrieb Hans Hagen : \setupbackend [export=yes, xhtml=yes, css=export-example.css] also exports an html file with all tags being 'div' and the default css has been adapted to support both. The default css still need some work because not all browsers handle these div expressions equally well. The idea is to have a decent looking default as template (one can always overload). I have no ebook device (threw away the broken very old one) so no testing of that part done. Unfortunately, in that new HTML file, you put all attributes into the class name, so it makes more sense to translate the XML as before. e.g. http://www.w3.org/1998/Math/MathML date-Thu Aug 28 14:00:55 2014 author-Henning Hraban Ramm, fiëé visuëlle version-0.31 title-Gestammelte Werke context-2014.08.27 11:51 file-prd_hraban language-de xmlns:xhtml-http://www.w3.org/1999/xhtml";> that one is already fixed Henning Hraban Ramm, fiëé visuëlle those are is okay as a class can have multiple names and the attribute-name prefix can be used for further css detailing ... so we export both xthml old style (using tags, something that browsers understand) and xhtml new style (something that epub devices might be able to handle) 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] E-books and XML.
Am 2014-08-27 um 16:06 schrieb Hans Hagen : >\setupbackend > [export=yes, > xhtml=yes, > css=export-example.css] > > also exports an html file with all tags being 'div' and the default css has > been adapted to support both. The default css still need some work because > not all browsers handle these div expressions equally well. The idea is to > have a decent looking default as template (one can always overload). > > I have no ebook device (threw away the broken very old one) so no testing of > that part done. Unfortunately, in that new HTML file, you put all attributes into the class name, so it makes more sense to translate the XML as before. e.g. http://www.w3.org/1998/Math/MathML date-Thu Aug 28 14:00:55 2014 author-Henning Hraban Ramm, fiëé visuëlle version-0.31 title-Gestammelte Werke context-2014.08.27 11:51 file-prd_hraban language-de xmlns:xhtml-http://www.w3.org/1999/xhtml";> Henning Hraban Ramm, fiëé visuëlle Greetlings, Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ 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] ANNOUNCEMENT: Arabic-Latin Modern Fixed
[This announcement is dedicated to the 110% recovery and return of our visionary and fearless leader Hans Hagen: Three cheers to you, Hans!!!] Dear gang, It's my pleasure to announce the release of Arabic-Latin Modern Fixed, a monospaced font that extends TeX-Gyre Latin Modern Mono 10 Regular. It has been uploaded to CTAN, although I do not know how long it will take for the CTAN people to approve and publish it. Eventually it will make it's way into the ConTeXt minimals as well. Until then, you may use this private link: https://www.dropbox.com/s/pulgaxshzr5bcmy/almfixed.zip README.txt is reproduced below. Future plans include both bold and proportional versions. Enjoy and Best wishes Idris -- Idris Samawi Hamid Professor of Philosophy Colorado State University Fort Collins, CO 80523 ==README.txt== Typeface Family: Arabic-Latin Modern Font: Arabic-Latin Modern Fixed Style: Regular Version: 0.92 Author: Idris Samawi Hamid Date: August 5, 2014 License: Arabic-Latin Modern Fixed is licensed under the GUST Font License with one important adjustment: It is requested, as well as legally *required*, that derived works be distributed only after changing the names of the fonts comprising this work. http://www.gust.org.pl/projects/e-foundry/licenses/GUST-FONT-LICENSE.txt/view Contains: http://www.ctan.org/tex-archive/fonts/doc/almfixed-dtk.pdf http://www.ctan.org/tex-archive/fonts/ps; http://www.ctan.org/tex-archive/fonts/tt; Some notes, in no particular order: 1. For more extensive documentation, examples, and background; see almfixed-dtk.pdf. 2. The final version number (per any future fixes, maintenance etc.) is intended to be Version 1.10. 3. Arabic-Latin Modern Fixed is an extension of TeX-Gyre Latin Modern Mono 10 Regular. Every glyph and opentype feature of the Latin Modern Mono has been retained, with minor improvements. On the other hand, we have changed the vertical metrics of the font. Although the Arabic script is designed to use the same x-size as Latin Modern Mono, the former script needs greater ascender and descender space. And there are cases (such as certain kinds of academic assignment and definitely mixed Latin and Arabic text) where Latin can use the extra vertical space as well. Otherwise, only the vertical metrics prevents this from being a drop-in replacement for Latin Modern Mono . Of course one can always set the vertical metrics in TeX to match LM Mono. 4. Every Arabic glyph in each Unicode-code block is supported (up to Unicode 7.0): Arabic, Arabic Supplement, Arabic Extended, Arabic Presentation-Forms A, and Arabic Presentation-Forms B. 5. This is a totally original design, using the Knuthian letters as inspiration. Indeed, virtually all Arabic characters were developed on the foundation of a study of the Latin Modern Mono letters 'l', 'r', and 'c'. In other words, this is a genuine extension of the original Knuthian design to an authentic and culturally authentic Arabic typing font. 6. There are two versions of the font: ps and tt. The Type~1 version is for print applications (and usually the default for TeX). The TrueType version is for on-screen applications such as text editors. Hinting in the tt version is much better for on-screen, at least on Microsoft Windows. 7. The most unique feature of Arabic-Latin Modern is in its treatment of vowels and diacritics. Each vowel and diacritic (ALM Fixed contains a total of 68 such glyphs) can now be edited horizontally within any text editor or processor. I believe this is the very first opentype Arabic font ever to have this capability. Editing complex Arabic texts will now be much easier to input and to proofread. 8. At least 12 additional format characters are included; see almfixed-dtk.pdf for details. Also designed a glyph representation for U+00A0 (no-break space), as well as U+25CC (dotted circle). 9. Arabic-Latin Modern Mono will be a boon to scholars, academics, coder editors, and anyone who wants to manage the entry of the wide array of Unicode Arabic text for editing, verbatim, or other purposes. == ___ 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] Date format problems
On 07/29/2014 11:14 AM, Herbert Voss wrote: Am 29.07.2014 10:02, schrieb A.J. Bonnema: I started using ConteXt a while ago, on the side line I still use LaTeX (old habits die hard). When converting my CV to ConTeXt I have a weird date problem. I hope one of you can point me in the right direction. I copy the start of the document from vi (line 4 is the relevant line): \setuppapersize[A4] 2 \setuplayout[style=\ss] 3 %\setupfooter[style=] 4 \setuplanguage[nl][date={dd, -, mm, -, year}] \mainlanguage[nl] Herbert Thanks Herbert. I editted the wiki page of Command/date to add a remark on this connection. Please check for accuracy. Guus. ___ 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] Date format problems
Am 29.07.2014 10:02, schrieb A.J. Bonnema: > I started using ConteXt a while ago, on the side line I still use LaTeX > (old habits die hard). When converting my CV to ConTeXt I have a weird > date problem. I hope one of you can point me in the right direction. I > copy the start of the document from vi (line 4 is the relevant line): > > \setuppapersize[A4] > 2 \setuplayout[style=\ss] > 3 %\setupfooter[style=] > 4 \setuplanguage[nl][date={dd, -, mm, -, year}] \mainlanguage[nl] Herbert > 5 > 6 \setupheadertexts[CV Guus Bonnema] > 7 \setupfootertexts[\currentdate][pagenumber] > 8 > 9 %\definebodyfont[10pt][ss][tfe=lbr at 105pt] > 10 > > > Line 4 is the relevant line here. > What I expect to see in the footer is a date like either 29-07-2014 or > 29 july 2014, but what I get is July 29, 2014. > Also the log seems to indicate language en. What can I do to get the > dutch date format? ___ 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] Date format problems
Hi all, I started using ConteXt a while ago, on the side line I still use LaTeX (old habits die hard). When converting my CV to ConTeXt I have a weird date problem. I hope one of you can point me in the right direction. I copy the start of the document from vi (line 4 is the relevant line): \setuppapersize[A4] 2 \setuplayout[style=\ss] 3 %\setupfooter[style=] 4 \setuplanguage[nl][date={dd, -, mm, -, year}] 5 6 \setupheadertexts[CV Guus Bonnema] 7 \setupfootertexts[\currentdate][pagenumber] 8 9 %\definebodyfont[10pt][ss][tfe=lbr at 105pt] 10 Line 4 is the relevant line here. What I expect to see in the footer is a date like either 29-07-2014 or 29 july 2014, but what I get is July 29, 2014. Also the log seems to indicate language en. What can I do to get the dutch date format? Regards, Guus Bonnema. ___ 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] [luatex] Problem with luaotfload and positioning of primes
(CC’ing the Context list.) · > Do you have a prediction about how long it will take before a fix is > released? No, sorry. What I do have though is the culprit: c70b2e466bbb07e976f8684d56ae4e5398169e7d is the first bad commit commit c70b2e466bbb07e976f8684d56ae4e5398169e7d Author: Hans Hagen Date: Sat Mar 22 15:31:00 2014 +0100 beta 2014.03.22 15:31 ... See the commit diff [0]. @Hans: Here is a minimal example for Luatex-Plain: https://bitbucket.org/phg/lua-la-tex-tests/src/8d48db1435bbd70888381a6cacd2281688d0d0b6/pln-math-1-prime.tex With the last good commit (244a447.. dated 2014.02.14 in the Garden repo) both primes are typeset correctly. With c70b2e46.. -- which is unfortunately the first snapshot after Marious’ mirror went dark -- the second one doesn’t take the ssty feature into account. Best regards, Philipp [0] https://bitbucket.org/phg/context-mirror/commits/c70b2e466bbb07e976f8684d56ae4e5398169e7d pgpm3ETHz6muk.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] setups
On 7/14/2014 8:49 PM, Herbert Voss wrote: Do I get the up-to-date setups of commands when running for example: \starttext \usemodule[set-11] \loadsetups \setup{setupfillinrules} \stoptext hopefully ... if you notice missing key/values just let us oknow an dwe will adapt the cont-en.xml file 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] State of documentation of ConTeXt?
Am 2014-07-21 um 03:07 schrieb Gerben Wierda : >> My estimate would be that a complete context reference with >> well-described options and including trivial examples would require >> cca. 10.000-50.000 pages. Maybe others have different estimates, but >> now do the math. (Existing manuals like MetaFun or the old cont-en.pdf >> are roughly 400 pages. But that's nowhere near 10 % of the ConTeXt >> functionality. One would need to document the whole TeX part, the >> whole metapost part, the whole lua part, the whole xml, all perl, ruby >> and lua scripts, write better man pages, probably list the whole >> Unicode to show the ConTeXt names in one appendix …) > > If a tool needs 50.000 pages to document its use, you are in trouble (in more > ways than one). > > I think in reality a set of manuals, with core functionality and all kinds of > extras a manual of 500 pages and maybe a reference manual of the same size > would be something useful and thus meaningful. Stuff like MetaFun can have > its own manual and doesn’t need to be in a core ConTeXt manual. > > A user manual is enough. You don’t need a developer manual. So, documenting > all the development you can do with ConTeXt (programming in lua and whatnot) > would for me not be what is needed for a user manual. What a user manual does > is what cont-en.pdf does, but then up to date and complete. If I might chime in … What we really need (and what „simple“ users like me cannot write, even if I sometimes look into the sources) is a usable command reference, covering all „usable“ commands and all their „usable“ options (i.e. omit too experimental stuff). What we have on the wiki now is much too incomplete in all regards. I don’t know if there’s something (more?) that can be automated. I don’t know if Hans, Taco or Wolfgang (any other candidates?) would be able and willing to do that work, if e.g. DANTE would fund it. Would you, and what do you think how much funding would be required to at least document the current state of MkIV? I would not try to write a (printed/printable) reference manual for ConTeXt, that really makes not much sense. We don’t need to argue about page estimates, that depends too much on layout anyway … I thought the previous ConTeXt meeting was about documentation? Didn’t you agree on a better wiki structure? Greetlings, Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ 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] State of documentation of ConTeXt?
On 20 Jul 2014, at 22:24, Mojca Miklavec wrote: > On Sun, Jul 20, 2014 at 2:14 PM, Gerben Wierda wrote: >> >> Sorry, you can’t expect users to be able to do that. Lamport >> created LaTeX *and* wrote the “LaTeX User’s Guide and Reference manual”. > > > Indeed. Sorry, you can't do that to users. Christian Schenk also > created MikTeX (I still have MikTeX files from 23 years ago) *and* is > still developing it actively and answering emails from users. > > >> The authors mentioned below were all developers too. You need that level of >> understanding to write a manual. > > What kind of developers? Did they contribute to the LaTeX core? (Many > ConTeXt users are developers, but it highly depends what you count as > a developer.) Some contributed packages, some other stuff (even printer drivers). They all were deeply involved with the inside of TeX and LaTeX at a level that they would have to understand TeX and LaTeX to the core as they were developers in that environment >> Hans & Taco: how much money would need to be raised to produce something of >> the quality of Kopka & Daly’s “Guide to LaTeX”? or Goossens, Mittelbach & >> Samarin’s “The LaTeX Companion”? > > What do you mean with "of the quality of these books"? Having a > similar number of pages written in comparable quality (something like > a revised beginner's manual) or so complete in description of the > functionality as the mentioned manuals? I agree these are now outdated in several areas and less useful as they were half a decade ago. But something that is complete enough for a user (not a TeXnician), doesn’t contain too many white spots and certainly does not contain stuff that isn’t true anymore. > My estimate would be that a complete context reference with > well-described options and including trivial examples would require > cca. 10.000-50.000 pages. Maybe others have different estimates, but > now do the math. (Existing manuals like MetaFun or the old cont-en.pdf > are roughly 400 pages. But that's nowhere near 10 % of the ConTeXt > functionality. One would need to document the whole TeX part, the > whole metapost part, the whole lua part, the whole xml, all perl, ruby > and lua scripts, write better man pages, probably list the whole > Unicode to show the ConTeXt names in one appendix …) If a tool needs 50.000 pages to document its use, you are in trouble (in more ways than one). I think in reality a set of manuals, with core functionality and all kinds of extras a manual of 500 pages and maybe a reference manual of the same size would be something useful and thus meaningful. Stuff like MetaFun can have its own manual and doesn’t need to be in a core ConTeXt manual. A user manual is enough. You don’t need a developer manual. So, documenting all the development you can do with ConTeXt (programming in lua and whatnot) would for me not be what is needed for a user manual. What a user manual does is what cont-en.pdf does, but then up to date and complete. G ___ 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] State of documentation of ConTeXt?
On 15 Jul 2014, at 16:42, Mojca Miklavec wrote: > ConTeXt comes with full source code, so users can easily study the > source code. This is crazy. Sorry, you can’t expect users to be able to do that. Lamport created LaTeX *and* wrote the “LaTeX User’s Guide and Reference manual”. The authors mentioned below were all developers too. You need that level of understanding to write a manual. > The project could easily employ two people to work full > time just to keep up with the pace of development (once they would > catch up). I would expect it to be far less than that once you have the documentation. What a project needs is discipline. If the ConTeXt stays a tinkered-tool-in-flux (because that is how Hans needs it for his own work), a decent manual will never arrive unless there is the discipline that any new functionality is documented (“user manual & reference”) in full before proceeding to the next development. On 16 Jul 2014, at 00:26, David Wooten wrote: > It’s suspect to take umbrage on another’s behalf, but “tinkering researchers > may not be inclined to do that, they want to tinker” — It’s absurd to suggest > that Hans &co. are “tinkering” for the sake of tinkering. I never suggested that. Hans & Co tinker because they want to make progress and develop functionality they need. But because the project is in constant flux, even if you would have time (money) to fund documentation, the documentation would be out-of-date soon. I would immediately buy any book that explains ConTeXt such as the books that are there for LaTeX. But then, LaTeX is moribund and doesn’t change at all. An easier target. Hans & Taco: how much money would need to be raised to produce something of the quality of Kopka & Daly’s “Guide to LaTeX”? or Goossens, Mittelbach & Samarin’s “The LaTeX Companion”? Because, I don’t think this will happen unless some money is raised to pay for it. I would gladly donate in a crowdfunding initiative for a good book. But how much is needed to make it happen? G ___ 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: criterium=all
le these numbers) Thanks, F. On 16 Jul 2014 17:16, "Hans Hagen" mailto:pra...@wxs.nl>> wrote: On 7/16/2014 10:10 AM, Flavien Lambert wrote: Great! Thanks a lot! And concerning sorting by date? sorttype=author sorts by author,year,journal,title,page so what do you mean with 'by year' Hans -- Alan Braslau CEA DSM-IRAMIS-SPEC CNRS URA 2464 Orme des Merisiers 91191 Gif-sur-Yvette cedex FRANCE tel: +33 1 69 08 73 15 fax: +33 1 69 08 87 86 mailto:alan.bras...@cea.fr ___ 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 ___ -- - 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: criterium=all
Hello, This is more a 'side-comment', but anytime I see an application that wants in fact to query data from some dataresource, I ask myself: why is that not implemented as a real relational database? BibTex is some weird implementation for a problem that in facts requests a real relational dababase approach, in which your data does not reside in a file, but a couple of tables. Like PUBLISHER (the organisation that publishes the article/book/journal, etc.), PUBLICATION, EDITION, AUTHOR/CONTRIBUTOR (a person making a contribution to a PUBLICATION, like author, co-author, editor) etc. For example: every author that has contributed to a publication (or edition thereof) has only one record in the AUTHOR table, and for each contribution to a PUBLICATION/EDITION there is a record in the CONTRIBUTION table, with the foreign keys to the primary key of AUTHOR/CONTRIBUTOR and to the PUBLICATION/EDITION table. A data-model for such must exist in the real-world, somewhere, I guess. But Tex and other implementors have choosen to implement this in a simple flat-file system, and which I think is part of the problem, because the implemenation as flat file has certain limits. Esp. when more demanding features are requested. Still thinking that ultimately that would be the best way to implement BibTex, using a relational database as repository instead of flat files. And you could implement many other 'nice' featueres, like querying other works related to the works you want to cite (for instance at the basis of relevant key/reference words or other). Would be do-able I guess (LuaTex can access dabatases), only problem is you have to convert al these .bib files into the database format. But don't know if anyone has thought about implementing Bibtex as a database. Greetings, Rob > Hans, > > Sorting simply by year (or, rather, year then author then title ...) > could be useful. Take, for example, a pluriannual report having many > references. One might wish to display a list of publications by year. > Should this be selected using "sorttype=year"? > > Another possible syntax could be > sorttype={author,year,title,page} > and this would be the default for APA. > Of course, the other common sorting is "sorttype=cite". > > Furthermore, > sorttype={year,author,title,page} > would be another variant, and I can even imagine using: > sorttype={journal,volume,number,page} > or > sorttype={publisher,year,title} > and I am sure that users may need something totally unanticipated. > > The change from the present is that "sortype=author" implies > {author,year,title,page}. I suppose that it could default to this order > if no other order is specified. Just like "sorttype=year" could default > to something sane like {year,author,title,page} unless a different > order is explicitly given, etc. > > A subtlety is how to handle missing fields, say in a mixture of > articles and books where articles have journal titles (journal) and > article titles (title) and books have book titles (title). Should > missing journal fields (books) come before or after articles or should > title then be taken into account, as in {journal|title}? Do we need to > allow such logic? > > We can continue to discuss this with Thomas and Luigi but I mention it > here on the mailing list as Flavien Lambert brought up the question. > > Alan > > > > > On Wed, 16 Jul 2014 11:52:15 +0200 > Hans Hagen wrote: > >> On 7/16/2014 11:31 AM, Flavien Lambert wrote: >> > The sort by author is perfect. >> >> fyi, sorting authors is kind of complex as we need to take all name >> elements into account (initials, firstnames, surnames, vons, >> juniors); of course there can be multiple authors; add to the extra >> axes year journal, title and page >> >> the torture test is a list with 400K author specifications (taken >> from a bunch of bib databases) which eventually produces a 5500 page >> document >> >> in practice, certainly when we have smaller databases, load time can >> be neglected (here it is .4 sec luatex vs .3 sec luajittex); sort >> preparation and processing of that bunch takes 35 sec for luatex and >> 19 sec for luajittex but of course for normal cases you won't even >> noticed it .. bib databases with 400K entries are probably not used >> often >> >> (i have no clue if bibtex can handle these numbers) >> >> > Thanks, >> > F. >> > >> > On 16 Jul 2014 17:16, "Hans Hagen" > > <mailto:pra...@wxs.nl>> wrote: >> > >> > On 7/16/2014 10:10 AM, Flavien Lambert wrote: >> > >> >
Re: [NTG-context] Bibliography: criterium=all
Hans, Sorting simply by year (or, rather, year then author then title ...) could be useful. Take, for example, a pluriannual report having many references. One might wish to display a list of publications by year. Should this be selected using "sorttype=year"? Another possible syntax could be sorttype={author,year,title,page} and this would be the default for APA. Of course, the other common sorting is "sorttype=cite". Furthermore, sorttype={year,author,title,page} would be another variant, and I can even imagine using: sorttype={journal,volume,number,page} or sorttype={publisher,year,title} and I am sure that users may need something totally unanticipated. The change from the present is that "sortype=author" implies {author,year,title,page}. I suppose that it could default to this order if no other order is specified. Just like "sorttype=year" could default to something sane like {year,author,title,page} unless a different order is explicitly given, etc. A subtlety is how to handle missing fields, say in a mixture of articles and books where articles have journal titles (journal) and article titles (title) and books have book titles (title). Should missing journal fields (books) come before or after articles or should title then be taken into account, as in {journal|title}? Do we need to allow such logic? We can continue to discuss this with Thomas and Luigi but I mention it here on the mailing list as Flavien Lambert brought up the question. Alan On Wed, 16 Jul 2014 11:52:15 +0200 Hans Hagen wrote: > On 7/16/2014 11:31 AM, Flavien Lambert wrote: > > The sort by author is perfect. > > fyi, sorting authors is kind of complex as we need to take all name > elements into account (initials, firstnames, surnames, vons, > juniors); of course there can be multiple authors; add to the extra > axes year journal, title and page > > the torture test is a list with 400K author specifications (taken > from a bunch of bib databases) which eventually produces a 5500 page > document > > in practice, certainly when we have smaller databases, load time can > be neglected (here it is .4 sec luatex vs .3 sec luajittex); sort > preparation and processing of that bunch takes 35 sec for luatex and > 19 sec for luajittex but of course for normal cases you won't even > noticed it .. bib databases with 400K entries are probably not used > often > > (i have no clue if bibtex can handle these numbers) > > > Thanks, > > F. > > > > On 16 Jul 2014 17:16, "Hans Hagen" > <mailto:pra...@wxs.nl>> wrote: > > > > On 7/16/2014 10:10 AM, Flavien Lambert wrote: > > > > Great! Thanks a lot! > > > > And concerning sorting by date? > > > > > > sorttype=author > > > > sorts by author,year,journal,title,page > > > > so what do you mean with 'by year' > > > > Hans -- Alan Braslau CEA DSM-IRAMIS-SPEC CNRS URA 2464 Orme des Merisiers 91191 Gif-sur-Yvette cedex FRANCE tel: +33 1 69 08 73 15 fax: +33 1 69 08 87 86 mailto:alan.bras...@cea.fr ___ 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] State of documentation of ConTeXt?
> I agree that it would be awesome if there was complete documentation > available + maybe three manuals/tutorials from beginner to master, but > you cannot expect it from Hans to do all the work on his own. > > Mojca > I think that part of the work has to be done by other volunteers (users), who have enough experience to write in good style user documentation. That kind of work does not depend on Hans or Taco alone. I think their important task is to have the technical documentation up-to-date and/or provide well enough information about the changes in releases, that others can write good user-documentation. First priority I guess would be to have the contextgarden Wiki up-to-date: many commands and/or parameters are not touched there. There are many outdate pages (with broken links, etc.), and definatately I would guess a better split is needed between MkII and MkIV wherever applicable. If time and experience-level allows me, I would like to start working on that kind of things. Someday I would also like to write a user-manual for Context novices (and ppl. new to Tex in general). But first I need to sort out some things myself, esp. about the whole font-mechanism, and how Context handles it. And as of yet I have no clue on what is what in the Context/Tex tree and where to find all the sources. Keeps me busy some time... Greetings, Rob PS. And also material on 'good typography' would come in handy as weblinks and in Context user-manuals. Yesterday, I read this online typography manual, which contains some usefull tips about Typography. See: http://practicaltypography.com/index.html#toc I see that he also uses protrusion in the left-margin for quotations (when you start a sentence on a new line with a quotation), something which Context atm. does not do, only in the right margin, but the result is good. Definately some feature request. ___ > 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] Bibliography: criterium=all
On 7/16/2014 11:31 AM, Flavien Lambert wrote: The sort by author is perfect. fyi, sorting authors is kind of complex as we need to take all name elements into account (initials, firstnames, surnames, vons, juniors); of course there can be multiple authors; add to the extra axes year journal, title and page the torture test is a list with 400K author specifications (taken from a bunch of bib databases) which eventually produces a 5500 page document in practice, certainly when we have smaller databases, load time can be neglected (here it is .4 sec luatex vs .3 sec luajittex); sort preparation and processing of that bunch takes 35 sec for luatex and 19 sec for luajittex but of course for normal cases you won't even noticed it .. bib databases with 400K entries are probably not used often (i have no clue if bibtex can handle these numbers) Thanks, F. On 16 Jul 2014 17:16, "Hans Hagen" mailto:pra...@wxs.nl>> wrote: On 7/16/2014 10:10 AM, Flavien Lambert wrote: Great! Thanks a lot! And concerning sorting by date? sorttype=author sorts by author,year,journal,title,page so what do you mean with 'by year' 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 <http://www.pragma-ade.com> | www.pragma-pod.nl <http://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 <mailto:ntg-context@ntg.nl> / http://www.ntg.nl/mailman/__listinfo/ntg-context <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/ <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 ___ -- - 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: criterium=all
The sort by author is perfect. Thanks, F. On 16 Jul 2014 17:16, "Hans Hagen" wrote: > On 7/16/2014 10:10 AM, Flavien Lambert wrote: > >> Great! Thanks a lot! >> >> And concerning sorting by date? >> > > sorttype=author > > sorts by author,year,journal,title,page > > so what do you mean with 'by year' > > 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 > > ___ > ___ 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: criterium=all
On 7/16/2014 10:10 AM, Flavien Lambert wrote: Great! Thanks a lot! And concerning sorting by date? sorttype=author sorts by author,year,journal,title,page so what do you mean with 'by year' 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] Bibliography: criterium=all
Great! Thanks a lot! And concerning sorting by date? On 16 July 2014 15:33, Hans Hagen wrote: > On 7/16/2014 2:20 AM, Flavien Lambert wrote: > >> Thanks Hans, I am really sorry but I still do not get any entry printed >> (I followed your explanation as well as p. 25 of mkiv-publications.pdf) >> >> \usebtxdataset[example][./mkiv-publications.bib] >> >> \definebtxrendering[dataset=example,method=dataset] >> >> \starttext >> \showbtxdatasetfields[example] >> some text >> \placebtxrendering[example] >> \stoptext >> >> Could you just give a minimal example? >> And, if possible, a way to sort by date... >> >> Once again, my apologies for taking your time with that. >> >> Best, >> F. >> >> >> On 16 July 2014 04:31, Hans Hagen mailto:pra...@wxs.nl>> >> >> wrote: >> >> On 7/15/2014 12:39 PM, Flavien Lambert wrote: >> >> Hi everyone, I really have difficulties with the bibliograpy >> system. >> Sorry about that. I would like to print the whole bibliography so >> I >> followed mkiv-publications.pdf and ended up with the file: >> >> \usebtxdataset[example][./__mkiv-publications.bib] >> >> >> \definebtxrendering >> [example] >> [dataset=example, >> method=local, >> alternative=apa] >> >> \starttext >> >> \showbtxdatasetfields[example] >> \placebtxrendering >> [example] >> [criterium=all] >> >> \stoptext >> >> I get the list but not the bibliography itself. >> >> What is wrong with my file? Is there also a way to sort the >> entries by date? >> >> >> The criterium is used for cited entries, and text/all then means for >> the whole document. In your case you wan the data set (no refs in >> the text): >> >> \placebtxrendering >>[example] >>[method=dataset] >> >> This axis is one of the new things as using criterium for that is >> messy. >> > > \usebtxdataset > [example] > [t:/manuals/publications-mkiv/mkiv-publications.bib] > > \definebtxrendering > [example] > [dataset=example] > > > \starttext > \showbtxdatasetfields[example] > some text > \placebtxrendering[example][method=dataset] > \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 > > ___ > ___ 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: criterium=all
On 7/16/2014 2:20 AM, Flavien Lambert wrote: Thanks Hans, I am really sorry but I still do not get any entry printed (I followed your explanation as well as p. 25 of mkiv-publications.pdf) \usebtxdataset[example][./mkiv-publications.bib] \definebtxrendering[dataset=example,method=dataset] \starttext \showbtxdatasetfields[example] some text \placebtxrendering[example] \stoptext Could you just give a minimal example? And, if possible, a way to sort by date... Once again, my apologies for taking your time with that. Best, F. On 16 July 2014 04:31, Hans Hagen mailto:pra...@wxs.nl>> wrote: On 7/15/2014 12:39 PM, Flavien Lambert wrote: Hi everyone, I really have difficulties with the bibliograpy system. Sorry about that. I would like to print the whole bibliography so I followed mkiv-publications.pdf and ended up with the file: \usebtxdataset[example][./__mkiv-publications.bib] \definebtxrendering [example] [dataset=example, method=local, alternative=apa] \starttext \showbtxdatasetfields[example] \placebtxrendering [example] [criterium=all] \stoptext I get the list but not the bibliography itself. What is wrong with my file? Is there also a way to sort the entries by date? The criterium is used for cited entries, and text/all then means for the whole document. In your case you wan the data set (no refs in the text): \placebtxrendering [example] [method=dataset] This axis is one of the new things as using criterium for that is messy. \usebtxdataset [example] [t:/manuals/publications-mkiv/mkiv-publications.bib] \definebtxrendering [example] [dataset=example] \starttext \showbtxdatasetfields[example] some text \placebtxrendering[example][method=dataset] \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] Bibliography: criterium=all
Thanks Hans, I am really sorry but I still do not get any entry printed (I followed your explanation as well as p. 25 of mkiv-publications.pdf) \usebtxdataset[example][./mkiv-publications.bib] \definebtxrendering[dataset=example,method=dataset] \starttext \showbtxdatasetfields[example] some text \placebtxrendering[example] \stoptext Could you just give a minimal example? And, if possible, a way to sort by date... Once again, my apologies for taking your time with that. Best, F. On 16 July 2014 04:31, Hans Hagen wrote: > On 7/15/2014 12:39 PM, Flavien Lambert wrote: > >> Hi everyone, I really have difficulties with the bibliograpy system. >> Sorry about that. I would like to print the whole bibliography so I >> followed mkiv-publications.pdf and ended up with the file: >> >> \usebtxdataset[example][./mkiv-publications.bib] >> >> \definebtxrendering >>[example] >>[dataset=example, >> method=local, >> alternative=apa] >> >> \starttext >> >> \showbtxdatasetfields[example] >> \placebtxrendering >>[example] >>[criterium=all] >> >> \stoptext >> >> I get the list but not the bibliography itself. >> >> What is wrong with my file? Is there also a way to sort the entries by >> date? >> > > The criterium is used for cited entries, and text/all then means for the > whole document. In your case you wan the data set (no refs in the text): > > \placebtxrendering > [example] > [method=dataset] > > This axis is one of the new things as using criterium for that is messy. > > 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 > > ___ > ___ 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: criterium=all
On 7/15/2014 12:39 PM, Flavien Lambert wrote: Hi everyone, I really have difficulties with the bibliograpy system. Sorry about that. I would like to print the whole bibliography so I followed mkiv-publications.pdf and ended up with the file: \usebtxdataset[example][./mkiv-publications.bib] \definebtxrendering [example] [dataset=example, method=local, alternative=apa] \starttext \showbtxdatasetfields[example] \placebtxrendering [example] [criterium=all] \stoptext I get the list but not the bibliography itself. What is wrong with my file? Is there also a way to sort the entries by date? The criterium is used for cited entries, and text/all then means for the whole document. In your case you wan the data set (no refs in the text): \placebtxrendering [example] [method=dataset] This axis is one of the new things as using criterium for that is messy. 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] State of documentation of ConTeXt?
On 7/15/2014 11:59 AM, Gerben Wierda wrote: On 14 Jul 2014, at 19:29, Hans Hagen mailto:pra...@wxs.nl>> wrote: quite some sub-systems are described in their own manuals (fonts, tables, xml, ...) and these manuals are quite up to date (and easier to maintain than one big fat manual also, additional documentation is something that users need to participate in (just pick a topic) even if it has high priority, that doesn't mean that those involved have much free time left to do that next to their regular work (as usual most development is done in spare time) so, patience is needed, I like ConTeXt (still do, I liked its approach when I first encountered it). But the project is more the ongoing private tinkering of a small in-crowd (that communicates with some followers). ConTeXt is managed a bit like a small group of researchers sharing a couple of complex and undocumented models/programs and tinkering with them as they go along. It’s an activity without formal design, but with a lot of trial-and-error/testing. Given that status (and the fact that it has had that status for over a /decennium/), I don’t expect it to ever become a serious product that is (semi-)professionally managed. I prefer content over management every day, but something like this needs some minimal management. That requires both time (=money) and capabilities. Besides, the tinkering researchers may not be inclined to do that, they want to tinker. BTW, you can’t be serious asking the /users/ to provide the documentation, can you? Well, you need to keep this in mind: - we are using it ourselves (already for a long time) so we depend on it and so we keep it going - we spend most of our company time on development and support .. and we live with that - our roadmap does *not* include getting big (with open source as stepping stone), *not* messing with users by selling ourselves after a while, and *not* splitting between 'context for users' and 'context professional or enterprise', so everyone gets what we have (which also means that documentation will always be behind!) - we have no big projects that pay for development (from which we can then work on documentation) .. in fact, our projects are rather niche and special - we're quite satisfied with the users (they are demanding and creative) ... context never aimed at one-time-users Now, we don't ask users to provide documentation, but on the other hand, if you look at latex, lost of documentation starts at users. Maybe some day I find more time ... 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] State of documentation of ConTeXt?
On 7/15/2014 5:33 PM, Yuri Teixeira wrote: As I wrote in another thread, the state of the docs worries me too. I take it that the suggestion to study the source was not serious, and perhaps it is indeed a matter of priorities. As a new user I have a strong opinion that the documentation should be a higher priority than it seems to be. All the arguments about how many person-hours it would take and the huge task it is, in my eyes, only furthers the point that it is not considered as important as doing "real development". I Well, without development (like luatex and mp and fonts and so) it would be a dead end anyway. Also, without some of the new things I could not use context myself in projects (and thereby put time in it). consider the docs a core part of the project, and the code another part, hence the disagreement in regards to the priorities. Pro-bono or not is not an issue, since time is spent on the project in some form. Writing features that few people know about and are able to use is only half of the dev work. Most mechanism that are new or renewed also come with pretty recent manuals (like xtables and new bibliography support); older code is mostly compatible with what old manuals describe (ok we could just bump the date to 2014 but why). For me that's the most I can so ... write in sync with development. (I simply run out of time otherwise.) But I get it that documenting is a pain, and seemingly frivolous work. The separate manuals may have been good, but they look fragmented and there is no unified docs to go to when in doubt. And having one place to go is even easier to maintain than many. The wiki is a nice idea, but it needs much more rigour to function as real docs. hm, I spend quite some time on writing code but also on documentations; did you read the xtable, xml, cld, fonts, metafun, etc manuals as well as mk, hybrid, allkind? It's up to others to translate that into something better. There are articles published (ok, in that case it helps to be a member if a user group, which helps keeping tex alive anyway). There are also examples in the test suite that can probably be turned into docu. Some suggestions. I'm assuming some form of wiki-like website that can be the contextgarden or (preferably) another official docs/wiki/wiki-like site. everyone can write documentation (and it also happens) ... we have the wiki etc to publish them .. and everyone can conrtibute to make the wiki better (and provide pointers to documentation) All the content of the manuals should be unified in this site. If a crowdsourcing/users-can-do-it approach is taken, a clear structure needs to be previously laid out, so that we know what blanks to fill. And even with collaboration/feedback, core people should do it. It is important that reviewing and check marking the new edits be done by some authoritative group, so that the community knows what to trust, what should work as documented so that we can report real issues. It is important to label the information as reviwed and up to date, and to which version it applies, mkii/mkiv If this structure is put on top of the context garden, some labeling is needed to distinguish the extra pages from the structural docs pages. the problem there is that it needs some users who dedicate time and so that for many years in order to keep consistency (btw, there are some real good sections on the wiki already) There are many good examples out there of good docs structure and presentation. I'm willing to collaborate what I can with my limited knowledge and time, even if little while writing my master's thesis. In that case, coordinate with Sietse. One of the things we want to (be) do(ne) is a split between mkii and mkiv on the wiki. Sorry to annoy with this again, No problem, as you also offer to help, YT 2014-07-15 11:55 GMT-03:00 luigi scarso mailto:luigi.sca...@gmail.com>>: On Tue, Jul 15, 2014 at 11:59 AM, Gerben Wierda mailto:gerben.wie...@rna.nl>> wrote: On 14 Jul 2014, at 19:29, Hans Hagen mailto:pra...@wxs.nl>> wrote: quite some sub-systems are described in their own manuals (fonts, tables, xml, ...) and these manuals are quite up to date (and easier to maintain than one big fat manual also, additional documentation is something that users need to participate in (just pick a topic) even if it has high priority, that doesn't mean that those involved have much free time left to do that next to their regular work (as usual most development is done in spare time) so, patience is needed, I like ConTeXt (still do, I liked its approach when I first encountered it). But the project is more the ongoing private tinkering of a small in-crowd (that communicates with some followers). ConTeXt is managed a bit like a small gr
Re: [NTG-context] State of documentation of ConTeXt?
As I wrote in another thread, the state of the docs worries me too. I take it that the suggestion to study the source was not serious, and perhaps it is indeed a matter of priorities. As a new user I have a strong opinion that the documentation should be a higher priority than it seems to be. All the arguments about how many person-hours it would take and the huge task it is, in my eyes, only furthers the point that it is not considered as important as doing "real development". I consider the docs a core part of the project, and the code another part, hence the disagreement in regards to the priorities. Pro-bono or not is not an issue, since time is spent on the project in some form. Writing features that few people know about and are able to use is only half of the dev work. But I get it that documenting is a pain, and seemingly frivolous work. The separate manuals may have been good, but they look fragmented and there is no unified docs to go to when in doubt. And having one place to go is even easier to maintain than many. The wiki is a nice idea, but it needs much more rigour to function as real docs. Some suggestions. I'm assuming some form of wiki-like website that can be the contextgarden or (preferably) another official docs/wiki/wiki-like site. All the content of the manuals should be unified in this site. If a crowdsourcing/users-can-do-it approach is taken, a clear structure needs to be previously laid out, so that we know what blanks to fill. And even with collaboration/feedback, core people should do it. It is important that reviewing and check marking the new edits be done by some authoritative group, so that the community knows what to trust, what should work as documented so that we can report real issues. It is important to label the information as reviwed and up to date, and to which version it applies, mkii/mkiv If this structure is put on top of the context garden, some labeling is needed to distinguish the extra pages from the structural docs pages. There are many good examples out there of good docs structure and presentation. I'm willing to collaborate what I can with my limited knowledge and time, even if little while writing my master's thesis. Sorry to annoy with this again, YT 2014-07-15 11:55 GMT-03:00 luigi scarso : > > > > On Tue, Jul 15, 2014 at 11:59 AM, Gerben Wierda > wrote: > >> On 14 Jul 2014, at 19:29, Hans Hagen wrote: >> >> quite some sub-systems are described in their own manuals (fonts, tables, >> xml, ...) and these manuals are quite up to date (and easier to maintain >> than one big fat manual >> >> also, additional documentation is something that users need to >> participate in (just pick a topic) >> >> even if it has high priority, that doesn't mean that those involved have >> much free time left to do that next to their regular work (as usual most >> development is done in spare time) >> >> so, patience is needed, >> >> >> I like ConTeXt (still do, I liked its approach when I first encountered >> it). But the project is more the ongoing private tinkering of a small >> in-crowd (that communicates with some followers). >> >> ConTeXt is managed a bit like a small group of researchers sharing a >> couple of complex and undocumented models/programs and tinkering with them >> as they go along. It’s an activity without formal design, but with a lot of >> trial-and-error/testing. >> >> Given that status (and the fact that it has had that status for over a >> *decennium*), I don’t expect it to ever become a serious product that is >> (semi-)professionally managed. I prefer content over management every day, >> but something like this needs some minimal management. That requires both >> time (=money) and capabilities. Besides, the tinkering researchers may not >> be inclined to do that, they want to tinker. >> >> BTW, you can’t be serious asking the *users* to provide the >> documentation, can you? >> >> > These are still good > > Fonts in ConTeXt > Layouts in ConTeXt > MetaFun manual > MKII - MKIV, the history of LuaTeX > > http://www.h2o-books.com/catalog/5 > > -- > 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] State of documentation of ConTeXt?
On Tue, Jul 15, 2014 at 11:59 AM, Gerben Wierda wrote: > On 14 Jul 2014, at 19:29, Hans Hagen wrote: > > quite some sub-systems are described in their own manuals (fonts, tables, > xml, ...) and these manuals are quite up to date (and easier to maintain > than one big fat manual > > also, additional documentation is something that users need to participate > in (just pick a topic) > > even if it has high priority, that doesn't mean that those involved have > much free time left to do that next to their regular work (as usual most > development is done in spare time) > > so, patience is needed, > > > I like ConTeXt (still do, I liked its approach when I first encountered > it). But the project is more the ongoing private tinkering of a small > in-crowd (that communicates with some followers). > > ConTeXt is managed a bit like a small group of researchers sharing a > couple of complex and undocumented models/programs and tinkering with them > as they go along. It’s an activity without formal design, but with a lot of > trial-and-error/testing. > > Given that status (and the fact that it has had that status for over a > *decennium*), I don’t expect it to ever become a serious product that is > (semi-)professionally managed. I prefer content over management every day, > but something like this needs some minimal management. That requires both > time (=money) and capabilities. Besides, the tinkering researchers may not > be inclined to do that, they want to tinker. > > BTW, you can’t be serious asking the *users* to provide the > documentation, can you? > > These are still good Fonts in ConTeXt Layouts in ConTeXt MetaFun manual MKII - MKIV, the history of LuaTeX http://www.h2o-books.com/catalog/5 -- 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] Bibliography: criterium=all
Hi everyone, I really have difficulties with the bibliograpy system. Sorry about that. I would like to print the whole bibliography so I followed mkiv-publications.pdf and ended up with the file: \usebtxdataset[example][./mkiv-publications.bib] \definebtxrendering [example] [dataset=example, method=local, alternative=apa] \starttext \showbtxdatasetfields[example] \placebtxrendering [example] [criterium=all] \stoptext I get the list but not the bibliography itself. What is wrong with my file? Is there also a way to sort the entries by date? Best, F. ___ 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] State of documentation of ConTeXt?
On 14 Jul 2014, at 19:29, Hans Hagen wrote: > quite some sub-systems are described in their own manuals (fonts, tables, > xml, ...) and these manuals are quite up to date (and easier to maintain than > one big fat manual > > also, additional documentation is something that users need to participate in > (just pick a topic) > > even if it has high priority, that doesn't mean that those involved have much > free time left to do that next to their regular work (as usual most > development is done in spare time) > > so, patience is needed, I like ConTeXt (still do, I liked its approach when I first encountered it). But the project is more the ongoing private tinkering of a small in-crowd (that communicates with some followers). ConTeXt is managed a bit like a small group of researchers sharing a couple of complex and undocumented models/programs and tinkering with them as they go along. It’s an activity without formal design, but with a lot of trial-and-error/testing. Given that status (and the fact that it has had that status for over a decennium), I don’t expect it to ever become a serious product that is (semi-)professionally managed. I prefer content over management every day, but something like this needs some minimal management. That requires both time (=money) and capabilities. Besides, the tinkering researchers may not be inclined to do that, they want to tinker. BTW, you can’t be serious asking the users to provide the documentation, can you? G ___ 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] setups
Do I get the up-to-date setups of commands when running for example: \starttext \usemodule[set-11] \loadsetups \setup{setupfillinrules} \stoptext Herbert ___ 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] State of documentation of ConTeXt?
On 7/14/2014 3:03 PM, Rob Heusdens wrote: Hello G / all I started using ConText about a year ago. But as a "novice" to Context (and Tex in general) I can say is that this would be the first thing to work on, because currently it is a bit of a pain to start using ConText in any serious way, because there is a lack of up-to-date documentation. The mailing list here does make a good contribution to explaining things (I did not use it before, but while the Contextgarden was offline for a while last week, this was the only place for getting needed info) that the documentation and contextgarden wiki misses. But I think a regular user would want to have up-to-date documentation, and many examples worked out and a whole bunch of ready to use (well documented) templates/start documents for all kinds of use-cases. The contextgarden wiki often does not provide well enough information. There are commands with over 20 different parameters, and the most of them are not documented at all. So, a novice user can only use the commands in a trivial sense, but for advanced use the command provides, there is no documentation on how it is supposed to work. This is a pitty, because the ConText distribution really offers a lot of features one want for avanced typesetting jobs, but too often one wants to understand the behaviour of some command or use the advanced options which are provided, but can't because the documenation is too poor to make sense of it. To look in the source is not a a good replacement for that I guess (only for advanced users which co-develop ConText). Well at least the mailing list provides the answers one wants, but it would be far better I guess if such information would be up-to-date on contexgarden. Can we make this a feature request with HIGH priority? quite some sub-systems are described in their own manuals (fonts, tables, xml, ...) and these manuals are quite up to date (and easier to maintain than one big fat manual also, additional documentation is something that users need to participate in (just pick a topic) even if it has high priority, that doesn't mean that those involved have much free time left to do that next to their regular work (as usual most development is done in spare time) so, patience is needed, Hans Hello guys, I am restarting a book project I started a several years back. At that time I set up a copy of another project I am working on in ConTeXt, so with the products/environment/chapters structure, added Mac fonts to my setup, using texexec for compilation. Now that I am restarting, I am returning to ConTeXt. The first thing I did was go to contextgarden and look for updated documentation. What I found was the over 10-year old documentation (contextref.pdf) with green boxes stating things like “TODO: Add some text about recent developments, especially the split between mkii and mkiv”. Is there up-to-date and reasonably complete ConTeXt documentation these days? G ___ 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 ___ -- - 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] State of documentation of ConTeXt?
Hello G / all I started using ConText about a year ago. But as a "novice" to Context (and Tex in general) I can say is that this would be the first thing to work on, because currently it is a bit of a pain to start using ConText in any serious way, because there is a lack of up-to-date documentation. The mailing list here does make a good contribution to explaining things (I did not use it before, but while the Contextgarden was offline for a while last week, this was the only place for getting needed info) that the documentation and contextgarden wiki misses. But I think a regular user would want to have up-to-date documentation, and many examples worked out and a whole bunch of ready to use (well documented) templates/start documents for all kinds of use-cases. The contextgarden wiki often does not provide well enough information. There are commands with over 20 different parameters, and the most of them are not documented at all. So, a novice user can only use the commands in a trivial sense, but for advanced use the command provides, there is no documentation on how it is supposed to work. This is a pitty, because the ConText distribution really offers a lot of features one want for avanced typesetting jobs, but too often one wants to understand the behaviour of some command or use the advanced options which are provided, but can't because the documenation is too poor to make sense of it. To look in the source is not a a good replacement for that I guess (only for advanced users which co-develop ConText). Well at least the mailing list provides the answers one wants, but it would be far better I guess if such information would be up-to-date on contexgarden. Can we make this a feature request with HIGH priority? Greetings, Rob. > Hello guys, > > I am restarting a book project I started a several years back. At that > time I set up a copy of another project I am working on in ConTeXt, so > with the products/environment/chapters structure, added Mac fonts to my > setup, using texexec for compilation. > > Now that I am restarting, I am returning to ConTeXt. The first thing I did > was go to contextgarden and look for updated documentation. What I found > was the over 10-year old documentation (contextref.pdf) with green boxes > stating things like TODO: Add some text about recent developments, > especially the split between mkii and mkiv. > > Is there up-to-date and reasonably complete ConTeXt documentation these > days? > > G > ___ > 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 ___
[NTG-context] State of documentation of ConTeXt?
Hello guys, I am restarting a book project I started a several years back. At that time I set up a copy of another project I am working on in ConTeXt, so with the products/environment/chapters structure, added Mac fonts to my setup, using texexec for compilation. Now that I am restarting, I am returning to ConTeXt. The first thing I did was go to contextgarden and look for updated documentation. What I found was the over 10-year old documentation (contextref.pdf) with green boxes stating things like “TODO: Add some text about recent developments, especially the split between mkii and mkiv”. Is there up-to-date and reasonably complete ConTeXt documentation these days? G ___ 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] documentation
Thank you for the response. I'll keep this description in mind when looking up stuff and contribute what I can in the wiki (which is still down for me). YT 2014-07-08 4:57 GMT-03:00 Hans Hagen : > On 7/7/2014 8:51 PM, Yuri Teixeira wrote: > >> Hello, >> I'm sorry this probably is a dumb question but I'm really lost in my >> searches. I'm new to context/tex and have been learning/finding >> information in the wiki at the contextgarden.net >> <http://contextgarden.net> for the past couple of weeks. Some of >> >> information there don't seem up to date but nothing unusual in an >> unofficial wiki. For some reason (isp/dns/something) the >> contextgarden.net <http://contextgarden.net> has been unavailiable to me >> >> since yesterday even though some verification sites show it up and some >> show it down (http://www..isitdownrightnow.com >> >> <http://www.isitdownrightnow.com> been one of the later). That got me >> wondering if there are easy official docs. I've seen the pdfs at >> pragma-ade.com <http://pragma-ade.com> but the most general ones I tried >> >> are from 1999 (ms-cb-en.pdf) and 2001 (cont-eni.pdf). Are these up to >> date with the current developments? I belive they are compatible but >> having seen examples of changes in the wiki I a little unsure. >> Furthermore, the parameter behavior description in the command reference >> seem a bit... dry. So here's my plea for a little bit more love for the >> documentation. >> In any way, thank you very much for an awesome language, I'm glad I >> researched thoroughly before jumping into latex. >> > > When mechanisms in context are extended, we try to remain downward > compatible, at least in functionality. Therefore the old manuals are > normally okay (no need to fake updates with newer dates.) There are however > a few core mechanisms that are obsolete and/or changed and those are input > encodings (now always utf) and fonts (now always unicode - or mapped to > unicode - using features cf open type and more). > > In practice input encodings and fonts have always been complex: what input > encoding to choose and what font encoding to use, then running into > availability of fonts, differences per language, differences per user. A > bit of installation nightmare and user support as soon as it became less > standard. By the time that had become easier (tex gyre and lm project) the > move to opentype was made so most of the documentation had become somewhat > obsolete. > > So, when using old manuals, keep in mind that encodings, regimes and fonts > are less hassle now and no special commands are needed to use and combine > these properties. > > In addition some mechanisms were extended and improved in mkiv (sectioning > and so) which means that there are additional ways to configure them. > > That leaves mechanisms that are completely redone. One example is > bibliographies, but users who need them will have no real problems adapting > and these come with new manuals. > > Stick to mkiv. It's the one where the action takes place. > > 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 > > ___ > ___ 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] documentation
On 7/7/2014 8:51 PM, Yuri Teixeira wrote: Hello, I'm sorry this probably is a dumb question but I'm really lost in my searches. I'm new to context/tex and have been learning/finding information in the wiki at the contextgarden.net <http://contextgarden.net> for the past couple of weeks. Some of information there don't seem up to date but nothing unusual in an unofficial wiki. For some reason (isp/dns/something) the contextgarden.net <http://contextgarden.net> has been unavailiable to me since yesterday even though some verification sites show it up and some show it down (http://www..isitdownrightnow.com <http://www.isitdownrightnow.com> been one of the later). That got me wondering if there are easy official docs. I've seen the pdfs at pragma-ade.com <http://pragma-ade.com> but the most general ones I tried are from 1999 (ms-cb-en.pdf) and 2001 (cont-eni.pdf). Are these up to date with the current developments? I belive they are compatible but having seen examples of changes in the wiki I a little unsure. Furthermore, the parameter behavior description in the command reference seem a bit... dry. So here's my plea for a little bit more love for the documentation. In any way, thank you very much for an awesome language, I'm glad I researched thoroughly before jumping into latex. When mechanisms in context are extended, we try to remain downward compatible, at least in functionality. Therefore the old manuals are normally okay (no need to fake updates with newer dates.) There are however a few core mechanisms that are obsolete and/or changed and those are input encodings (now always utf) and fonts (now always unicode - or mapped to unicode - using features cf open type and more). In practice input encodings and fonts have always been complex: what input encoding to choose and what font encoding to use, then running into availability of fonts, differences per language, differences per user. A bit of installation nightmare and user support as soon as it became less standard. By the time that had become easier (tex gyre and lm project) the move to opentype was made so most of the documentation had become somewhat obsolete. So, when using old manuals, keep in mind that encodings, regimes and fonts are less hassle now and no special commands are needed to use and combine these properties. In addition some mechanisms were extended and improved in mkiv (sectioning and so) which means that there are additional ways to configure them. That leaves mechanisms that are completely redone. One example is bibliographies, but users who need them will have no real problems adapting and these come with new manuals. Stick to mkiv. It's the one where the action takes place. 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] documentation
Hello, I'm sorry this probably is a dumb question but I'm really lost in my searches. I'm new to context/tex and have been learning/finding information in the wiki at the contextgarden.net for the past couple of weeks. Some of information there don't seem up to date but nothing unusual in an unofficial wiki. For some reason (isp/dns/something) the contextgarden.net has been unavailiable to me since yesterday even though some verification sites show it up and some show it down (http://www.isitdownrightnow.com been one of the later). That got me wondering if there are easy official docs. I've seen the pdfs at pragma-ade.com but the most general ones I tried are from 1999 (ms-cb-en.pdf) and 2001 (cont-eni.pdf). Are these up to date with the current developments? I belive they are compatible but having seen examples of changes in the wiki I a little unsure. Furthermore, the parameter behavior description in the command reference seem a bit... dry. So here's my plea for a little bit more love for the documentation. In any way, thank you very much for an awesome language, I'm glad I researched thoroughly before jumping into latex. YT ___ 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] [garden] luatex git mirror out of sync
On Sat, Jul 5, 2014 at 2:29 PM, Philipp Gesang wrote: > Hi all, > > there’s been a lot of changes lately to the Luatex SVN but the > mirror on the Garden doesn’t appear to match pace. Here’s the > experimental branch on the Garden and on supelec: > > http://git.contextgarden.net/context/luatex/commits/origin/experimental > > https://foundry.supelec.fr/scm/viewvc.php/branches/experimental/?root=luatex&sortby=date#dirlist > > Commits after 25 Apr are missing on the former. I was experimenting with svn2git during BachoTeX, but I didn't set it up properly and the way I made the conversion isn't working properly for incremental updates. This means that I would need to change the strategy to convert from SVN, but I didn't take time yet to take a look into it. There is no cron job. But if anyone would like to get it done, feel free to reply off-list and I can try to fix it, maybe with your help. > Perhaps a cron job is broken somewhere? No. It has never worked in the first place. > Also I noticed that if I click the “compare” button on this form: > > > http://git.contextgarden.net/context/luatex/compare?from=master&to=experimental > > I get a 500 (“We’re sorry, …”). Can anybody reproduce this? Yes. I can reproduce this. GitLab seems nice and powerful, but there are bugs and problems. And sometimes it works very very slow. I need to figure out whether something went wrong on the server or if there's a bug in GitLab. 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 ___
[NTG-context] [garden] luatex git mirror out of sync
Hi all, there’s been a lot of changes lately to the Luatex SVN but the mirror on the Garden doesn’t appear to match pace. Here’s the experimental branch on the Garden and on supelec: http://git.contextgarden.net/context/luatex/commits/origin/experimental https://foundry.supelec.fr/scm/viewvc.php/branches/experimental/?root=luatex&sortby=date#dirlist Commits after 25 Apr are missing on the former. For example, the git svn clone on my machine has much more recent commits: * 6a9a4d7 - (HEAD, experimental, experimental) fixed a bug with braces (12 hours ago) * a0780a1 - fixed wrong procedure keyword (29 hours ago) * 0e4f41f - fixed the Lua stack (4 days ago) * 4f4cb51 - sync with metapost TL 2014 (8 days ago) * c0033b5 - add pdf_stream_filter_callback to lcallbacklib.c (8 days ago) * 958dc74 - sync with trunk (2 weeks ago) ... Perhaps a cron job is broken somewhere? Also I noticed that if I click the “compare” button on this form: http://git.contextgarden.net/context/luatex/compare?from=master&to=experimental I get a 500 (“We’re sorry, …”). Can anybody reproduce this? Best regards, Philipp pgpzWPjU2lAPc.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] Letter module
Am 26.06.2014 um 15:55 schrieb Mo Abrahams : > Hello again, > > I managed to get the backaddress looking how I wanted by reading again > through the main ConTeXt manual. I've also got my letterhead loading as > the page background to some degree like so: > > \defineletterelement[layer][lettermain][Stationery]{\externalfigure[letterhead][width=210mm,height=297mm]} > > \setupletterlayer > [lettermain] > [x=0mm, > y=0mm, > alternative=Stationery] > > but there seems to be a tiny border around it rather than being flush to > the edges of the page. I've tried other methods using layers and > \setupbackgrounds but they seem to have no effect at all. > > Can someone help with that? > > I still haven't worked out how to remove the lavel above the date, and > to make matters worse it doesn't seem to be affected by changing the > document language either! To put a image in the background you can use the “backgroundimage” key for the \setupletteroptions command, the image will then be placed in the back of each page. \usemodule[letter] \setupexternalfigures[location=default] \setupletteroptions[backgroundimage=mill] \startletter \dorecurse{6}{\input knuth\par} \stopletter You can also use the “lettermain” and “letternext” layers when you want more control about the placement of the backgrounds. What’s missing in your setup above is to remove the offset for background which can be done with \setupletterframe[…][offset=overlay], to control on which page the image is shown you can use the “state” key for \setupletterlayer. \usemodule[letter] \setupexternalfigures[location=default] \startsetups[letter:layer:lettermain] \externalfigure[mill][width=210mm,height=297mm] \stopsetups \setupletterlayer [lettermain] [x=0mm, y=0mm, %state=repeat, alternative=setups] \setupletterframe [lettermain] [offset=overlay] \startletter \dorecurse{6}{\input knuth\par} \stopletter 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] Letter module
Hello again, I managed to get the backaddress looking how I wanted by reading again through the main ConTeXt manual. I've also got my letterhead loading as the page background to some degree like so: \defineletterelement[layer][lettermain][Stationery]{\externalfigure[letterhead][width=210mm,height=297mm]} \setupletterlayer [lettermain] [x=0mm, y=0mm, alternative=Stationery] but there seems to be a tiny border around it rather than being flush to the edges of the page. I've tried other methods using layers and \setupbackgrounds but they seem to have no effect at all. Can someone help with that? I still haven't worked out how to remove the lavel above the date, and to make matters worse it doesn't seem to be affected by changing the document language either! Mo. On Wed, Jun 25, 2014 at 05:30:56PM +0200, Mo Abrahams wrote: > Hello, > > Is there any updated documentation for the letter/correspondence module? All > I can find > is version 2010.08.27 and I can see from this list that things have > changed, I just don't know where to find out what. > > Also, can anyone tell me how to remove the label above the date, how to > add a pdf containing my letterheading as the page background, and how to > add a horizontal line between the backaddress and the toaddress? > > For the page background I currently have: > > \setupletter[ > backgroundimage={letterhead} > ] > > but it doesn't seem to do anything. I've tried adding the file > extension. > > Thanks, > > Mo. > -- Mo ___ 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] Letter module
Hello, Is there any updated documentation for the letter/correspondence module? All I can find is version 2010.08.27 and I can see from this list that things have changed, I just don't know where to find out what. Also, can anyone tell me how to remove the label above the date, how to add a pdf containing my letterheading as the page background, and how to add a horizontal line between the backaddress and the toaddress? For the page background I currently have: \setupletter[ backgroundimage={letterhead} ] but it doesn't seem to do anything. I've tried adding the file extension. Thanks, Mo. ___ 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] ConTeXt meeting 2014 update
Hi all, Some new information is now available on the upcoming meeting, so here is an update with all the news. http://meeting.contextgarden.net/2014 == NTG Meeting == The NTG has set the fees for attendance of the NTG’s anniversary meeting, which will follow immediately after our meeting. If you want to stay around for that (program on Saturday and Sunday, with talks in Dutch), please check the box on the registration form. Or, if you have registered already, send me an email message. Additional fee: 50 EUR for NTG members, 70 EUR for other people, to be paid in cash. == T-shirt ? == No, not this time. We are pretty sure most of you have enough meeting shirts already, so we decided to do something different this time. In keeping with the “Cookery” meeting theme, the goody bag will have a full-sized kitchen apron instead. In fact, there will be two different apron designs each featuring a commissioned drawing by Duane Bibby. The designs will remain secret for a while longer (possibly even until the actual meeting) but we are willing to tell you that there will be “lion” and “lioness” versions, and each one is cooking up a big bowl of ConTeXt soup. On the meeting registration form you can select which version you want to receive as part of the goody bag. There is also a checkbox to pre-order the other one (get a matching pair!). After the meeting, the aprons will remain available as ConTeXt merchandise, which is why there will not be a date or place mentioned on the apron. When the time comes, we will let you know how and where to order (by then of course there will be pictures as well). == Programme == No actual schedule has been made up yet, but there are quite some entries on the Abstracts page by now. It looks to me like it is going to be a very interesting programme! Have a look for yourself, and feel free to request talks on any other subject you are interested in: http://meeting.contextgarden.net/2014/abstracts.shtml == Registration reminder == With only *one week* to go before the early bird deadline expires, now would be a great time to register! http://meeting.contextgarden.net/2014/register.shtml Hoping to see many of you in Bassenge, Taco ___ 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?] no space before \cite[data][] and after \abbreviation
Am 28.05.2014 um 11:37 schrieb pol stra : > > > > Subject: Re: [NTG-context] [bug?] no space before \cite[data][] and after > > \abbreviation > > From: schuster.wolfg...@gmail.com > > Date: Tue, 27 May 2014 16:38:28 +0200 > > CC: ntg-context@ntg.nl > > To: r...@hotmail.fr > > > > > > Am 25.05.2014 um 09:27 schrieb Pol Stra : > > > > > What about the cite command and the space _before_? > > > > Do you have a minimal example for this? > > > > Wolfgang > > Sorry, it seems the issue appears only when used in footnote. > I joined a minimal example. You can see in the output that there is a space > in the text, but not in the footnote. I don’t know why the space is removed in the footnote but when you use a nonbreakable space with ~ it won’t disappear. 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?] no space before \cite[data][] and after \abbreviation
> Subject: Re: [NTG-context] [bug?] no space before \cite[data][] and after > \abbreviation > From: schuster.wolfg...@gmail.com > Date: Tue, 27 May 2014 16:38:28 +0200 > CC: ntg-context@ntg.nl > To: r...@hotmail.fr > > > Am 25.05.2014 um 09:27 schrieb Pol Stra : > > > What about the cite command and the space _before_? > > Do you have a minimal example for this? > > Wolfgang Sorry, it seems the issue appears only when used in footnote. I joined a minimal example. You can see in the output that there is a space in the text, but not in the footnote. Pol test_bib.bib Description: Binary data test_cite.tex Description: TeX document test_cite.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] Simple command with variable number of arguments
urn value of this one: matrixOP.determinant = function(m) if #m ==#m[1]then local det = 1 local t = matrixOP.upperTri(m) for i=1,#t do det = det * t[i][i] end return det else return 0 end end I always thank to this list and to developers of ConTeXt. Based on the attached I can make a more efficient version that we can then add to the distribution (maybe you need more than this?) Hans Best regards, Dalyoung Message: 1 Date: Fri, 23 May 2014 13:44:30 +0200 From: luigi scarso To: mailing list for ConTeXt users Subject: Re: [NTG-context] Simple command with variable number of arguments Message-ID: Content-Type: text/plain; charset="utf-8" On Fri, May 23, 2014 at 11:54 AM, Matthias Weber wrote: Dear All, I would like to define a command that expands \vector{2,4} % or vector[2,4] if that?s easier to \startpmatrix \NC 2 \NR \NC 4 \NR \stoppmatrix and more generally \vector{2,4,1,7} to \startpmatrix \NC 2 \NR \NC 4 \NR \NC 1 \NR \NC 7 \NR \stoppmatrix Any hints how to achieve this? Thanks, \definemathmatrix [pmatrix] [left={\left(\,},right={\,\right)}] \startluacode document = document or {} document.matthias = document.matthias or {} local function lua_columnvector(a) context.startpmatrix() for i,v in ipairs(a) do context.NC() context(tostring(v)) context.NR() end context.stoppmatrix() end document.matthias.lua_columnvector = document.matthias.lua_columnvector or lua_columnvector \stopluacode \def\columnvector#1{\ctxlua{document.matthias.lua_columnvector(#1)}} \starttext \startformula \columnvector{{1,2,3}} %% watch the double { ! \stopformula \stoptext -- luigi -- next part -- An HTML attachment was scrubbed... URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20140523/569165d6/attachment-0001.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 ___ -- - 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 - xtest.tex Description: TeX 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] Simple command with variable number of arguments
Dear Luigi and listers, Last year, I need to write a text for a linear algebra class. Since there are many \startmatrix … \stopmatrix and matrix calculations, I wrote a lua code which did matrix calculations and writing with a lot of help from this list. Using the code, I can write class materials easily. It is good enough for my purpose. I am not good in Lua coding, so there may be many things to be checked for efficiency and for stability. However, I attached the code because there may be someone who need it. It is also good thing to return what I get from the list back. I hope that you enhance the code for better performance since you are an expert in Lua. I always thank to this list and to developers of ConTeXt. Best regards, Dalyoung MatrixLuacode.tex Description: Binary data > > Message: 1 > Date: Fri, 23 May 2014 13:44:30 +0200 > From: luigi scarso > To: mailing list for ConTeXt users > Subject: Re: [NTG-context] Simple command with variable number of > arguments > Message-ID: > > Content-Type: text/plain; charset="utf-8" > > On Fri, May 23, 2014 at 11:54 AM, Matthias Weber wrote: > >> Dear All, >> >> I would like to define a command that expands >> >> \vector{2,4} % or vector[2,4] if that?s easier >> >> to >> >> \startpmatrix >> \NC 2 \NR >> \NC 4 \NR >> \stoppmatrix >> >> and more generally >> >> \vector{2,4,1,7} >> >> to >> >> \startpmatrix >> \NC 2 \NR >> \NC 4 \NR >> \NC 1 \NR >> \NC 7 \NR >> \stoppmatrix >> >> Any hints how to achieve this? >> >> Thanks, >> > > > > \definemathmatrix > [pmatrix] > [left={\left(\,},right={\,\right)}] > > \startluacode > document = document or {} > document.matthias = document.matthias or {} > local function lua_columnvector(a) > context.startpmatrix() > for i,v in ipairs(a) do > context.NC() context(tostring(v)) context.NR() > end > context.stoppmatrix() > end > document.matthias.lua_columnvector = document.matthias.lua_columnvector or > lua_columnvector > \stopluacode > > \def\columnvector#1{\ctxlua{document.matthias.lua_columnvector(#1)}} > > \starttext > \startformula > \columnvector{{1,2,3}} %% watch the double { ! > \stopformula > > > \stoptext > > -- > luigi > -- next part -- > An HTML attachment was scrubbed... > URL: > <http://www.ntg.nl/pipermail/ntg-context/attachments/20140523/569165d6/attachment-0001.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] Simple command with variable number of arguments
On Fri, 23 May 2014, Matthias Weber wrote: Dear All, I would like to define a command that expands \vector{2,4} % or vector[2,4] if that’s easier to \startpmatrix \NC 2 \NR \NC 4 \NR \stoppmatrix and more generally \vector{2,4,1,7} to \startpmatrix \NC 2 \NR \NC 4 \NR \NC 1 \NR \NC 7 \NR \stoppmatrix Any hints how to achieve this? Surprisingly, this is not as simple as it may seem at first glance. Some time ago, I had written a module to achieve this. See attached. The usage is: \usemodule[simplematrix] \definesimplematrix[MATRIX][fence=bracket] (any predefined math-fence will work) and then: \MATRIX{1,2,3} for row vectors and \MATRIX{1;2;3} for column vectors, and \MATRIX{1,2,3; 4,5,6} for matrices. You can use \definesimplematrix[...][distance=..., align=...] to influence the distance and align keys of mathmatrix. Aditya%D \module %D [ file=t-simplematrix, %D version=2014.02.18, %Dtitle=\CONTEXT\ User Module, %D subtitle=Simple matrix, %D author=Aditya Mahajan, %D date=\currentdate, %Dcopyright=Aditya Mahajan, %Demail=adityam ieee org, %D license=Simplified BSD License] \writestatus{loading}{Simple matrix (ver: 2014.02.18)} \startmodule[simplematrix] \unprotect \definenamespace [simplematrix] [ \c!type=module, \c!name=simplematrix, \c!command=\v!yes, setup=\v!list, \s!parent=simplematrix, ] \setupsimplematrix [ \c!distance=\emwidth, \c!mathstyle=, fence=bracket, \c!align= ] \appendtoks \setevalue{\currentsimplematrix}{\usesimplematrix[\currentsimplematrix]} \to \everydefinesimplematrix \newtoks\simplematrixtoks \define[1]\simplematrix_row {\processcommalist[#1]\simplematrix_col \appendtoks \NR \to \simplematrixtoks} \define[1]\simplematrix_col {\appendtoks \NC #1 \to \simplematrixtoks} \unexpanded\def\usesimplematrix {\dodoubleargument\usesimplematrix_indeed} \def\simplematrix_left {\edef\p_left{\namedmathfenceparameter{\simplematrixparameter{fence}}\c!left}% \normalleft\ifx\p_left\empty.\else\Udelimiter\plusfour\fam\p_left\relax\fi \,} \def\simplematrix_right {\edef\p_right{\namedmathfenceparameter{\simplematrixparameter{fence}}\c!right}% \, \normalright\ifx\p_right\empty.\else\Udelimiter\plusfive\fam\p_right\relax\fi} \def\usesimplematrix_indeed[#name][#options]#matrix% {\begingroup \edef\currentsimplematrix{#name}% \setupsimplematrix[#name][#options]% \simplematrixtoks\emptytoks \startusemathstyleparameter\simplematrixparameter \appendtoks \bgroup \startmathmatrix [ \c!distance=\simplematrixparameter\c!distance, \c!left=\simplematrix_left, \c!right=\simplematrix_right, \c!align=\simplematrixparameter\c!align, ] \to \simplematrixtoks \processlist[];\simplematrix_row[#matrix]% \appendtoks \stopmathmatrix \egroup \to \simplematrixtoks \the\simplematrixtoks \stopusemathstyleparameter \endgroup} \protect \stopmodule ___ 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] Testing TeX Live 2014: last call
On 5/22/2014 11:21 PM, Mojca Miklavec wrote: Hi everyone, I would like to invite you to try to install TL 2014 pretest to make sure that ConTeXt (and jit in particular) works as expected. https://www.tug.org/texlive/pretest.html You are invited to play with your installation and different settings and to test some of your documents. Theoretically we are already past the freeze date, but if any major problems show up, there might be still time for a fix. I guess that in that case we should call it a current (instead of beta). 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] Testing TeX Live 2014: last call
Hi everyone, I would like to invite you to try to install TL 2014 pretest to make sure that ConTeXt (and jit in particular) works as expected. https://www.tug.org/texlive/pretest.html You are invited to play with your installation and different settings and to test some of your documents. Theoretically we are already past the freeze date, but if any major problems show up, there might be still time for a fix. The version of ConTeXt that will end up in TL is 2014.05.21 22:04. 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] mathml behaviour
On 5/18/2014 10:05 AM, H. van der Meer wrote: Sorry if this question reaches you twice, but the first time I used an email address not registered with this newsgroup. The short example below typeset with \usemodule[mathml] \starttext \typebuffer \blank \processxmlbuffer \stoptext and "ConTeXt ver: 2014.04.04 00:08 MKIV beta" shows that the element does not honour the tags within. This severely restricts the presentation. So what makes you think these tags should be recognized and interpreted as being 'bold'? Can this be remedied? \usemodule[mathml,mathml-html] with the attached Hans van der Meer Hans van der Meer ___ 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 ___ -- - 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 - %D \modul %D [ file=x-mathml, %Dversion=2014.05.18, %D title=\CONTEXT\ XML Modules, %D subtitle=\MATHML\ embedded HTML, %D author=Hans Hagen, %D date=\currentdate, %D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}] %C %C This module is part of the \CONTEXT\ macro||package and is %C therefore copyrighted by \PRAGMA. See mreadme.pdf for %C details. % maybe some more \startmodule [mathml-html] \startxmlsetups mml:html:b \bold{\xmlflush{#1}} \stopxmlsetups \startxmlsetups mml:html:i \italic{\xmlflush{#1}} \stopxmlsetups \startxmlsetups mml:html:tt \mono{\xmlflush{#1}} \stopxmlsetups \startxmlsetups mml:html:em \emphasized{\xmlflush{#1}} \stopxmlsetups \startxmlsetups mml:html \xmlsetsetup{#1}{mml:b|mml:i|mml:tt|mml:em}{mml:html:*} \stopxmlsetups \xmlregistersetup{mml:html} \stopmodule ___ 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] [OT] Typographical quality of various engines
On Thu, May 15, 2014 at 7:39 PM, Jan Tosovsky wrote: > On 2014-05-15 Hans Hagen wrote: > > On 5/14/2014 10:21 PM, Jan Tosovsky wrote: > > > Dear All, > > > > > > I've finished a rough comparision of various engines for their > > > typographical quality: http://drifted.in/publishing/ > > > > > > From my point of view the ConTeXt is the best offering in this > > > field to date, so congratulation! > > > > > > If you find something inappropriate or misleading in my text, please > > > comment or let me know. > > > > > > If my ConTeXt examples could be written more efficiently, I am open > > > to fix it. > > > > Font expansion only, applied to a limited character subset > > > > Is that true? It is applied to any character that you want, of course > > given that you associate expansion factors, but that happens for quite > > some characters in context. > > Good point, it should be clarified it is a default vector set, which can be > further customized (extended). > My info is based on this Wiki http://wiki.contextgarden.net/Protrusion > pointing to this source code: > http://source.contextgarden.net/font-ext.lua > > By that subset I mean the table vectors['default'] > > > > Concerning homogenization, context has support for dynamically aplying > > feature (alternates) to improve the look and feel but of course not > > many fonts have multiple variants for glyphs grouped in stylistic > > alternates so this mechanism is hardly used (only for some arabic). > > Yes, I am aware of this, but it is indeed not very obvious from the text. > > Thanks for your suggestions, > > Jan > > Another point could be the "server" property... the swiglib project is an attempt to cover this side https://swiglib.foundry.supelec.fr/ -- 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] [OT] Typographical quality of various engines
On 5/15/2014 7:39 PM, Jan Tosovsky wrote: On 2014-05-15 Hans Hagen wrote: On 5/14/2014 10:21 PM, Jan Tosovsky wrote: Dear All, I've finished a rough comparision of various engines for their typographical quality: http://drifted.in/publishing/ From my point of view the ConTeXt is the best offering in this field to date, so congratulation! If you find something inappropriate or misleading in my text, please comment or let me know. If my ConTeXt examples could be written more efficiently, I am open to fix it. Font expansion only, applied to a limited character subset Is that true? It is applied to any character that you want, of course given that you associate expansion factors, but that happens for quite some characters in context. Good point, it should be clarified it is a default vector set, which can be further customized (extended). My info is based on this Wiki http://wiki.contextgarden.net/Protrusion pointing to this source code: http://source.contextgarden.net/font-ext.lua By that subset I mean the table vectors['default'] yes but we also initialize all similar shapes Concerning homogenization, context has support for dynamically aplying feature (alternates) to improve the look and feel but of course not many fonts have multiple variants for glyphs grouped in stylistic alternates so this mechanism is hardly used (only for some arabic). Yes, I am aware of this, but it is indeed not very obvious from the text. Thanks for your suggestions, Jan ___ 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 ___ -- - 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] [OT] Typographical quality of various engines
On 2014-05-15 Hans Hagen wrote: > On 5/14/2014 10:21 PM, Jan Tosovsky wrote: > > Dear All, > > > > I've finished a rough comparision of various engines for their > > typographical quality: http://drifted.in/publishing/ > > > > From my point of view the ConTeXt is the best offering in this > > field to date, so congratulation! > > > > If you find something inappropriate or misleading in my text, please > > comment or let me know. > > > > If my ConTeXt examples could be written more efficiently, I am open > > to fix it. > > Font expansion only, applied to a limited character subset > > Is that true? It is applied to any character that you want, of course > given that you associate expansion factors, but that happens for quite > some characters in context. Good point, it should be clarified it is a default vector set, which can be further customized (extended). My info is based on this Wiki http://wiki.contextgarden.net/Protrusion pointing to this source code: http://source.contextgarden.net/font-ext.lua By that subset I mean the table vectors['default'] > Concerning homogenization, context has support for dynamically aplying > feature (alternates) to improve the look and feel but of course not > many fonts have multiple variants for glyphs grouped in stylistic > alternates so this mechanism is hardly used (only for some arabic). Yes, I am aware of this, but it is indeed not very obvious from the text. Thanks for your suggestions, Jan ___ 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 ___