[NTG-context] Number in a circle
Hello list, I would like to typeset a number in a circle. Nothing fancy. No special colours, transforms, or complex metapost magic (which I am not familiar with). I have tried \circled{3} and \textcircled{3}, but ConTeXt does not appear to recognize these commands. Any help appreciated. -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: Number in a circle
On Mon, 2024-05-27 at 16:51 +0200, Wolfgang Schuster wrote: > I can't provide a circle but I can give you a box with rounded > corners. > > \defineframed > [textcircled] > [ width=1.5em, > height=1.5em, > location=low, > corner=round, > radius=.5fw, > offset=none] > > \starttext > \dostepwiserecurse{0}{9}{1}{#1 = \textcircled{#1}\blank} > \stoptext Thanks Wolfgang. I gave it a try on https://context-on-web.eu/, but it failed: Dimensions can be in units of em, ex, in, pt, pc, cm, mm, dd, cc, bp, dk, or54sp; but yours is a new one! I'll assume that you meant to say pt, for printer's55points. two letters. I'm not sure what it is referring to. -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: Number in a circle
On Mon, 2024-05-27 at 07:09 +0200, Ryszard Kubiak wrote: > Hi Kip, > > You may try characters with Unicode slots from U+2460 upto U+2469. > They mean circled digits and are available in many fonts. Thanks Ryszard. Those would be perfect, except I can't get them to work in ConTeXt. I tried using the \utfchar{0x2460} but it just displays the number 1. I am assuming it needs a font that supports it, but I'm not sure how to switch to a supporting font just to typeset that character and then revert back. Is there some way to define a macro? -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: Number in a circle
On Mon, 2024-05-27 at 05:43 -0400, seyal zavira wrote: > if you don't want to use metapost you can also use svg for background > for example: > > \startuniqueMPgraphic{centered_svg} > draw lmt_svg [ > filename = "badge.svg", > width = OverlayWidth, > y = OverlayHeight/2, ] ; > \stopuniqueMPgraphic > > \defineoverlay > [svgback] > [\useMPgraphic{centered_svg}] > > \defineframed[Sback][location=low,background=svgback,frame=off,offset > =8pt] > > \starttext > this is a sample \Sback{1} text > \stoptext Hello Seyal, This does work but it's a bit annoying that I have to create an SVG of just a circle and store it somewhere. I'm fine with using MetaPost, especially if it makes this easier, but I just don't know how. -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: Number in a circle
On Mon, 2024-05-27 at 19:28 +0200, Wolfgang Schuster wrote: > TeX complains about the value ".5fw" for the radius key. Hans added > last year the function to add new units to ConTeXt and I used it to > set the radius to half of the width of the framed box. > > Use the following version of the setup for the frame which works with > older ConTeXt installations because it doesn't use the feature. > > \defineframed > [textcircled] > [ width=1.5em, > height=1.5em, > location=low, > corner=round, > %radius=.5fw, > radius=\dimexpr\framedwidth/2\relax, > offset=none] > > \starttext > \dostepwiserecurse{0}{9}{1}{#1 = \textcircled{#1}\blank} > \stoptext Thank you kindly, Wolfgang. That worked perfectly. -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] BibTeX choking on comments in database
Hello list, I am using BibTeX under ConTeXt to typeset a publication. I noticed while building the publication ConTeXt raises the following non-fatal warning: ... This is BibTeX, Version 0.99d (TeX Live 2023/Debian) The top-level auxiliary file: Secret_Sauce.aux The style file: cont-au.bst Database file #1: ./References.bib I was expecting a `{' or a `('---line 2 of file ./References.bib : : % See the file Copying for details on copying conditions. (Error may have been on previous line) I'm skipping whatever remains of this entry (There was 1 error message) publications> loading formatting style from 'bibl-apa' open source > level 4, order 13, name '/usr/share/texmf/tex/context/bib/mkii/bibl-apa.tex' close source> level 4, order 13, name '/usr/share/texmf/tex/context/bib/mkii/bibl-apa.tex' ... All that's present on the first few lines of the References.bib BibTeX database are comments that begin with the '%' character. Is there a different character that should be used for BibTeX databases when used with ConTeXt? -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: Number in a circle
On Mon, 2024-05-27 at 19:44 +0200, Wolfgang Schuster wrote: > You can use the \framed solution and modify it to use a metapost > graphic as background, it also easy to replace the circle with a > hexagon etc. > > \startuseMPgraphic{textcircle} > draw fullcircle > xscaled OverlayWidth > yscaled OverlayWidth > withcolor OverlayLineColor ; > \stopuseMPgraphic > > \defineoverlay[textcircle][\useMPgraphic{textcircle}] > > \defineframed > [textcircled] > [ width=1.5em, > height=1.5em, > frame=off, > background=textcircle, > location=low, > offset=none] > > \starttext > \dostepwiserecurse{0}{9}{1}{#1 = \textcircled{#1}\blank} > \stoptext Thank you again Wolfgang. This is very helpful and works well. One question I have for you is how to set the colour of the circle to match the other text on my page. I currently do the following in my environment file: \definecolor[colour_text][r=0.754,g=0.516,b=0.324] \setupcolors[state=start,textcolor=colour_text,pagecolormodel=rgb] -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: BibTeX choking on comments in database
On Tue, 2024-05-28 at 08:05 +0200, Henning Hraban Ramm wrote: > According to the documentation, everything outside of entries is > considered a comment. Inside of entries, there can’t be comments. But in this case, is it not warning about text outside of an entry that should be treated as a comment? -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: Number in a circle
On Mon, 2024-05-27 at 20:15 +0200, vm wrote: > if you make width and hwight 1.4en instead of 1.5em, the characters > will align with the running text. Thank you. I will give that a try. -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: Number in a circle
On Tue, 2024-05-28 at 08:17 +0200, Henning Hraban Ramm wrote: > Am 27.05.24 um 19:20 schrieb Kip Warner: > > On Mon, 2024-05-27 at 07:09 +0200, Ryszard Kubiak wrote: > > > Hi Kip, > > > > > > You may try characters with Unicode slots from U+2460 upto > > > U+2469. > > > They mean circled digits and are available in many fonts. > > > > Thanks Ryszard. Those would be perfect, except I can't get them to > > work > > in ConTeXt. I tried using the \utfchar{0x2460} but it just displays > > the > > number 1. > > > > I am assuming it needs a font that supports it, but I'm not sure > > how to > > switch to a supporting font just to typeset that character and then > > revert back. Is there some way to define a macro? > > You could just define a fallback font, like: > > \definefontfallback[SymbolFB] > [file:symbola.otf] > [0x00300-0x003FF,0x02100-0x02800,0x1F000-0x2] % look up the > right > Unicode ranges! > [check=no,force=no] > > \definetypeface [myfonts] [rm] [serif] [times] [default] > [fallbacks=SymbolFB] > > And then copy the character from a symbol table, no need for a macro. Hmm, that's a great idea. But I can't seem to get a minimal to work with https://context-on-web.eu: \definefontfallback[SymbolFB] [file:symbola.otf] [0x00300-0x003FF,0x02100-0x02800,0x1F000-0x2] % look up the right Unicode ranges! [check=no,force=no] \definetypeface [myfonts] [rm] [serif] [times] [default] [fallbacks=SymbolFB] \starttext \utfchar{0x02460} \stoptext The above just prints the vanilla character '1'. That might be because the online editor doesn't have access to the font. So I tried compiling the above locally with the Symbola.otf file in the same directory and same problem. -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: Number in a circle
On Tue, 2024-05-28 at 17:47 +0200, Pablo Rodriguez wrote: > fw is a new dimensio unit only available in LMTX (not in LuaTeX). > > Just in case it might help, Thanks Pablo. I'm using the context package for Ubuntu Mantic which is version 2021.03.05.20230120+dfsg-2. I'm assuming that doesn't support the new unit. -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: Number in a circle
On Tue, 2024-05-28 at 17:38 +0200, Wolfgang Schuster wrote: > Add > > framecolor=colour_text, > > to the frame settings. Thanks Wolfgang. That does work. But another problem I've found is the font and circle are not automatically resized when used in a formula: \definecolor[colour_text][r=0.754,g=0.516,b=0.324] % RGB 0xc08453 \setupcolors[ state=start, textcolor=colour_text, pagecolormodel=rgb] % gray rgb cmyk auto none % Commands for MetaPost interpreter to draw a circle... \startuseMPgraphic{textcircle} draw fullcircle xscaled OverlayWidth yscaled OverlayWidth withcolor OverlayLineColor; \stopuseMPgraphic % Define an overlay using the above image... \defineoverlay[textcircle][\useMPgraphic{textcircle}] % Define a frame we can use via \textcircled{X} that uses as its background % the above overlay... \defineframed [textcircled] [width=1.4em, height=1.4em, frame=off, background=textcircle, framecolor=colour_text, location=low, offset=none] \starttext Here are the numbers \textcircled{1}, \textcircled{2}, and \textcircled{3}. And when used in formula, \math{\Sigma_{i^b x_{\textcircled{3}}^i}} \stoptext What I was hoping would happen there was the circled 3 in the formula would shrink to look like a subscript for the x variable. Any help appreciated. -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: BibTeX choking on comments in database
On Wed, 2024-05-29 at 00:45 +0200, Aditya Mahajan wrote: > Hard to say without looking at the bib file, but % is not a comment > character in bibtex. So, if your file starts with The first few lines of the file is just a copyright notice, with each line beginning with %. If that's not an appropriate comment character, is there any way to put comments in a BibTeX file? -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: Number in a circle
On Tue, 2024-05-28 at 15:02 -0700, Kip Warner wrote: > On Tue, 2024-05-28 at 17:38 +0200, Wolfgang Schuster wrote: > > Add > > > > framecolor=colour_text, > > > > to the frame settings. > > Thanks Wolfgang. That does work. > > But another problem I've found is the font and circle are not > automatically resized when used in a formula: > > \definecolor[colour_text][r=0.754,g=0.516,b=0.324] % RGB 0xc08453 > > \setupcolors[ > state=start, > textcolor=colour_text, > pagecolormodel=rgb] % gray rgb cmyk auto none > > % Commands for MetaPost interpreter to draw a circle... > \startuseMPgraphic{textcircle} > draw fullcircle > xscaled OverlayWidth > yscaled OverlayWidth > withcolor OverlayLineColor; > \stopuseMPgraphic > > % Define an overlay using the above image... > \defineoverlay[textcircle][\useMPgraphic{textcircle}] > > % Define a frame we can use via \textcircled{X} that uses as its > background > % the above overlay... > \defineframed > [textcircled] > [width=1.4em, > height=1.4em, > frame=off, > background=textcircle, > framecolor=colour_text, > location=low, > offset=none] > > \starttext > Here are the numbers \textcircled{1}, \textcircled{2}, and > \textcircled{3}. > > And when used in formula, \math{\Sigma_{i^b > x_{\textcircled{3}}^i}} > \stoptext > > What I was hoping would happen there was the circled 3 in the formula > would shrink to look like a subscript for the x variable. Any help > appreciated. Wolfgang, please don't tax yourself further on this. I've managed to find another way of expressing the same ideas in my publication without having to resort to the above magic. Thanks again. -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: BibTeX choking on comments in database
On Tue, 2024-05-28 at 17:00 -0600, Alan Braslau wrote: > The Context publications reference subsystem reads BibTeX databases > but does not use BibTeX at all. I am not sure what your quoted > statement means exactly. I see. The first few lines of my BibTeX file just contains a copyright notice that is commented out with the % character. If that is not a valid comment character, is there no way to write a comment in the file? -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: BibTeX choking on comments in database
On Wed, 2024-05-29 at 06:49 -0600, Alan Braslau wrote: > 1) You appear to be using the long-frozen mkii bibliography code. I think you are right! I just realized that. I'm using in my Environment file... % \BIBTEX macro... \usemodule[abr-02] % Setup bibliography... % References database and other general settings... \setupbibtex[database={./References}, sort=author] % Global settings... \setuppublications[ alternative=apa, numbering=yes, monthconversion=month, autohang=yes, sorttype=cite] % Without this, no hyperlinks at all in the output... \setupinteraction[state=start] % This two-part helper creates a hyperlink for url fields... \unprotect \def\bibgotoURL#1#2% {\useURL[#1][#2][][#1]\from[#1]} \def\bibinsertbiburl#1#2#3% {\bibdoifelse{\@@pb@biburl} {#1\expanded{\bibgotoURL{\@@pb@title}{\@@pb@biburl}}#2}{#3}} \protect % Book reference layout... \setuppublicationlayout[book]{% \insertauthors{}{. }{\insertthekey{}{. }{}}% \inserttitle{\bgroup\it }{.\egroup\space }{}% \insertpubname{}{. }{}% \insertday{}{ }{}% \insertmonth{\Word }{. }{}% \insertpubyear{}{. }{}% \insertnote{}{.}{}% } % Adjusted version of 'misc' typesetting, using \insertbiburl % instead of \inserttitle (and \insertbiburl runs the % \bibinsertbiburl macro defined above) \setuppublicationlayout[misc]{% \insertauthors{}{. }{\insertthekey{}{. }{}}% \insertbiburl{\bgroup\it }{.\egroup\space }{}% \insertpubname{}{. }{}% \insertday{}{ }{}% \insertmonth{\Word }{. }{}% \insertpubyear{}{. }{}% \insertnote{}{.}{}% } % finally, this is a horrible hack needed due to bibtex inserting % line breaks in the middle of urls in the output bbl (!) % If you find this hack too ugly, consider editing the .bbl by % hand and forgetting about the .bib file altogether... \let\mydodostartpublication\dodostartpublication \def\dodostartpublication{\catcode`\%=14 \mydodostartpublication} % Macro to put the citations as footnotes... \unexpanded\def\footnotecite{\dodoubleempty\domycite} \def\domycite[#1][#2]% {\ifsecondargument \footnote{\cite[alternative=data,#1][#2]}% \else \footnote{\cite[data][#1]}% \fi} % Individial citation settings... % Enable clickable links... \setupcite[alternative=interaction=start, compress=no] % Publication list setups for end of the book list... % Settings for triggering et al... \setuppublicationlist[authoretallimit=3] \setuppublicationlist[authoretaltext={\it\ et al.}] \setuppublicationlist[authoretaldisplay=2] % List the author, editor, or article author's full name, inverted... \setuppublicationlist[% author=\invertedauthor,% artauthor=\invertedauthor,% editor=\invertedauthor,% title=References] % Setup footnotes... \setupnotation[footnote] [color=colour_footnote_text, backgroundcolor=colour_footnote_background, width=0.3cm, % Space between footnote number and footnote itself numbercommand=] % Remove elevated footnote notation at bottom of page \setupnote[footnote] [textseparator={\textcomma}, % Comma delineated before={\crlf\crlf}] % \setupfootnotes [rule=on, % Disable horizontal rule textstyle={\hskip.03em}] % Vertical space between footnotes and the text % To move footnotes inside of text boxes to the bottom of the page with % the rest of the footnotes. Disabled temporarily to fix issue of text % background frame borders vanishing... \kindofpagetextareas\plusone Whenever I wanted to use a citation I'd just write \footnotecite[something]. But I see now there is this page that describes a different process for using BibTeX: https://wiki.contextgarden.net/Bibliography I will take a look today and try to incorporate the new best practice for using the database and its citations. If you have any suggestions I will try and incorporate them. -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-con
[NTG-context] Re: Number in a circle
On Thu, 2024-05-30 at 17:22 +0200, Henning Hraban Ramm wrote: > Am 28.05.24 um 23:50 schrieb Kip Warner: > > On Tue, 2024-05-28 at 17:47 +0200, Pablo Rodriguez wrote: > > > fw is a new dimensio unit only available in LMTX (not in LuaTeX). > > > > > > Just in case it might help, > > > > Thanks Pablo. I'm using the context package for Ubuntu Mantic which > > is > > version 2021.03.05.20230120+dfsg-2. I'm assuming that doesn't > > support > > the new unit. > > No. Debian/Ubuntu is known for outdated TeX Live packages. > > It doesn’t matter as long as it works for you, but on this mailing > list we tend to assume latest versions. > > See "Integrating vanilla TeX Live with Debian" in > https://wiki.debian.org/TeXLive how to replace TeX Live from your > Linux distribution with a current version. > > You can also install an additional ConTeXt LMTX, just be careful > about your PATH. > https://wiki.contextgarden.net/Installation Thanks Hrabab. With respect to the latter wiki page, the project might consider adding a PPA. They're very popular among the over a hundred different Debian based distros out there. They reconcile both system requirements of proper FHS usage and file tracking by the system package manager with the user's need to use the latest stable or nightly. -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: Number in a circle
On Thu, 2024-05-30 at 18:26 +0200, Thomas A. Schmitz wrote: > Is this a message "I'm volunteering to maintain such a ppa" or a > message "wouldn't it be nice if someone went out of their way to make > my life easier"? Just out of curiosity. Right now it's the latter due to time constraints. Although I have helped a number of free software projects get PPAs up and running. Usually once they're up there's not much to do after. Since ConTeXt is already Debianized by the Debian project, you probably can start with their debian/ folder, edit as needed, and then you should be good. You can also set an automatic build recipe in the PPA so each commit to SCM results in a new nightly. You'll get a lot more people using and testing your newer release this way. Food for thought. -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: Number in a circle
On Thu, 2024-05-30 at 17:26 +0200, Henning Hraban Ramm wrote: > My example wasn’t complete, and so is yours. You just define that > typeface but never use it. I'm probably doing it wrong, but I still can't get it to work: \definefontfallback[SymbolFB] [file:symbola.otf] [0x00300-0x003FF,0x02100-0x02800,0x1F000-0x2] % look up the right Unicode ranges! [check=no,force=no] \definetypeface[circle_typeface][rm][serif][times][default][fallbacks=SymbolFB] \starttext Some text in default font before temporarily switching just for this number: {\switchtobodyfont[circle_typeface] \utfchar{0x02460}} And back to normal text. \stoptext -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: Number in a circle
On Thu, 2024-05-30 at 23:20 +0100, Bruce Horrocks wrote: > I'd be able to maintain a Context PPA but there already seems to be > one: > <https://launchpad.net/ubuntu/+source/context> I think that's just the source used in Ubuntu. This is called a "source package" in the Debian parlance: https://www.debian.org/doc/debian-policy/ch-source.html But if you click the "Other versions of 'context' in untrusted archives" at the bottom of the page it will show you PPAs. There appears to be three, all of which are ancient. Just so you know, Ubuntu source packages are just Debian source packages, but often with some downstream patches. The Debian source package is what ends up in endless distros. Probably most lay users who use ConTeXt outside of building from a tarball or putting somewhere outside of the FHS are using some Debian distro derivative's package via: $ sudo apt install context Unless the Debian package is updated, usually downstream derivative distros won't update their own. For that reason if you want to affect the most change for the most users it's best to do so here: https://tracker.debian.org/pkg/context Over a hundred distros just recycle the above source package and its resulting binaries. Usually Debian is slow to update their packages, depending on who is assigned as package maintainer. Because of that, this is part of the reason why PPAs are popular because they shorten the time for lay users to try the new version without having to fiddle with paths, tarballs, etc. Once you have a PPA up, to build binary packages the builder does the same as the ones used by the Debian project. You upload a Debian source package and it will then go and build and test the resulting binary packages. After that it injects them into the APT repository (which is all a PPA is). -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Draft vertical text in margins
Hello list, I'd like to place the text "DRAFT" in the left and right side margins of every page, rotated 90 degrees so that the text runs vertically. It would be nice if the text was 180 degrees rotated on the right side in comparison to the left margin. I've tried with overlays and I can't seem to get them to work correctly. This should be simple, but as with so many things with ConTeXt it's a bit enigmatic. -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: Draft vertical text in margins
On Mon, 2024-06-03 at 17:04 +0200, Wolfgang Schuster wrote: > ai2472206...@yeah.net schrieb am 03.06.2024 um 11:35: > > you can try 'setuptext' and '\setuptexttexts' to put "draft" in > > margin.and use 'orientation' to change direction. > > > > > > \defineframed [marginframe] > > [width=max, height=max, > > style=\ss, > > corner=08, location=lohi, > > frame=off] > > \setuptext [style={\ss}] > > \setuptexttexts [margin] [] > > [\marginframe{\hbox orientation 1 > > {DRAFT}}] > > [\marginframe{\hbox orientation 1 > > {DRAFT}}] > > There is no need for low level option when you use \rotate, e.g. > > [\marginframe{\rotate[rotation=270]{DRAFT}}] > > \framed has a orientation key but it's not so easy to use in this > case > because you have to set length for width and height, e.g. > > \defineframed > [marginframe] > [width=\textheight, > height=\rightmarginwidth, > orientation=270] > > Wolfgang Thank you kindly, Wolfgang et al. Very helpful. -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: Number in a circle
On Tue, 2024-06-04 at 18:19 +0100, Bruce Horrocks wrote: > 1) I installed Ubuntu 14.04 It comes with context pre-installed but > it's broken. Hey Bruce. Just an FYI, but Trusty Tahr (14.04) is over a decade old. -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Upgrading from 2021.03.05.20230120 -> 2023.05.05.20230730 breaks BibTeX footnotes
Hello list, I recently upgraded my distro release to Ubuntu Noble on one of my machines. The ConTeXt packages that were previously for 2021.03.05.20230120 were upgraded to 2023.05.05.20230730. Since the upgrade I've noticed my BibTeX footnotes that previously looked like this: https://imgur.com/vg7Xjd3.png Now look like this: https://imgur.com/I3hq6bM.png I haven't changed anything in the source of my document. This is how I typeset in my Environment.tex: % Select References.bib and name it the main database... \usebtxdataset[main][./References.bib] % Citation style... \usebtxdefinitions[apa] % Use our main dataset for citations... \setupbtx[dataset=main] \definebtxrendering[main][apa][dataset=main] % When listing all references use APS style... \definebtxrendering [list_all_references] [aps] [dataset=main, group=examples] \setupbtxrendering[main][ pagestate=start, continue=yes, numbering=yes] % Macro to put the citations as footnotes... \unexpanded\def\footnotecite{\dodoubleempty\domycite} \def\domycite[#1][#2]% {\ifsecondargument \footnote{\cite[alternative=entry,#1][main::#2]}% \else \footnote{\cite[alternative=entry][main::#1]}% \fi} Any help appreciated! -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Upgrading from 2021.03.05.20230120 -> 2023.05.05.20230730 breaks BibTeX footnotes
Hello list, I recently upgraded my distro release to Ubuntu Noble on one of my machines. The ConTeXt packages that were previously for 2021.03.05.20230120 were upgraded to 2023.05.05.20230730. Since the upgrade I've noticed my BibTeX footnotes that previously looked like this: https://imgur.com/vg7Xjd3.png Now look like this: https://imgur.com/I3hq6bM.png I haven't changed anything in the source of my document. This is how I typeset in my Environment.tex: % Select References.bib and name it the main database... \usebtxdataset[main][./References.bib] % Citation style... \usebtxdefinitions[apa] % Use our main dataset for citations... \setupbtx[dataset=main] \definebtxrendering[main][apa][dataset=main] % When listing all references use APS style... \definebtxrendering [list_all_references] [aps] [dataset=main, group=examples] \setupbtxrendering[main][ pagestate=start, continue=yes, numbering=yes] % Macro to put the citations as footnotes... \unexpanded\def\footnotecite{\dodoubleempty\domycite} \def\domycite[#1][#2]% {\ifsecondargument \footnote{\cite[alternative=entry,#1][main::#2]}% \else \footnote{\cite[alternative=entry][main::#1]}% \fi} Any help appreciated! -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: Upgrading from 2021.03.05.20230120 -> 2023.05.05.20230730 breaks BibTeX footnotes
On Tue, 2024-06-18 at 00:54 +0200, Hans Hagen wrote: > complete example needed > > - tex file > - bib file Hello Hans, While trying to prepare a minimal for you I noticed that now all of my footnotes disappear. Here is a minimal using the buffer method so there is only one file: \startbuffer[testdata] @Book{cicero-tuscu2011, author = {Cicéron, Marcus Tullius}, editor = {Fohlen, G.}, publisher = {Les Belles Lettres}, title = {Tusculanes}, year = {2011}, address= {Paris}, edition= {7e tirage}, isbn = {9782251010830}, series = {œuvres philosophiques}, volume = {1}, ppn_gvk= {1823774121}, translator = {Jules Humbert}, } \stopbuffer % Setup bibliography... % Select References.bib and name it the main database... \usebtxdataset[main][testdata.buffer] % Citation style... \usebtxdefinitions[apa] % Use our main dataset for citations... \setupbtx[dataset=main] \definebtxrendering[main][apa][dataset=main] \setupbtxrendering[main][ pagestate=start, continue=yes, numbering=yes] % Macro to put the citations as footnotes... \unexpanded\def\footnotecite{\dodoubleempty\domycite} \def\domycite[#1][#2]% {\ifsecondargument \footnote{\cite[alternative=entry,#1][main::#2]}% \else \footnote{\cite[alternative=entry][main::#1]}% \fi} \starttext Some footnote here.\footnotecite[cicero-tuscu2011] \stoptext -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: Upgrading from 2021.03.05.20230120 -> 2023.05.05.20230730 breaks BibTeX footnotes
On Tue, 2024-06-18 at 18:48 +0200, Hans Hagen wrote: > then use \alwayscite Hey Hans. I note that command is not documented (yet) so thank you for providing that. That works in getting the reference typeset without having to list all of them. That at least gets the reference to typeset, but back to the original issue, it still doesn't typeset correctly. I've managed to come up with a minimal that displays the garbled reference: \startbuffer[testdata] @Book{cicero-tuscu2011, author = {Cicéron, Marcus Tullius}, editor = {Fohlen, G.}, publisher = {Les Belles Lettres}, title = {Tusculanes}, year = {2011}, address= {Paris}, edition= {7e tirage}, isbn = {9782251010830}, series = {œuvres philosophiques}, volume = {1}, ppn_gvk= {1823774121}, translator = {Jules Humbert}, } \stopbuffer % Setup bibliography... % Select References.bib and name it the main database... \usebtxdataset[main][testdata.buffer] % Citation style... \usebtxdefinitions[apa] % Use our main dataset for citations... \setupbtx[dataset=main] \definebtxrendering[main][apa][dataset=main] \setupbtxrendering[main][ pagestate=start, continue=yes, numbering=yes] % Macro to put the citations as footnotes... \unexpanded\def\footnotecite{\dodoubleempty\domycite} \def\domycite[#1][#2]% {\ifsecondargument \footnote{\alwayscite[alternative=entry,#1][main::#2]}% \else \footnote{\alwayscite[alternative=entry][main::#1]}% \fi} \starttext Some footnote.\footnotecite[cicero-tuscu2011] \stoptext If I use ConTeXt via https://context-on-web.eu/, which appears to be ConTeXt ver: 2022.12.22 22:17 LMTX fmt: 2022.12.23, it works fine and I see the following in the footnote, as expected: 1 Cicéron, M. T. (2011). Tusculanes (G. Fohlen, Ed.) (J. Humbert, Trans.). (Vol. 1, 7e tirage ed.). Paris: Les Belles Lettres. But on my machine which has ConTeXt 2023.05.05, I see the following: 1 internal()Cicéron, M. T. (2011). Tusculanes (G. Fohlen, Ed.) (J. Humbert, Trans.). (Vol. 1, 7e tirage ed.). Paris: Les Belles Lettres. isbn∶9782251010830 -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: Upgrading from 2021.03.05.20230120 -> 2023.05.05.20230730 breaks BibTeX footnotes
On Wed, 2024-06-19 at 09:24 +0200, Hans Hagen wrote: > so best update then ... a while ago we had some addition for > references and that involved an extra argument someplace which is > what you see ... seems to be solved in the meantime, if not i'll look > at it > > (i assume you use the installer) I use the Debian packages that ship with Ubuntu Noble (24.04). I'm a bit reluctant to install outside of the package manager's stewardship of the FHS, but might have to. -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] URL in footnote citation
Hello list, I am trying to get my references that have URLs to automatically set the entry title to the URL and not print the URL after it. Here is a minimal: \startbuffer[testdata] @Article{wikipedia2024_depeche_mode_sounds_of_the_universe, author= {{Wikipedia contributors}}, title = {Sounds of the Universe}, year = {2024}, url = {https://en.wikipedia.org/w/index.php?title=Sounds_of_the_Universe&oldid=1224785220}, note = "[Online; accessed 20-May-2024]" } \stopbuffer % Setup bibliography... % Select References.bib and name it the main database... \usebtxdataset[main][testdata.buffer] % Citation style... \usebtxdefinitions[apa] % Use our main dataset for citations... \setupbtx[dataset=main] \definebtxrendering[main][apa][dataset=main] \setupbtxrendering[main][ pagestate=start, continue=yes, numbering=yes] % Macro to put the citations as footnotes... \unexpanded\def\footnotecite{\dodoubleempty\domycite} \def\domycite[#1][#2]% {\ifsecondargument \footnote{\alwayscite[alternative=entry,#1][main::#2]}% \else \footnote{\alwayscite[alternative=entry][main::#1]}% \fi} \starttext Some footnote.\footnotecite[wikipedia2024_depeche_mode_sounds_of_the_universe] \stoptext The footnote renders like so: Wikipedia contributors (2024). Sounds of the Universe. Retrieved from https://en.wikipedia.org/w/index.php?title=Sounds_of_the_Universe&oldid =1224785220 ([Online; accessed 20-May-2024]) It would look much better if it looked like so: Wikipedia contributors (2024). Sounds of the Universe. ([Online; accessed 20-May-2024]) ...where "Sounds of the Universe" is linked to the URL in the BibTeX database. Is this possible to do? -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: URL in footnote citation
On Thu, 2024-06-20 at 15:20 +0200, Alan Braslau wrote: > Putting the URL as a hyperlink on the cite title is possible. Note > that > is is not what APA specifies. > > To do this, you need to modify the rendering definitions. Thanks Alan. I've tried in the past but I really struggle with the ConTeXt documentation. If you have a minimal you could share, I'd be much obliged. -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: Upgrading from 2021.03.05.20230120 -> 2023.05.05.20230730 breaks BibTeX footnotes
On Tue, 2024-06-18 at 18:28 -0700, Kip Warner wrote: > On Tue, 2024-06-18 at 18:48 +0200, Hans Hagen wrote: > > then use \alwayscite > > Hey Hans. I note that command is not documented (yet) so thank you > for providing that. Thank you Hans for documenting: https://wiki.contextgarden.net/Command/alwayscite -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Letter module broken?
Hello Wolfgang, I've been using your letter module for many years, but I noticed since upgrading to ConTeXt 2024.06.21 23:32 it seems to have stopped working. I tried your sample here: https://wiki.contextgarden.net/Letter#Hraban.E2.80.99s_complicated_logo_and_address_setup When I try to typeset it, I see the following: $ context minimal.tex resolvers | formats | executing runner 'run luametatex format': /home/kip/.local/non-fhs/context/tex/texmf-linux-64/bin/luametatex --jobname="./minimal.tex" --socket --shell-escape --fmt=/home/kip/.local/non-fhs/context/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt --lua=/home/kip/.local/non-fhs/context/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui --c:currentrun=1 --c:fulljobname="./minimal.tex" --c:input="./minimal.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:texmfbinpath="/home/kip/.local/non-fhs/context/tex/texmf-linux-64/bin" system > system > ConTeXt ver: 2024.06.21 23:32 LMTX fmt: 2024.6.21 int: english/english system > system > 'cont-new.mkxl' loaded open source > level 1, order 1, name '/home/kip/.local/non-fhs/context/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl' system > beware: some patches loaded from cont-new.mkiv close source> level 1, order 1, name '/home/kip/.local/non-fhs/context/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl' system > files > jobname './minimal', input './minimal.tex', result './minimal' fonts > latin modern fonts are not preloaded languages > language 'en' is active open source > level 1, order 2, name './minimal.tex' modules > 'letter' is not found fonts > preloading latin modern fonts (third stage) fonts > 'fallback modern rm 10pt' is loaded tex error > tex error on line 10 in file ./minimal.tex: Undefined control sequence \setupletteroptions 1 \mainlanguage[nl] 2 \usemodule[letter] 3 4 \setuplanguage [nl] [date={year, –, mm, –, dd}] % ISO 8601 date 5 6 \setupbodyfont[rm, 10pt] 7 \setupinterlinespace[3.0ex] % default: 2.8ex 8 \setbreakpoints[compound] % break at / and - 9 10 >> \setupletteroptions 11 [language=netherlands, 12 bodyfont={rm,10pt}, 13 whitespace=1.5ex, %3ex 14 ] 15 16 \setuptabulate[distance=0pt] 17 18 \setupletter[ 19% Sender address in envelope window 20backaddress={Pragma ADE · H.\,Hagen · Riderstraat 27 · NL-8061 GH Hasselt} The control sequence at the end of the top line of your error message was never \def'ed. You can just continue as I'll forget about whatever was undefined. Is the letter module no longer supported? If so, how do users transition from \setuplettertext, \setuplettersection, \setupletterlayer, \setupletterframe, \setupletteroptions, \setupletter, and \setupletterdescription? -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: Letter module broken?
On Wed, 2024-06-26 at 08:31 +0200, Henning Hraban Ramm wrote: Hey Henning, > I’ve no problems with the module in LMTX 2024.06.18 or 2024.06.21, > neither with my usual letters nor with the example. > > Usually, there should be some log lines that tell you about the > loading of the module: > > modules > 'letter' is loaded > open source > level 2, order 3, name > '/Users/hraban/context/tex/texmf- > modules/tex/context/third/letter/base/s-cor-01.mkvi' > > Please check if the module is there and re-generate the file > database. It looks like it is not. I followed these instructions for installation of ConTeXt on a 64-bit GNU/Linux system: https://wiki.contextgarden.net/Installation#GNU.2FLinux_2 I notice that the context/tex/texmf-modules directory exists, but there is nothing in it, after the installation completes. Is there an argument that needs to be passed to ./install.sh perhaps? -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: Letter module broken?
On Wed, 2024-06-26 at 21:17 +0200, Wolfgang Schuster wrote: > https://wiki.contextgarden.net/Modules#Installation_by_script_.28LMTX.29 Thank you greatly, Wolfgang. That worked! Will the modules automatically update when I run ./install.sh, or do I need to periodically run the following? $ mtxrun --script install-modules --install --all -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: Letter module broken?
On Wed, 2024-06-26 at 21:46 +0200, Pablo Rodriguez wrote: > Hi Kip, > > you need the second option. > > Cheers, Thanks Pablo. I wonder if it might be helpful if the modules were installed by default since they're not that numerous or large in size? -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Unequal width columns
Hey list, I am trying to typeset a document similar to below: http://www.heptalysis.com/downloads/heptalysis_executive_summary_templa te.pdf My issue is with creating two columns of unequal width. As you can see the left column is smaller than the right side. I've tried the following: \startcolumns[n=2,rule=on] ...left side contents... \column ...right side contents... \stopcolumns Is there no way to set the first column to, say, 0.33\textwidth ? Regards, -- Kip Warner -- Senior Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Unequal width columns
On Tue, 2016-08-09 at 15:21 +0200, Jean-Pierre Delange wrote: > Hi Kip, > > > Maybe you can try this : > > \defineparagraphs[TwoColumns][n=2, align={hz,hanging}] > \setupparagraphs[TwoColumns][1][width=52pt, style=italic, align=left] > % Note : you can play with the width. > > \starttext > \startTwoColumns > Yourtext1\TwoColumns > Yourtext2 > \stopTwoColumns \stoptext If you read French, see samples here : > https://fr.wikibooks.org/wiki/ConTeXt#Texte_sur_2_colonnes.2C_avec_de > s_graisses_diff.C3.A9rentes_et_du_grec_ancien Hey Jean-Pierre, That works wonderfully, except that for some reason all of the white space between paragraphs is gone in the second column. I'm not sure why since I have... \setupwhitespace[medium] \setupblank[big] -- Kip Warner -- Senior Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] 2013.03.21 broken nightly?
Hey list, The last few nightlies, including the most recent one I have installed, 2013.03.21, keeps bailing when attempting to typeset one of my documents with the same error: ! Undefined control sequence. \sf :\v!style :\v!serif \setvalue #1->\expandafter \def \csname #1 \endcsname l.256 \setvalue{\sf:\v!style :\v!serif } {rm} E ? You want to edit file /usr/share/texmf/tex/context/third/simplefonts/t-simplefonts.mkvi at line 256 mkiv lua stats > used config file: /usr/share/texmf/web2c/texmfcnf.lua ! LuaTeX error :21: attempt to concatenate a table value. \sf :\v!style :\v!serif \setvalue #1->\expandafter \def \csname #1 \endcsname l.256 \setvalue{\sf:\v!style :\v!serif } {rm} The line it is referring to contains the following: \setvalue{\sf:\v!style :\v!serif }{rm} I hope that is helpful. PS Please cc me, as my subscription is not currently active. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] 2013.03.21 broken nightly?
On Fri, 2013-03-22 at 21:56 +0100, Hans Hagen wrote: > Are you sure that your simplefonts is as up to date as context itself? > > (looks like some namespace issue but that has been stable for ages now) > > Hans Hey Hans. How can I verify? I am using debs installed from Adam's PPA. PS Please cc me, as my subscription is not currently active. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] 2013.03.21 broken nightly?
On Fri, 2013-03-22 at 23:58 +0100, Hans Hagen wrote: > It looks like something is messed up on the garden ... > > http://dl.contextgarden.net/modules/t-simplefonts.zip > > has a mkiv file while there should be a mkvi file but the timestamp is > 2013. Hey Hans. Good eye. > so, in your case, get rid of the t-simplefont.mkiv file to start with I removed that file, but get the following error: ! Undefined control sequence. \sf :\v!style :\v!serif \setvalue #1->\expandafter \def \csname #1 \endcsname l.256 \setvalue{\sf:\v!style :\v!serif } {rm} E ? You want to edit file /usr/share/texmf/tex/context/third/simplefonts/t-simplefonts.mkvi at line 256 -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] 2013.03.21 broken nightly?
On Sat, 2013-03-23 at 00:52 +0100, Hans Hagen wrote: > On 3/23/2013 12:48 AM, Hans Hagen wrote: > > On 3/23/2013 12:04 AM, Kip Warner wrote: > >> On Fri, 2013-03-22 at 23:58 +0100, Hans Hagen wrote: > >>> It looks like something is messed up on the garden ... > >>> > >>> http://dl.contextgarden.net/modules/t-simplefonts.zip > >>> > >>> has a mkiv file while there should be a mkvi file but the timestamp is > >>> 2013. > >> > >> Hey Hans. Good eye. > >> > >>> so, in your case, get rid of the t-simplefont.mkiv file to start with > >> > >> I removed that file, but get the following error: > >> > >> ! Undefined control sequence. > >> \sf > >> :\v!style :\v!serif > >> \setvalue #1->\expandafter \def \csname #1 > >>\endcsname > >> l.256 \setvalue{\sf:\v!style :\v!serif } > >> {rm} > >> E > >> ? You want to edit > >> file > >> /usr/share/texmf/tex/context/third/simplefonts/t-simplefonts.mkvi at > >> line 256 > > > > hm, only wolfgang can say what is wrong ... it looks like that module is > > a half finished transition towards a new state > > > > i can try to fix it but it's probably better is wolfgang does that .. he > > could as well have a good file on his system > > > > in the meantime, what you can try is to delete the mkvi file and use the > > older mkiv file (as that one seems to work) I'll give that a try. Thanks Hans. > btw, we need to figure out how the mkvi work in progress file ended up > on your machine > > Hans I've cc'd the packager who might now. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] 2013.03.21 broken nightly?
On Sat, 2013-03-23 at 00:48 +0100, Hans Hagen wrote: > in the meantime, what you can try is to delete the mkvi file and use the > older mkiv file (as that one seems to work) Thanks Hans. I gave it a try but it bails on further errors. I think the safest thing to do at this point is to just wait until it's resolved. I'm not in any rush and I can always roll back the deb I have installed. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] ! LuaTeX error [string "\directlua "]:1: invalid escape sequence
Hey list, I am having problems typesetting the following minimal to try and extract the current revision number from my revision control system: % Bzr revision... \def\initializeBzr {\ctxlua{context("\\global\\edef\\BzrRevision{\%s}", os.resultof"bzr revno | tr -d '\\n'")}} \initializeBzr \starttex foo \stoptex The error I receive is: ! LuaTeX error [string "\directlua "]:1: invalid escape sequence near '\%'. system > tex > error on line 5 in file minimal.tex: LuaTeX error ... Line 5 is the \initializeBzr invocation. This was working with TeX Live 2012, but perhaps the correct usage has changed. I am now using ConTeXt 2013.04.11 19:55 with LuaTeX beta-0.76.0-2013041612 (TeX Live 2013) (rev 4627). Thank you, PS Please cc me because my subscription is temporarily disabled. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ! LuaTeX error [string "\directlua "]:1: invalid escape sequence
On Fri, 2013-04-19 at 09:07 +0200, Hans Hagen wrote: > use [[ ]] for passing strings and \letterpercent , of do: > > \ctxlua{context.setxvalue("BzrRevision",os.resultof("bzr revno | tr > -d > '\string\n'"))} Thanks Hans. That solved that problem. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Issue with 2013.04.30 00:31
Hey list, I am experiencing two issues in compiling my document. The first is a non-fatal warning during compilation of my book: ... (/usr/share/texmf/tex/context/base/s-abr-02.tex resolvers > modules > 'abr-01' is loaded (/usr/share/texmf/tex/context/base/s-abr-01.tex))tr: invalid option -- ' ' Try 'tr --help' for more information. publications> wrote a new auxiliary file \jobname.aux This is BibTeX, Version 0.99d (TeX Live 2012/Debian) The top-level auxiliary file: Handbook.aux The style file: cont-au.bst Database file #1: References/References.bib (/usr/share/texmf/tex/context/bib/bibl-apa.tex) ... The second issue is a fatal error: ... references > unknown reference '[Leitmotifs][Resources For Everyone]' pages > flushing realpage 9, userpage 9, subpage 2 ! LuaTeX error [string "\directlua "]:1: invalid escape sequence near '\#'. \ctxcommand #1^^@-\directlua {commands.#1} \bibgotoURL #1#2\-\useURL [#1][#2][][#1] \from [#1] ...ded {\bibgotoURL {\@@pb@title }{\@@pb@biburl }} .\egroup \space \firstoftwoarguments #1#2o-#1 \@@pv:l:misc ...{\bgroup \it }{.\egroup \space }{} \insertpubname {}{. }{}\in... \dotypesetapublication ...ative {\bibgetvart {#1}} \removeunwantedspaces \egr... ... l.37 ...olumn to sort demand by vote.}][occupy_poll] This should not discourag... E ? You want to edit file Leitmotifs/Leitmotifs.tex at line 1 ... I don't know what the error means, but I think it is probably not being raised in the latter file since line one is merely a comment. But perhaps this is due to something in my environment file? <https://bazaar.launchpad.net/~avaneya/avaneya/trunk/view/head:/Documentation/Contributors/Handbook/Environment.tex> I am using ConTeXt 2013.04.30 00:31, LuaTeX beta-0.77.0-2013042719 (TeX Live 2013/dev/Debian)(rev 4635), and LuajitTeX version beta-0.77.0-2013042721 (TeX Live 2013/dev/Debian)(rev 39). Regards, PS I am not a subscriber. Kindly cc me. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Issue with 2013.04.30 00:31
On Sun, 2013-05-05 at 23:36 -0700, Kip Warner wrote: > Hey list, > > I am experiencing two issues in compiling my document. The first is a > non-fatal warning during compilation of my book: > > ... > (/usr/share/texmf/tex/context/base/s-abr-02.tex > resolvers > modules > 'abr-01' is loaded > (/usr/share/texmf/tex/context/base/s-abr-01.tex))tr: invalid > option -- ' > ' > Try 'tr --help' for more information. > > publications> wrote a new auxiliary file \jobname.aux > This is BibTeX, Version 0.99d (TeX Live 2012/Debian) > The top-level auxiliary file: Handbook.aux > The style file: cont-au.bst > Database file #1: References/References.bib > (/usr/share/texmf/tex/context/bib/bibl-apa.tex) > ... So I managed to solve this problem with an additional space between the tr command and its parameter as a macro in my environment file. > The second issue is a fatal error: > > ... > references > unknown reference '[Leitmotifs][Resources For > Everyone]' > pages > flushing realpage 9, userpage 9, subpage 2 > ! LuaTeX error [string "\directlua "]:1: invalid escape sequence > near '\#'. > \ctxcommand #1^^@-\directlua {commands.#1} > > \bibgotoURL #1#2\-\useURL [#1][#2][][#1] > \from [#1] > ...ded {\bibgotoURL {\@@pb@title }{\@@pb@biburl }} > .\egroup > \space > \firstoftwoarguments #1#2o-#1 > > \@@pv:l:misc ...{\bgroup \it }{.\egroup \space }{} > \insertpubname > {}{. }{}\in... > \dotypesetapublication ...ative {\bibgetvart {#1}} > > \removeunwantedspaces \egr... > ... > l.37 ...olumn to sort demand by vote.}][occupy_poll] >This should > not discourag... > E > ? You want to edit file Leitmotifs/Leitmotifs.tex at line 1 > ... This was solved as well by removing an escaped pound sign in one of my bibtex references. It shouldn't have choked on it, because as I said, it was escaped, but removing it made it appear to compile ok. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Issue with 2013.04.30 00:31
On Tue, 2013-05-07 at 10:57 +0200, luigi scarso wrote: > tr is a unix command that translate or delete characters: for some > reason > is executed > from his tex source. > A similar effect can be done with > \starttext > \ctxlua{os.execute('tr --')} > \stoptext Hey Luigi. Yes, I managed to solve this problem with an additional space between the tr command and its parameter as a macro in my environment file. Thanks a lot for your help. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Issue with 2013.04.30 00:31
On Tue, 2013-05-07 at 10:46 +0200, Hans Hagen wrote: > i'm not aware of a "tr" command so it's some kind of side effect i guess Hey Hans. I managed to sort this out by adding a space between the command and its parameter in my environment file. > no, more with an unexpandable or undefined command being used which then > ends up \likethis which confuses lua as \l is no escape (change between > lua 5.1 and 5.2) Yes, I managed to solve this by removing an escaped pound sign ('\#' -> '') in one of my BibTeX references. If I wanted to keep the pound sign, what is the proper way to escape it in my BibTeX database? Thanks Hans. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] LuaJitTeX, \texenginename, and \texengineversion
Hey Luigi, I find the \texenginename and \texengineversion useful for retrieving the backend name and version. They work fine when using the vanilla LuaTeX backend. However, when using LuaJitTeX, the aforementioned macros still seem to retrieve LuaTeX specific information and not LuaJitTeX - unless I'm doing something wrong. I was careful to ensure I passed --engine=luajittex to context as well. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] LuaJitTeX, \texenginename, and \texengineversion
On Wed, 2013-05-08 at 09:32 +0200, luigi scarso wrote: > On Wed, May 8, 2013 at 2:49 AM, Kip Warner wrote: > > > Hey Luigi, > > > > I find the \texenginename and \texengineversion useful for retrieving > > the backend name and version. They work fine when using the vanilla > > LuaTeX backend. However, when using LuaJitTeX, the aforementioned > > macros still seem to retrieve LuaTeX specific information and not > > LuaJitTeX - unless I'm doing something wrong. I was careful to ensure I > > passed --engine=luajittex to context as well. > > > > -- > > Kip Warner -- Software Engineer > > OpenPGP encrypted/signed mail preferred > > http://www.thevertigo.com > > > > yes, it's known and it's ok, because luajittex is not different from > luatex as luatex is different from pdftex/xetex/etex > (and if it's so, then it is an error). > A quick check could be > \startluacode > if jit==nil then print("=>This is not luajitTeX") else > print("=>You are running luajitTeX ") end > \stopluacode > of course one can write a global > jit ={} also in luatex. > Another one used in the log is > \startluacode > print("===>"..string.lower(status.banner)) > \stopluacode > and you can search for luajittex . > > My wish is that luajittex should be 100% compatible with luatex, but > unfortunately there are some differences between lua5.1 used by luajit2.0 > and lua5.2 > that makes this wish currently impossible to satisfied at engine level --- > ConTeXt is smart enough to manage these differences, but you can still > write > a lua script that is valid for lua5.2 but not for luajit2.0, see for > example > http://lua-users.org/lists/lua-l/2010-03/msg00237.html > > Full compatibility between lua5.2 and luajit2.0, for what I see, is not on > the top on the Mike Pall's agenda. Thanks Luigi. That was pretty comprehensive. For my purposes, it makes no different to me whether I am using luatex or luajittex. However, in my document's front matter I like to have general information about the tools used to typeset the document, and for that reason I thought it would be nice if there was a simple and elegant way to show which backend was used. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] 2013.07.12 broken nightly?
Hey list, I've observed what I suspect is a broken nightly (2013.07.12) while attempting to typeset my book. ! LuaTeX error /usr/share/texmf/tex/context/base/strc-ref.lua:2027: attempt to index a nil value stack traceback: /usr/share/texmf/tex/context/base/strc-ref.lua:2027: in function 'realpageofpage' /usr/share/texmf/tex/context/base/lpdf-ano.lua:473: in function 'handler' /usr/share/texmf/tex/context/base/lpdf-ano.lua:414: in function 'action' /usr/share/texmf/tex/context/base/lpdf-ano.lua:193: in function 'pdfaction' /usr/share/texmf/tex/context/base/lpdf-ano.lua:220: in function 'prerollreference' /usr/share/texmf/tex/context/base/node-ref.lua:390: in function 'setreference' /usr/share/texmf/tex/context/base/node-ref.lua:542: in function 'injectreference' [string "\directlua "]:1: in main chunk. \ctxcommand #1^^@-\directlua {commands.#1} Respectfully, PS Please copy me if you remember, as I am not currently a subscriber. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Broken nightly? (2013.08.03)
Hey list, I've observed what I suspect is a broken nightly (2013.08.03) while attempting to typeset my book. ... (Leading_Characters/Arda_Baştürk.tex structure > sectioning > section @ level 3 : 0.6.1 -> Arda Baştürk ! LuaTeX error /usr/share/texmf/tex/context/base/back-pdf.lua:44: attempt to call global 'f_rotation' (a nil value) stack traceback: /usr/share/texmf/tex/context/base/back-pdf.lua:44: in function 'pdfstartrotation' [string "\directlua "]:1: in main chunk. \ctxcommand #1^^@-\directlua {commands.#1} \grph_rotate_apply ...tation \p_rotation_rotation \wd \nextbox \zeropoint \h... \grph_rotate_finish_yes ...e_a \grph_rotate_apply \else \grph_rotate_calcula... \grph_rotate_finish_indeed ...h_rotate_finish_yes \fi \egroup \syst_boxes_with_next_box ...rotate_finish_indeed \egroup ...[red]{\bft Todo: Character's image goes here.}} } \tabl_ntb_prev_level ... l.103 \eTABLE E ? You want to edit file Leading_Characters/Arda_Baştürk.tex at line 103 ... The latter referenced file is available here: <https://bazaar.launchpad.net/~avaneya/avaneya/trunk/view/head:/Documentation/Contributors/Handbook/Leading_Characters/Arda_Ba%C5%9Ft%C3%BCrk.tex#L103> Respectfully, PS Please copy me if you need further information, as I am not currently a subscriber. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Broken nightly (2013.09.18)
Hey list, 2013.09.18 appears to be broken. When typesetting my book, I receive the following fatal error... ! LuaTeX error /usr/share/texmf/tex/context/base/font-syn.lua:596: bad argument #2 to 'f_a' (number expected, got string) stack traceback: [C]: in function 'f_a' /usr/share/texmf/tex/context/base/font-syn.lua:596: in function 'collectstatistics' /usr/share/texmf/tex/context/base/font-syn.lua:1071: in function 'identify' /usr/share/texmf/tex/context/base/font-syn.lua:1089: in function 'load' /usr/share/texmf/tex/context/base/font-syn.lua:1100: in function 'load' /usr/share/texmf/tex/context/base/font-syn.lua:1259: in function 'resolvedspecification' /usr/share/texmf/tex/context/base/font-syn.lua:1269: in function 'resolve' /usr/share/texmf/tex/context/base/font-syn.lua:1678: in function 'exists' ...re/texmf/tex/context/third/simplefonts/t-simplefonts.lua:182: in function 'selectfont' [string "\directlua "]:1: in main chunk. \syst_helpers_comma_list_step ...ter \c!weight ")} \9>>1 #1,e-\syst_helpers_comma_list_step {#1} \syst_helpers_do_process_comma_... \relax regular, italic,slanted,bold,bolditalic,boldslanted,caps, italiccaps,slan \syst_helpers_do_process_comma_list ...argument #1 ,]\relax \global \advance ... \simplefonts@definetextfont ...rocesscommacommand \ifx \currenttypeface \v!s... \syst_helpers_quadruple_empty_four_spaced ...4}][] ... l.397 \setupbodyfont[11pt] It looks as though the problem is buried in line 596 of font-syn.lua. For some reason s.angle is typed as a Lua string and not a number. local angle = f_a(s.angle or 0) -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Broken nightly (2013.09.18)
On Thu, 2013-09-19 at 14:25 -0700, Kip Warner wrote: > It looks as though the problem is buried in line 596 of font-syn.lua. > For some reason s.angle is typed as a Lua string and not a number. > > local angle = f_a(s.angle or 0) I tried patching the above with the following... local angle = f_a(tonumber(s.angle) or 0) ...and the Lua compiler does appear to consume that line successfully, but a new error I cannot decipher creeps up... error: /usr/share/texmf/tex/context/base/math-noa.lua:156: You can't assign a glue_spec node to a prev field . \textmath ...\normalstartimath #1\normalstopimath \endgroup \fi \symb_place_indeed ...name \??symbol #1\endcsname \relax \endgroup \symb_place_retry ...name \symb_place_indeed {:#1} \else #1\fi \symb_place_normal_c ...lace_retry \currentsymbol \fi \symb_place_normal_b ...else \symb_place_normal_c \fi \symb_place_indeed ...name \??symbol #1\endcsname \relax \endgroup ... l.103 \eTABLE That also appears to be buried deep inside Hans' math routines. I can't figure out exactly what he is trying to do, but it looks as though it has something to do with calculating correct values for fonts. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Broken nightly (2013.09.18)
On Fri, 2013-09-20 at 00:16 +0200, Hans Hagen wrote: > ok (fyi: these are new entries for wolfgang's module) Noted. > that is already fixed Thanks Hans. Let me know if there is anything else I can do. Take care, -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Broken nightly (2013.09.18)
On Fri, 2013-09-20 at 00:45 +0200, Hans Hagen wrote: > On 9/20/2013 12:19 AM, Kip Warner wrote: > > On Fri, 2013-09-20 at 00:16 +0200, Hans Hagen wrote: > >> ok (fyi: these are new entries for wolfgang's module) > > > > Noted. > > > >> that is already fixed > > > > Thanks Hans. Let me know if there is anything else I can do. > > the math should work Great. I'm using the Adam Reviczky's generous PPA and I'll give it a try as soon as the buildbot pushes new debs. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Broken nightly (2013.10.04)
Hey list, I've noticed a problem typesetting my book using ConTeXt nightly version 2013.10.04. The following code... \placeformula[formula:Limit of Verhulst equation] \startformula \lim_{t\to\infty} P(t) = K. \stopformula ...seems to raise the following error... ! Undefined control sequence. \lim_ l.84 \lim_ {t\to\infty} P(t) = K. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Broken nightly (2013.10.04)
On Mon, 2013-10-14 at 00:22 +0200, Wolfgang Schuster wrote: > This was a bug and Hans already fixed it a few days ago. > > http://thread.gmane.org/gmane.comp.tex.context/84607/focus=84616 Thanks Wolfgang (and Hans). Adam's PPA will probably have the fix packaged the next time the build bots pick up the newer source. Take care, -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] [OT] Book complete and thank you
Friends, I have completed my book typeset using ConTeXt[1]. I'd like to extend my gratitude to this list for the many questions answered. In particular, I'd like to thank in no particular order Hans Hagen, Luigi Scarso, Wolfgang Schuster, Mojca Miklavec, and Taco Hoekwater. I'd also like to thank Adam Reviczky for his help in preparing debs for ConTeXt. <https://www.avaneya.com/#!/content/downloads/handbook.html> Without these peoples' help, it would have been more difficult to develop my project. Take care, -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] [OT] Book complete and thank you
On Wed, 2013-12-11 at 09:13 +0100, Otared Kavian wrote: > Very nice book! Thanks for sharing. Hey Otared, My pleasure and nice to finally contribute something back after all the years of taking information from this list. > I would like just to point out that contrary to what is said on page > 40, Pierre Verhulst was not a French mathematician but rather a Belgian > mathematician who proposed a model of differential equations to > describe population and resource dynamics , please see: Thanks for pointing that out. I don't know how I made that error, but it is now fixed and uploaded. Take care, -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] CV / Resume examples
On Sat, 2014-06-28 at 16:13 +0200, Martin Bruchanov wrote: > Hey Kip and list ;) > > There is my CV for your inspiration: > > http://bruxy.regnet.cz/personal/Martin_Bruchanov_Resume.pdf > > http://bruxy.regnet.cz/personal/Martin_Bruchanov_Resume.ctex > > BruXy Hey Martin. Thanks a lot for sharing! -- Kip Warner -- Senior Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] 'excursion' and MkIV/LuaTeX
On Sun, 2014-06-29 at 11:09 +0200, Hans Hagen wrote: > my collegue is working on that Hey Hans. Where can we learn more about the progress of the physical book? Do you have a rough time frame, as in 3+ years or sometime within the next few months? -- Kip Warner -- Senior Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Scientific paper boiler plate
Hey list, I'd like to write a short scientific paper describing an algorithm I discovered in the realm of computational geometry a few years ago before I forget it entirely. I've been meaning to do this for some time, but haven't had a chance. I'd like to use ConTeXt. Does anyone have a sample source I could take a look at as a starting point? I will need to typeset some figures, pseudo code, references, etc. and this all takes much less time when someone much more clever than I, like Wolfgang or Hans already has a similar environment file and such setup. Respectfully, -- Kip Warner -- Senior Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Scientific paper boiler plate
On Mon, 2014-09-15 at 15:18 +0200, Joshua Krämer wrote: > At the moment, I am writing my MD thesis using ConTeXt. I have > equations, figures, tables, diagrams, references. There is also Lua > code embedded to prepare data tables from CSV files, round values etc. > Of course, there is a lot in my files that you will not need. The > organization of my files (preamble files, chapter files) may not > be suitable for your project. The format of my document (thesis) > may not be what you want (journal article?). On these grounds, I do not > think it is a good idea to take the files from somebody else and alter > them. I know this is common in the LaTeX community, and I have seen > many times that it leads to inconsistent settings, conflicting packages > and other problems. Instead, I suggest you to start with an empty file > and add everything *you* need. However, if you really want, I can try > to strip down my files and send you a basic sample. > > Kind regards, > Joshua Krämer Hey Joshua, I'm looking more for a journal article format, so even if you managed to strip down your work into a boiler plate, it might, as you say, still be not useful for this type of situation. Thanks a lot anyways for the offer. Respectfully, -- Kip Warner -- Senior Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Resume source
Hey list, I've gone through the letter module manual below: <http://bitbucket.org/wolfs/correspondence/downloads/correspondence.pdf> On p.130 of 148, as indexed by my renderer, there is a great looking resume template that is blue and black on light grey. I've tried looking for the source of this everywhere, including in the book's, but I can't seem to find it. Can anyone help me? -- Kip Warner -- Senior Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Error with \prevdepth
Hey list, I am having difficulty typesetting my book using ConTeXt version 2015.01.10 00:44. It bails on line 32... <https://bazaar.launchpad.net/~avaneya/avaneya/trunk/view/head:/Documentation/Contributors/Handbook/Handbook.tex> ...with the following error: tex error > error on line 32 in file Handbook/Handbook.tex: ! You can't use `\prevdepth' in restricted horizontal mode Any help appreciated. -- Kip Warner -- Senior Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Error with \prevdepth
On Mon, 2015-01-26 at 11:07 +0100, Hans Hagen wrote: > remeve the placefigure in that line, so : > > \midaligned >{\externalfigure > [Makeup/Images/Cartesian_Theatre.svg] > [width=0.25\textwidth]} > > a midaligned is a hbox while a placefigure operates in the mvl Thanks Hans. ConTeXt gets past that, but raises font errors: simplefonts > font ''ubuntu'' not found I have the Ubuntu typeface installed on my system and nothing has changed, except this version of ConTeXt is newer. In my environment file I have... % Font to use for main text... \setmainfont[Ubuntu] \setupbodyfont[11pt] -- Kip Warner -- Senior Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Error with \prevdepth
On Tue, 2015-01-27 at 00:19 +0100, Hans Hagen wrote: > there is no reason a font should not be found My context/tex/setuptex shell script contains the following: export OSFONTDIR="$HOME/.fonts:/usr/share/fonts:/usr/share/texmf/fonts/opentype/:/opt/libreoffice/basis3.3/share/fonts/" $ dpkg -L ttf-ubuntu-font-family /. /usr /usr/share /usr/share/fonts /usr/share/fonts/truetype /usr/share/fonts/truetype/ubuntu-font-family /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-LI.ttf /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-BI.ttf /usr/share/fonts/truetype/ubuntu-font-family/UbuntuMono-B.ttf /usr/share/fonts/truetype/ubuntu-font-family/UbuntuMono-RI.ttf /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-R.ttf /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-MI.ttf /usr/share/fonts/truetype/ubuntu-font-family/UbuntuMono-R.ttf /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-B.ttf /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-RI.ttf /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-C.ttf /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-M.ttf /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-L.ttf /usr/share/fonts/truetype/ubuntu-font-family/UbuntuMono-BI.ttf If I look inside the PDF properties, I can see that the Ubuntu typeface is embedded, but it looks like it's just not being used anymore. -- Kip Warner -- Senior Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Error with \prevdepth
On Tue, 2015-01-27 at 00:45 +0100, Hans Hagen wrote: > maybe test that in a small test file It seems to work if I run the following first: $ mtxrun --script fonts --reload $ luatools --generate $ mtxrun --script fonts --list --all --pattern=* $ context --reload I wish ConTeXt was properly Debianized so all of this was automagically taken care of during postinst hook. -- Kip Warner -- Senior Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Error with \prevdepth
On Tue, 2015-01-27 at 09:48 +0100, Hans Hagen wrote: > not sure what that means but the main thing you need to keep in mind > as > user is: > > - mtxrun --generate : when the tree changes > - mtxrun --script font --reload : when fonts were moved / added / > removed > > (if the cache is wiped all happens automatically anyway) Thanks Hans. -- Kip Warner -- Senior Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Bad PDF to text crawlers
Hey list, I have an important document online that I would prefer to keep as a PDF and not in another format. Unfortunately bots frequently try to provide those looking for it with a text version they try to extract (beyond my control). The extraction looks just absolutely awful and has been a major pain in leaving readers with a really bad understanding of the contents of the document. I was thinking that there must be some way of tricking these bots, depending on how they are implemented, and let's assume they will always find the PDF, to get them to extract only a small invisible layer that just contains some hidden text directing a user to the location to download the original high quality ConTeXt PDF. Any suggestions? -- Kip Warner -- Senior Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: Digital 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] Bad PDF to text crawlers
On Wed, 2015-08-19 at 23:35 +0200, Peter Münster wrote: > Even if you would find a way today, tomorrow there would be other > bots, that see the same text, as the humans. Yes, probably. > Get the value of HTTP_USER_AGENT and send the replacement text, if > the agent is a bot. Or use robots.txt. I'll give that some thought. Thank you. -- Kip Warner -- Senior Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Unsupported Platform
Hey folks, I just downloaded the first-setup.sh to a machine running GNU. In executing it, I got an error message that self suggested it be reported to the mailing list. $ ./first-setup.sh --extra=all Error: your system "Linux mips64" is not supported yet. Please report to the ConTeXt mailing-list (ntg-context@ntg.nl) Take care, PS Please cc me if you need to contact me, as I'm not on the list. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] ConTeXt PPA
Hey folks, Adam was very kind enough to provide us with an up-to-date PPA for ConTeXt which makes installation much easier for those of us running Ubuntu. https://launchpad.net/~reviczky/+archive/ppa Thanks again Adam! PS I am not on the list, so you'll have to cc me if you need to. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Unsupported Platform
On Mon, 2011-06-13 at 09:34 +0200, Mojca Miklavec wrote: > Thanks a lot for the report. > > Since none of us has the ability to compile for that architecture, the > only way to include support is if somebody compiles TeX Live (2011) > binaries as soon as possible and then keeps compiling LuaTeX and > metapost for that architecture on regular basis (once per month on > average, but it is nice to have reacting time within a few days). > > Are you willing to volunteer for that? > > Mojca Hey Mojca, I could, but on the condition that it doesn't require any more than a few minutes of my time each month because I am pretty task saturated already. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Unsupported Platform
On Mon, 2011-06-13 at 19:37 +0200, Mojca Miklavec wrote: > When sources are updated and if everything is set up properly, you > only need to run a single command from terminal (at the end you need > to provide svn password unless you configure svn to store it for you). > It takes about 10 minutes to finish compilation, but it only takes > processor time, no work for you. You can also set up a cron job to run > each night in which case there will be absolutely zero work for you > unless compilation fails. > > What is more important is not to abandone the work once you start it. > It makes little to no sense to provide binaries if you happen to, say, > not have time to update the binaries for a month. > > You can try > svn co http://svn.contextgarden.net/minimals-src/build-binaries > > Try to run bin_update_src.sh and try to build luatex and metapost (you > can also run bin_buid.sh, but then you need to patch platform.sh > first). Usually you just hit "do_all.sh". > > > > However the first required step is to build TeX Live sources. See > http://www.tug.org/texlive/build.html > > The deadline for release of TeX Line 2011 is end of June. It would be > most helpful for me if TeX Live's SVN could include binaries. Updating > TeX Live binaries is only done once per year and you might need to > repeat that two or three times within a month (when bugs are > discovered). > > Can you please try if you can build the successfully? > > Mojca Hey Mojca, I think you raise some good points and this would be a useful contribution to the project. I think the easiest thing to do would be if I just give you a shell account on a MIPS64 machine and you can run this yourself, if you like. I haven't much time. If that is ok with you, please email me off the list. Take care, -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Unsupported Platform
On Tue, 2011-06-14 at 09:56 +0200, Mojca Miklavec wrote: > I would be glad to help and to build the binaries, but I'm not sure if > it pays back to do that for zero users. The additional problem is that > I don't know anything about compiler, compatibility of binaries > accross different OS versions etc. Hey Mojca. I can't really answer that question either, as I don't know. > I will keep your offer in mind in case that a few more people request > support for the same architecture. If you change your mind and want to > start building, just let me know. > > Mojca Sounds good Mojca. The offer is still standing if you find more people who would like it ported as well. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] PDF Viewer Navigation Tree
Hey folks, I'm not sure where to be looking, as this may well be a feature already implemented in ConTeXt or its lower level dependencies. I couldn't find anything in the mailing archives, nor in the reference manual or wiki. In my PDF viewer Evince, I have a navigation tree in the side bar that allows me quick access to various parts of some PDF documents. When I was using Texinfo, this was generated automatically for each @chapter / @section / @subsection / etc when the PDF was being written out. I noticed this doesn't appear to happen automatically with ConTeXt. How does one go about doing the same in ConTeXt? -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Itemizing from zero
Hey folks, I noticed some other people had issues with \startitemize[n] counting starting from zero as a bug a while ago. In my case, I need a specific list to start counting from zero. Is there any way to do this? -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Itemizing from zero
On Thu, 2011-06-16 at 10:19 +0200, adam.revic...@kcl.ac.uk wrote: > see: http://wiki.contextgarden.net/Enumerations > > example: > --- > \starttext > \startitemize[n][start=0] > \dorecurse{3}{\item Lorem ipsum} > \stopitemize > \stoptext > --- > > Adam Hello again, Adam, and thanks again. That worked. I always seem to look in N-1 places, but you always remind me that it was in the Nth all along. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] PDF Viewer Navigation Tree
luigi scarso gmail.com> writes: > pdfbookmarks ? > http://wiki.contextgarden.net/PDF_Bookmarks_and_Headers Hey Luigi. The sample code in the link you gave me works fine if I compile it. If I put it in my own book, should the adjusted code be in the environment, project, or product file? I have only one project / product. Kip ___ 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] Problem with chem module
Greetings, I am using ConTeXt head and I am having some issues with the chem module. I get the following error: Math error: parameter \Umathlimit_above_bgap\textstyle is not set ... My environment file specifies to import the Chemistry module: \usemodule[units,chemic] And the offending statement found in one of my component files is: \chemical{CO_2,PLUS,H_2,PLUS,GIVES,PLUS,O_2,PLUS,CO} What am I doing wrong? -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Table Column Width
Hey list, I have a table with four columns. The first three are fine as fixed width and fairly narrow, but I need the fourth one to be larger to accommodate text that can wrap for two or more lines. How would I go about doing this? I'm guessing something needs to said in the \starttable[|c|c|c|c|] last field, but I can't figure out what from the documentation. The syntax is a little elusive. Thanks, -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] PDF Viewer Navigation Tree
On Sat, 2011-06-18 at 06:18 +0200, Wolfgang Schuster wrote: > When you use a environment file put all setups in it. When you have only > one product you dont need a project file because you can load the environment > file from the product and component files. > > Wolfgang Thanks Wolfgang. For some reason, and I have absolutely no idea why, the index is showing today and I can't recall what I had changed. Oh well, as Scotty said, if it ain't broke, don't fix it. I'll also merge the project / product files together into one as you suggested. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Table Column Width
On Sat, 2011-06-18 at 19:12 +1200, Pontus Lurcock wrote: > Hope this helps, > > Pont Thanks Pontus. Natural tables did the trick. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Table Column Width
On Sat, 2011-06-18 at 11:27 +0200, Hans Hagen wrote: > replace c by p(4cm) Thanks Hans. I decided to migrate to the natural tables instead. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Problem with chem module
etMPtext{text}{some test text} \startusableMPgraphic{text} picture r ; r := image ( graphictext \MPstring{text} randomized .4pt scaled 6pt withfillcolor .8\MPcolor{maincolor} withpen pencircle scaled 1pt ; ) ; draw r ; \stopusableMPgraphic \setuptype [\c!option=\v!slanted] \setuptyping [\c!option=\v!slanted] \setuplist [\v!section] [\c!width=3em] \defineregister [texmacro] [texmacros] \setupregister [texmacro] [\c!indicator=\v!off, \c!distance=1em minus .25em] \setupfootnotes [\c!rule=\v!on] \setuphead [\v!chapter] [\c!header=\v!empty] \setupitemgroup[\v!itemize] [\v!each] [\c!headstyle=\v!bold] \setupitemgroup[\v!itemize] [\v!each] [\v!stopper] \setupsubpagenumber [\c!way=\v!by\v!chapter, \c!state=\v!start] \stopenvironment -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] More chemic module woes
Hey list, I am running ConTeXt version 2011.06.17 16:50 pulled from Adam's PPA. From the Chemistry wiki article here, http://wiki.contextgarden.net/Chemistry , I am attempted to compile the water reaction example here: \usemodule[chemic] \startformula \chemical{2H_2,+,O_2,->,2H_2O} \stopformula The image following it on the wiki looks as one would expect, but mine does not. I compiled the same code, but bracketed with \startstoptext and my generated PDF contains literally the following: 2H 2,+,O 2,–>,2H 2O Something's not right. Any ideas? I have tried it both with and without the texlive-math-extra package installed. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] More chemic module woes
On Mon, 2011-06-20 at 20:03 +0200, Hans Hagen wrote: > chemical support is not includes so best not load the chem module Hey Hans, Sorry, I don't follow. Do you mean chemical support is included by default and you don't need to explicitly load the module? Are you saying that the "chemic" module is deprecated? Or something else? > \chemical{2H_2,+,O_2,->,2H_2O} > > \startformula > \chemical{2H_2}{}{} > \stopformula > > \startformula > \inlinechemical{2H_2,+,O_2,->,2H_2O} > \stopformula > > \startchemicalformula > \chemical{S} > \chemical{+} > \chemical{O_2} > \chemical{GIVES}{violent} > \chemical{\+{4}{S}\-{2}{O_2}} > \stopchemicalformula > > the last case is bugged (i'll look into it, probably some interference > with recent math) > > Hans Ok, I replaced \chemical with \inlinechemical in my code, along with replacing the GIVES with + signs and it came up working. Thank you for your help. =) -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] More chemic module woes
On Tue, 2011-06-21 at 10:48 +0200, Hans Hagen wrote: > indeed, in mkiv it is .. most code has been reimplemented > > some of the code (esp arrow related) is work in progress and awaiting > some luatex extensions (saved hacking) that make spacing easier > > Hans So it is deprecated and to be replaced with some other currently experimental module? -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] More chemic module woes
On Tue, 2011-06-21 at 20:16 +0200, Hans Hagen wrote: > it's more like 'integrated' .. always present .. core stuff > > Hans Understood. Thank you. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] ConTeXt support for DjVu backend
Hey list, Are there any plans to eventually support the DjVu format as an additional backend alternative to PDF? DjVu is a free standard promoted as an alternative to PDF. It is allegedly a superior format. <https://secure.wikimedia.org/wikipedia/en/wiki/DjVu> -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt support for DjVu backend
On Wed, 2011-06-22 at 21:51 +0200, Hans Hagen wrote: > it's mostly an image format (efficient storage of scanned documents) and > in that sense it's an alternative (jbig2 is another candidate) > > Hans That's what I was thinking too at first, that's it's mostly for scanned documents. But since it is trying to be a replacement for PDF and it has most of the same features, I think it's more than just that now. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt support for DjVu backend
On Wed, 2011-06-22 at 23:27 +0200, Hans Hagen wrote: > - the starting point is scanned images > - there can be an ocr layer but still the image is the core > - pdf is more: colorspaces, vector graphics, annotations, etc > > So, a djvu document would be less sophisticated. It might not matter for > many cases, and one could probably make a backend to produce something > reasonable but it's not worth the trouble I fear. As mentioned, it's > probably easier to convert the pdf into a djvu with a postprocessor. > > Hans Understood. Thanks. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt support for DjVu backend
On Wed, 2011-06-22 at 23:36 +0200, Hans Hagen wrote: > btw, it would be interesting to have a good open source jbig2 > producer > (as that is natively supported in pdf) and it's a pretty efficient > compression (close to djvu) Interesting. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Sanskrit Devanagari characters
Hey list, I need to sprinkle my book with a few Sanskrit words written in the Devanagari script. I don't need to write complete paragraphs in it, but just a word or two inline. Can anyone show me the ConTeXt source to do such a thing, with, say "तरीकिन"? -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Changing Body Font
Hey list, I am trying to change the body font of my document in the environment file to use the Ubuntu font provided at, /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-R.ttf , by the ttf-ubuntu-font-family package. I have tried the following, but it did not appear to change anything, \setupbodyfont[ubuntu,11pt][file:ubuntu-r][features=default] I also tried, \setupbodyfont[ubuntu,11pt] Any help would be appreciated. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Sanskrit Devanagari characters
On Thu, 2011-06-23 at 14:05 +0200, Daniel Stender wrote: > I was planning to spend some time on at least typesetting Devanagari with > ConTeXt in the > foreseenable future. I'll come back with this in a couple of weeks. > > Greetings, > Daniel Stender Thanks Daniel. If you need a sample project to try it on, mine is of course available. Take care, -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Sanskrit Devanagari characters
On Thu, 2011-06-23 at 06:36 +0200, Khaled Hosny wrote: > ConTeXt MkIV (assuming it is what you use) has no proper support for > Devanagari or other Indic scripts. Since you need only few words, you > can produce them externally (say ConTeXt MkII with XeTeX or Inkscape) > and include the resultant PDF as inline figure. > > Regards, > Khaled Hey Khaled, It's an inelegant, albeit workable solution - but perhaps the only way. Thanks for your help. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] bad argument #1 to 'gsub'
{\hfill\getmarking[\v!section]\hfill}] \setupbodyfontenvironment [default] [em=italic] \setupsectionblock[\v!frontpart] [\c!page=\v!yes] \setupsectionblock[\v!bodypart] [\c!page=\v!yes] \setupsectionblock[\v!appendix] [\c!page=\v!yes] \setupsectionblock[\v!frontpart] [\c!before=,\c!after=] \setuphead [\v!chapter] [\c!command=\PlaceSection, \c!page=\v!yes, \c!before=, \c!header=\v!nomarking, \c!style=\bfd] \setuphead [\v!title] [\c!command=\PlaceSection, \c!page=\v!right, \c!before=, \c!header=\v!nomarking, \c!style=\bfd] \setuphead [\v!section] [\c!command=\PlaceSection, \c!inbetween=, \c!style=\bfb] \setuphead [\v!subsection] [\c!command=\PlaceSection, \c!before=\blank, \c!style=\bfa] \setuphead [\v!subsubsection] [\c!command=\PlaceSection, \c!before=\blank, \c!style=\bsa] \def\PlaceSection#1#2% {\goodbreak \vbox {\localheadsetup \begstrut \inleftmargin{\hbox to \leftmarginwidth{\hss#1\hss}}% #2}} \setupcaptions[width=14cm,align=right] \setMPtext{text}{some test text} \startusableMPgraphic{text} picture r ; r := image ( graphictext \MPstring{text} randomized .4pt scaled 6pt withfillcolor .8\MPcolor{maincolor} withpen pencircle scaled 1pt ; ) ; draw r ; \stopusableMPgraphic \setuptype [\c!option=\v!slanted] \setuptyping [\c!option=\v!slanted] \setuplist [\v!section] [\c!width=3em] \defineregister [texmacro] [texmacros] \setupregister [texmacro] [\c!indicator=\v!off, \c!distance=1em minus .25em] \setupfootnotes [\c!rule=\v!on] \setuphead [\v!chapter] [\c!header=\v!empty] \setupitemgroup[\v!itemize] [\v!each] [\c!headstyle=\v!bold] \setupitemgroup[\v!itemize] [\v!each] [\v!stopper] \setupsubpagenumber [\c!way=\v!by\v!chapter, \c!state=\v!start] \stopenvironment - /Source/Handbook.tex - \startproduct Handbook \environment Source/Environment \startfrontmatter \completecontent \stopfrontmatter \startbodymatter \component Source/Preface/Preface \stopbodymatter \startappendices \completeindex \stopappendices \startbackmatter \stopbackmatter \stopproduct - /Source/Preface/Preface.tex - \startchapter{Preface} Foo - Any help would be much appreciated. I am using ConTeXt version 2011.06.23 23:59. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.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 ___