[NTG-context] file names lmtx
I just started testing with lmtx and this minor detail with different file names presented: fourth2.tex compiles to produce fourth2.pdf but fourth.2.tex compiles to produce fourth.pdf With mkiv I get fourth2.pdf and fourth.2.pdf Not a problem, just an observation. ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] placetable and localfootnotes
On Tue, 30 Apr 2019, Otared Kavian wrote: Hi Hans, It seems that there is a conflict between \startplacetable and \startlocalfootnotes: in the following example when the latter command (and its \stop counterpart) is commented out the table is placed correctly in the middle, while otherwise the table is not centered. Usually, this is because the content of the float is in a vbox instead of a hbox: \starttext \startplacetable \vbox{test} \stopplacetable \startplacetable \hbox{test} \stopplacetable \stoptext Use your favorite mechanism to create a hbox around the content and the output will be okay: \startplacetable \hbox{\startlocalfootnotes \startplacelegend[location={bottom,middle}] \startcontent \startxtable \startxrow \startxcell Alpha \stopxcell \startxcell Beta\footnote{Footnote Here} \stopxcell \stopxrow \startxrow \startxcell Beta \stopxcell \startxcell Alpha\stopxcell \stopxrow \stopxtable \stopcontent \startcaption \placelocalfootnotes \stopcaption \stopplacelegend \stoplocalfootnotes} \stopplacetable \stoptext Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] placetable and localfootnotes
> On 30Apr19, at 02:54, Otared Kavian wrote: > > Hi Hans, > > It seems that there is a conflict between \startplacetable and > \startlocalfootnotes: in the following example when the latter command (and > its \stop counterpart) is commented out the table is placed correctly in the > middle, while otherwise the table is not centered. > > Best regards: OK > %%% begin localfootnotes-xtable.tex > \startplacetable > \startlocalfootnotes > \startxtable > \startxrow > \startxcell Alpha \stopxcell > \startxcell Beta\footnote{Footnote Here} \stopxcell > \stopxrow > \startxrow > \startxcell Beta \stopxcell > \startxcell Alpha\stopxcell > \stopxrow > \stopxtable > \placelocalfootnotes > \stoplocalfootnotes > \stopplacetable > %%% end localfootnotes-xtable.tex The following doesn’t help: \automigrateinserts % needed to handle footnotes within a box... (I have found this necessary in the past in order to use footnotes in placed tables.) Alan -- Alan Braslau ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] XML xmldoif struggle!
Hi, I've the following XML tag in my XML file: EURO . with invoice being the root tag! Now I have a setup defined as below (only part!): \startxmlsetups xml:invoice:invoice \xmlfirst{#1}{currency} \par \xmldoif{\xmlfirst{#1}{currency}}{contains(text(),'EURO')} { Euro set! \par } . The \xmlfirst{#1}{currency} command prints EURO as expected. But the xmldoif command doesn't cause the Euro set be printed?! What's wrong here? The manual xml-mkiv.pdf doesn't give me any hint on how to make this work! Regards, Gerard -- ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Strange behavior concerning pdf-output of externalfigures
On Mon, Apr 29, 2019 at 04:32:07PM -0600, Alan Braslau wrote: > On Mon, 29 Apr 2019 13:18:04 +0200 > Hans Hagen wrote: > > > anyway, as the png test suite passes ok the question is what makes your > > image different ... here it looks ok when included on windows64 bit and > > linux 64 bit > > Your very own .png image and MWE works fine here on OSX, freeBSD, and linux. > > Alan > Thank you, Alan! I converted this image and its comrades which showed artefacts to .tiff-images and so they all work at their very best. My conTeXt-version is: This is LuaMetaTeX, Version 2.00.0 ConTeXt ver: 2019.04.29 09:02 MKIV beta fmt: 2019.4.29 But the .log-file contains following strange lines: [...] luatex warning > pdfe: ? luatex warning > pdfe: ? luatex warning > pdfe: ? luatex warning > pdfe: ? luatex warning > pdfe: ? luatex warning > pdfe: ? pages > flushing realpage 2, userpage 2, subpage 2 luatex warning > pdfe: ? luatex warning > pdfe: ? luatex warning > pdfe: ? pages > flushing realpage 3, userpage 3, subpage 3 [...] There are 6 such .tiff-images on page 2 (without any other images) and 3 on page 3. On page 3 there are 5 other .png-images without any problems. I don't know what "pdfe" means. The 9 .tiff-images are few years older than the .png-images on page 3. This means they have been generated in a slightly other way than the newer .png-files on page 3, for instance by an older context-mkiv and GIMP 2.8 on debian 8 (Jessie) or later debian 9 (Stretch), wheras now I'm using context-lmtx on LinuxMint and GIMP2.10. But, as I pointed out, this .tiff-workaround is ok for me, because the artefact effect seems to be limited to those images on page 2 and 3 in my new book. Strange is, that the artefacts (with the same images which haven't been changed in any way) didn't crop up with older context-mkiv. Rudolf ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to write a wiki page?
On Mon, Apr 29, 2019 at 05:07:06PM +0200, Willi Egger wrote: > Hello Rudolf, > > the ConTeXt wiki kan be extended by everybody. What you should do is make > your account and then you can start. > > I would be glad to be involved in this page, because I have written an > article, which will be published in the next issue of the ConTexT journal. It > is dealing with the Maguntia font. > > Kind regards > > Willi Hi Willi! Welcome on board! I'd be very glad, if we could do that together! Up to now I had only 2 topics: Maguntia and Leipziger font. The account is made: wiki.contextgarden.net/Fraktur_fonts. When will next issue of ConTeXt journal be published? Could you send your article to me in advance? Best wishes, Rudolf ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] PDF output routine in lmtx
> On 29. Apr 2019, at 11:46, Christian Prim wrote: > > Hi > > in lmtx the pdf output routine has changed afaik. I just wanted to report, > that in lmtx our printer/copier (Ricoh 8200S or Ricoh 8110S) doesn't print > any character. A standard document as the MWE prints well under mkiv. Under > lmtx, there is no output (blank sheet). In a document with a tikz-figure, the > tikz-figure (without labels, as they are text) is printed. Something with > text output must have changed, that makes it incompatible with the copier at > our school. I tried to print with different drivers and also used the > printers interface (direct print via usb-stick). No success. Are they some > flags I can play with (like other pdf-version or so) to find a solution to > this problem? This "bug" prevents me to use lmtx at out school. > > MWE: > > \starttext > That is a test. > \stoptext > > Of course there is no problem with the preview and the output works on a > HP-Printer. I have no solution, unfortunately, but I can add that I see similar problems. In my case, the printer is a HP LaserJet 1320. The page looks perfectly fine on screen; when I print it out, several Greek letters are replaced by questions marks in a small rectangular box. When I compile the same file with regular context mkiv, everything is printed as intended. So I’m at a loss… Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] vertical justification of mixedcolumns
Hello list, in this MWE the columns are not aligned at the bottom, and they are not at the bottom of the page: \definevspacingamount[myBlank][5pt plus 5pt minus 2pt][5pt plus 5pt minus 2pt] \starttext \showgrid \startmixedcolumns[n=2,balance=yes] \dorecurse{2}{\input knuth \blank[myBlank]} Another paragraph to make columns uneven.\par\blank[myBlank] \dorecurse{3}{\input knuth \blank[myBlank]} \stopmixedcolumns \stoptext Is there a way to configure mixedcolumns so that \blank[myBlank] is stretched or shrinked to get the two columns end aligned at the bottom of the page? Thanks in advance, Massimiliano ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] placetable and localfootnotes
Hi Hans, It seems that there is a conflict between \startplacetable and \startlocalfootnotes: in the following example when the latter command (and its \stop counterpart) is commented out the table is placed correctly in the middle, while otherwise the table is not centered. Best regards: OK %%% begin localfootnotes-xtable.tex \startplacetable \startlocalfootnotes \startxtable \startxrow \startxcell Alpha \stopxcell \startxcell Beta\footnote{Footnote Here} \stopxcell \stopxrow \startxrow \startxcell Beta \stopxcell \startxcell Alpha\stopxcell \stopxrow \stopxtable \placelocalfootnotes \stoplocalfootnotes \stopplacetable %%% end localfootnotes-xtable.tex ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to write a wiki page?
Hello Rudolf, the ConTeXt wiki kan be extended by everybody. What you should do is make your account and then you can start. I would be glad to be involved in this page, because I have written an article, which will be published in the next issue of the ConTexT journal. It is dealing with the Maguntia font. Kind regards Willi > On 24 Apr 2019, at 16:44, Rudolf Bahr wrote: > > > Hello All! > > I'd like to write a wiki page on special Fraktur fonts, but I don't know how > to begin > technically. Are there rules? Certanly, but where? To whom would I send the > result to > correct it with respect to format, ConTeXt commands, English language, > bringing it into > the ConTeXt wiki and so on? > > Greetings, > > Rudolf > ___ > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Footnotes in xtables
I think I can live with this solution. Thanks very much. -Original Message- From: ntg-context [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Otared Kavian Sent: Tuesday, April 30, 2019 10:46 AM To: mailing list for ConTeXt users Subject: Re: [NTG-context] Footnotes in xtables Hi Clyde, In order to use footnotes in tables, you can use localfootnotes as in the following: \startlocalfootnotes \startxtable \startxrow \startxcell Alpha \stopxcell \startxcell Beta\footnote{Footnote Here} \stopxcell \stopxrow \startxrow \startxcell Beta \stopxcell \startxcell Alpha\stopxcell \stopxrow \stopxtable \placelocalfootnotes \stoplocalfootnotes Then the footnotes appear below the table. However it seems that the localfootnotes mechanism is conflicting with \startpalectable...\stoplacetable. Best regards: OK > On 30 Apr 2019, at 08:33, Clyde Johnston wrote: > > How do you get footnotes to work in xtables? I get the superscript next to > the text but the footnote does not appear at the bottom of the page. > > Thanks, Clyde > > MWE: > > \starttext > \startxtable > \startxrow > \startxcell Alpha \stopxcell > \startxcell Beta\footnote{Footnote Here} \stopxcell > \stopxrow > \startxrow > \startxcell Beta \stopxcell > \startxcell Alpha\stopxcell > \stopxrow > \stopxtable > \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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Footnotes in xtables
Hi Clyde, In order to use footnotes in tables, you can use localfootnotes as in the following: \startlocalfootnotes \startxtable \startxrow \startxcell Alpha \stopxcell \startxcell Beta\footnote{Footnote Here} \stopxcell \stopxrow \startxrow \startxcell Beta \stopxcell \startxcell Alpha\stopxcell \stopxrow \stopxtable \placelocalfootnotes \stoplocalfootnotes Then the footnotes appear below the table. However it seems that the localfootnotes mechanism is conflicting with \startpalectable...\stoplacetable. Best regards: OK > On 30 Apr 2019, at 08:33, Clyde Johnston wrote: > > How do you get footnotes to work in xtables? I get the superscript next to > the text but the footnote does not appear at the bottom of the page. > > Thanks, Clyde > > MWE: > > \starttext > \startxtable > \startxrow > \startxcell Alpha \stopxcell > \startxcell Beta\footnote{Footnote Here} \stopxcell > \stopxrow > \startxrow > \startxcell Beta \stopxcell > \startxcell Alpha\stopxcell > \stopxrow > \stopxtable > \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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Footnotes in xtables
How do you get footnotes to work in xtables? I get the superscript next to the text but the footnote does not appear at the bottom of the page. Thanks, Clyde MWE: \starttext \startxtable \startxrow \startxcell Alpha \stopxcell \startxcell Beta\footnote{Footnote Here} \stopxcell \stopxrow \startxrow \startxcell Beta \stopxcell \startxcell Alpha\stopxcell \stopxrow \stopxtable \stoptext mwe.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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___