Re: [NTG-context] Repeat second-level registers within index
OK, I've reduced my observed problems with index generation to a simple test case: \starttext \placeindex \page \index{one}whatever % Shows up [1] \index{one+sub}whatever % Shows up correctly as sub-entry \index{two}whatever % Shows up [2] \index{one}whatever % Skipped because duplicate of [1] \index{two}whatever % Shows up as a duplicate of [2] \index{three}whatever % Doesn't show up at all \stoptext So, both duplicate entries and missing entries. It could be that having a mixture of 1-level and 2-level index entries isn't supported, but it *used* to work... Unfortunately I hadn't updated my ConTeXt install in months, so I can't tell when it broke. mathew ___ 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] Repeat second-level registers within index
On Tue, Oct 8, 2013 at 2:57 PM, Hans Hagen pra...@wxs.nl wrote: fixed in upload Thanks so much! mathew -- URL:http://www.pobox.com/~meta/ ___ 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 fonts script update error
Just installed the ConTeXt standalone, and the fonts script doesn't seem to work: % mtxrun --script fonts --list .../context/tex/texmf-context/tex/context/base/font-trt.lua:11: attempt to index field 'names' (a nil value) Commenting out line 11 seems to make the script function. mathew ___ 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] Repeat second-level registers within index
I'm wondering if the changes for second level index generation are the reason why I'm now getting bogus duplicate first level index entries? e.g. e-mail addresses 3 e-mail addresses 4 e-mail addresses 4, 4 4 4 4 e-mail addresses 3 and so on. Clean install of ConTeXt standalone, about 30 minutes ago. mathew ___ 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] starttyping/stoptyping broken?
On Sat, Jan 14, 2012 at 04:37, Hans Hagen pra...@wxs.nl wrote: this related to the buffer bug (still no new beta as i'm redoing some font code and have not much time today) OK. Is there some convenient way to revert to the last known good version of standalone ConTeXt? I ended up installing the Ubuntu package, which was confused by my standalone install until I deleted that. Then I had to mess with OSFONTDIR to get my fonts working again. I then got the error (noted on the mailing list before) involving ! Math error: parameter \Umathquad\displaystyle is not set. which as you probably recall, is caused by font with asked name 'lmmath' is not found using lookup 'file' unknown font lmmath, loading aborted when trying to use a custom typescript that doesn't have a math font, and \startitemize. There is a Ubuntu package lmodern which claims to be OpenType versions of Latin Modern, and it's installed as a dependency when installing Ubuntu's ConTeXt package, but it only includes LMMathSymbols, LMMathExtension and LMMathItalic, none of which seem acceptable to ConTeXt as lmmath. After struggling with *that* for a while, I found the easiest solution was to go to http://www.gust.org.pl/projects/e-foundry/lm-math/download/index_html and download the latest lmmath, rename it as lmmath.otf and install it in my personal ~/.fonts. Noting all this here as searching the mailing list and Google hadn't pointed me at that solution. Is there a better one? mathew -- URL:http://www.pobox.com/~meta/ ___ 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] starttyping/stoptyping broken?
Just this minute updated via wget http://minimals.contextgarden.net/setup/first-setup.sh and running first-setup.sh, getting errors trying to use \starttyping/\stoptyping. --- example file --- \starttext \startframedtext[width=5.5cm] \starttyping Line 1 Line 2 Line 3 \stoptyping \stopframedtext \stoptext --- output --- This is LuaTeX, Version beta-0.70.1-2011051923 (rev 4277) \write18 enabled. (test2.tex ConTeXt ver: 2012.01.12 11:03 MKIV fmt: 2012.1.13 int: english/english (/usr/local/context/tex/texmf-context/tex/context/base/cont-new.mkiv) (test2.top){/usr/local/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map} (/usr/local/context/tex/texmf-context/tex/context/base/type-otf.mkiv){/usr/local/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/usr/local/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map} ! Missing } inserted. 1 2 \starttext 3 \startframedtext[width=5.5cm] 4 \starttyping 5 Line 1 6 Line 2 7 Line 3 8 \stoptyping 9 \stopframedtext 10 \stoptext 11 inserted text } to be read again \endgroup \stoppacked ...level =\plusone \ifvmode \endgroup \fi \fi \global \advance \... \dostoptyping #1-\stoppacked \typingparameter \c!after \useindentnextparame... l.8 \stoptyping --- end output --- mathew -- URL:http://www.pobox.com/~meta/ ___ 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] url: Add macros to the ConTeXt core
On Mon, Nov 14, 2011 at 03:42, Aditya Mahajan adit...@umich.edu wrote: Why not simply: \def\href#1#2{\goto{#2}[url(#**1)]} Or did I miss something? I use this: % Define \Site[id][url]{description} to put in a clickable link % with footnoted URL \def\Site[#1][#2]#3{\useURL[#1][#2][][#3]\from[#1]\footnote[#1]{\tt\hyphenatedurl{#2}}} That way people reading PDFs on a computer can click the site name in the text to go there, and not have to see a URL; those with printed copies can look at the footnote at the bottom of the page to find the URL and type it in. mathew -- URL:http://www.pobox.com/~meta/ ___ 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 PPA
On Sun, Jun 12, 2011 at 20:17, Kip Warner k...@thevertigo.com wrote: 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 Why does it require Mono? That's a deal-killer for me. mathew ___ 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 PPA
On Wed, Jun 15, 2011 at 10:51, Reviczky, Adam adam.revic...@kcl.ac.ukwrote: Why does it require Mono? That's a deal-killer for me. It does not. OK, Launchpad's listing confused me. Sorry. Maybe it would have been better to use separate PPAs for unrelated projects? mathew ___ 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] compresslevel and png graphics (mkiv)
On Wed, May 25, 2011 at 09:40, Hans Hagen pra...@wxs.nl wrote: Normally I convert such images to pdf first (using acrobat or gs) simply because inclusion of pdf is much faster. Wow, that's odd. I've found that SVG - PDF - MkIV results in huge document bloat, whereas SVG - EPS - MkIV works much better. (Using Inkscape for both SVG conversions.) But I just experimentally preconverted all my PNGs to PDF using ImageMagick, and my document dropped from 411k to 98k. The PNGs had previously been optimized with pngnq, so they were only 99k, and are 177k when converted to PDF, so this result is surprising. Are my experiences with SVG to PDF atypical? Should I try to put together an example for debugging? mathew -- URL:http://www.pobox.com/~meta/ ___ 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] compresslevel and png graphics (mkiv)
On Thu, May 26, 2011 at 12:32, mathew m...@pobox.com wrote: Wow, that's odd. I've found that SVG - PDF - MkIV results in huge document bloat, whereas SVG - EPS - MkIV works much better. (Using Inkscape for both SVG conversions.) Some numbers: SVG to PDF: Two diagrams, 25k. SVG to EPS: Same two diagrams, 54k. Difference: 29k. Document rendered using the PDFs: 535k. Document rendered using the EPSs: 463k. Difference: 72k in the opposite direction. Documents otherwise identical. These are some small diagrams, too. With larger diagrams I started getting PDFs so huge that Okular wouldn't display them. mathew ___ 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] compresslevel and png graphics (mkiv)
On Thu, May 26, 2011 at 12:32, mathew m...@pobox.com wrote: But I just experimentally preconverted all my PNGs to PDF using ImageMagick, and my document dropped from 411k to 98k. The PNGs had previously been optimized with pngnq, so they were only 99k, and are 177k when converted to PDF, so this result is surprising. Unfortunately, it looks as if it's not as general a result as the use EPS rather than PDF for SVG rule. I just tried another document, and that one grew by 90k when I preconverted the PNGs to PDF (again using ImageMagick). So it seems the answer to whether PDF or PNG gives better final document size is to try both and see what happens. Not really ideal. mathew ___ 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] MK IV new install /Mac OS X
On Tue, May 17, 2011 at 10:17, Matthias Weber matwe...@indiana.edu wrote: I've been trying to install the TeX minimals on a new Mac. While MK II works, not so MK IV. [...] Downloaded TeXLive 2010 I don't think you need or want TeXLive if you're installing minimals. mathew ___ 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] MK IV new install /Mac OS X
On Tue, May 17, 2011 at 10:54, Matthias Weber matwe...@indiana.edu wrote: I know. I need TeXLive for non-ConTeXt reasons and thought I should mention it in case there are interferences. Well, yes, there will be. I'm afraid I can't help further as I don't use the rest of TeX Live, as I only use ConTeXt Mk IV and TeXworks. mathew ___ 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] Pull quotes
On Wed, Apr 27, 2011 at 15:08, Pontus Lurcock p...@talvi.net wrote: Why not just put it in a float? OK, after some fiddling around, a combination of a framed text in a float seems to work. Definitions: \definefloat[pullquote][pullquotes] % Define a new type of float \setupcaption[pullquote][location=none] % Set it to have no captions \defineframedtext[pullquote][frame=off] % Define a new type of framed text with no visible frame Usage: \placepullquote[right]{}{ \startpullquote[width=4cm] \tfc “All work and no play makes Jack a dull boy.” \stoppullquote} The {} in the \placepullquote is the text for the caption, which in this case is set up to be invisible. Obviously you could use the caption feature to cite the source of quotations. Added to the wiki. mathew -- URL:http://www.pobox.com/~meta/ ___ 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] Pull quotes
On Thu, Apr 28, 2011 at 12:16, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: As do now know what you want here is a solution from me (MkIV only): Could you comment on the advantages of your solution, given its greater complexity? mathew -- URL:http://www.pobox.com/~meta/ ___ 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] Updating contex minimal for Ubuntu 10.10
On Wed, Apr 27, 2011 at 02:54, Matthieu Stigler matthieu.stig...@gmail.com wrote: Well the texmf-cache does not exist in my home... should I have built it? Is it needed? If you're following the wiki instructions, you should end up with luatex-cache in your home directory, and texmf-cache in /usr/local/context/tex/texmf-cache. Check your environment variables: echo $TEXROOT echo $PATH echo $OSFONTDIR mathew -- URL:http://www.pobox.com/~meta/ ___ 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] Pull quotes
Has anyone implemented pull quotes using ConTeXt? What would be the best approach to take? mathew ___ 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] Finite state machine
On Tue, Apr 26, 2011 at 09:06, Cecil Westerhof cldwester...@gmail.com wrote: I just want to include a finite state machine in a pdf document. I usually go GraphViz - SVG, touch up the SVG with Inkscape, then save from Inkscape to PDF. If you're happy with GraphViz's standard output, it'll write PDF directly. mathew -- URL:http://www.pobox.com/~meta/ ___ 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] Updating contex minimal for Ubuntu 10.10
On Tue, Apr 26, 2011 at 10:54, Matthieu Stigler matthieu.stig...@gmail.com wrote: I just tried to get the most recent version of context minima, following instructions at: http://wiki.contextgarden.net/Ubuntu_installation#Maverick_.2810.10.29_with_ConTeXt_Minimals I get however following message once every thing has run: I get the same unknown configuration file error messages during the first-setup.sh process: [...] mtxrun | forcing cache reload resolvers | resolving | unknown configuration file '/usr/local/texmf-local/texmfcnf.lua' resolvers | resolving | unknown configuration file '/usr/local/texmf-local/web2c/texmfcnf.lua' resolvers | resolving | unknown configuration file '/usr/local/texmf/texmfcnf.lua' resolvers | resolving | unknown configuration file '/usr/local/texmf/web2c/texmfcnf.lua' resolvers | resolving | unknown configuration file '/usr/local/texmfcnf.lua' resolvers | resolving | resolvers | resolving | warning: no lua configuration files found resolvers | resolving | no texmf paths are defined (using TEXMF) resolvers | resolving | mtxrun | the resolver databases are not present or outdated mtx-update | state, loaded mtx-update | mtx-update | update, start [...] However, ConTeXt works fine afterwards. (I'm the person who added those Ubuntu 10.10 instructions to the wiki.) Did you remember to either start a clean shell or source ~/.bashrc after changing .bashrc? Do echo $TEXROOT echo $PATH echo $OSFONTDIR to check what the environment variables are set to when you're trying to run ConTeXt. mathew -- URL:http://www.pobox.com/~meta/ ___ 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] Google Chart URL
On Sat, Apr 16, 2011 at 13:31, Reviczky, Adam adam.revic...@kcl.ac.uk wrote: ! Undefined control sequence. system tex error on line 3 in file test.tex: Undefined control sequence ... as far as I can tell it's the | symbol where it has problems. The | symbol is not allowed unescaped in URLs. As per RFC 3986 section 2.2, the reserved delimiters are: reserved= gen-delims / sub-delims gen-delims = : / / / ? / # / [ / ] / @ sub-delims = ! / $ / / ' / ( / ) / * / + / , / ; / = and as per section 2.3, the unreserved characters are: unreserved = ALPHA / DIGIT / - / . / _ / ~ Everything else needs to be %-encoded. If your browser isn't doing so, you'll need to do it manually. mathew -- URL:http://www.pobox.com/~meta/ ___ 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] nested quotes ?
On Thu, Mar 31, 2011 at 07:35, Marco net...@lavabit.com wrote: I think the idea behind Steffens post was not to find a command that does the quoting, rather than finding *one* command that »knows« about the level of quotation and inserts the corresponding quotation marks. ...like the quotation macro on the cited web page, http://wiki.contextgarden.net/Quotes mathew ___ 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] Minimal example for Cyrillic
Here's a full working Cyrillic (and Greek) example, with comments: %context % % Example of Cyrillic in ConTeXt. % % For plain text, I'm using Gentium Plus, which has more glyphs but doesn't yet % have bold and italic variants. % % You can obtain Gentium Plus from http://scripts.sil.org/gentium % \starttypescript [serif][gentium][name] \definefontsynonym [Serif] [name:gentiumplus] \definefontsynonym [SerifBold][name:gentiumbasicbold] \definefontsynonym [SerifItalic] [name:gentiumbasicitalic] \definefontsynonym [SerifSlanted] [name:gentiumplus] \definefontsynonym [SerifBoldItalic] [name:gentiumbasicbolditalic] \definefontsynonym [SerifBoldSlanted] [name:gentiumbasicbold] \definefontsynonym [SerifCaps][name:gentiumplus] \stoptypescript % Now define a typescript which groups together the three chosen fonts, and % sets their relative sizes. % Two arguments: 'myfonts' is the name, 'default' is the character encoding. \starttypescript [myfonts][default] % For each typeface definition: % - The first parameter is the name for the typeface collection, which % may be a font family, or just a set of fonts that work well together. % Whatever the case, it's the name we'll use to select this set of % fonts later. % - The next parameter is a basic style; typically we'll have one line % for each basic style, but I'm skipping mm (math mode) in this example. % - Then there are three arguments which are used to locate a typescript % defined earlier. Note that [default] matches our earlier definitions % because they were all implicitly in the default text encoding. % - Finally, any options, most commonly adjustments to relative scaling % so the fonts work together. \definetypeface [nicefonts][rm][serif][gentium] [default] \stoptypescript % Now tell ConTeXt to actually execute the typescript we defined immediately % above, and hence any typescripts it depends on. % % This executes the \definetypeface calls to define our typeface set. Again, % myfonts is the name of the typescript, default is the character encoding. \usetypescript[myfonts][default] % Finally, use that typeface set, at 10pt base size. % Calling setupbodyfont changes headers and footers as well as body text; % switchtobodyfont just changes body text. \setupbodyfont[nicefonts,10pt] % And finally, the actual document \starttext Улице найденных совершенно на тд. Можно статьи команды он без. Одну филипа обычно по вот. Мои статьи человек процессе те, могу фирме всё он, ну над никто размере русском. Опа до раздавая правильно, нейманом содержимое об над. Те взяться плохого код, свой осуществлять все не. Here's some Greek too: Αν σωστά νόμιζες της, έτσι γραμμής βασανίζουν να πως, κι εκτός μάλλον όσο. Πετούν παραγωγικής οι σας, έξι τελικά κάνεις σε. Μέρος υπέροχα τελειώσει όρο δε. Δε νέο πάτο διακοπή, επί αφού κειμένων αποφάσισε πω. Τέτοιο βασανίζουν από ως. Σας σχεδιαστής χρησιμοποιήσει τι, γέλασαν διάσημα δημιουργείς το που. \showbodyfont[gentium] \stoptext mathew -- http://www.pobox.com/~meta/ ___ 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] Minimal example for Cyrillic
On Thu, Mar 31, 2011 at 17:14, Thomas A. Schmitz thomas.schm...@uni-bonn.de wrote: Explanation: gentium is in the minimal distribution Aha. I didn't notice that because LuaTeX found my OS-installed one first, and so used that. mathew -- URL:http://www.pobox.com/~meta/ ___ 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] beta
On Sat, Mar 26, 2011 at 05:42, Hans Hagen pra...@wxs.nl wrote: On 26-3-2011 9:19, Taco Hoekwater wrote: As I wrote in that message, the ghostscript dingbats will not be in the actual unicode locations because the Type1 font does not carry enough information for the reencoding to work. Indeed and I was somewhat puzzled by this topic coming up again. There's a simple explanation: I didn't receive the previous on-list replies. I just searched my spam folders and ConTeXt list folder, and I still can't find them. Very mysterious. Now, as the gs dingbats seem to have the same names as the official ones (some weird numbering scheme) i added a reencoding vector (if the gs files had been different I'd not done that). Taco writes: First, run this file: \usemodule[fnt-10] \starttext \ShowCompleteFont{name:dingbats}{10pt}{1} \stoptext That gives me an error: ! LuaTeX error main ctx instance:35: attempt to index field 'iterators' (a nil value) stack traceback: main ctx instance:35: in function 'show_all' main ctx instance:1: in main chunk. \ShowCompleteFont ... \ctxlua { fonts.show_all() } \stopcolumns \page \egroup l.146 ...ompleteFont{name:dejavusansmono}{10pt}{1} I'd really like to know how to get a dump of all the symbols in a font with the codes to address them by, as in general I don't think we can expect Hans to build indices for every dingbat font out there :-) I actually had no idea that the glyphs in font files had font-specific names. I thought they were just numbered according to some standard encoding, and that it was a matter of translating from glyph name or Unicode number to whatever encoding was used in the font file. mathew ___ 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] Help with Times font, footnote symbols and captions
On Fri, Mar 25, 2011 at 07:16, Nicola nvitacolo...@gmail.com wrote: I ask because my publisher seems to have strict font requirements, and has asked me to check that my paper be entirely in Times New Roman… Your best bet, then, is to download the MS TT core fonts package. http://corefonts.sourceforge.net/ That installs 'real' Times New Roman, which you can then use in the usual way. mathew [ I'm assuming you're using Linux, because if you're using Windows or a Mac you should already have Times New Roman installed. ] -- URL:http://www.pobox.com/~meta/ ___ 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] beta
On Fri, Mar 25, 2011 at 12:30, Hans Hagen pra...@wxs.nl wrote: - the font related lua code has been cleaned up and reorganized as well and; the cached data is different, the memory footprint is somewhat smaller, processing can be a bit faster, font related parameters are better organized in subtables in the font instance, etc Well, I no longer get an error when ConTeXt tries to load the GhostScript dingbats font: mkiv lua stats loaded fonts - 34 files: stmary10.afm lmmono12-regular.otf lmmono8-regular.otf lmmono9-regular.otf lmroman12-bold.otf lmroman12-regular.otf lmroman7-bold.otf lmroman7-regular.otf lmroman9-bold.otf lmroman9-regular.otf lmsans12-regular.otf lmsans8-regular.otf lmsans9-regular.otf eufb10.tfm eufb7.tfm eufm10.tfm eufm7.tfm msam10.tfm msam7.tfm msbm10.tfm msbm7.tfm lmex10.tfm lmmi12.tfm lmmi7.tfm lmmi9.tfm lmmib10.tfm lmmib7.tfm lmsy10.tfm lmsy7.tfm lmsy9.tfm rm-lmr12.tfm rm-lmr7.tfm rm-lmr9.tfm d05l.afm ^^^ there it is at the end! ^^^ I still don't get any dingbats in my PDF output, but it feels like progress is being made... \starttypescript [sans][dingbats][name] \definefontsynonym [Sans][name:dingbatsnormal] \stoptypescript \definetypeface [dingbats][ss][sans][dingbats][default] \starttext Here's a dingbat: {\dingbats ✪ \char272a} \stoptext mathew ___ 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] Which standard installed font displays ' and ` good
On Wed, Mar 23, 2011 at 11:23, Cecil Westerhof cldwester...@gmail.com wrote: I am still experimenting. With the default ' is reasonably displayed, but ` not. I liked palatino, but then even ' is not displayed nicely. What is the best (standard installed) font where both ' and ` are good displayed? I think your expectations may be at fault. In ConTeXt, ` is not open quote, it is backtick. If you want an open quote, you have to type one. Typeset this text to see what I mean: \starttext ` Backtick\crlf ' Apostrophe\crlf ‘ Open curly quote\crlf ’ Close curly quote \stoptext If you actually want backtick, perhaps you could say what you think is wrong with it in Palatino? mathew ___ 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] Which standard installed font displays ' and ` good
On Wed, Mar 23, 2011 at 13:49, Pontus Lurcock p...@talvi.net wrote: It's advisable to use \quote{...} or \quotation{...} for quotation marks. That way, if you do need to change them, you only do it in one place rather than throughout the document. Now why the heck aren't those commands mentioned anywhere in Context - An Excursion? mathew ___ 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] (RSFS) font installation
\starttypescript [sans][dingbats][name] \definefontsynonym [Sans][file:d05l] \stoptypescript \definetypeface [dingbats][ss][sans][dingbats][default] \starttext {\getnamedglyphdirect{dingbats}{0x272a}} Or here's the character directly: ✪ \stoptext Anyone else running Ubuntu who can confirm that this doesn't work using the dingbats font installed by Ghostscript? Also doesn't work if you replace file:d05l with name:dingbats and yet: $ mtxrun --script fonts --list --all --pattern=dingbat* dingbats dingbats /usr/share/fonts/type1/gsfonts/d05l.afm dingbatsnormal dingbats /usr/share/fonts/type1/gsfonts/d05l.afm mathew ___ 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] (RSFS) font installation
On Fri, Mar 18, 2011 at 05:04, Hans Hagen pra...@wxs.nl wrote: Also, I only consider a type 1 font okay when it has both an afm and a pfb file and mkiv can handle that quite well (even beyond the regular tex encodings). Personally I need it for fonts that I have bought and don't want to buy again. Same here, but I found it easier to convert my fonts to OpenType by loading them into fontforge and doing Save As... I still have a mystery regarding the type 1 fonts installed with GhostScript, though: \definetypeface [dingbats][ss][sans][dingbats][default] \starttext {\dingbats \uchar{39}{7}\uchar{39}{13}\uchar{39}{42}} \stoptext produces no visible output, yet... $ mtxrun --script fonts --list --all --pattern=dingbat* dingbats dingbats /usr/share/fonts/type1/gsfonts/d05l.afm dingbatsnormal dingbats /usr/share/fonts/type1/gsfonts/d05l.afm $ ls /usr/share/fonts/type1/gsfonts/d05l* /usr/share/fonts/type1/gsfonts/d05l.afm /usr/share/fonts/type1/gsfonts/d05l.pfb /usr/share/fonts/type1/gsfonts/d05l.pfm $ This is with minimals and LuaTeX on Ubuntu. Get info on the PDF in Okular shows no Type 1 fonts embedded. (Also, is uchar intended to be a documented feature?) mathew ___ 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] (RSFS) font installation
On Fri, Mar 18, 2011 at 09:51, Hans Hagen pra...@wxs.nl wrote: On 18-3-2011 3:40, mathew wrote: \definetypeface [dingbats][ss][sans][dingbats][default] this assumes a dingbats typescript Sorry, I omitted that when copying my code... \starttext {\dingbats \uchar{39}{7}\uchar{39}{13}\uchar{39}{42}} \stoptext {\getnamedglyphdirect{dingbats}{0x39}} \starttypescript [sans][dingbats][name] \definefontsynonym [Sans][name:dingbats] \stoptypescript \definetypeface [dingbats][ss][sans][dingbats][default] \starttext {\getnamedglyphdirect{dingbats}{0x272a}} Or here's the character directly: ✪ \stoptext ...still not working. But KCharSelect says that the Dingbats font has a glyph at 0x272a. fontsfallback modern rm 12pt is loaded system begin file makeup.tex at line 5 fontsdefining font with asked name 'dingbats' is not found using lookup 'file' fontsdefining unknown font dingbats, loading aborted fontsdefining unable to define dingbats as \**currentsymbolfont** backend xmp using file '/usr/local/context/tex/texmf-context/tex/context/base/lpdf-pdx.xml' And yet if I run mtxrun --script fonts --list --all --pattern=* | grep dingbats immediately after that ConTeXt run, in the same shell session, I see: dingbats dingbats /usr/share/fonts/type1/gsfonts/d05l.afm dingbatsnormal dingbats /usr/share/fonts/type1/gsfonts/d05l.afm Also doesn't work if I reference the afm file directly using \definefontsynonym [sans][/usr/share/fonts/type1/gsfonts/d05l.afm] mathew ___ 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] (RSFS) font installation
On Thu, Mar 17, 2011 at 04:05, Stefan Müller warrence@gmx.de wrote: I'm using Windows Vista 64bit and installed the rsfs font by right-clicking the .pfm files. I thought I had to use the .pfb files, but Windows did not recognize those and didn't show Install in the context menu. After installing the .pfm files I could find them in C:\Windows\Fonts. .pfb is Printer Font, Binary. .pfa is Printer Font, ASCII. .pfm is Printer Font Metrics, binary. .afm is Adobe Font Metrics, ASCII. Typically each font will have a set of outlines in a pfb or pfa file, and a set of metrics in a pfm or afm file. For Windows, you want the pfb and pfm files. Is this a typo and do you mean .pfm file? Otherwise I don't get it. Should I just copy the .pfb files to C:\Windows\Fonts, too? Did something went wrong with installation? On Windows 7, the OS will identify only the .pfm file as the actual font. However, when you install the font by opening it and clicking the Install button, Windows invisibly locates the matching .pfb file from the same directory, and copies them both to the C:\Windows\Fonts directory. It then hides the separate files from you. However, you can open the command line prompt and cd to \windows\fonts and use dir to see them. fonts | names | identifying system font files with suffix otf fonts | names | adding path from OSFONTDIR: c:/windows/fonts fonts | names | adding path from fontconfig file: c:/windows/fonts in the output, so I guess OSFONTDIR is correct (where would I change it, anyway?) as c:/windows/fonts is considered. Yes, looks like it's correct. You'd change it by setting an environment variable. http://www.itechtalk.com/thread3595.html Here mtxrun tries to identify fonts with a number of suffixes. It only consideres otf, ttf, ttc, dfont and afm (and caps versions). Shouldn't there be pfm or pfb as well? On Linux, it seems to scan for .afm files, as that's what Linux expects and installs in preference to pfm. I'd expect the Windows version to scan for .pfm, but I've never run any kind of TeX under Windows. To be honest, I did have problems getting LuaTeX and XeTeX to recognize the PostScript fonts installed with GhostScript, so I eventually removed them from my font path. My general conclusion is that life is a lot, lot simpler if you throw away all your Type 1 fonts and replace them with OpenType versions. (I used fontforge to convert the few that I really wanted to keep.) Also, if you can find out what TeX is looking for, there are tools to convert between pfb and pfa, and between afm and pfm. mathew -- URL:http://www.pobox.com/~meta/ ___ 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] (RSFS) font installation
On Mar 17, 2011, at 11:53, Stefan Müller wrote: Yes, I thought so. I just asked, because I couldn't find an environment variable with that name. Even after setuptex.bat typing echo %OSFONTDIR% did only print %OSFONTDIR% and not a list of paths, as I expected. There are defaults baked into the binaries. If you don't set the environment variable, you get the built-in defaults. That's generally how things work on Unix. On Mar 17, 2011, at 11:53, Stefan Müller wrote: (2A) Put .afm files to C:\Windows\Fonts (2B) Put the complete rsfs (containing the .afm and all the other stuff) directory to texmf-fonts\fonts Right... From the point of view of ConTeXt/LuaTeX use, there's no need for the fonts to be installed in Windows; you just need to have all the files somewhere that OSFONTDIR (or the default font paths) will point. The font outlines will be embedded into the PDF by default, so the OS doesn't need to have access to them. - In both versions, step (1) seems to be mandatory. I would expect, that the rsfs directory in texmf-fonts\fonts should be enough, as mtxrun clearly searches there and all the files are there, too. I don't understand the problem here. Hmm, that *would* explain my problem with getting GhostScript's Type 1 fonts working... I must investigate further! - If the .pfm and .pfb files are sufficient for Windows, why does mtxrun specifically search for .afm files and not also for .pfm? Probably because mtxrun (and the rest of ConTeXt and LuaTeX) are written for Unix and ported to Windows, and Unix uses .afm files for metrics. (Except OS X, which is different for historical reasons.) That and .afm files are much easier to work with because they're text files. But it might not be a bad idea for LuaTeX to automatically perform a pfm2afm conversion and cache the converted files when necessary, and probably not that hard to code. On the other hand, Type 1 fonts are legacy at this point, so it might not be worth it. mathew ___ 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] Difference between MKII, XeTeX and MKIV
On Mar 14, 2011, at 16:49, Marco wrote: I totally agree. But Cecil mentioned in another thread: »My document is mostly text.« Even if a few mp graphics are involved luatex is still noticeably slower. I look at it from the perspective that the last time I used TeX, my 8MHz Atari ST took several seconds to process each page. And then it took several seconds per page for the previewer to show me the DVI. And I couldn't do anything else on the machine while it was working. My way of working now is that I keep a short scratchpad document in TeXworks, and use it to sort out my formatting and macros, taking advantage of the live preview. When I'm done, I copy the definitions into my actual working document, which I edit in vim. I only typeset the entire working document once or twice an hour, if that; vim catches syntax errors. So if LuaTex takes a few seconds longer to do the typesetting, it's completely unimportant. mathew ___ 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] (RSFS) font installation
On Wed, Mar 16, 2011 at 09:00, Stefan Müller warrence@gmx.de wrote: like others before, I tried to get the script alphabet from Ralph Smith's Formal Font to work in MkIV (minimals) and failed. There seems to be only outdated or unclear and unspecific information about where to start with fonts available. Or: there is information everywhere but I can't put it together. I downloaded a rsfs.zip from [1] containing .mf, .pfb, .afm, .pfm files and a .map file. It seems to be a type1 font. The manual [2] states, that a script texfont.pl can do install the font. Mojca said [3] on the mailing list that texfont is not the way to go, so I didn't try to go further in that direction. Do I need .tfm files? If so, how to get them? You don't need tfm files and you don't need to use texfont.pl. I put the rsfs directory with its subdirs from the .zip to the folder c:\context\tex\texmf-fonts\fonts\data\ as Wolfgang suggested [4] and ran context --generate. I seems as if this did not install the font, but I have no idea. How can I check this? For mkiv minimals, the following should work: a) Install font as appropriate for your OS. b) Make sure OS font directory containing font pfb file is included in OSFONTDIR c) Update LuaTeX's font info by running mtxrun --script fonts --reload d) Check the list of fonts using mtxrun --script fonts --list --all --pattern=* At that point you have the font known to LuaTeX. Then you need to set it up in your document; I posted a full example of that a while back, it's at http://pastebin.tlhiv.org/9GeRRcI4 but I haven't put it into the wiki yet. mathew -- URL:http://www.pobox.com/~meta/ ___ 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] Ideas for restructuring the ConTeXt garden?
On Mon, Mar 14, 2011 at 15:26, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: Except that wiki pages are in a really horrible shape when it comes to Installation pages. [...] If anyone has the slightest idea where to start, please do it. FWIW, I updated the Ubuntu pages last week. The OS X pages don't seem to be out of date. mathew ___ 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] 620 pages limit?
2011/3/14 Vedran Miletić riva...@gmail.com: Same here on Linux, 32-bit. Also here. [...] (/usr/local/context/tex/texmf-context/tex/context/sample/knuth.tex) pagesflushing realpage 3987, userpage 3987 PANIC: unprotected error in call to Lua API (stack overflow (out of stack space)) mtx-context | fatal error: return code: 1 $ context --version mtx-context | main context file: /usr/local/context/tex/texmf-context/tex/context/base/context.mkiv mtx-context | current version: 2011.02.25 22:03 $ luatex --version This is LuaTeX, Version beta-0.65.0-2010121316 Linux w510 2.6.32-23-generic-pae #37-Ubuntu SMP i686 GNU/Linux [...] mathew ___ 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] Ideas for restructuring the ConTeXt garden?
On Sun, Mar 13, 2011 at 19:07, Alasdair McAndrew amc...@gmail.com wrote: Speaking as a raw ConTeXt beginner, I would find it very helpful to have a library of different styles: LaTeX, journal, conference and book styles. This is what I've been setting out to do, build a set of examples. So far I've got a custom font example (posted for comment last week) and a personal letter template. I looked at the letter package, but that's far too general. I wanted something simple and self-contained that I could take and modify, not a framework. So yes, a set of examples of layouts is exactly what I would be likely to use myself. mathew ___ 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] Why do \startlines and \crlf give different results in this example?
On Mar 12, 2011, at 02:15, Wolfgang Schuster wrote: \framed [width=fit,align=right,strut=no] {\startlines[before=,after=] One Two Three \stoplines} Awesome, thanks. I added a note to the wiki page about \framed, and subsequently discovered the information was hidden on the page about verbatim linebreaks. mathew ___ 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] Ideas for restructuring the ConTeXt garden?
On Sat, Mar 12, 2011 at 06:21, Florian Wobbe florian.wo...@awi.de wrote: Then I am aware of many people who are reluctant to install the minimals. I now wonder why I (myself) was unwilling to install the minimals in the first place, having TeXLive installed already. For one it was because of the extra effort. My experience on Ubuntu is that if you install the ConTeXt minimals in your path, they break a bunch of stuff from TeXLive, such as pdfcrop. I ended up writing my own pdfcrop because I couldn't work out how to get the one from my distribution working at the same time as the ConTeXt minimals. I'd have gone back to my distro's copy of ConTeXt, if it wasn't for the fact that it dates back to 2009 and I'd already hit a bug in it that's fixed in the minimals. mathew -- URL:http://www.pobox.com/~meta/ ___ 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] Pagination problem with an intermezzo containing a footnote
\starttext This is a sample document to demonstrate a possible bug. You will probably see a footnote below which appears before the page it's referenced from. \placeintermezzo[page][block:example]{Demonstrating a bug} \startframedtext[width=0.8\makeupwidth] This is a rather dull intermezzo.\footnote{But it does at least demonstrate a bug.} \stopframedtext \stoptext mathew -- URL:http://www.pobox.com/~meta/ ___ 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] Why do \startlines and \crlf give different results in this example?
% First request no space before \setuplines[before=\nowhitespace,after=\nowhitespace] % Now use startlines... \framed[width=fit,align=right]{\startlines One Two Three\stoplines} % ...then compare with \crlf. \framed[width=fit,align=right]{One\crlf Two\crlf Three} Why do these give different results, and how do I make the former behave like the latter? mathew -- URL:http://www.pobox.com/~meta/ ___ 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] Full example of font setup
Hi. I recently returned to TeX after a 20 year absence, and decided ConTeXt was the best choice of package for a modern TeX environment. I've been reading through the wiki pages, manuals, and drafts of new manual chapters, trying to put together a full example of setting up a complete set of fonts for a document. My heavily commented example is at http://pastebin.tlhiv.org/DQcygbld I'd appreciate any comments and corrections, as I'd like to try and make sure my understanding is correct before I publish the example anywhere. Thanks, mathew ___ 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 ___