[NTG-context] Re: how to prevent item appearing in List of Figures
Thanks Hraban, Tomáš Hála suggested l \starttplacefigure[location={none},...] which works a treat. I will keep your suggestion in mind too. I am very grateful to you all. Thank you, Charlie > On 30 May 2024, at 11:41, Henning Hraban Ramm wrote: > > If you don’t need them in the list and also no caption, I wouldn’t use floats > (\placefigure) at all, but just plain \externalfigure. > > Hraban ******* CHARLES DOHERTY 13 BANCROFT ROAD TALLAGHT DUBLIN D24 YH2V home: +353 1 2447483 Mobile: +353 863868629 charles.dohe...@icloud.com ___ 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] how to prevent item appearing in List of Figures
Hi Mikael, > I notice that you addressed Wolfgang, but you also sent to the list. > One way could be to condition on being on a chapter page: > > \setupheadertexts > [\doifelsefirstsectionpage{chapter}{\userpagenumber}{}] > > \setupheadertexts > [\doifelsefirstsectionpage{chapter}{}{\getmarking[chapter]}] > [\doifelsefirstsectionpage{chapter}{}{\userpagenumber}] Thank you for your suggestion. Along with your suggestion and that of Wolfgang I get what I need. I thought I was sending to the list but I copied and pasted from an email and didn’t realise that Wolfgang was included. I have only ever written to the list many years ago. I haven’t typeset a book before and various things are a challenge. The most recent is the following. I have \placelistoffigures some of which are logos (for the publisher and two granting bodies) that I have placed with: \setupcaptions[number=no] \starttplacefigure[ location={middle,high,low}, reference=fig:logo, title=] {\externalfigure[FCLogo][width=0.045\textwidth]} \stopplacefigure These are not part of the text and I don’t want them to appear in the list. The caption for the logo doesn’t appear in the List of Figures but the page number does. How can I prevent these particular graphics from being listed in the List of figures. Thanks, Charlie ___ 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] page number
Dear Wolfgang, I have a book in preparation with running heads. Pagenumber marking |marking Pagenumber The chapter title page has empty headings. The publisher would like the page number centered on the Chapter title page. I manage to put it there but I don’t want it to run on the following pages. I have made various attempts but can’t manage it. I have \setuplayout[location=doublesided] \setuppagenumbering[location=,alternative=doublesided] \setupheadertexts[chapter][][pagenumber] \setupheadertexts[{\getmarking[chapter]}][pagenumber] Can anyone show me code to achieve this? Thanks, Charlie ___ 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 ___
Re: [NTG-context] double-sided page number placement
Dear Pablo, As you suggested location=inright works for me using LMTX Hans sent me: can you put this in cont-new.mkxl and test it with options \unprotect \def\page_layouts_place_text_line_left {\hpack {\ifdim\leftedgewidth>\zeropoint \page_layouts_left_edge_element\c!righttext\c!rightstyle\c!rightcolor\c!rightwidth \fi \ifdim\leftmarginwidth>\zeropoint \page_layouts_left_margin_element\c!righttext\c!rightstyle\c!rightcolor\c!rightwidth\plusone \fi \ifdim\makeupwidth>\zeropoint \page_layouts_text_body_element_e_r_m_l \fi \ifdim\rightmarginwidth>\zeropoint \page_layouts_right_margin_element\c!lefttext\c!leftstyle\c!leftcolor\c!leftwidth\zerocount \fi \ifdim\rightedgewidth>\zeropoint \page_layouts_right_edge_element\c!lefttext\c!leftstyle\c!leftcolor\c!leftwidth \fi}} \protect With this both inright and inmargin work in LMTX and MKIV So everything is working for me now. Thank you for taking the time, Charlie > On 12 Jul 2021, at 06:20, Pablo Rodriguez wrote: > > On 7/11/21 5:07 PM, Charles Doherty wrote: >> [...] >> the left page of the double spread places the page number on the left >> margin of the page and in the right page it is placed on the right >> margin. This is what I would like to get in LMTX as well. Am I doing >> something wrong here? > > Hi Charles, > > I think that "inright" is what you want: > > \setuppagenumbering[alternative=doublesided, > location=inright] > > \starttext > \dorecurse{20}{\input knuth } > \stoptext > > With current latest from 2021.07.10 21:51, "location=inright" behaves as > you expect using LMTX. > > Using MKIV with the current latest, there is no difference between > "location=inright" and "location=inmargin". > > I don’t know whether this is intended or not. > > I hope it might help, > > Pablo > -- > http://www.ousia.tk > ___ > If your question is of interest to others as well, please add an entry to the > Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___ *** CHARLES DOHERTY 13 BANCROFT ROAD TALLAGHT DUBLIN D24 YH2V home: +353 1 2447483 Mobile: +353 863868629 charles.dohe...@icloud.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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] double-sided page number placement
Dear Hans, The following file: \setuplayout[location=doublesided] \setuppagenumbering[location=inmargin,alternative=doublesided] \starttext \dorecurse{20}{\input knuth } \stoptext using: > ConTeXt ver: 2021.04.21 11:39 LMTX fmt: 2021.7.11 int: english/english the left page of the double spread places the page number on the right margin of the page and in the right page it is placed on the right margin using: > ConTeXt ver: 2019.06.20 18:47 MKIV beta fmt: 2019.6.23 int: english/english the left page of the double spread places the page number on the left margin of the page and in the right page it is placed on the right margin. This is what I would like to get in LMTX as well. Am I doing something wrong here? Thanks, Charlie ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] arm osx
Dear Keith and Mojca, I followed the information provided buy Keith below and everything is working just fine. Mojca I directed my request to Keith in the first instance since I felt it was most likely my lack of knowledge of how to get things going that was the problem (as usual). So thank you for your quick response and offer to test. And thank you Keith for your example below it did the trick. Very best wishes, Charlie > On 23 Apr 2021, at 15:53, Keith McKay wrote: > > Sorry. I put a typo in the engine file in my reply. It should be > > #!/bin/bash > > export > PATH=/Users/pothole/data/contextarm64/tex/texmf-osx-64/bin:/Users/pothole/data/contextarm64/tex/texmf-osx-64/bin > > /Users/pothole/data/contextarm64/tex/texmf-osx-64/bin/mtxrun --autogenerate > --script context --autopdf "$1" > > Best Wishes > > Keith > *** CHARLES DOHERTY 13 BANCROFT ROAD TALLAGHT DUBLIN D24 YH2V home: +353 1 2447483 Mobile: +353 863868629 charles.dohe...@icloud.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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] arm osx
Hi all (especially Keith who successfully got Context running on the new M1 Mac OS ARM) Again thanks to Mojca for providing the Mac OS ARM download. I recently replace my old Mac with the new ARM one. I am having difficulty getting ConTeXt to work. This is what I have done and the information from the console. I downloaded: context-osx-arm64.zip In terminal: cd /Users/charlesdoherty/context-osx-arm64 Ran sh install.sh and all seems ok (following Keith’s advice on privacy). I made an engine for TeXShop based on what worked before: #!/bin/Zsh export PATH=$PATH:~/context-osx-arm64/bin:~/context-osx-arm64/tex/texmf-osx-64/bin ~/context-osx-arm64/tex/texmf-osx-64/bin/mtxrun --autogenerate --script context --directives="system.showerror" --autopdf "$1" --purgeall I made it executable. When I typeset a file in TeXShop using this engine I get: /Users/charlesdoherty/Library/TeXShop/Engines/ARM.engine:3: bad CPU type in executable: /Users/charlesdoherty/context-osx-arm64/tex/texmf-osx-64/bin/mtxrun I have tried various options to no avail but I would really appreciate some help on this (longhand rather than cryptic would be really helpful). Thanks, Charlie > On 11 Apr 2021, at 19:27, Keith McKay wrote: > > An alternative way is to go to Preferences>>Security and Privacy>>General. > And then click on Open anyway and that's it sorted. > Best Wishes > Keith > > > > On Sun, 11 Apr 2021, 18:47 Otared Kavian, <mailto:ota...@gmail.com>> wrote: > Hi, > > Thank you Mojca and Hans for the new binary for MacOS ARM: yesterday I > installed it on my new MacBook Pro ARM and everything works like a charm. > > Just for the persons who run into difficulties when running > sh install.sh > and see that MacOS 11 prevents mtxrun to run properly, in the Finder you > should find the file > > context-osx-arm64/bin/mtxrun > > and then you press Control while clicking on it. You’ll see a pop up window, > and you choose Open, and when the Finder tells you whether you really want to > open that file, you say YES… > After this, the install script does what it has to do and you don’t need > anymore to authorize mtxrun to run. > > Best regards: Otared *** CHARLES DOHERTY 13 BANCROFT ROAD TALLAGHT DUBLIN D24 YH2V home: +353 1 2447483 Mobile: +353 863868629 charles.dohe...@icloud.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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] About font combination in ConTeXt MKIV
Dear Manuel, To combine multiple fonts, I do something like this: \definefallbackfamily [mainface] [serif] [DejaVu Serif][range=boxdrawing,force=yes] \definefontfamily [mainface] [serif] [Tinos] \setupbodyfont[mainface, 11pt] You might be able to use a Unicode block (ie range) for ancient Greek characters (my range being boxdrawing). Hope this helps. Charles On 9/9/20 11:31 AM, MANUEL GONZALEZ SUAREZ wrote: Dear friends: Until now (TeXLive 2018), to write Spanish and ancient Greek in the same document, I used the "simplefonts" module, which is said in the wiki (ConTeXt Garden) that it is obsolete. What is the method to do this with TeXLive 2020? I try to combine one font for Spanish text (eg libertine) and another for ancient Greek (eg New Athena Unicode), but I don't know how to do it without the "simplefonts" module, and if I try to compile the document with the "simplefonts module", I have an error Thank you. Manuel González. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Wrong page number when placefigure spans full page in columnset
Hi, When I place a figure within a columnset and that figure takes a full page then the page number in the header is incorrect. Page number is the same as the previous page but on the next page it's correct. Please see example below and attached showing page 2 twice with pages numbered 1, 2, 2, 4, 5. If I reduce the height of the figure (from 15 to 12cm for example), then some main text gets added on the page and page number (3) becomes correct. Is that a bug or am I doing something wrong? Thanks for your help. Charles \setuppapersize[letter][letter] \setuplayout[height=fit,grid=yes] \showframe \usemodule[newcolumnsets] \definecolumnset[colset][n=2] \starttext \startcolumnset[colset] \section{One section} \dorecurse{16}{\input ward \par} \placefigure[page]{Legend. \input ward }{\externalfigure[dummy][width=\makeupwidth,height=15cm]} \section{Two section} \dorecurse{2}{\input knuth \par} \section{Three section} \dorecurse{6}{\input knuth \par} \stopcolumnset \stoptext page.pdf Description: Adobe PDF document \setuppapersize[letter][letter] \setuplayout[height=fit,grid=yes] \showframe \usemodule[newcolumnsets] \definecolumnset[colset][n=2] \starttext \startcolumnset[colset] \section{One section} \dorecurse{16}{\input ward \par} \placefigure[page]{Legend. \input ward }{\externalfigure[dummy][width=\makeupwidth,height=15cm]} \section{Two section} \dorecurse{2}{\input knuth \par} \section{Three section} \dorecurse{6}{\input knuth \par} \stopcolumnset \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] problem using LMTX
The print-out below is from two runs on a Newsletter that I produce. Taco kindly told me to add \loadmarkfile{page-mul} to my input file some months ago to solve a problem with footnotes. I use an engine in TeXShop and I get the result 1) below (which is what I want) in the first example. I am happy to keep using this version of ConTeXt. However, as a matter of interest, I installed LTMX in a separate folder and used a different TeXShop engine directed to that installation and when I do I get the bottom result 2). As you can see there is a lot of white space between the end of the text and the footnotes in that run. This happens with the articles in my newsletter that have footnotes. Can this be fixed? Very best wishes and thanks for past help. Charlie 1) mtx-context | run 1: luatex --fmt="/Users/charlesdoherty/OLDcontext-osx-64/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en" --jobname="Newsletter2019-20" --lua="/Users/charlesdoherty/OLDcontext-osx-64/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui" --c:autopdf --c:currentrun=1 --c:fulljobname="./Newsletter2019-20.tex" --c:input="./Newsletter2019-20.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:purgeall --c:texmfbinpath="/Users/charlesdoherty/OLDcontext-osx-64/tex/texmf-osx-64/bin" "cont-yes.mkiv" This is LuaTeX, Version 1.10.1 (TeX Live 2019) system commands enabled. 2) resolvers | formats | executing runner 'run luametatex format': /Users/charlesdoherty/context-osx-64/tex/texmf-osx-64/bin/luametatex --jobname="Newsletter2019-20" --fmt=/Users/charlesdoherty/context-osx-64/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt --lua=/Users/charlesdoherty/context-osx-64/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui cont-yes.mkiv --c:autopdf --c:currentrun=1 --c:directives="system.showerror" --c:fulljobname="./Newsletter2019-20.tex" --c:input="./Newsletter2019-20.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:purgeall --c:texmfbinpath="/Users/charlesdoherty/context-osx-64/tex/texmf-osx-64/bin" This is LuaMetaTeX, Version 2.05.01 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] getting modules working on luametatex on Mac Catalina
Thanks to Otared Kavian’s instructions I have luametatex working on my Mac OS 10.15.2 (Catalina). I have a file making use of the annotation module but it fails and the log says that it can’t be found (the texmf-modules folder is empty). What command do I need to download the modules? Thanks for any help, Charlie ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Wrong section space after placefigure with newcolumnsets
Hi, I am placing figures in a columnset. The next header (section, subsection...) following the figure has always missing vertical space. See the normal space after "One subsection" and "Four subsection" but reduced space after "Two subsection" and "Three subsection" in the example below. Tested with ConTeXt ver: 2018.04.04 and LuaTeX, Version 1.07.0. This seems to be the opposite problem as the one described recently in the thread "Bug in wrapped placefigure". Any solution or fix? Thank you very much for your help. Charles \setuppapersize[letter][letter] \usemodule[newcolumnsets] \setuplayout[grid=yes] \definecolumnset[colset][n=2] \starttext \startcolumnset[colset] \section{One section} \subsection{One subsection} \dorecurse{16}{\input ward \par} \section{Two section} \subsection{Two subsection} \placefigure[bots]{Legend.}{\hbox{\externalfigure[dummy][width=\makeupwidth,height=12cm]}} \dorecurse{5}{\input knuth \par} \subsection{Three subsection} \placefigure[bots]{Legend.}{\hbox{\externalfigure[dummy][width=\makeupwidth,height=12cm]}} \dorecurse{2}{\input knuth \par} \subsection{Four subsection} \dorecurse{7}{\input knuth \par} \stopcolumnset \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Overwritten text with newcolumnsets
Here it is: \usemodule[newcolumnsets] \setuplayout[grid=yes] \setupbodyfont[10pt] \definecolumnset[example][n=2] \starttext \startcolumnset[example] \dorecurse{7}{\input knuth \par} \placefigure[center]{Legend.}{\hbox{\externalfigure[dummy][height=8cm]}} \dorecurse{8}{\input knuth \par} \stopcolumnset \stoptext On 02/08/2018 04:38 AM, Henning Hraban Ramm wrote: Am 2018-02-08 um 05:22 schrieb Charles Vejnar <charles.vej...@yale.edu>: I am trying to add a figure now using \placefigure. But the placement in brackets is always ignored. AFAIK it's normal to get a figure at the top of a new page when it's larger than a column but it's also always on the left. I would like to get it horizontally centered (on the top of the next page as it is already). Any way to achieve that? Please show us your code, otherwise nobody can spot the problem. Greetlings, Hraban --- ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Overwritten text with newcolumnsets
Thanks Hans. It did fix it. I am trying to add a figure now using \placefigure. But the placement in brackets is always ignored. AFAIK it's normal to get a figure at the top of a new page when it's larger than a column but it's also always on the left. I would like to get it horizontally centered (on the top of the next page as it is already). Any way to achieve that? Thanks again for your help. Charles On 02/06/2018 06:03 PM, Hans Hagen wrote: On 2/6/2018 9:51 PM, Charles Vejnar wrote: Hi, I am trying to get a two-column document with figures. After failing with \startcolumns, I tried with newcolumnsets. But the most basic example (see below) is not working properly. The text at the bottom of the first page gets overwritten by the first two line of the column. I think this problem was also reported on Sept 22, 2016 by Jose Luis Arellano on this mailing-list. Do you confirm the problem? Any way/plan to fix it? Thanks so much for your help. Best, Charles % start of example \usemodule[newcolumnsets] \definecolumnset[example][n=2] \starttext \startcolumnset[example] \dorecurse{12}{\input knuth \par} \stopcolumnset \stoptext % end of example i'm not surew what goes wrong there but you can best run with \setuplayout[grid=yes] ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Overwritten text with newcolumnsets
Hi, I am trying to get a two-column document with figures. After failing with \startcolumns, I tried with newcolumnsets. But the most basic example (see below) is not working properly. The text at the bottom of the first page gets overwritten by the first two line of the column. I think this problem was also reported on Sept 22, 2016 by Jose Luis Arellano on this mailing-list. Do you confirm the problem? Any way/plan to fix it? Thanks so much for your help. Best, Charles % start of example \usemodule[newcolumnsets] \definecolumnset[example][n=2] \starttext \startcolumnset[example] \dorecurse{12}{\input knuth \par} \stopcolumnset \stoptext % end of example ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Parameter scale in copypages in latest beta
Hi, I was importing a PDF inside my document, but the scale parameter is now ignored. It's reproducible with any PDF with: \starttext \copypages[tt.pdf][scale=500] \stoptext Any idea ? Thanks Charles ___ If your question is of interest to others as well, please add an 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] Parameter scale in copypages in latest beta
Le 15/10/2012 17:22, Wolfgang Schuster a écrit : Am 15.10.2012 um 17:12 schrieb Charles c...@vejnar.org: Hi, I was importing a PDF inside my document, but the scale parameter is now ignored. It's reproducible with any PDF with: \starttext \copypages[tt.pdf][scale=500] \stoptext Any idea ? Can you try this: \starttext \copypages[…][][scale=500] \stoptext In MkIV \copypages has three arguments: - the first argument is the name of the file - with the second argument you can control the copy mechanism and - the third argument is passed down to \externalfigure which includes each page of the file in your document. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ It worked. Thanks a lot ! Charles ___ If your question is of interest to others as well, please add an 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 placefigure in a new page with latest beta
Hi, In the latest beta (2012.04.17, and it was working in version 2012.02.21), the first figure in the following example is ignored: \starttext See in \in{Figure}[refA]. \placefigure[page][refA]{Figure legend A}{\externalfigure[]} \placefigure[here][refB]{Figure legend B}{\externalfigure[]} \stoptext Any idea why? Thanks Charles ___ If your question is of interest to others as well, please add an 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] Paragraph width in table of contents
Le 10/04/2012 17:32, Wolfgang Schuster a écrit : Am 10.04.2012 um 15:59 schrieb Marco: On 2012-04-10 Charlesc...@vejnar.org wrote: With an older version of Context […] the paragraphs with the section title were shorter and not overlapping with the page number. I don't see any overlapping here. Maybe you use an older version or the example was too minimal. There was a beta which had this problem but it’s fixed since a while. Wolfgang You are right, it's fixed now. Thanks Charles ___ If your question is of interest to others as well, please add an 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] Paragraph width in table of contents
Hi, In the following example, the section titles are long. In the table of contents, the section titles are written like normal paragraph (ending at the right margin, with the page number). With an older version of Context beta (about a year ago), the paragraphs with the section title were shorter and not overlapping with the page number. How can I obtain again that property? Thanks for your help Charles \starttext \section{Lorem ipsum dolor sit amet, maecenas malesuada, ut tellus ac a egestas donec, lectus aliquam, purus orci fermentum porta sed. Ut quis risus suspendisse, convallis vel velit suspendisse amet diam urna, erat auctor vestibulum nec amet lorem, at fringilla cursus aenean donec dui at. Neque duis luctus netus magna, orci nulla vivamus consectetuer nulla, amet felis in sodales dictum parturient ipsum, consequuntur malesuada.} \section{Vestibulum ut pretium fringilla dui dui odio, pellentesque arcu leo id. Malesuada curabitur, urna nostrum mauris lobortis, ante luctus donec a, congue arcu placerat dictum non integer, nulla non.} \completecontent[criterium=all] \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Float on opposite page
Hi, I have a problem with float positioning. I would like to have text on even pages and text on odd pages. I tried: - \placetable[opposite] but then the tables are not included. - \placetable[rightpage] but then each table is on a new page. I would like to have my figures/tables on a new even page, but if 2 figures/tables fit on one page, they should not be on two different pages but together on the same even page (I was thinking opposite should do that). Thanks for your help Charles \setuppagenumbering[alternative=doublesided] \starttext Lorem ipsum dolor sit amet, maecenas malesuada, ut tellus ac a egestas donec, lectus aliquam, purus orci fermentum porta sed. Ut quis risus suspendisse, convallis vel velit suspendisse amet diam urna, erat auctor vestibulum nec amet lorem, at fringilla cursus aenean donec dui at. Neque duis luctus netus magna, orci nulla vivamus consectetuer nulla, amet felis in sodales dictum parturient ipsum, consequuntur malesuada. \placetable[opposite]{Legend 1}{Content of Table 1} \placetable[opposite]{Legend 1}{Content of Table 2} Vestibulum ut pretium fringilla dui dui odio, pellentesque arcu leo id. Malesuada curabitur, urna nostrum mauris lobortis, ante luctus donec a, congue arcu placerat dictum non integer, nulla non. \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Float on opposite page
Le 01/03/2012 18:17, Aditya Mahajan a écrit : On Thu, 1 Mar 2012, Charles wrote: Hi, I have a problem with float positioning. I would like to have text on even pages and text on odd pages. I tried: - \placetable[opposite] but then the tables are not included. - \placetable[rightpage] but then each table is on a new page. I would like to have my figures/tables on a new even page, but if 2 figures/tables fit on one page, they should not be on two different pages but together on the same even page (I was thinking opposite should do that). Untested: \setuppagenumbering[alternative=doublesided] \starttext Lorem ipsum dolor sit amet, maecenas malesuada, ut tellus ac a egestas donec, lectus aliquam, purus orci fermentum porta sed. Ut quis risus suspendisse, convallis vel velit suspendisse amet diam urna, erat auctor vestibulum nec amet lorem, at fringilla cursus aenean donec dui at. Neque duis luctus netus magna, orci nulla vivamus consectetuer nulla, amet felis in sodales dictum parturient ipsum, consequuntur malesuada. \startpostponing[+1] \placetable[top]{Legend 1}{Content of Table 1} \placetable[top]{Legend 1}{Content of Table 2} \stoppostponing Vestibulum ut pretium fringilla dui dui odio, pellentesque arcu leo id. Malesuada curabitur, urna nostrum mauris lobortis, ante luctus donec a, congue arcu placerat dictum non integer, nulla non. \stoptext Aditya Thanks but it doesn't work (TeX capacity exceeded) and anyway the figures would not be centered on the page. Charles ___ If your question is of interest to others as well, please add an 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] Linebreak in a framed for a chapter setuphead
Hi, I have a problem with the following definition of chapter header. I would like to have the chapter title on the left side and the number, with higher size, on the right side. The \mychap seems to work while used directly. Any solution? Thanks Charles \def\mychap#1#2{\framed[frame=off,width=\textwidth,align=flushleft,bottomframe=on]{\tfa#2\hfill\tfd#1}} \setuphead[chapter][command=\mychap] \starttext \chapter{INTRODUCTION} \mychap{2}{MANUAL} \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Linebreak in a framed for a chapter setuphead
Le 29/02/2012 12:42, Wolfgang Schuster a écrit : Am 29.02.2012 um 12:19 schrieb Charles: Hi, I have a problem with the following definition of chapter header. I would like to have the chapter title on the left side and the number, with higher size, on the right side. The \mychap seems to work while used directly. Any solution? \define[2]\mychap {\framed [frame=off,width=broad,align=flushleft,bottomframe=on,offset=0pt] {\setbox\scratchbox\hbox{#1}% \vtop{\hsize\dimexpr\hsize-\wd\scratchbox\relax#2}% \box\scratchbox}} \setuphead[chapter][command=\mychap,textstyle=\tfa,numberstyle=\tfd] \starttext \chapter{INTRODUCTION} \chapter{Text and more text and even more text and still more text till it stops} \stoptext Wolfgang Thanks Wolfgang. How is the position of the text controled inside the framed? I would like it to be closer to the line (when I increase the font size the space between the text and the line increases too much). Thanks Charles ___ If your question is of interest to others as well, please add an 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] Linebreak in a framed for a chapter setuphead
Le 29/02/2012 16:18, Wolfgang Schuster a écrit : Am 29.02.2012 um 16:05 schrieb Charles: Le 29/02/2012 12:42, Wolfgang Schuster a écrit : Am 29.02.2012 um 12:19 schrieb Charles: Hi, I have a problem with the following definition of chapter header. I would like to have the chapter title on the left side and the number, with higher size, on the right side. The \mychap seems to work while used directly. Any solution? \define[2]\mychap {\framed [frame=off,width=broad,align=flushleft,bottomframe=on,offset=0pt] {\setbox\scratchbox\hbox{#1}% \vtop{\hsize\dimexpr\hsize-\wd\scratchbox\relax#2}% \box\scratchbox}} \setuphead[chapter][command=\mychap,textstyle=\tfa,numberstyle=\tfd] \starttext \chapter{INTRODUCTION} \chapter{Text and more text and even more text and still more text till it stops} \stoptext Wolfgang Thanks Wolfgang. How is the position of the text controled inside the framed? I would like it to be closer to the line (when I increase the font size the space between the text and the line increases too much). You can set “strut=no” and use the “depth” parameter. \define[2]\mychap {\framed %[frame=off,width=broad,align=flushleft,bottomframe=on,offset=0pt] [frame=off,width=broad,align=flushleft,bottomframe=on,offset=0pt,strut=no,depth=0.4ex] {\startlocalheadsetup \setbox\scratchbox\hbox{\setnostrut#1}% \vtop{\hsize\dimexpr\hsize-\wd\scratchbox\relax#2}% \box\scratchbox \stoplocalheadsetup}} \setuphead[chapter][command=\mychap,textstyle=\tfa,numberstyle=\tfd,strut=no] \starttext \chapter{INTRODUCTION} \chapter{Text and more text and even more text and still more text till it stops} \stoptext Wolfgang Perfect! Thank you very much Charles ___ If your question is of interest to others as well, please add an 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] Length of section line in a table of contents
Hi, In the following example, the section titles are long. In the table of contents, the section titles are written like normal paragraph (ending at the rightmost, with the page number). With an older version of Context beta (about a year ago), the paragraphs with the section title were shorter and not overlapping with the page number. How can I obtain again that property? Thanks Charles \starttext \section{Text and more text and even more text and still more text till it stops} \section{Lorem ipsum dolor sit amet, maecenas malesuada, ut tellus ac a egestas donec, lectus aliquam, purus orci fermentum porta sed. Ut quis risus suspendisse, convallis vel velit suspendisse amet diam urna, erat auctor vestibulum nec amet lorem, at fringilla cursus aenean donec dui at. Neque duis luctus netus magna, orci nulla vivamus consectetuer nulla, amet felis in sodales dictum parturient ipsum, consequuntur malesuada.} \section{Vestibulum ut pretium fringilla dui dui odio, pellentesque arcu leo id. Malesuada curabitur, urna nostrum mauris lobortis, ante luctus donec a, congue arcu placerat dictum non integer, nulla non.} \completecontent[criterium=all] \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] \starttabulate inside a \placelegend is not working
Hi, I would like to put a table (\starttabulate ... \stoptabulate) inside a \placelegend in order to have local footnotes. The compilation is OK for \starttable but failing with \starttabulate. Some help please? Thanks Charles \starttext \startlocalfootnotes \placetable{A table with footnotes.} \placelegend {\starttable[|l|r|] \HL \VL One\footnote{First} \VL Two\footnote{Second} \VL\FR \VL Three\footnote{Third} \VL Four\footnote{Fourth} \VL\LR \HL \stoptable} {\placelocalfootnotes} \stoplocalfootnotes \startlocalfootnotes \placetable{A table with footnotes.} \placelegend {\starttabulate[|l|c|c|c|] \HL \NC \NC One \NC Two \NC Three \NC\NR \HL \NC Ten \NC \checkmark\footnote{First} \NC \NC \NC \NC\NR \NC Twenty \NC \checkmark \NC \checkmark\footnote{Second} \NC \NC \NC\NR \HL \stoptabulate} {\placelocalfootnotes} \stoplocalfootnotes \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Document with only figures
Hi, I would like to have a document with only figures, something like that: \starttext \placefigure[page]{\externalfigure[figure1]} \placefigure[page]{\externalfigure[figure1]} \placefloats \stoptext The problem is if I don't add some text, no PDF is created. (and this text will have its own page). I was expecting \placefloats to do what I want, but it's not working. And \placefigure doesn't have a 'center' option. Any ideas? Thanks Charles ___ If your question is of interest to others as well, please add an 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] Document with only figures
Hi Willi, Sorry for the mistakes. But the default in centered horizontally but not vertically on the page, and I would like to have this. Charles Le 16/11/2011 12:40, Willi Egger a écrit : Hi Charles, If I use your example I get an error. The \placefigure command needs the structure \placefigure[page][]{}{\externalfigure[cow]}, where the second pair of brackets is optional (here you would place the reference). Default is centered Here the command \placefloats is not necessary to get the floats placed. Willi On 16 Nov 2011, at 12:20, Charles wrote: Hi, I would like to have a document with only figures, something like that: \starttext \placefigure[page]{\externalfigure[figure1]} \placefigure[page]{\externalfigure[figure1]} \placefloats \stoptext The problem is if I don't add some text, no PDF is created. (and this text will have its own page). I was expecting \placefloats to do what I want, but it's not working. And \placefigure doesn't have a 'center' option. Any ideas? Thanks Charles ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Document with only figures
Hi Wolfgang, Thanks for your reply. But I would like to have a figure (with placefigure) and the centerednextbox doesn't center vertically. Charles Le 16/11/2011 12:26, Wolfgang Schuster a écrit : Am 16.11.2011 um 12:20 schrieb Charles: Hi, I would like to have a document with only figures, something like that: \starttext \placefigure[page]{\externalfigure[figure1]} \placefigure[page]{\externalfigure[figure1]} \placefloats \stoptext The problem is if I don't add some text, no PDF is created. (and this text will have its own page). I was expecting \placefloats to do what I want, but it's not working. And \placefigure doesn't have a 'center' option. Any ideas? \starttext \centerednextbox{\externalfigure[figure1]} \centerednextbox{\externalfigure[figure2]} \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an 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] Document with only figures
I put the \placefigure (w/o the page option) of the first figure inside a \centerbox and it's working. Thank you very much for your help. Charles Le 16/11/2011 13:37, Wolfgang Schuster a écrit : Am 16.11.2011 um 13:26 schrieb Charles: Hi Wolfgang, Thanks for your reply. But I would like to have a figure (with placefigure) and the centerednextbox doesn't center vertically. Sorry but I used the wrong command, this works: \starttext \centerbox{\externalfigure[cow]} \centerbox{\externalfigure[mill]} \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an 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] Inits without space in bibliography
On a quick reading, it looks to me as though changing the line s nameptr {f} format.name$ add.period$ 't := to s nameptr {f{}} format.name$ add.period$ 't := should remove the spacing, but I haven't tested it. I don't think it would work as every field is separated by a space later. But I found here [1] a function to remove the spaces. Thanks Charles [1] ftp://ftp.tex.ac.uk/tex-archive/biblio/bibtex/contrib/doc/btxFAQ.pdf ___ If your question is of interest to others as well, please add an 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] Automatically add \stopXX when a new \startXX of same type occurs
Hi, I am using the \startsection (\startparagraph ...) to structure my document and export it to XML. But for all the environments, for each \startsection I have to put a \stopsection even if I start a new section right after. Is it be possible to automatically stop the previous section when a new one is started in the XML output? Thanks Charles ___ If your question is of interest to others as well, please add an 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] Inits without space in bibliography
Hi, I would like (the journal actually) to remove the spaces between initials (C.E. instead of C. E.). in the bibliography. It seems initials are created during the .bib to .bbl conversion but I haven't find anything in the .bst style file. Can you please help ? Thanks Charles ___ If your question is of interest to others as well, please add an 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] HTML export
Hi, I am new to Context (coming from Latex) and very much like it: very nice job! I would like to export my document to HTML. I am only interested by the basic formatting (like fonts, size...) and sections. I carefully read this page: http://wiki.contextgarden.net/epub As far as I understood and seen the font and style switching (like \it) are ignored. First question: is it possible to avoid that behavior? If not, it brings me to my second question: I am using the bib module to manage a bibtex bibliography. The formatting of the reference section is done internally and include some style (italic) which isn't present in the XHTML output. How can have it present somehow? Thanks Charles ___ If your question is of interest to others as well, please add an 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] HTML export
OK. Then how to make the journal (for example) in the bibliography to be in an element of the structure rather than only some style ? Thanks Charles Le 30/09/2011 15:42, Henning Hraban Ramm a écrit : Am 2011-09-30 um 14:29 schrieb Charles: I would like to export my document to HTML. I am only interested by the basic formatting (like fonts, size...) and sections. ConTeXt’s HTML export is not meant to be presentationally equivalent to the PDF, but semantically equivalent to the TeX source. Fonts, sizes etc. have nothing to do with (semantic) structure and therefore don’t belong into HTML, but in CSS. Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an 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] Loss of footnotes while using background colour
Dear Wolfgang, Once again thank you very much. It works perfectly. Charlie On 11 Apr 2011, at 08:24, Wolfgang Schuster wrote: Add “\automigrateinserts” to your preamble. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] background and footnotes
Dear Wolfgang, Thank you again for the previous fix. I am attaching the same file but with a complete text. When I use the background it either comes down over the footnotes or pushes them on to the following blank page. Also see the footnote generated in the margin that seems to use the margin width when it is typeset in the footnote area. Again any help would be appreciated. Charlie ClogherTest.log Description: Binary data ClogherTest.tex Description: TeX document ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Loss of footnotes while using background colour
Dear all, I am making a manual for students of Irish hagiography. I am setting source material whether original or in translation against a middle gray background. When I do this as you see in the attached sample file the footnotes are not printed. I would be grateful if anyone can give me a solution. Note that a footnote inside a margin text does not print either. I am using Mark IV — log file is also attached. Thanks, Charlie ClogherTest.tex Description: TeX document ClogherTest.log Description: Binary data ___ If your question is of interest to others as well, please add an 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] Hoefler font in Mark IV
Dear all, I have been using Hoefler font successfully in a newsletter. I am now processing it in MarkIV but I don't get bold or bold italic. Italic is not quite the same either. I am using simplefonts. I have the .dfont and the .ttf on my system. Any suggestions would be appreciated. Thanks, Charlie ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] What are the best fonts to use
Dear all, In light of the question on fonts I have wondered how ConTeXt deals with this Monotype Baskerville 11/12.5 pt or Monotype 11 on 12 point Bembo that I see at the beginning of books. Are there commands to achieve this. There probably are but I haven't recognised them. Thanks, Charlie On 16 Mar 2011, at 11:45, Curiouslearn wrote: Cecil, thanks for asking this question. Even though the answers may/will be subjective, it is quite likely that there are people here who have given some thought to font choice. I agree with previous responses that reading a book on typography would certainly be helpful. Nevertheless, I am interested in hearing what fonts people like (if they do not mind sharing). I, and perhaps some others, may learn about a few fonts. Bharat ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] What are the best fonts to use
Ah Willi, It is quite clear now. I did think along those lines but wasn't sure. Thank you very much, Charlie On 16 Mar 2011, at 12:59, Willi Egger wrote: Hi, Graphic designers describe in this way the font-size and linespacing. So one can do things like this: \definedfont[Baskerville at 11pt]\setupinterlinespace[line=12.5pt]... Willi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] What are the best fonts to use
Thank you Hraban, It is falling into place now. Charlie On 16 Mar 2011, at 13:18, Henning Hraban Ramm wrote: But use bp instead of pt - TeX's point is smaller than a PostScript point, we had that recently... see also http://en.wikipedia.org/wiki/Point_(typography) ___ If your question is of interest to others as well, please add an 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] Simplefonts
Dear Wolfgang, Thank you very much. It works a treat! Best wishes, Charlie On 11 Mar 2011, at 18:30, Wolfgang Schuster wrote: Am 11.03.2011 um 13:28 schrieb Charles Doherty: Dear Wolfgang, I sent an e-mail about problems with my simplefonts. I got no reply since my example had fonts that were probably not available to you. But the problem does not relate to the Gaelic fonts that I had been using. I am sending this file instead. The fonts below can be swapped about. The main font is always typeset as requested but the others are not. Am I doing something really silly? The readout from the console is below. I am using Context Minimals MarkIV on a Mac. Help would be appreciated. Fixed. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Simplefonts
Dear Wolfgang, I sent an e-mail about problems with my simplefonts. I got no reply since my example had fonts that were probably not available to you. But the problem does not relate to the Gaelic fonts that I had been using. I am sending this file instead. The fonts below can be swapped about. The main font is always typeset as requested but the others are not. Am I doing something really silly? The readout from the console is below. I am using Context Minimals MarkIV on a Mac. Help would be appreciated. Thanks, Charlie \usemodule[simplefonts] % load the module \setmainfont[TeX Gyre Adventor] \starttext Hello World \blank[big] \simplefont[TeX Gyre Heros] \blank[big] \simplefont[Zapfino] Hello World \stoptext The argument /Users/charlesdoherty/Documents/TestFolder/Untitled.tex is not a valid TEXROOT path. (There is no file /Users/charlesdoherty/Documents/TestFolder/Untitled.tex/texmf/tex/plain/base/plain.tex) mtx-context | run 1: luatex --fmt=/Users/charlesdoherty/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/cont-en --lua=/Users/charlesdoherty/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/cont-en.lui --backend=pdf ./Untitled.tex This is LuaTeX, Version beta-0.65.0-2010121316 \write18 enabled. (Untitled.tex ConTeXt ver: 2011.02.25 22:03 MKIV fmt: 2011.3.8 int: english/english system cont-new.mkiv loaded (/Users/charlesdoherty/context/tex/texmf-context/tex/context/base/cont-new.mkiv system beware: some patches loaded from cont-new.mkiv ) system Untitled.top loaded (Untitled.top) fontslatin modern fonts are not preloaded languageslanguage en is active resolversmodules loaded: 'simplefonts' (/Users/charlesdoherty/context/tex/texmf-context/tex/context/third/simplefonts/t-simplefonts.tex loading ConTeXt User Module / Simplefonts + /Users/charlesdoherty/context/tex/texmf-context/tex/context/third/simplefonts/t-simplefonts.lua) fontsnames font database has matching configuration and file hashes fontsnames font database has matching configuration and file hashes fontsnames font database has matching configuration and file hashes fontsnames font database has matching configuration and file hashes fontsnames font database has matching configuration and file hashes fontsnames font database has matching configuration and file hashes fontsnames font database has matching configuration and file hashes fontsnames font database has matching configuration and file hashes fontsnames font database has matching configuration and file hashes fontsnames font database has matching configuration and file hashes fontsnames font database has matching configuration and file hashes fontsnames font database has matching configuration and file hashes fontsnames font database has matching configuration and file hashes fontsnames font database has matching configuration and file hashes fontsnames font database has matching configuration and file hashes fontsnames font database has matching configuration and file hashes fontsnames font database has matching configuration and file hashes fontsnames font database has matching configuration and file hashes fontsnames font database has matching configuration and file hashes fontsnames font database has matching configuration and file hashes fontsnames font database has matching configuration and file hashes fontsnames font database has matching configuration and file hashes fontsnames font database has matching configuration and file hashes fontsnames font database has matching configuration and file hashes fontsnames font database has matching configuration and file hashes fontsnames font database has matching configuration and file hashes fontsnames font database has matching configuration and file hashes fontsnames font database has matching configuration and file hashes (/Users/charlesdoherty/context/tex/texmf-context/tex/context/base/type-siz.mkiv) (/Users/charlesdoherty/context/tex/texmf-context/tex/context/base/type-otf.mkiv){/Users/charlesdoherty/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/Users/charlesdoherty/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}{/Users/charlesdoherty/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map} system begin file Untitled.tex at line 5 backend xmp using file '/Users/charlesdoherty/context/tex/texmf-context/tex/context/base/lpdf-pdx.xml' pagesflushing realpage 1, userpage 1, subpage 1 system end file Untitled.tex
Re: [NTG-context] Bibliographies in Mark IV
Dear Thomas and Hans, Thanks for looking at this and apologies for not sending the bib file. I attach a .tex file and a .bib file for Hans to test. I make my .bib file in BibDesk on the Mac (the preview style is abbrev). BibDesk uses LaTeX to produce the preview and that looks perfect. When I run the KingsTest.tex in ConTeXt Minimals Mark II I get proper output (I have two extra periods but that is probably my fault). When I run the same file using Mark IV I get the title only in the output. Thanks for looking into this. Charlie KingsTest.tex Description: TeX document ShortKings.bib Description: Binary data On 22 Oct 2010, at 10:15, Hans Hagen wrote: On 21-10-2010 7:52, Thomas A. Schmitz wrote: Indeed. Even though this is a bad example (next time, please send a complete working example, not code snippets - I don't have a database Kings.bib here), it shows a bug in mkiv. I tried the usual things - add a section command, add [criterium=all] to \placepublications, but this didn't help. So I'll wait till I get a proper test -) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Bibliographies in Mark IV
Dear all, The file below produces a bibliography using Mark II but only a title when using Mark IV. Have things changed or do I need a new approach? I am using Minimals. Thanks, Charlie \usemodule[bib] \setuppublications[criterium=all,numbering=no] \setupbibtex[database={Kings},sort=author] \starttext \midaligned{\tfa Kingship References} \blank[2*big] \placepublications \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] installing minimals
Thanks David, I did look at that but it seems ok. Thanks again, Charlie On 18 Sep 2010, at 15:23, David Rogers wrote: Here's a total shot in the dark (I don't use OS X anymore): Last time that I used TeXShop, it had an engine file in the library folder that I sometimes had to modify if ConTeXt changed the commands available for use. -- David ___ If your question is of interest to others as well, please add an 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] installing minimals
Dear all, I had installed minimals in a folder 'context' in my home directory. I am using a Macbook 10.6.4. I have been using MarkIV successfully for a number of months. I recently decided to update but I get the result below. I followed the instructions on Contextgarden as before in the ConTeXt Minimals page. I finally trashed the folder and did everything from scratch. I use TeXshop as my editor. I would be very grateful if anyone could give me the steps to get ConTeXt Minimals working again on my Mac. Thanks, Charlie TeXExec | processing document 'Purser.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file Purser.top TeXExec | using randomseed 519 TeXExec | tex engine: luatex TeXExec | tex format: cont-en MTXrun | using format name: /Users/charlesdoherty/context/tex/texmf-cache/luatex-cache/context/e580c8be7dcf42f3c6968188a08f16d6/formats/cont-en.fmt MTXrun | no luc/lua with name: cont-en TeXUtil | parsing file Purser.tui TeXUtil | shortcuts : 0 TeXUtil | expansions: 0 TeXUtil | reductions: 0 TeXUtil | divisions : 0 TeXUtil | loaded files: 0 TeXUtil | temporary files: 0 TeXUtil | commands: 0 TeXUtil | programs: 0 TeXUtil | tuo file saved TeXExec | runtime: 0.132344___ If your question is of interest to others as well, please add an 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] EnglishRule and Lua / Simplefonts module
Dear Hans and Wolfgang, I have started experimenting with the Lua engine through TeXShop. I use \EnglishRule in a Newsletter to separate major items. When I use it in the attached file it works as always when I use the ConteXt engine (TL2009) and in my minimals installation it works fine using MinimalsConTeXt engine and MinimalsXeConTeXt engine. When I switch to using the simplefonts module in MinimalsLua engine the \EnglishRule does not behave properly. Also the text switches to italic. I have attached a small file and if you comment out the lines and switch between the engines you can see what I mean. Thanks for any help, Best wishes, Charlie EnglishRuleTest.tex Description: Binary data ___ If your question is of interest to others as well, please add an 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] EnglishRule and Lua / Simplefonts module
Dear Wolfgang, I deleted my Minimals folder and did a complete re-install following instructions on ConTeXtGarden curl -o first-setup.sh http://minimals.contextgarden.net/setup/first-setup.sh etc. I also downloaded simplefonts using the sh ./first-setup.sh --extras=t-simplefonts I still get the results as described below. Charlie On 24 Nov 2009, at 13:38, Wolfgang Schuster wrote: Am 24.11.2009 um 13:57 schrieb Charles Doherty: Dear Hans and Wolfgang, I have started experimenting with the Lua engine through TeXShop. I use \EnglishRule in a Newsletter to separate major items. When I use it in the attached file it works as always when I use the ConteXt engine (TL2009) and in my minimals installation it works fine using MinimalsConTeXt engine and MinimalsXeConTeXt engine. When I switch to using the simplefonts module in MinimalsLua engine the \EnglishRule does not behave properly. Also the text switches to italic. I have attached a small file and if you comment out the lines and switch between the engines you can see what I mean. MkIV works fine for me, update your minimals to the last ConTeXt version and tell us if the problem remains. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an 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] EnglishRule and Lua / Simplefonts module
Here it is:Thanks for taking the time.Charlie EnglishRuleTest.log Description: Binary data On 24 Nov 2009, at 15:36, Wolfgang Schuster wrote:Am 24.11.2009 um 15:52 schrieb Charles Doherty:Dear Wolfgang,I deleted my Minimals folder and did a complete re-install following instructions on ConTeXtGarden curl -o first-setup.sh http://minimals.contextgarden.net/setup/first-setup.shetc.I also downloaded simplefonts using thesh ./first-setup.sh --extras="t-simplefonts"I still get the results as described below.Can you send the log file.Wolfgang___If your question is of interest to others as well, please add an entry to the Wiki!maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-contextwebpage : http://www.pragma-ade.nl / http://tex.aanhet.netarchive : http://foundry.supelec.fr/projects/contextrev/wiki : http://contextgarden.net__ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] EnglishRule and Lua / Simplefonts module
Dear Wolfgang, I deleted the luatex cashe. I got the same output. Then I ran the scripts. This is the result: dejavuserif dejavuserif /Library/Fonts/DejaVuSerif.ttf dejavuserifnormal dejavuserifitalic /Library/Fonts/DejaVuSerif-Italic.ttf Charlie On 24 Nov 2009, at 17:07, Wolfgang Schuster wrote: There is nothing I can see here which produce this results. What do you get with the following lines on the command line: mtxrun --script font --list dejavuserif mtxrun --script font --list dejavuserifnormal Can you also try to delete the luatex cache (everything below /Users/charlesdoherty/context/tex/texmf-cache/) and regenerate (luatools --generate) it. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] indices
Dear Taco, You are a genius. Works a treat! Thank you very much. Charlie On 24 May 2009, at 17:05, Taco Hoekwater wrote: Remember this: \unprotect \def\insertkeywords#1#2#3% {\bibdoifelse{\@@p...@keywords} {% #1\@@p...@keywords #2% \processcommacommand[\@@p...@keywords]\index } {#3}% } \protect Drop the #1 .. #2 line and it will no longer typeset anything: ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Problem with bibl-aps style?
Dear Taco, When I use bibl-aps [9] below is incollection and [10] is book. As you can see the title is missing in [9]. I did a fresh download of Minimals this morning in case my bibl-aps was corrupt but the result is as below. Any advice? And apologies for bothering you so soon again. Very best wishes, Charlie Snippet.pdf Description: Adobe PDF document ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] indices
Dear all, I have a bibliography created in BibDesk. I insert it in my .tex file using \setupbibtex[database={IndexHag},sort=author] and with the other commands I get my bibliography printed beautifully. I assign keywords in BibDesk and they appear in a list in the .bbl file for example as \keywords{Anderson, Columba, Colum Cille, Adamn{\'a}n, hagiography, hagiographer, saints lives} In the bibmod.pdf guide it says that \keyword KEYWORD Just text (for use in indices) \keywords KEYWORDS Just text (for use in indices) I have a very long bibliography and it would be great to automatically generate indices based on the keywords that do not appear in the bibliography itself. If this can be done can someone show me how to go about that. Thank you in advance. Charlie Doherty *** Mr Charles Doherty, Early Irish History, Room K113, School of History, John Henry Newman Building, University College Dublin, Belfield, Dublin 4 Tel: +353 1 716 8381 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Problem getting output
Dear all, When I try to typeset a file using XeConTeXt METAFONT is called and goes into a loop trying to make the fonts you see below. I have made a clean TeX installation from the MacTeX site but the result is the same. As an alternative I installed Minimals and created an MinXeConTeXt.engine in TeXShop. Using this I get a pdf with all my fonts without a problem. I uninstalled TeX completely but with the re- installation of MacTeX 2008 I get the result below. I would be most grateful for advice on what to do to put things right. Thanks in advance, Charlie Doherty TeXExec | processing document 'N0v2007.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file N0v2007.top TeXExec | using randomseed 468 TeXExec | tex engine: xetex TeXExec | tex format: cont-en This is XeTeXk, Version 3.1415926-2.2-0.999.6 (Web2C 7.5.7) %-line parsing enabled. entering extended mode (./N0v2007.tex ConTeXt ver: 2008.05.21 15:21 MKII fmt: 2009.2.17 int: english/ english language: language en is active system : cont-new loaded (/usr/local/texlive/2008/texmf-dist/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (/usr/local/texlive/2008/texmf-dist/tex/context/base/cont-new.mkii) (/usr/local/texlive/2008/texmf-dist/tex/context/base/cont-mtx.tex)) system : cont-old loaded (/usr/local/texlive/2008/texmf-dist/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (/usr/local/texlive/2008/texmf-dist/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys loaded (/usr/local/texlive/2008/texmf-config/tex/context/user/cont-sys.tex (/usr/local/texlive/2008/texmf-dist/tex/context/base/type-tmf.tex) (/usr/local/texlive/2008/texmf-dist/tex/context/base/type-siz.tex) (/usr/local/texlive/2008/texmf-dist/tex/context/base/type-otf.tex) (/usr/local/texlive/2008/texmf-dist/tex/context/base/type-xtx.tex)) bodyfont: 12pt rm is loaded language: patterns en-ec:ec-1-2:3 uk-ec:ec-2-2:3 de- ec:ec-3-2: 3 fr-ec:ec-4-2:3 es-ec:ec-5-2:3 pt-ec:ec-6-2:3 it-ec:ec-7- 2:3 nl-e c:ec-8-2:3 cz-ec:ec-9-2:3 sk-ec:ec-10-2:3 pl-ec:ec-11-2:3 loaded specials: tex,postscript,rokicki loaded system : N0v2007.top loaded (./N0v2007.top specials: loading definition file dpx (/usr/local/texlive/2008/texmf-dist/tex/context/base/spec-dpx.tex specials: loading definition file fdf (/usr/local/texlive/2008/texmf-dist/tex/context/base/spec-fdf.tex (/usr/local/texlive/2008/texmf-dist/tex/context/base/spec-fdf.mkii)) specials: fdf loaded ) specials: fdf,dpx loaded specials: loading definition file xet (/usr/local/texlive/2008/texmf-dist/tex/context/base/spec-xet.tex) specials: fdf,dpx loaded ) (/usr/local/texlive/2008/texmf-dist/tex/context/base/type-tmf.tex) (/usr/local/texlive/2008/texmf-dist/tex/context/base/type-siz.tex) (/usr/local/texlive/2008/texmf-dist/tex/context/base/type-otf.tex) (/usr/local/texlive/2008/texmf-dist/tex/context/base/type-xtx.tex) . . .To keep the file short I have deleted all the lines in between . . (/usr/local/texlive/2008/texmf-dist/tex/context/base/type-otf.tex) (/usr/local/texlive/2008/texmf-dist/tex/context/base/type-xtx.tex) kpathsea: Running mktextfm lmtypewriter10-regular mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input lmtypewriter10-regular This is METAFONT, Version 2.718281 (Web2C 7.5.7) kpathsea: Running mktexmf lmtypewriter10-regular ! I can't find file `lmtypewriter10-regular'. * ...; nonstopmode; input lmtypewriter10-regular___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] File fails to compile
On 30 Nov 2008, at 16:50, Thomas A. Schmitz wrote: Dear Thomas, I was up to my eyes marking end of term essays and since I am in terror of the terminal I didn't get around to your suggestion until now. After trying everything else I finally added the line as you suggested. Thanks very very much! I don't know why and I don't care but it worked. Thanks again, Charlie On Nov 30, 2008, at 5:26 PM, Charles Doherty wrote: Dear all, I made a poster about two months ago. Today I cloned it to make a different one. I am using MacTex 2008 distribution and XeConTeXt . I am using fonts such as Hoefler, Gentium, Junicode etc. The original file and the new one stick at the console readout below. I uninstalled 2008 distribution completely and reinstalled but I get the same result. The files give me pdf output if I use just ConTeXt but of course I do not get the fonts. I would be most grateful if anyone could offer advice. Thanks in advance, Charlie Doherty Try setting MKTEXTFM = 0 in your texmf.cnf. Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] File fails to compile
Dear all, I made a poster about two months ago. Today I cloned it to make a different one. I am using MacTex 2008 distribution and XeConTeXt . I am using fonts such as Hoefler, Gentium, Junicode etc. The original file and the new one stick at the console readout below. I uninstalled 2008 distribution completely and reinstalled but I get the same result. The files give me pdf output if I use just ConTeXt but of course I do not get the fonts. I would be most grateful if anyone could offer advice. Thanks in advance, Charlie Doherty TeXExec | processing document 'ThemePoster.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file ThemePoster.top TeXExec | using randomseed 160 TeXExec | tex engine: xetex TeXExec | tex format: cont-en This is XeTeXk, Version 3.1415926-2.2-0.999.6 (Web2C 7.5.7) %-line parsing enabled. entering extended mode (./ThemePoster.tex ConTeXt ver: 2008.05.21 15:21 MKII fmt: 2008.11.30 int: english/ english language: language en is active system : cont-new loaded (/usr/local/texlive/2008/texmf-dist/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (/usr/local/texlive/2008/texmf-dist/tex/context/base/cont-new.mkii) (/usr/local/texlive/2008/texmf-dist/tex/context/base/cont-mtx.tex)) system : cont-old loaded (/usr/local/texlive/2008/texmf-dist/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (/usr/local/texlive/2008/texmf-dist/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys loaded (/usr/local/texlive/2008/texmf-config/tex/context/user/cont-sys.tex (/usr/local/texlive/2008/texmf-dist/tex/context/base/type-tmf.tex) (/usr/local/texlive/2008/texmf-dist/tex/context/base/type-siz.tex) (/usr/local/texlive/2008/texmf-dist/tex/context/base/type-otf.tex) (/usr/local/texlive/2008/texmf-dist/tex/context/base/type-xtx.tex)) bodyfont: 12pt rm is loaded language: patterns nl-ec:ec-1-2:3 fr-ec:ec-2-2:3 de- ec:ec-3-2: 3 it-ec:ec-4-2:3 pt-ec:ec-5-2:3 hr-ec:ec-6-2:3 pl-ec:ec-7- 2:3 cz-e c:ec-8-2:3 sk-ec:ec-9-2:3 sl-ec:ec-10-2:3 ru-ec:ec-12-2:3 en-ec:ec- 13-2:3 uk-ec:ec-14-2:3 us-ec:ec-15-2:3 agr-ec:ec-16-2:3 da- ec:ec-1 7-2:3 sv-ec:ec-18-2:3 af-ec:ec-19-2:3 no-ec:ec-20-2:3 deo- ec:ec-21- 2:3 es-ec:ec-25-2:3 ca-ec:ec-26-2:3 la-ec:ec-27-2:3 ro- ec:ec-28-2: 3 tr-ec:ec-29-2:3 fi-ec:ec-31-2:3 hu-ec:ec-32-2:3 loaded specials: tex,postscript,rokicki loaded system : ThemePoster.top loaded (./ThemePoster.top specials: loading definition file dpx (/usr/local/texlive/2008/texmf-dist/tex/context/base/spec-dpx.tex specials: loading definition file fdf (/usr/local/texlive/2008/texmf-dist/tex/context/base/spec-fdf.tex (/usr/local/texlive/2008/texmf-dist/tex/context/base/spec-fdf.mkii)) specials: fdf loaded ) specials: fdf,dpx loaded specials: loading definition file xet (/usr/local/texlive/2008/texmf-dist/tex/context/base/spec-xet.tex) specials: fdf,dpx loaded ) (/usr/local/texlive/2008/texmf-dist/tex/context/base/type-tmf.tex) (/usr/local/texlive/2008/texmf-dist/tex/context/base/type-siz.tex) (/usr/local/texlive/2008/texmf-dist/tex/context/base/type-otf.tex) (/usr/local/texlive/2008/texmf-dist/tex/context/base/type-xtx.tex) (/usr/local/texlive/2008/texmf-dist/tex/context/base/type-tmf.tex) (/usr/local/texlive/2008/texmf-dist/tex/context/base/type-siz.tex) (/usr/local/texlive/2008/texmf-dist/tex/context/base/type-otf.tex) (/usr/local/texlive/2008/texmf-dist/tex/context/base/type-xtx.tex) (/usr/local/texlive/2008/texmf-dist/tex/context/base/type-tmf.tex) (/usr/local/texlive/2008/texmf-dist/tex/context/base/type-siz.tex) (/usr/local/texlive/2008/texmf-dist/tex/context/base/type-otf.tex) (/usr/local/texlive/2008/texmf-dist/tex/context/base/type-xtx.tex) (/usr/local/texlive/2008/texmf-dist/tex/context/base/type-tmf.tex) (/usr/local/texlive/2008/texmf-dist/tex/context/base/type-siz.tex) (/usr/local/texlive/2008/texmf-dist/tex/context/base/type-otf.tex) (/usr/local/texlive/2008/texmf-dist/tex/context/base/type-xtx.tex) (/usr/local/texlive/2008/texmf-dist/tex/context/base/type-tmf.tex) (/usr/local/texlive/2008/texmf-dist/tex/context/base/type-siz.tex) (/usr/local/texlive/2008/texmf-dist/tex/context/base/type-otf.tex) (/usr/local/texlive/2008/texmf-dist/tex/context/base/type-xtx.tex) (/usr/local/texlive/2008/texmf-dist/tex/context/base/type-tmf.tex) (/usr/local/texlive/2008/texmf-dist/tex/context/base/type-siz.tex) (/usr/local/texlive/2008/texmf-dist/tex/context/base/type-otf.tex) (/usr/local/texlive/2008/texmf-dist/tex/context/base/type-xtx.tex) (/usr/local/texlive/2008/texmf-dist/tex/context/base/type-tmf.tex) (/usr/local/texlive/2008/texmf-dist/tex/context/base/type-siz.tex) (/usr/local/texlive/2008/texmf-dist/tex/context/base/type-otf.tex)
Re: [NTG-context] showcase on mac?
On my Mac I use the PDF Browser Plugin by Manfred Schubert www.schubert-it.com That makes everything work right on the web for Mac. And the browser has personal as well as commercial licenses. On Ubuntu Linux things work fine on the web. I still run (and shall continue to run) Windows 98 for me and Windows XP for the family computer. Thus, I don't do much TeXing on Windows. OTOH, the Debian-ish nature of Ubuntu allows one to DL the contect-nonfree pkg, but everything is gzipped. So either use evince or gunzip everything. Evince doesn't allow links at all, giving an unknown mime type. If you gunzip and use Adobe Reader, some links create file not found errors but there is slightly more functionality. I always thought it was a file hierarchy thing. BTW, Free/PC-BSD is an environment where you can easily patch ports to let you install kile and the like without depending directly on a packaged TeX distro, allowing easy use of the tl-installer and the minimals as well. If KDE 4 is more stable in the next release cycle or if I remain a glutton for Gnome punishment, I may go that direction again, lack of Flash (except under Wine) or not. Charles On Tue, 2008-10-07 at 09:32 +0200, Taco Hoekwater wrote: John Culleton wrote: On Sunday 28 September 2008 08:13:15 am Hans Hagen wrote: Frans Goddijn wrote: Willi Egger helped me get a minimal install working on my mac and I'm working on a collection of columns illustrated with pictures. It's been a while since I used Context so I want to download some basic manuals to refresh my memory and learn new things. On my Windows machine I can view/navigate and download manuals from the http://www.pragma-ade.nl/showcase.pdf page, but on my mac this doesn't work. In the Safari browser, nothing happens if I click on the manuals link. In Firefox, the showcase PDF is downloaded and I can open it. After allowing the file to go full screen, I get error messages for the links there was an error opening this document/ the file cannot be found', execpt on the quit link ;-) Is there a simple thing I should change to make it work on the mac as well? doesn't acrobat work? (the mac pdf browser is somewhat limited); best use acrobat reader as plugin On my linux with AR8.1 as plugin to firefox using showcase.pdf works fine, but only via the browser window, and I installed the AR rpm from Adobe directly because the one in my distro (Mandriva 2008.1) was missing key plugins, weblink in particular. Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Helping Mac users with the Bourne-again shell
Might it be helpful for the Garden or even Mac TeX to have links like the following for OS X Aqua users and the terminal app / UNIX world? http://www.osxfaq.com/tutorials/LearningCenter/ http://www.google.com/search?q=Unix+tutorials http://www.google.com/search?q=Unix+tutorials+%22os+x%22 Seems that this could be a time saver for all concerned. My problem is keeping straight what idiosyncratically does what on the given *nix I happen to be using. They all differ just enough... Charles ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Happy ConTeXt Community Day :)
My very best wishes too, Charlie Doherty On 31 Aug 2008, at 14:35, Mojca Miklavec wrote: Hello, I would like to express my best wishes to the two very special people who did most for the ConTeXt community - who are voluntary, with all their enthusiasm, helping others and developing whatever users around the World desire. *** Mr Charles Doherty, Early Irish History, Room K113, School of History, John Henry Newman Building, University College Dublin, Belfield, Dublin 4 Tel: +353 1 716 8381 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt Minimals on Mac
On Sun, 2008-08-24 at 07:54 -0400, Alan Bowen wrote: I created a .profile containing the line source ~/path/to/context/tex/setuptex ~/path/to/context/tex and put it in Macintosh HD/Users/alancbowen/Library OK, the source ~/path/to/context/tex/setuptex ~/path/to/context/tex should be the path to YOUR context minimals (the /path/to/blablabla is commonly understood among UNIX users as meaning substitute the path to my thingy here. I know where your TeXshop files are (under your Library dir tree) but I don't know where the ConTeXt minimals were installed on your machine. I have not installed minimals because the TeXLive distribution with MacTeX has served me satisfactorily to date. Please locate the folders context/tex/setuptex and context/tex in the place where the minimals install put them. Are they under your home dir or are they under /usr/local? Figure out the FULL pathname from root, e.g., /usr/local/context/tex/setuptex or whatever it is. Put those full pathnames into the source line. Now, your .profile file goes in your home dir, /Users/alancbowen. The Bourne-again shell, bash, must find that file in your home dir when you login. /Users/alancbowen is how the UNIX side of OS X sees you, not Macintosh HD/Users/alancbowen/Library. That's how Aqua things see you. They both work, but UNIX creates a virtual environment off of a root /, that in turn has Mac dirs like Applications, Users, and so on. /Users on the Mac corresponds to /home on other Unix-like systems. And this brings up a good point. With UNIX pathnames, you have two alternatives for spaces in pathnames, e.g., from your home dir: ~/The Directory/and/its leaves ~/The\ Directory/and/its\ leaves HTH Charles But, sad to say, I get the same error when I try to typeset my “Hello World!” file using the™ minimals: /Applications/ConTeXtMinimals/tex/setuptex: line 75: cd: /Applications/ ConTeXtMinimals/context: No such file or directory The argument is not a valid TEXROOT path. There is no file /texmf/tex/plain/base/plain.tex provide a proper tex root (like '. setuptex /something/tex') Alan On Aug 23, 2008, at 21;04,37 , Charles P. Schaum wrote: Here's a start: What's in your path? Typing set in the terminal window should tell you. Second, did you add source ~/path/to/context/tex/setuptex ~/path/to/context/tex to your ~/.profile You need to have the source work from when you log in, and that happens in the .profile, not the .bashrc. That way, stuff under Aqua see the right environment. If you just do cmdline, then .bashrc is OK. That's similar to GNOME under Linux/BSD. See what happens after you do that. Charles On Sat, 2008-08-23 at 13:16 -0400, Alan Bowen wrote: Charles, I ran the last command (for “typical”) but now, when I try to typeset \starttext Hello World! \stoptext it appears that there is a “context” folder missing in the minimals that I downloaded. That is, I get /Applications/ConTeXtMinimals/tex/setuptex: line 75: cd: / Applications/ ConTeXtMinimals/context: No such file or directory The argument is not a valid TEXROOT path. There is no file /texmf/tex/plain/base/plain.tex provide a proper tex root (like '. setuptex /something/tex') TeXExec | processing document 'hello.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file hello.top TeXExec | using randomseed 1013 TeXExec | tex engine: pdftex TeXExec | tex format: cont-en This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) %-line parsing enabled. (/usr/local/texlive/2007/texmf/web2c/natural.tcx) entering extended mode (./hello.tex which indicates that Texlive 2007 was used. Alan Note: the text of ConTeXtMinimals.engine reads #!/bin/bash source /Applications/ConTeXtMinimals/tex/setuptex /Applications/ ConTeXtMinimals/context/tex texexec $1 On Aug 23, 2008, at 12;20,09 , Charles P. Schaum wrote: Open Applications/Utilities/Terminal from the finder Type (or cut n paste from Mail/Entourage) and don't put a carriage return between these lines (they are wrapped automatically) chmod a+x Users/alancbowen/Library/TeXShop/Engines/ConTeXtMinimals.engine If that fails - and it should not - try: sudo chmod a+x Users/alancbowen/Library/TeXShop/Engines/ConTeXtMinimals.engine You can substitute: chmod a+x ~/Library/TeXShop/Engines/ConTeXtMinimals.engine for the above path, and you can opt to do chmod u+x ~/Library/TeXShop/Engines/ConTeXtMinimals.engine when only you should execute it or chmod g+x ~/Library/TeXShop/Engines/ConTeXtMinimals.engine if anyone in your group can execute it or you can be typical and say chmod 775 ~/Library/TeXShop/Engines/ConTeXtMinimals.engine and that will make everyone executable and you/your group read- writable. Since you are using UNIX (as Mac OS X proudly touts
Re: [NTG-context] ConTeXt Minimals on Mac
Open Applications/Utilities/Terminal from the finder Type (or cut n paste from Mail/Entourage) and don't put a carriage return between these lines (they are wrapped automatically) chmod a+x Users/alancbowen/Library/TeXShop/Engines/ConTeXtMinimals.engine If that fails - and it should not - try: sudo chmod a+x Users/alancbowen/Library/TeXShop/Engines/ConTeXtMinimals.engine You can substitute: chmod a+x ~/Library/TeXShop/Engines/ConTeXtMinimals.engine for the above path, and you can opt to do chmod u+x ~/Library/TeXShop/Engines/ConTeXtMinimals.engine when only you should execute it or chmod g+x ~/Library/TeXShop/Engines/ConTeXtMinimals.engine if anyone in your group can execute it or you can be typical and say chmod 775 ~/Library/TeXShop/Engines/ConTeXtMinimals.engine and that will make everyone executable and you/your group read-writable. Since you are using UNIX (as Mac OS X proudly touts) you might want to snag a reference on shell scripting and basic UNIX commands. Welcome to the world beyond Aqua. That should do it. Charles On Sat, 2008-08-23 at 09:23 -0400, Alan Bowen wrote: I have installed the Context Minimals following the newbie instructions on the wiki at contextgarden for Mac users. The instructions themselves are clear but should perhaps be updated: • the file originally downloaded is first-setup.sh not first-setup.tsh • to execute this file run ./first-setup.sh not first-setup.sh (at least, the former worked and did not return a “command not found” message). I also configured TeXShop as instructed. But now when I try to typeset a file, I get the error message: Users/alancbowen/Library/TeXShop/Engines/ConTeXtMinimals.engine does not have the executable bit set. How can I fix this? Alan Note: I am running Mac OS X 10.5.4. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Kerning and Scaling
Hi Folks, I wanted to confirm that Hans is **Correct** about font fitting. In fact, I think that scaling is superior. One thing I did find is that one must go real easy with the scaling, e.g., compute the difference between the size you want/need, and see that it isn't too great, as the test shows. This test suite, written for plain, nevertheless will work in ConText IF you set the conditional value \havecontexttrue, which I did below. Some of the exact font results will, however, differ between the two. That was just my not trying to rectify differences in the default fonts and sizes. I found this exercise to be fun for learning about macro expansion, as well as dealing with multiple constraints and tail recursion. Charles Cut Here- %Testing insertion of kerns and stuff \newif\ifhavecontext %\havecontextfalse \havecontexttrue % Here we have two kerns that are equally smaller and larger \newdimen\KernSmall \newdimen\KernLarge \KernSmall=-0.03em \KernLarge=0.03em % This is Knuth's length macro from the \Tex Book \def\length#1{\count30=0 \getlength#1\end \number\count30} \def\getlength#1{\ifx#1\end \let\next=\relax \else\advance\count30 by1 \let\next=\getlength\fi \next} % This is a modified version of the length macro. % It's existence is to stuff kerns between any two internal tokens. \newcount\intraword \newdimen\intrakern [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] \def\insertium{}\else \def\insertium{\kern \intrakern}\fi \ifnum\intraword0\insertium\fi \ifx#1\end \let\next= \relax\else\advance\intraword [EMAIL PROTECTED] % But who says you have to use only kerns? [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] \def\insertium{}\else \def \insertium{\StickIt}\fi \ifnum\intraword0\insertium\fi \ifx#1\end \let \next=\relax\else\advance\intraword [EMAIL PROTECTED] \next}} % SDF-1 will control the scaled box to equal the negative kerning \newdimen\SDFONE \newdimen\fitdimone \newdimen\fitdimtwo \def\fitbox#1{% \setbox30=\hbox{\InsertKern{\KernSmall}{Garbage\ in,\ garbage\ out.}} \SDFONE=\wd30 \font\custfont=cmr10 scaled 1000 \setbox30=\hbox{\custfont#1} \fitdimone=\SDFONE \fitdimtwo=\wd30 \divide\fitdimtwo by 1000 \divide\fitdimone\fitdimtwo \count30=\fitdimone \font\custfont=cmr10 scaled \count30 \hbox{\custfont#1} } % Okay, and this is what it all comes to\dots \ifhavecontext\starttext\fi \fitbox{OK, Class\dots}\par \bigskip Garbage in, garbage out.\par Ignore spaces and get Knuth's count of \length{Garbage in, garbage out.}.\par Count spaces and get Knuth's count of \length{Garbage\ in,\ garbage\ out.}.\par \smallskip This includes punctuation.\par \bigskip Here you can see the insertion points of the macro.\par \InsertStuff{$_\wedge$}{Garbage\ in,\ garbage\ out.} \medskip Hungry? Want {\bf \InsertStuff{$^{Snacks}$}{Food}}? \medskip Warning! You can put funky stuff in the insertium, but not in the text.\par If you do that, \TeX\ will either produce an error or give you strange results. \bigskip \newdimen\compn \newdimen\comps \newdimen\compl Inserting kerns does have an effect:\par \smallskip Length of ``Garbage in, garbage out'' is \setbox30=\hbox{Garbage in, garbage out}\the\wd30 \compn=\wd30\par Length of ``\InsertKern{\KernSmall}{Garbage\ in,\ garbage\ out}'' is \setbox30=\hbox{\InsertKern{\KernSmall}{Garbage\ in,\ garbage\ out}} \the\wd30 \comps=\wd30\par Length of ``\InsertKern{\KernLarge}{Garbage\ in,\ garbage\ out}'' is \setbox30=\hbox{\InsertKern{\KernLarge}{Garbage\ in,\ garbage\ out}} \the\wd30 \compl=\wd30\par \bigskip Size matters\dots \smallskip {\tt N:} Garbage in, garbage out.\par {\tt S:} {\InsertKern{\KernSmall}{Garbage\ in,\ garbage\ out.}\par {\tt L:} {\InsertKern{\KernLarge}{Garbage\ in,\ garbage\ out.}\par \bigskip Which looks better? Scaled \the\KernSmall \smallskip Negative kern insertion (top) vs. font scaling (bottom):\par \ \ \ \hbox{\InsertKern{\KernSmall}{Garbage\ in,\ garbage\ out.}}\par \ \fitbox{Garbage in, garbage out.} \bigskip I had in mind something a little more radical\dots \KernSmall=-0.07em \ Scaled \the\KernSmall \smallskip Negative kern insertion (top) vs. font scaling (bottom):\par \ \ \ \hbox{\InsertKern{\KernSmall}{Garbage\ in,\ garbage\ out.}}\par \ \fitbox{Garbage in, garbage out.} \bigskip This is just sick\dots\par \KernSmall=-0.1em Scaled \the\KernSmall \smallskip Negative kern insertion (top) vs. font scaling (bottom):\par \ \ \ \hbox{\InsertKern{\KernSmall}{Garbage\ in,\ garbage\ out.}}\par \ \fitbox{Garbage in, garbage out.} \smallskip \KernSmall=-0.2em Scaled \the\KernSmall \smallskip Negative kern insertion (top) vs. font scaling (bottom):\par \ \ \ \hbox{\InsertKern{\KernSmall}{Garbage\ in,\ garbage\ out.}}\par \ \fitbox{Garbage in, garbage out.} \smallskip \KernSmall=-0.3em Scaled \the\KernSmall \smallskip Negative kern insertion (top) vs. font scaling (bottom):\par \ \ \ \hbox{\InsertKern{\KernSmall}{Garbage\ in,\ garbage\ out.}}\par \ \fitbox{Garbage in, garbage out.} \ifhavecontext
Re: [NTG-context] ConTeXt Minimals on Mac
Yep, it's looking for stuff in other places than you installed it. You can confirm that by typing which texexec or which context and so forth. On the Mac, /usr/texbin is a symbolic link that points to a directory under /usr/local/texlive What you need to do - and I have not installed minimals - is find out the means to point your files to the right installation or else they will look for the old one. I would suggest to check the wiki until I look into things moew. Charles On Sat, 2008-08-23 at 13:16 -0400, Alan Bowen wrote: Charles, I ran the last command (for “typical”) but now, when I try to typeset \starttext Hello World! \stoptext it appears that there is a “context” folder missing in the minimals that I downloaded. That is, I get /Applications/ConTeXtMinimals/tex/setuptex: line 75: cd: /Applications/ ConTeXtMinimals/context: No such file or directory The argument is not a valid TEXROOT path. There is no file /texmf/tex/plain/base/plain.tex provide a proper tex root (like '. setuptex /something/tex') TeXExec | processing document 'hello.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file hello.top TeXExec | using randomseed 1013 TeXExec | tex engine: pdftex TeXExec | tex format: cont-en This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) %-line parsing enabled. (/usr/local/texlive/2007/texmf/web2c/natural.tcx) entering extended mode (./hello.tex which indicates that Texlive 2007 was used. Alan Note: the text of ConTeXtMinimals.engine reads #!/bin/bash source /Applications/ConTeXtMinimals/tex/setuptex /Applications/ ConTeXtMinimals/context/tex texexec $1 On Aug 23, 2008, at 12;20,09 , Charles P. Schaum wrote: Open Applications/Utilities/Terminal from the finder Type (or cut n paste from Mail/Entourage) and don't put a carriage return between these lines (they are wrapped automatically) chmod a+x Users/alancbowen/Library/TeXShop/Engines/ConTeXtMinimals.engine If that fails - and it should not - try: sudo chmod a+x Users/alancbowen/Library/TeXShop/Engines/ConTeXtMinimals.engine You can substitute: chmod a+x ~/Library/TeXShop/Engines/ConTeXtMinimals.engine for the above path, and you can opt to do chmod u+x ~/Library/TeXShop/Engines/ConTeXtMinimals.engine when only you should execute it or chmod g+x ~/Library/TeXShop/Engines/ConTeXtMinimals.engine if anyone in your group can execute it or you can be typical and say chmod 775 ~/Library/TeXShop/Engines/ConTeXtMinimals.engine and that will make everyone executable and you/your group read- writable. Since you are using UNIX (as Mac OS X proudly touts) you might want to snag a reference on shell scripting and basic UNIX commands. Welcome to the world beyond Aqua. That should do it. Charles On Sat, 2008-08-23 at 09:23 -0400, Alan Bowen wrote: I have installed the Context Minimals following the newbie instructions on the wiki at contextgarden for Mac users. The instructions themselves are clear but should perhaps be updated: • the file originally downloaded is first-setup.sh not first-setup.tsh • to execute this file run ./first-setup.sh not first-setup.sh (at least, the former worked and did not return a “command not found” message). I also configured TeXShop as instructed. But now when I try to typeset a file, I get the error message: Users/alancbowen/Library/TeXShop/Engines/ConTeXtMinimals.engine does not have the executable bit set. How can I fix this? Alan Note: I am running Mac OS X 10.5.4. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma
Re: [NTG-context] ConTeXt Minimals on Mac
Here's a start: What's in your path? Typing set in the terminal window should tell you. Second, did you add source ~/path/to/context/tex/setuptex ~/path/to/context/tex to your ~/.profile You need to have the source work from when you log in, and that happens in the .profile, not the .bashrc. That way, stuff under Aqua see the right environment. If you just do cmdline, then .bashrc is OK. That's similar to GNOME under Linux/BSD. See what happens after you do that. Charles On Sat, 2008-08-23 at 13:16 -0400, Alan Bowen wrote: Charles, I ran the last command (for “typical”) but now, when I try to typeset \starttext Hello World! \stoptext it appears that there is a “context” folder missing in the minimals that I downloaded. That is, I get /Applications/ConTeXtMinimals/tex/setuptex: line 75: cd: /Applications/ ConTeXtMinimals/context: No such file or directory The argument is not a valid TEXROOT path. There is no file /texmf/tex/plain/base/plain.tex provide a proper tex root (like '. setuptex /something/tex') TeXExec | processing document 'hello.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file hello.top TeXExec | using randomseed 1013 TeXExec | tex engine: pdftex TeXExec | tex format: cont-en This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) %-line parsing enabled. (/usr/local/texlive/2007/texmf/web2c/natural.tcx) entering extended mode (./hello.tex which indicates that Texlive 2007 was used. Alan Note: the text of ConTeXtMinimals.engine reads #!/bin/bash source /Applications/ConTeXtMinimals/tex/setuptex /Applications/ ConTeXtMinimals/context/tex texexec $1 On Aug 23, 2008, at 12;20,09 , Charles P. Schaum wrote: Open Applications/Utilities/Terminal from the finder Type (or cut n paste from Mail/Entourage) and don't put a carriage return between these lines (they are wrapped automatically) chmod a+x Users/alancbowen/Library/TeXShop/Engines/ConTeXtMinimals.engine If that fails - and it should not - try: sudo chmod a+x Users/alancbowen/Library/TeXShop/Engines/ConTeXtMinimals.engine You can substitute: chmod a+x ~/Library/TeXShop/Engines/ConTeXtMinimals.engine for the above path, and you can opt to do chmod u+x ~/Library/TeXShop/Engines/ConTeXtMinimals.engine when only you should execute it or chmod g+x ~/Library/TeXShop/Engines/ConTeXtMinimals.engine if anyone in your group can execute it or you can be typical and say chmod 775 ~/Library/TeXShop/Engines/ConTeXtMinimals.engine and that will make everyone executable and you/your group read- writable. Since you are using UNIX (as Mac OS X proudly touts) you might want to snag a reference on shell scripting and basic UNIX commands. Welcome to the world beyond Aqua. That should do it. Charles On Sat, 2008-08-23 at 09:23 -0400, Alan Bowen wrote: I have installed the Context Minimals following the newbie instructions on the wiki at contextgarden for Mac users. The instructions themselves are clear but should perhaps be updated: • the file originally downloaded is first-setup.sh not first-setup.tsh • to execute this file run ./first-setup.sh not first-setup.sh (at least, the former worked and did not return a “command not found” message). I also configured TeXShop as instructed. But now when I try to typeset a file, I get the error message: Users/alancbowen/Library/TeXShop/Engines/ConTeXtMinimals.engine does not have the executable bit set. How can I fix this? Alan Note: I am running Mac OS X 10.5.4. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma
Re: [NTG-context] Intraword spacing proof of concept
On Fri, 2008-08-15 at 09:49 +0200, Hans Hagen wrote: in my opinion letterspacing only makes sense in titles, not in the main body of text (i consider kerning to be part of the font design) Thanks, Hans! Actually titles is where I would have used it. ;-) I generally agree with you there. Another place to slightly pack text is in ad copy, where perhaps your marketer got some text that must go in because corporate wants it, and the design calls for a space that is a touch too small, and deadlines are looming, and, and... Usually, however, messing with letter spacing decreases the aesthetics. Fonts are best left alone. But of course, what good is a rule if you can't break it occasionally? I had a subtitle that was pretty long, and I got around that by using thinspaces. It worked quite well. That was a couple months ago and I know a little more now. I also wanted to see if some of the exact same code that runs in plain would run in ConTeXt. I actually have had a fair bit of success using ConTeXt to take stuff from plain as a drop-in. Certain types of texts are easier to work with in plain than, for example, LaTeX. For example, I wanted to import about 30 pages of Questions and Answers in ASCII. With plain and ConTeXt I had much less fussing than in LaTeX. The same for some ASCII game FAQ's. My tinkering has even extended to Lollipop, but all \ turn into `` because I am ignorant and cannot figure out what the deal with computer modern fonts is in that format. The point of all this, with the TeXbook, TeX by Topic, and source code as guides, is to figure out what the deal is in different formats. It seems that (1) understanding catcodes and the finer points of macro expansion and modes really unlocks TeX; (2) reading source code for TeX and various formats is an essential part of getting a handle on things; and (3) buying the books really does help. But I'm glad I had 36 comp sci credit hours. Without a few courses on algorithms and data structures, I'd be lost. Charles ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] AUCTeX issues not necessarily ConTeXt-related
A while ago I mentioned a ``Problems after [n] pages'' issue in AUCTeX when using ConTeXt with it. Recently I used LaTeX and, hey presto, I was able to reproduce the same message. I ran LaTeX, then re-ran it to get the references right. I then ran it again and got a ``Problems after [0] pages'' message. But there were no problems. I ran LaTeX again, and this time it formatted 220 pages successfully. I really don't know the cause of the message, but there may be some kind of corner case. At least you know that it probably is not ConTeXt that is the source. Either way, I can live with the situation as long as my output is correct. Charles ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Intraword spacing proof of concept
Hi all, Quite a while ago I mentioned letter spacing, or the normal absence thereof, in TeX and friends. True, you could skin this cat by mathematically scaling the text (font size) by steps to fit the box --- the code is out there. But that was not the only way, thought I. Some programs also call this general idea tracking, that is, inserting positive or negative kerns independent of the \spacingfactor. Just for grins I nabbed two snippets from, respectively, manmac.tex and texbook.tex. I then added a bit of my own hackery that was inspired by DEK's length macro. I realized that a non-counting version of the length macro was a memory-friendly way to insert a symbol between any two others in a given sequence. What I wanted to insert was a negative kern. The negative kern must be small, less than \negthinspace, or else you start getting weird effects like a practically chiastic ordering of letters, and certainly a chaotic one. The smallest that one dare go seems to be -.07em, the point where the serifs can start running together. Using -.03em really does not show any letters running together, yet it still saves space. I got those figures as suggested by Knuth's own selections for tightness in the interword spacing. And yes, you could theoretically space out the letters, like the soul package that does proper Sperrdruck. One major drawback with my kludge is the need to use control spaces, else all spaces evaporate. If soul were ported to ConTeXt, and it seems like the code might allow that, then a version that spaces in and spaces out could well be possible. So here's the proof of concept, for those so interested. Charles \starttext % macros for non-centered displays \outer\def\begindisplay{\obeylines\startdisplay} {\obeylines\gdef\startdisplay#1 {\catcode`\^^M=5$$#1\halign\bgroup\indent##\hfil\qquad##\hfil\cr}} \outer\def\enddisplay{\crcr\egroup$$} [EMAIL PROTECTED] [EMAIL PROTECTED]@end} [EMAIL PROTECTED]@end \let\next=\relax \else \let\next= [EMAIL PROTECTED] \kern-0.07em\next}} \PackText{pack}\par \PackText{packity\ pack\ pack}\thinspace. \begindisplay \hbadness1 \hbox spread-.67em{The badness of this line is 100.} \quad(very tight)\cr \hbox spread-.67em{\PackText{The\ badness\ of\ this\ line\ is\ 100}\thinspace.} \quad(\PackText{So\ bd}\thinspace!)\cr \hbox spread-.33em{The badness of this line is 12.} \quad(somewhat tight)\cr \hbox{The badness of this line is 0.} \quad(perfect)\cr \hbox spread.5em{The badness of this line is 12.} \quad(somewhat loose)\cr %\hbox spread 1em{The badness of this line is 100.} % \quad(loose)\cr % then looser \hbox spread 1.259921em{The badness of this line is 200.} \quad(loose)\cr %\hbox spread 1.713em{The badness of this line is 500.} % \quad(bad)\cr % then worse \hbox spread 2.155em{The badness of this line is 1000.} \quad(bad)\cr \hbox spread 3.684em{The badness of this line is 5000.} % actually 4995! \quad(awful)\cr \enddisplay \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] inter-word spacing (initials)
Alan, If you wand quick and dirty because you are against a hard deadline, use inline math mode and insert negative space $\!$ AFTER the x. and IMMEDIATELY BEFORE the next bit. You could also define a macro \negspace to do it as well: \def\negspace{$\!$} so that x, x. \negspace x x will yield the spacing that x, x.\ x x ought to. It's an UGLY hack, but you'd be surprised at how ugly I hacked my own thesis in LaTeX to get it converted to Word and get it in on time. The very memory is traumatic. Charles On Sat, 2008-08-02 at 18:57 -0400, Alan Bowen wrote: I apologize to all, but circumstances oblige me to pick up a very pedestrian thread for the third time. As Peter Münster noted: in the following test-file \starttext x. x, x x\crlf x, x. x x\crlf x,\ x.\ x\ x\crlf x.\ x,\ x\ x\crlf X. X, X X\crlf X, X. X X\crlf X,\ X.\ X\ X\crlf X.\ X,\ X\ X \stoptext you see 2 bugs: - in MKIV there is no bigger space after x. - in MKII the space after x.\ is a big one The problem remains in ConTeXt ver: 2008.07.31 16:30 for MKII (which I am using). I am do not know if here have been any changes in MKIV. Is there a fix for this in the works? I am about to publish a series of pages which will look vastly better if this is fixed. Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] greek again
On Fri, 2008-07-25 at 11:29 +0100, Armando Martins wrote: Any advice about Tex friendly distros? Well, I can only say this: My best experiences for out of the box functionality are from Ubuntu. Like Debian, they have taken TeXlive and broken it up into a number of packages to allow for some installation options and less bloat. Of course, you have the typical Linux ideology thing going on, so they also take whatever the DFSG thinks to be non-free and separate it out as its own package. Then they gzip the docs so you have to gunzip them if you want to use Acrobat, for example. MacTeX on OS X is really done quite well. I have no complaints. But you need a Mac, or forget it. I like FreeBSD, but its ports system does not seem to have the same philosophy as TeXlive, or there are just too few working on it there. I mean, if Debian can do it, why don't the clever duckies just look at a few build scripts... So there you either have to use the prebuilt FreeBSD binaries and install it yourself or build it from source, which I rather like to do anyway. I haven't tried on the other BSD's. I have generally found the Redhat family to be increasingly irksome for a number of reasons, not the least of which are SELinux and YUM. The same goes for SUSE, where YaST is king. I stopped using them before I moved from TeTeX. I am intrigued by Gentoo and its portage, but haven't tried it. And, just for grins, you can run good ole TeX on Plan 9. My last MikTeX experience yielded non-portable DVI files, that meaning all DVI viewers under Linux that I tried could not read a DVI generated by MikTeX. I think PDF works, though. But it's Microsoft . . . Charles ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] hiding content
Why not, if all else fails, do a run of the completed matter to see what the pagination would be, then do something like: \newif\ifhidden % Uncomment this if you want to hide content. % \hiddentrue \ifhidden % . . . preferrably use ConTeXt-friendly pagination % commands; this was taken from a plain old TeX file. % Shove in white space or \phantom{} boxes with dummy text of % equivalent length; ConTeXt likes its own \blank{} macro. % Raw TeX stuff can mess up pagination and spacing. % % I'm not sure if a \vbox to dimen {} works well or not here. % Just try a few ways to see. \else % Put all your usual content here. \fi It's a kludge, but it should work in a pinch. Charles On Thu, 2008-07-24 at 15:21 +0200, Alan Stone wrote: And you want to hide part of the content for ... Enabling people to view the pdf preview version (limited, containing excerpts) before acquiring the full version. Alan On Thu, Jul 24, 2008 at 3:03 PM, Wolfgang Schuster [EMAIL PROTECTED] wrote: On Thu, Jul 24, 2008 at 2:34 PM, Alan Stone [EMAIL PROTECTED] wrote: I understood from this post http://archive.contextgarden.net/message/20050708.105010.33153980.en.html there were issues with the different solutions offered. You should give it a try, a few of the points concerned security reasons and old version of Acrobat Reader, there is also a wiki page about this topic. http://wiki.contextgarden.net/Hiding_Content Do you want to hide only text or also figures, tables, formulae etc. For the time being there's only text, however in a later stage there will be figures/pics too. do you need a solution that will work also over page breaks. Yes, to make a preview version of a book. And you want to hide part of the content for ... Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Losing my patience with (understanding) ConTeXt/LuaTeX's font handling... [ re: Whacko font behaviour ? ( Or Am I ? :O) ]
With Ubuntu and fonts there are several things going on. Generally, the system-wide fonts are kept under /usr/share/fonts An alternate place could be /usr/local/fonts That, however, is usually empty because packages put fonts in named directories, e.g., in the ttf dir in /usr/share/fonts TeX-related fonts basically sit in the texmf tree, usually in /usr/share/texmf-texlive/fonts You can also add your own into /usr/share/texmf/fonts Or you can put fonts into ~/.fonts and into your (correct me if I err) ~/.texmf-var/fonts THEN there's defoma, the Debian Font Manager, and I am not sure what ramifications exist there. There is a way to make things like otf fonts in your texmf trees visible to defoma, but I have yet to RTFMP, except to install the cm-super XII package. HTH Charles On Fri, 2008-07-18 at 23:22 +0200, Diego Depaoli wrote: 2008/7/18 Wolfgang Schuster [EMAIL PROTECTED]: but this issue still exists in Ubuntu with such fonts imported from Windows. Where mtxrun catches fonts filenames? Hi Diego, Hello Wolfgang, we are talking about two differents things, what you mean is the filename of the fonts you could access with [file:...] in typescripts and which is different on Windows (and all other where the core font packages are used) and on Mac. The font name is another thing and can be different from the file name, you could access fonts by font name with [name:...] in MkIV and this name should (not sure if this is so) be the same on both systems. That's clear to me, but my question was about the wrong correspondence between font names and filename. As I wrote mtxrun --script fonts --lists showed filenames which I didn't find anywhere, so I thought mtxrun rewrote them. Repeating the same procedure under FreeBSD all goes right. Perhaps in my Ubuntu system there is more than one Times New Roman, Arial..., (even I don't know where they live) and this confused ConTeXt. Next time I boot Ubuntu, I'll search in the whole filesystem. Thanks for the answer and sorry for the noise. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] fonts (in luatex) (again)
That's right; use fondu. Fontforge can read a .dfont (data fork resource) but it cannot specify something within that to load without user input. The only files that use .dfont are from Apple for Apple. The Mac knows what is basically coded into these files and works with them accordingly. That presents the design decision of whether to support an alien font scheme that only exists in Steve Jobs' universe, not in the rest of the 95% of computers out there. Then there is the whole issue of encoding because especially the Apple .dfont files tend to have a number of named glyphs that Fontforge thinks are misplaced. Fontforge also will not open a font in a ~/.fonts dir, at least on Ubuntu Hardy. It does not appear to handle special cases of pathnames very well. You can, however, use Fontforge and fondu to get at the fonts in the resource fork; fondu looks like it is better for the task Charles On Tue, 2008-07-15 at 21:19 +0200, Thomas A. Schmitz wrote: On Jul 15, 2008, at 6:27 PM, Mojca Miklavec wrote: I'm not sure, but .dfont looks like AAT format and no extension like Mac-specific way of storing Type 1. Both doable, but someone needs to do that. You can run fondu on .dfont files and then use the resulting files (ttf or pfb, I guess) for use with whatever flavor of TeX you want. Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Hyphenmark and composed words
The whole issue of typesetting URL's is dodgy because style manuals like Chicago don't want them broken. Now, Chicago is pretty conservative and has the idea that people are going to type stuff in verbatim from printed bubs and furthermore that they will always interpret a line break as a return keystroke. They also want archival type info stored in the bib entry, as if archive.org did not exist. I don't see, however, that squishing a URL down to minuscule type sizes is the answer, because using a loupe to read a URL is nuts. Electronically, this is simply BFD. One might consider using a verbatim or typewriter font switch and have that signal continuity over line breaks. That has been my approach for print matter. Still, I have avoided hyphenating a URL unless it already has one, and even then if the hyphen breaks in such a way that the linear composition is way underfull on a line, you get stuck with an ugly line. I generally break a URL at a virgule (/) closest to a good line break. Incidentally, David Fussner has been working on a Chicago style for Philipp Lehman's biblatex. He has been in communication with Joseph Reagle and me, who had done independent work on the same thing. Will something like biblatex ever appear in ConTeXt, and how might that happen? I know that Lehmann has been busy, but the whole idea of a user-extensible bib syntax that doesn't require kludging bibtex is great. Even better would be to have a set of BNF/RE style files like Endnotes, though the implementation eludes me. Lehman's biblatex seems to do that via LaTeX. Charles On Fri, 2008-07-11 at 12:22 +0200, Wolfgang Schuster wrote: On Fri, Jul 11, 2008 at 11:52 AM, Olivier Guéry [EMAIL PROTECTED] wrote: 2008/7/11 Wolfgang Schuster [EMAIL PROTECTED]: On Fri, Jul 11, 2008 at 3:45 AM, Olivier Guéry [EMAIL PROTECTED] wrote: Hello, I tried to force hyphen in composed word with this : « composed||word » as explain in the manual. (Strange that context can't know that he can cut composed words after the dash, maybe it's only a french rule). In french, the hyphenmark is « - », not « – » (endash). So I tried \setuphyphenmark [sign = -] but no effect, I still get a « – ». This syntax : « composed|-|word » works. \definetextmodediscretionary {} {\hyphenliketextmodediscretionary\defaultdiscretionaryhyphen\defaultdiscretionaryhyphen\empty\defaultdiscretionaryhyphen} \setuphyphenmark[sign=-] It works. Is this the new usual syntax (please, no ! ;)) or just a workaround ? Just a workaroung, it's up to Hans to fix this in some way. A short solution for the moment is: \def\compoundhyphen{-} Is there something to setup that hyphenate should alway cut composed words after the « - » ? For the moment, I must enter all composed word with « || » ? Like « où va||t||il ? » instead of « où va-t-il ? » For MkII, I don't think so, MkIV should be possible but Hans or Taco can give you a better answer. You shouldn't forget in some cases like 'X-Rays' a break after the hyphen is not allowed. We should never cut like this : «foo bar com- posed-word » but « foo bar composed- word. » Regards, Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Fwd: chapter page on right.
Consider this slightly altered text from a mock-up I did for page headers: % Set up double-sided page numbering, backspace, and margins. \setuppagenumbering[location=footer,alternative=doublesided] % Use a format that does not autonumber chapters. % Put at least the chapter in the heading. % Center the heading and put whitespace between the header and % the chapter heading. \setupheadertexts[chapter][] \setuphead[chapter][page=right,after={\blank[2*big]},alternative=middle] \starttext \language[en] \startfrontmatter \setuppagenumbering[conversion=romannumerals] \startstandardmakeup \midaligned{\tfc \cap{Title}} \blank[small] \midaligned{\cap{Subtitle}} \vfill \stopstandardmakeup \startstandardmakeup[doublesided=no] \midaligned{\tfd \cap{Big Title}} \blank[medium] \midaligned{\tfc \cap{Subtitle}} \vfill \stopstandardmakeup \startstandardmakeup[page=no] \vfill Indicia Page \stopstandardmakeup \setuppagenumber[number=5] \setupfooter[state=empty] \setupheader[state=empty,high,nomarking] \completecontent[alternative=c] \chapter{Publisher's Introduction} \setupheader[state=empty] . . . \stopfrontmatter \startbodymatter \def\HeadTitle#1#2% {\hbox to \hsize {\hfil{#2}\hfil}} \setuphead[chapter][command=\HeadTitle] \setuppagenumbering[conversion=numbers] \setuppagenumber[number=1] \chapter{Introduction} \setupheadertexts[chapter][Basic Concepts] \setupheader[state=empty] \stopbodymatter On Tue, 2008-07-08 at 13:31 -0400, John Culleton wrote: This message seems not to have gone through. Therefore I am resending it. -- Forwarded Message -- Subject: chapter page on right. Date: Tuesday 08 July 2008 From: John Culleton [EMAIL PROTECTED] To: mailing list for ConTeXt users ntg-context@ntg.nl I have set up the \chapter command thus; \setuphead[chapter][page=right,style={\nimbua},header=high] where nimbua is a font. The chapter head appears on a recto (odd numbered) page as expected but the verso blank page inserted where necessary before the chapter head has a running header. It should be blank. I can kludge this up with a wrapper macro containing \ifodd\pageno etc. but it seems there should be a more Contextish way to handle it. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt, Framemaker, and InDesign
Oh, I WISH I had Framemaker... But this might be interesting. Setting up margin notes in InDesign is considered to be an Intermediate to advanced feature. It may well be possible to have more recurrent structured elements in Framemaker, but I would suggest that only TeX and friends can do something like structured recurrent text elements that might vary according to anything more than a trivial algorithm. I dunno. \inmargin seemed pretty simple to me... I think that my designer may be jealous. ;-) On Mon, 2008-06-30 at 10:53 -0600, Idris Samawi Hamid wrote: Dear gang, There has been some discussion on the list lately comparing ConTeXt with InDesign. Are there any Framemaker users on the list? I'm interested in comparisons between ConTeXt and Framemaker, with cross-comparisons with InDesign as appropriate. What does ConTeXt have that Framemaker does not? What does Framemaker have that ConTeXt does not? (svg integration comes to mind -- there's been some svg discussion here the last couple of days). From what I know of Framemaker -- structured processing etc, it seems that would be a more a~propos comparison with ConTeXt than InDesign. Eventually I would like to establish a wiki page with detailed and accurate comparisons between ConTeXt, InDesign, Framemaker, and perhaps other DTP applications as well. I even plan to get my hands on the competition so I can get more 1st hands knowledge for my own edification. Best wishes Idris ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] AUCTeX and ConTeXt
I did put the question mark where there was none, and I still got the behavior. Charles On Mon, 2008-06-30 at 08:10 +0200, Jean Magnan de Bornier wrote: Le 29 juin à 12:34:36 Thomas A. Schmitz [EMAIL PROTECTED] écrit notamment: | On Jun 28, 2008, at 8:08 PM, Charles P. Schaum wrote: | yields the message buffer: | | Updating define menu... | Updating setup menu... | Updating other macro's menu... | Updating project structure menu... | Updating section block menu... | Updating section menu... | Updating...done | Type `C-c C-l' to display results of compilation. | ConTeXt: problems after {1} page. | | The pdf generated is, however, entirely satisfactory, as are all | texted | documents. | | My strategy is to ignore it. This appears specific to AUCTeX, in this | case running on GTK Emacs 22 / Ubuntu 8.04. By contrast, I have | minimal | to no problems on my OS X installation. | | Charles | I think this is a problem in context.el. David Kastrup helped me with | this problem at last year's ConTeXt meeting. Open the file auctex/ | context.el in your favorite text editor. Now search for this line: | ((re-search-forward ^ TeX\\(Exec\\|Util\\) nil t) ;; strange regexp | --pg | Insert a question mark right before TeX, so the line reads | ((re-search-forward ^ ?TeX\\(Exec\\|Util\\) nil t) ;; strange | regexp --pg | That should fix your problem. pg, a.k.a. Patrick Gundelach, are you | reading this? :-) Hi Thomas+Charles, As an auctex user, I have the same problem; but the question mark is already in the context.el file. So I imagine the root of the problem is somewhere else... :-( cheers, ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] dot/graphviz and Tex/friends
Question: Has anyone ever thought of integrating something dot-like into ConTeXt or LaTeX? One thing that I have done is avail myself of the constrained graphs for doing anything like timelines. It would be fantastic to get that in TeX and friends. Or would that fall under dot - MetaPost? Charles ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] context manuals sources
In a parser, a piece of code that interprets a set of structured rules (grammar) from a (partially or fully) tokenized input stream from the lexical analyzer at the front end, LHS is something on the left hand side of an equation or term (thus, on the left-hand parse tree) and RHS is on the right hand side. There are free sources out there to find stuff on parsing so you don't have to go and buy the Dragon book (Aho, Sethi, Ullmann), which I nevertheless consider a vade mecum. You will find links to such documentation under the computer - reference category at: http://yoel.info/links.htm Best wishes, and welcome to the world of artificial languages. Charles On Sun, 2008-06-29 at 13:09 +0200, Alan Stone wrote: Euuuh, other than constant and variable... LHS, RHS and enumeration are like klingon to me. :O) Are these terms important to understand the code ? Alan On Sun, Jun 29, 2008 at 12:52 PM, Taco Hoekwater [EMAIL PROTECTED] wrote: Alan Stone wrote: Hi, I'm trying to figure out the meaning and use of the c! and v! prefixes in commands in, for example, the layo-xx.tex source files at http://context.aanhet.net/svn/manuals/context/ aka... c is a constant (LHS), v is a variable (RHS enumeration). Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] fonts (in luatex) (again)
This first bit differentiates a backend that refers to your font and a frontend that you normally work with. Why? Macros, macros, macros. Let's put it this way: You could have a myriad of styles. That's what many in the WYSIWYG world do. Then ... they have to keep track of them all. But TeX, as a Turing-complete programming language that could theoretically be used for lots of things, has the design of local redefinition, so that sans within a group or a macro can be redefined to something other than delicious without you needing to worry about keeping track of global style changes. In short, like the Unix small is beautiful philosophy (and good programming) you make parts of your document that work, you put the working parts together, and the whole thing should have a good shot at working. It will also be remarkably consistent and behave in a manner that is more regular than, for example, Word's typesetting engine. And if you are working on a source for different outputs or even different possibilities of publication, you can switch out a font without having to muck about through every font reference in your document, saving hours of labor. \starttypescript [sans] [delicious] \setups[font:fallback:sans] \definefontsynonym [Sans] [Delicious-Regular] \definefontsynonym [SansItalic] [Delicious-Italic] \definefontsynonym [SansBold] [Delicious-Bold] \definefontsynonym [SansBoldItalic] [Delicious-BoldItalic] \definefontsynonym [SansCaps] [Delicious-Caps] \stoptypescript As I understand, this next bit maps the expectations of the typesetting engine to the capabilities of the font. For example, when working with InDesign/InCopy and importing things from Word, there's a difference between character style mappings and local overrides. Word processors usually employ local overrides. That means usually the typesetting engine picks from the alternative of a font face for bold, italic, and so on, or it takes the default face and changes its rasterization to create a faux bold, italic, and so on. In good typesetting, however, you actually link character styles with actual fonts, just like you would when hand-compositing blocks of type in a typecase with lots of clamps and so on. This bit looks like what character styles do in InDesign. The more I get into InDesign and work with my designers, the more I understand the basic typographical principles that make TeX and ConTeXt elegant. \starttypescript [sans] [delicious] \definefontsynonym [Delicious-Regular] [name:Delicious-Roman] [features=default] \definefontsynonym [Delicious-Italic] [name:Delicious-Italic] [features=default] \definefontsynonym [Delicious-Bold] [name:Delicious-Bold] [features=default] \definefontsynonym [Delicious-BoldItalic] [name:Delicious-BoldItalic] [features=default] \definefontsynonym [Delicious-Caps] [name:Delicious-SmallCaps] [features=default] \stoptypescript The following is not in the Ubuntu-distributed manual, so I am not sure about it. \starttypescript [delicious] \definetypeface [delicious] [ss] [sans] [delicious] [default] \stoptypescript ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] AUCTeX and ConTeXt
I really like the support that AUCTeX gives for ConTeXt. Actually, in general it does well with any flavor. I'll have to RTFM to see what I can do to start a new file specifically in ConTeXt, plain, or whatever, not just LaTeX. The weird thing is that it reports unspecified problems at the end of running context but no such problems really exist. The trivial snippet: \starttext Hello, world! \stoptext yields the message buffer: Updating define menu... Updating setup menu... Updating other macro's menu... Updating project structure menu... Updating section block menu... Updating section menu... Updating...done Type `C-c C-l' to display results of compilation. ConTeXt: problems after {1} page. The pdf generated is, however, entirely satisfactory, as are all texted documents. My strategy is to ignore it. This appears specific to AUCTeX, in this case running on GTK Emacs 22 / Ubuntu 8.04. By contrast, I have minimal to no problems on my OS X installation. Charles ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Web links
If anyone is interested in a list of web links that I update roughly quarterly and use both professionally and personally, s/he is welcome to visit http://yoel.info/links.htm The links have lots of computing and humanities resources, among others. Charles ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] hyphenation question
Unfortunately, these chaps haven't read their Duden Band 1, Die Deutsche Rechtschreibung. I checked their examples against it and they are quite in error at times. That makes it notoriously difficult to figure out the proper from the improper. So they theoretically could have a good product and asked someone to go cheap on producing the PDF. Goodness knows, you wouldn't believe how many PhD's put their names on stuff that their research beetles really wrote. Still, it reflects poorly and hurts their business. I'd say that if they don't have their act together, let the free market sort it out. I can hyphenate all sorts of languages in Ubuntu just fine. Charles On Thu, 2008-06-26 at 12:29 +0200, Alan Stone wrote: For your information... http://www.talo.nl/talo/download/documents/Language_Book.pdf There's a whole chapter on hyphenation rules for the European languages. Best, Alan On Wed, Jun 25, 2008 at 2:55 PM, Olivier Guéry [EMAIL PROTECTED] wrote: I remember reading that in correct french typo we are not supposed to hypenate before the last « syllable ». If you have no choice, having only two letter is realy « bad ». Olivier. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Calendar resources
Some calendar links, FYI: http://astro.nmsu.edu/~lhuber/leaphist.html http://www.smart.net/~mmontes/ec-cal.html http://www.tondering.dk/claus/calendar.html http://tycho.usno.navy.mil/vphase.html I would be happy to make available the C code for an Easter date calculator that I implemented on the Palm III. I used the complex algorithm that figures the age of the moon at New Year's. It originally came from Bell Labs, I think. CPS ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Calendar resources
); FldSetTextPtr(J2,Orthodox_Gregorian); FldSetTextPtr(G,); } else { FldSetTextPtr(J1,Orthodox_Julian); FldSetTextPtr(J2,Orthodox_Gregorian); FldSetTextPtr(G,Western); } // Repaint form on open FrmDrawForm(form); handled = true; break; } return handled; } On Sun, 2008-06-22 at 19:38 +0200, Hans Hagen wrote: Charles P. Schaum wrote: Some calendar links, FYI: http://astro.nmsu.edu/~lhuber/leaphist.html http://www.smart.net/~mmontes/ec-cal.html http://www.tondering.dk/claus/calendar.html http://tycho.usno.navy.mil/vphase.html I would be happy to make available the C code for an Easter date calculator that I implemented on the Palm III. I used the complex algorithm that figures the age of the moon at New Year's. It originally came from Bell Labs, I think. well, we can make a nice l-calendar.lua module together just provide me the calculations (i can implement to lua code but i have no time to figure out all the logic) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Arabic index entries
The issues of indexing, c., probably fall into two issues: a. Is is something European-derivative in reference to a work or b. It is something entirely for native-speaking use and expectations? I've been on the Ivritex list for quite a while and there has been some long-running issues on how to deal with mixed versus pure texts and what people ought expect. I have seen considerable variance in Hebrew materials from the latter nineteenth-century to today in which they, for example, consider the ex-height in relation to superdiacritica and subdiacritica from nikkud to cantillation. They have had to tackle the issues of handling a mixed-versus non-mixed language text. It's nontrivial. Just from an historical perspective, at one time Latin and other languages concatenated the articles to the words, for example, in the nomenclature Alcoran for the Qur'an. Today in indexing (I have used Cindex to do quite a few book indices) one generally drops the definite and indefinite articles of most languages. Even in contents and chapter headings, one aviods articles except in informal literature for entertainment consumption. That may be language-dependent, for in German and Greek one does have to use articles more than in English. Still, I have seldom seen an index with arthrous forms in any language. CPS On Fri, 2008-06-20 at 19:02 +0300, Khaled Hosny wrote: On Fri, Jun 20, 2008 at 09:34:40AM +0200, Hans Hagen wrote: Idris Samawi Hamid wrote: On Thu, 19 Jun 2008 18:23:05 -0600, Khaled Hosny [EMAIL PROTECTED] wrote: Arabic index entries are all listed under unknown instead of its respective Arabic letters. I'm not sure if this is a bug or a misconfiguration from my side. See the attached example. We need to include arabic-farsi-urdu etc. databases in the distro. If Hans can tell us what file to emulate/edit etc first we need to discuss the logic ... say that we have a sequence of chars ... do we need to erase the vowels? etc Erase vowels as in not counting them? Then yes we should only respect full letters. We might need also need to strip the Arabic definite article ال, but this will be tricky since there are words that start with it. May be we better have syntax like \index[a]{entry} where this entry will be under a, or we already have this? Regards, Khaled ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] distro info
What could perhaps occur is this: Get PC-BSD's PBI technology working with something like DarwinPorts or whatever BSD ports tree exists for the Mac. IIRC, they now have a relatively automated way of getting from ports to PBI's. But you would need cooperation, legal protection or licensing for the PBI tech, some currency at hand to pay a developer, and a committed, tech-savvy crew. And this might not fly because PBI is the special deal for PC-BSD. Would they share for Mac? But a ConTeXt PBI would make me look at the BSD's a little more. I don't really want TeTeX and staying current with CTAN pretty much precludes depending on a distro anyway. Charles ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] distro info
On Sun, 2008-06-15 at 01:05 +0200, Diego Depaoli wrote: Furthermore let me doubt that a simplified installation it's enough to persuade new users since ConTeXt requires manuals reading which is universally considered a waste of time. In many cases, the nouveau Linux culture or Win/Mac users may not necessarily like to RTFMP, (P for Please) but anyone with any long-term Unix exposure does, because that's how it goes. ConTeXt makes its manuals far easier to get to than others in many cases. Linux man pages are lame. Mac man pages are decent because they come from BSD, but lots of Mac users hardly ever use Terminal. Windows users wouldn't know a man page if you hit them with one. But even commercial DTP on Mac and Win has some kind of HTML-based set of manuals/tutorials that they really encourage people to use. Once people are beyond your average office suite, they just have to read manuals or know design. That's why there's tons of stuff out there on the net. Same goes for web design. So I think that, by the time you get to ConTeXt, you might have to accept the old RTFMP as a sine qua non. I find the ConTeXt manuals to be exceptional, and I hope to sit down soon at least with the main ConTeXt EN manual and mark it up where I find editorial issues. I started using ConTeXt only recently and already I was able to do a book mock-up with endpapers, title page, indicia page, TOC, various front matter, chapters, appropriate page headings, and so on. Were I trying to use LaTeX or plain (I was seriously considering Lollipop) I would still be wanking around with it. So I've found the manuals invaluable. True, maybe something that is both really slow for beginners and faster for the experienced as an HTML-based set, either on-line or downloadable, wouldn't be bad to have. I actually have some of my own ideas for the topology of something like that. One thing that trips me up is not knowing when some bit of plain TeX should or should not be used. In any case, everyone using something TeX-related can benefit from the TeXbook. I enjoy it thoroughly. Charles ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Geeze, I might try Linux after all... (not too off-tpic I hope)
I had a poor experience with commercial design software on Windows (by Serif, a company based out of the UK.) That pushed me to Linux. I started with Debian woody and right away I had to fetch and compile kernel modules from an Intel code base. I actually got Debian working well under the 2.4 kernel and KDE (cause Gnome 2 was only just starting). Then I went with Fedora, Mandrake, and SuSE. Each had strong and weak points, except Mandrake (now Mandriva) that only had weak points. I then toured through the BSD's and found that I like the X implementation there the best, but the desktop experience was not the best. I even tried Plan 9 and Solaris, which is slow. And I use a Mac for work. I now run FreeBSD on a server and Ubuntu on desktop. If you know Windows, then Mac, PC-BSD, and Ubuntu/Kubuntu are the likely candidates. Increasingly I grow irritated with Gnome, but KDE is also quite bloated. The Push Button Installer technology of PC-BSD, similar to Mac and Windows, will feel very normal. TeX and friends work out of the box as TeX Live 2007 on Ubuntu and Kubuntu. There is no port for FreeBSD apart from TeTeX AFAIK but there are binaries that one can install under /usr/local. The BSD's have better docs than Linux. Period. And their kernel and userland come together in a full-features OS while Linux is a kernel and GNU, etc., userland. Kile for KDE and auctex with emacs are probably what you will be interested in. TeXmaker forked from Kile and it can be slow. TeXmacs and LyX are not strictly TeX/LaTeX, but close. I'm torn between a TeX packaged distro and independent construction either via TeX Live itself or DIY'ing it from CTAN. OTOH it's nice not to have to build your own texmf tree; but it can be done and I've done it by following the specs. Then again, if you are not LaTeXing things, you might not need it. It gives one, however, a certain air of self-gratification to master mktexlsr and have kpsewhich find stuff. Also anything Linux-based is likely to have someone's ideology about freedom of some sort butting into otherwise perfectly good software packages and delimiting the non-free stuff, resulting in, for example, the hyperlinked ConTeXt manuals not finding their links. With the BSD's you don't have this politicking down on the commune. But TeTeX is a bit outdated for my tastes. Charles On Fri, 2008-06-13 at 12:42 +0200, Alan Stone wrote: ( Oops, pushed inadvertedly some key on my keyboard and the message was away while in GMail - here's the sequel... ) Having heard Linux is, amongst other things, far more stable I might be tempted to play with it and progressively build some experience with it, master the beast and then switch some applications, amongst which ConTeXt, to it. As I presently don't know a thing about Linux, which distribution do you recommend ? Many thanks, Alan At Friday 13/06/2008 12:28, you wrote: Hi, Yesterday WXP crashed and it took me a whole day to repair the thing and get it up and running again. Ha ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How could a typesetting system be today?
There is your unified system. XML rulez - for better or for worse. It's really no fun to write XML by hand. But, as you said, TeX and Lilypond have a similar syntax. I belive they could share some kind of common language. What you are thinking about is probably a master document scheme that would locally contextualize and process content. You would likely need some kind of magic number system for this to work. That would probably rule out older hardware because loading and unloading entire backends (or trying to run them all) is expensive on processing and memory. Also you have the potential for fork hell or dependency hell. IIRC there are MusicTeX, MusixTeX, Lillypond, etc. and some takes this and others that. There's an Omega package for typesetting pages from the Biblia Hebraica Stuttgartensia, Makor, and then there are fonts that do most of that themselves. You have EDMAC and Ledmac, but ConTeXt could probably handle the lemmatization even more intuitively. (I ought to try that.) So, which way is right, since coexistence may be a problem. One wants plain, the other LaTeX. And you can't necessarily intermix the two. I'm no XML guru, but that's the likely solution. Since everything has a history, then you have to build a community where picking and choosing this over that can be a problem; see, for example, http://blogs.sun.com/jimgris/entry/building_opensolaris_communities Then we get to GUI or not. It's probably the case that XML would be the likely candidate. In that case, Scribus or OOo would be a good place to look. But then you have all the complex dev issues with OOo. It can take a day to compile on anything that is more than two or three years old. In the end, a typesetting metalanguage would require a community to use it, deep wallets to fund it, or both. And you would have to ask people, some of whom still miss their old Lisp machines, Multics, and so on, to make a switch when they know that publishers already have their niche development tools in place. And DEK himself wanted to encourage not simply the finding of or agreement on the right answer to the question (why some hate the TeXbook) but the heuristics for finding right questions and their answers (why some love the TeXbook). But whose right wins in the design of the metalanguage? Because that would collide with good old Appendix D, Dirty Tricks, and everyone's dirty trick complicates interactions of plugins. It's like the old days when you saved memory on a machine by putting what looks to be some data in an odd-size piece of memory, when it's really a set of instructions at an (unusual) odd address instead of an even. So how do you disambiguate that? You can't just use an assembler; you have to disassemble the hand-coded 'data' with a debugger to see the real instructions. OK, resources are cheaper now, but this means either making dirty tricks illegal for any historic instruction set like brand X assembler or TeX, or coming up with a huge parser that can sail the seas of corner cases. The former threatens backward compatibility, thus meeting resistance in the TeX/LaTeX community and probably others. OpenDoc does have government support, so that's an edge. But then there's Microsoft that herds its users into the pastures of non-standards-compliance. Additionally, huge parsers are expensive to implement in several ways. And wasn't SGML supposed to be a generalized markup language? I do like the idea, but I think that balancing details over against abstractions (the Suenden that LaTeXers commit at times come to mind) is always going to be a sort of np-complete issue. Charles ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How could a typesetting system be today?
Do you mean like Scrivener on the Mac? What, in any case, constitutes a universal layout approach? Does one exist? For example, I can do things with plain TeX that mighty InDesign must balk at. Yet some see TeX as yesteryear's solution because of subsequent tech advances. I hardly believe that DEK would be dogmatic about TeX being the only thing out there. Yet he, and thousands of others in the scientific communities where TeX flourishes, sees the value of maintaining a knowledge base that is predictable when it runs on a program that can pass the trip test. Lose that for the sake of innovation, and you can lose real knowledge. And what shall we say for troff, which still possesses an arcane sort of longevity? Imagine this: if you can use TeX running on some older PC and you have some remotely managed BSD setup with packet radio and EME bouncing or whatever, you can be creating documents for all the world to see even if you are out in the bush with a generator and mosquito netting. So TeX's stability has the interesting potential side effect of giving a voice to the voiceless. Our cast-off hardware becomes a window for freedom of speech and expression, as well as the free-beer philanthropy element of getting it into people's hands. If there is to be a universality to layout, part of that should also extend not just across current technologies but also have plugins that can support older technologies. That way we do not generate technological segregation. There are places where people still go outside to relieve themselves, and there are the Japanese washlets at the other extreme. But the human component remains, nonetheless. At minimum, what one needs is a cross-disciplinary approach. My work usually involves issues of finance and development, scheduling, good old editing, elements of design, and knowledge of the subject matter. All these factors directly or indirectly affect layout. Here's where I see the Mac as helpful. On the one hand, you have Aqua, while there's also X and good old terminal. Some folks think abstractly and can whack out macros like Paul Bunyan chops wood. Some think visually and need visual or modular dev tools. Some people are good at modeling situations that are dynamic and interactive, while others have the knack for getting to tried and true base issues that remain when all the noise and lights are gone. If you read Ian Barbour or Jacques Ellul, you see that identity and techne are linked and that the sciences do things differently than the humanities at a deeper level than just style manuals and the inverse relation of obfuscated jargon to psycho-sociological rhetoric. I just don't see a unified typesetting engine in the works until something can easily embrace different national traditions for typesetting, type styles, design preferences, etc. In Germany, man nehmet Dr. Oetker, while in America it's doctor schmocktor, I just wanna feel good amidst an orgiastic consumer society. Think that doesn't get reflected in design choices? 'Cause it does. DEK may be a formidable computer scientist. Yet, as one of his cousins that is a friend of mine and another friend that was two years behind him in high school said, Knuth always loved things like words and music. His literary acumen reflects his tutelage in a school strongly influenced by the classical Gymnasium. He is a man of culture and taste, and he brought all his respect and research regarding longstanding, tried and true typographical traditions to his writing of TeX. Could there be new stuff? Sure. But an exploration of type, typography, layout, and design also points us to some of our basic thoughts on preferences, identity, habituation, etc. Charles On Wed, 2008-06-11 at 21:12 -0300, Maurício wrote: Sorry to insist, but I would be really interested in approaches that are not just great things we could add to TeX. For instance: would it be possible to have some kind of “layout engine” to which text processing would be just one among other plug-ins? I wonder what kind of information that engine should share with plug-ins. Do you think such system is possible? Or something else? Maurício Maurício a écrit : Hi, Just because I'm curious: how could a typesetting system like TeX be if it was created today? I've tried google and wikipedia, and all I found different from TeX is a system called 'Lout', but it seems dead. (...) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
Re: [NTG-context] unicode feature request
You should just be able to drop in the math code as such: \starttext This is an example of the $\le$ operator. \stoptext You will get the proper encoding from the PDF generated. You could theoretically do: \def\LE{$\le$} \starttext This is an example of the \LE\ operator. \stoptext The reason why this is so is because the operators are designed to look like proper math typesetting, what usually does not happen in many situations with normal text. TeX was DEK's solution to typesetting mathematically-oriented books and he would be unlikely to introduce a counter-intuitive concept. Charles On Fri, 2008-06-06 at 22:18 +0200, Peter Münster wrote: Hello, Just as the signs , , + and −, it would be nice if also other signs such as ≤ (less-than or equal to, 2264) or ⇒ (rightwards double arrow, 21D2) worked in text mode and not only in math mode. Cheers, Peter ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] InDesign/InCopy vs. TeX and friends
). Charles ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] InDesign
On Tue, 2008-05-27 at 08:24 +0200, Hans Hagen wrote: how do they deal with non compatible new features; for instance, at bachotek i learned that some otf features that are not supported in older versions are supported in new ones (or are supported differently); is there some compatibility mode (i.e. is the old behavior still present and the ID/IC version number stored in the document?) I asked those wiser than I and this is what professional expectations tend to be: 1. Versioning within a document (track changes) basically becomes a non-entity by production; that is local and removed within a production cycle and tends to be wholly separated from version issues. Also, product cycles are generally tagged to a version of a program and therefore multiple versions need to be able to coexist in the case where the new version may not be backward-compatible with the old. With Quark, one could only count on backward compatibility over one version bump. After that, compatibility would diminish so that Quark 4.0 would not open Quark 1.0 docs. Makes Microsoft's format versioning seem positively user-friendly by comparison. The firm I work for has only started with the current InDesign/CS3 suite and relies on the quark plugin to do the work. Especially in Quark, third-party plugins were the most fragile. We expect, however, that Indesign will probably follow Quark in failing to be too bacwardly-compatible, opening well only the prior version docs and then saving them as current. That's one of the things that drove my personal computing away from Windows to Linux/FreeBSD. I was using an English firm's Creative Suite knock-off product (Serif) and realized that their business plan called for making shoddy products and substituting version bumps for bugfixes. I can only bleed so much to sate someone's greed and I found OSS to be far friendlier regarding version compatibility, bugfixes and robustness. AFAIK no real pressure for a compatibility mode exists in the commercial DTP sector. senecadesign.com has good InCopy resources and archives. Charles ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] fonts and typescripts
Thanks, Wolfgang. Now it's all good. Typescripts are a little opaque to me. I need to learn a lot more, to be sure. I want to thank the ConTeXt team for the great work on the product and the docs. I do respect that TeX has a culture and one cannot design a product that is alien to that. I have some thoughts where a few spots in the docs could be friendlier for someone coming from a standpoint of general design and typography. Sort of like here's how you think with DTP and here's how it's done in ConTeXt. I might also suggest a couple of features; I was, however, able to Google for much that I needed (e.g., with character spacing). Yet I'm not one to just butt into people's workflow, given their time and investment. In general I find ConTeXt to be superior in many regards for my needs. Unfortunately, I am not a scientist. I have a bachelor's degree in computer science with a minor in Germanistik, and I have two master's degrees in theology, having studied in Germany and the US. So I want to edit books that celebrate the history of thought and typography. ConTeXt is the best positioned to make beautiful, modern books, surpassing many generally available commercial products. Here's an interesting point: InDesign creates ligatures, but irrespective of what is going on in the actual font. So, unless you use Unicode Greek, Hebrew, Syriac, Arabic, or whatever, the older style fonts that still inhabit the commercial multilingual industry get mangled. TeX and friends are smart and don't do that. They can handle some complicated typography more robustly than many others. InDesign and InCopy use a version control system where one can check out, check in, and track changes in a parallel workflow. Grep searching has also been integrated. It seems to me that if something like Scribus had a means to interlink with ConTeXt, cvs / svn or the like, and had a means of automatically generating code and previews, you would have a typesetting system that could compete feature for feature with InDesign and InCopy, and surpass it in some cases. Charles ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] XeTeX in ConTeXt
Dear all, I have tried to upgrade ConTeXt using sudo ctxtools --updatecontext followed by sudo texmfstart texexec --make en and sudo texmfstart texexec --make --xetex en Following the upgrade a normal ConTeXt document runs perfectly but when I run XeConTeXt through TeXShop I get the readout below. When I go back to the TeXLive download of TeX everything works. Any advice would be welcome. Thanks, Charlie TeXExec | processing document 'SocialSpace.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file SocialSpace.top TeXExec | using randomseed 80 TeXExec | tex engine: xetex TeXExec | tex format: cont-en This is XeTeXk, Version 3.141592-2.2-0.996 (Web2C 7.5.6) %-line parsing enabled. entering extended mode (./SocialSpace.tex ConTeXt ver: 2008.05.21 15:21 MKII fmt: 2008.5.23 int: english/ english language: language en is active system : cont-new loaded (/usr/local/texlive/2007/../texmf-local/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (/usr/local/texlive/2007/../texmf-local/tex/context/base/cont-new.mkii) (/usr/local/texlive/2007/../texmf-local/tex/context/base/cont-mtx.tex)) system : cont-old loaded (/usr/local/texlive/2007/../texmf-local/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (/usr/local/texlive/2007/../texmf-local/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys.rme loaded (/usr/local/texlive/2007/../texmf-local/tex/context/user/cont-sys.rme (/usr/local/texlive/2007/../texmf-local/tex/context/base/type-tmf.tex) (/usr/local/texlive/2007/../texmf-local/tex/context/base/type-siz.tex) (/usr/local/texlive/2007/../texmf-local/tex/context/base/type-otf.tex) (/usr/local/texlive/2007/../texmf-local/tex/context/base/type- xtx.tex))kpathsea: Running mktextfm lmromanslant10-regular mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input lmromanslant10-regular This is METAFONT, Version 2.71828 (Web2C 7.5.6) kpathsea: Running mktexmf lmromanslant10-regular ! I can't find file `lmromanslant10-regular'. * ...; nonstopmode; input lmromanslant10-regular Please type another input file name ! Emergency stop. * ...; nonstopmode; input lmromanslant10-regular Transcript written on mfput.log. grep: lmromanslant10-regular.log: No such file or directory mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input lmromanslant10-regular' failed to make lmromanslant10-regular.tfm. kpathsea: Appending font creation commands to missfont.log. bodyfont: 12pt rm is loaded ! Font \*7ptrmslrm*:=lmromanslant10-regular at 7.0pt not loadable: Metric (TFM) file or installed font not found. to be read again \relax \xxdododefinefont ...tspec {#4}\newfontidentifier \let \localrelativefontsiz... \dodosettextfamilyA ...amily \fontsize \endcsname \else \ifcsname \fontbody ... \dosettextfamily ...ttextfamily \scriptscriptfont \let \fontbody \scriptface... inserted text ...y \c!bf \dosettextfamily \c!sl \dosettextfamily \c! it \do... \synchronizetext ...athfonts \the \textstrategies \fi ... l.1 \definetypeface[Hoefler][rm][Xserif][Hoefler Text] ? x No pages of output. Transcript written on SocialSpace.log. TeXUtil | parsing file SocialSpace.tui TeXUtil | shortcuts : 169 TeXUtil | expansions: 308 TeXUtil | reductions: 0 TeXUtil | divisions : 0 TeXUtil | loaded files: 1 TeXUtil | temporary files: 0 TeXUtil | commands: 25 TeXUtil | programs: 0 TeXUtil | tuo file saved TeXExec | runtime: 100.320881 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Thanks for the boxes with schems
Thanks, Hans, for the suggestion. It works quite well, except the \ae{} macro starts producing a lowercase j. My guess is this refers to an encoding issue, since I found that using \sc tends to not do small caps except for using Computer Modern. I did RTFM, but I'm just not making the connection. If someone can point me to a document on fonts that I can work through ... the section in the manual left me a little confused. After using Pagemaker, Quark, and InDesign, I kinda get the approach but it seems to be a culture shock like Metafont was and remains. I copied the examples from the manual when I did a book mock-up for work and that worked real well. Everyone was impressed by what ConTeXt could do, although the official workflow will remain Incopy and InDesign. Still, I uotdid an experienced graphic designer using Adobe CS3 with my little bit of code for schemas. ConTeXt and friends have some unique benefits. So if I could solve the font mystery, I would be grateful. I have some books, for example, that I would like to reproduce with ConTeXt by scanning the Fraktur and OCR'ing with tesseract, then doing the layout with ConTeXt. I have an Ernestine Bible (Das Weimarische Bibelwerk) for which the binding is shot but the pages are good. This way will take much less than scanned images, although some images will remain. Ultimately I would like to make something like yfonts, but with unicode or some standard encoding to allow either umlauts or superscript e. In my own library I have books from the early eighteenth century on, and Google books has more, so there's no lack of subjects to scan into Fontforge. Charles ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] interim fix for aesc-like macro
I found an interim fix for the \ae macro in the schemata: put the word with the macro in an hbox, and the problem goes away. I wonder what the mechanics behind that are. I tend to have weird documents with dead languages. Who knows, maybe I want to cite Aelfric using Old English letters or Sir Gawain or whatever Middle High German with a yogh or similar glyph. Come to think of it, Gothic would be cool, too. So, figuring out the mechanics would be helpful. Thanks, Charles ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___