Re: [NTG-context] collector: sorting last change
Taco Hoekwater wrote: Hi, I'd like that as well. And another request I can up with myself: I would like to have a category Distribution to put things in that are only related to the minimal installation zip file(s). Cheers, Taco Peter M�nster wrote: Hello, here a feature request for the collector: it would be fine, if one could sort by last change. Cheers, Peter ah, i see; i just wanted to ask what sort option that would be (thinking of texutil and indexes -) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \godown
Adam Lindsay wrote: Hi all, I've been TeX-doodling with the font shown on the page below: http://www.typography.com/catalog/hoeflertext/ornaments.html Some of the nicer patterns are predicated on having horizontal as well as vertical elements smashed up next to one another. I find myself having to adjust for little gaps with: \godown[-0.029\bodyfontsize] Does this ring a bell with anyone? The last time I had problems with minute offsets, it was Acrobat's fault. Do you also have problems in DVI mode? Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \godown
Hans Hagen wrote: Adam Lindsay wrote: having to adjust for little gaps with: \godown[-0.029\bodyfontsize] Does this ring a bell with anyone? I would have thought \godown[0pt] was the answer, but not so, here. The font metrics seem to be right, adding up to 1000 in both directions (or a little more, actually, considering overlapping dots). this is tex's interlinespace mechanism popping in; play a bit with a row of things \par \nointerlinespace a row of things \par or \vbox \bgroup \offinterlinespace rows of ornaments \egroup In case anyone else is trying to follow along, those are most likely the \nointerlineskip / \offinterlineskip commands. I played with them the same night, and the results are indistinguishable from \godown[0pt]. Hmm. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED] Lancaster University, InfoLab21+44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] context live @ contextgarden.net doesn't support Chinese
Hello, When I tried to create PDF on the fly in the wiki, I found that context live @ contextgarden.net doesn't support Chinese -_- Is it possible that context live @ contextgarden.net is reconfigured with Chinese support ? Regards, xiaojf ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] What about dynamic documentation?
Hi Jérôme, Before you go any further on this, please check out: http://texshow.contextgarden.net The backbone of texshow-web is a set of XML files that are already present in the distribution (look for cont-en.xml) Cheers, Taco Jérôme Laurens wrote: Hi all, Is is extremely useful for a newbie as I am to have access to the manuals electronically. You just open the pdf and search to obtain what you need. In general, you end up with a command that you have to copy from the pdf then paste to your source file. Another solution is to use the text editor completion feature, which is available only once you know the correct command name, at least the beginning... What I am missing is a button in the pdf itself that would automagically insert the proper code in my source. To be more concrete, here is what could be done (on Mac OS X at least). 0 - Define a data model. 1 - For a reasonnable set of commands, define dedicated GUIs panels. 2 - Write a dedicated browser As there is a huge amount of reasonnable TeX and ConTeXt commands, it is -not- reasonnable to fine tune a dedicated GUI for each one. But with some perl I think it would be possible to turn for example the Quick References Manuals into a set of xml files, each one dedicated to its own command. If these files are just HTML forms (modulo the proper style and automagic filter), we have the GUI for free using a web browser. The communication between the browser and the text editor could come from SUBMIT. At least a copy/paste phase would be enough. I already have a custom web browser that can insert some text directly in a text editor (iTeXMac) It is based on Mac OS X WebKit. Which means that I will incorporate this browser directly into iTM, but this not the question so far. All this makes points 1 and 2 above acceptable IMHO. The problems come from point 0. I think a good thing would be to create a subsection of the context garden, or another wiki, gathering all the sources. The seed would come from the actual documentation with automagic scripts and people would update at will. Then people would be able to work on a local version using a web sucker. We can imagine searching facilities as well BTW, Sometimes it is necessary to have some output to understand the real effect of a command. This should enter into consideration. How does it sound? ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] What about dynamic documentation?
Hi all, Is is extremely useful for a newbie as I am to have access to the manuals electronically. You just open the pdf and search to obtain what you need. In general, you end up with a command that you have to copy from the pdf then paste to your source file. Another solution is to use the text editor completion feature, which is available only once you know the correct command name, at least the beginning... What I am missing is a button in the pdf itself that would automagically insert the proper code in my source. To be more concrete, here is what could be done (on Mac OS X at least). 0 - Define a data model. 1 - For a reasonnable set of commands, define dedicated GUIs panels. 2 - Write a dedicated browser As there is a huge amount of reasonnable TeX and ConTeXt commands, it is -not- reasonnable to fine tune a dedicated GUI for each one. But with some perl I think it would be possible to turn for example the Quick References Manuals into a set of xml files, each one dedicated to its own command. If these files are just HTML forms (modulo the proper style and automagic filter), we have the GUI for free using a web browser. The communication between the browser and the text editor could come from SUBMIT. At least a copy/paste phase would be enough. I already have a custom web browser that can insert some text directly in a text editor (iTeXMac) It is based on Mac OS X WebKit. Which means that I will incorporate this browser directly into iTM, but this not the question so far. All this makes points 1 and 2 above acceptable IMHO. The problems come from point 0. I think a good thing would be to create a subsection of the context garden, or another wiki, gathering all the sources. The seed would come from the actual documentation with automagic scripts and people would update at will. Then people would be able to work on a local version using a web sucker. We can imagine searching facilities as well BTW, Sometimes it is necessary to have some output to understand the real effect of a command. This should enter into consideration. How does it sound? ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] columnset layers
Vit Zyka wrote: But generally it is not a clean solution. Can be solved counting number of layers in one pass and defining in the second, but... Hans, do you think is the grouping problem doable? If yes I will put the note to the collector. it's kind of tricky to make definitions global (since it hooks into framed and such) so, the best is to do more testing and/or do assignment in layer definitions global you can make it a low priority entru in the collection Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] mfonts.tex from manuals
Mojca Miklavec wrote: The manuals compiled (almost) OK with the stand-alone ConTeXt distr. However - is there any way to compile them under MikTeX (I have almost all the packages installed)? I'm completely ignorant about font issues. I got the error posted below. (Another problem: The metapost graphic around the chapter names is not properly scaled here - way too big, but I'll install the new ConTeXt version first, recompile and then complain again.) install cont-fnt as well Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] lot of newbie questions
[EMAIL PROTECTED] wrote: - How could I do french guillemets ( and )? Is it possible? You can also use \quotation: \enableregime[utf] \mainlanguage[fr] % if you're writing in French \starttext Both «a» and \quotation{a} work OK here. \stoptext Btw: - \useencoding[utf8] has no sense - You are free to use \rightguillemet, so you don't need to depend on Adobe naming scheme unless you work on low level with fonts. Mojca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: context live @ contextgarden.net doesn't support Chinese
Patrick Gundlach wrote: Hello, When I tried to create PDF on the fly in the wiki, I found that context live @ contextgarden.net doesn't support Chinese -_- Is it possible that context live @ contextgarden.net is reconfigured with Chinese support ? a) what does it take to support chinese? Which fonts? b) could you provide me a test document (source and final form, so I can compare)? You can contact me off list. Patrick OK. xiaojf ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] PhD Style for ConTeXt
Hans Hagen a écrit : Renaud AUBIN wrote: Hi all, I'm starting writting my phd thesis with ConTeXt in french. According to the fact that I'll write it in french, I need to design a specific style and consequently, I'll surely submit style-related questions soon. Some advices ? just ask -) since there is a basic layout defined, \starttext \chapter{whatever} your thesis \stoptext is a starting point; define the style as you go. Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context Hi Hans, I'm working on it now, I've build my document following a complete structure (project, environment, products, components) as described in the manual, well done... The layout is now as I want using \setuplayout. Currently, I'm working on title. I've found the \setuplabeltext[fr][chapter=Chapitre] command to customize chapter name but then, I will draw a line or graphics under my chapter title and don't know how to deal with properly. Moreover, I experienced some problems with TOC and the use of \title for my introduction chapter (I don't want numbering on this). Eventually, how can I bypass header or footer for a chapter page ? Thanks, up to now I'm very pleased with ConTeXt, METAFUN and METAPOST !!! ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Back to sidebars.
Hi, since wich version is this command in the distro? At least in my case with ConTeXt ver: 2005.11.16 fmt: 2005.11.17 there is not. Willi Taco Hoekwater wrote: Hi, John R. Culleton wrote: \long\def\sidebar#1{\placeintermezzo{}{\startmyohmy #1 \relax\stopmyohmy}} ...which seems to work. Can anyone find a hole in this method? Should be fine. If you like \start ... stop pairs, you can also do it like this if you prefer: \long\def\startJCsidebar#1\stopJCsidebar% {\placeintermezzo{}{\startmyohmy #1 \relax\stopmyohmy}} There already is a sidebar mechanism, so \startsidebar is 'taken'. Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] bold \tt and pdf-output
On Tue, 6 Dec 2005, Taco Hoekwater wrote: cmbtt is a metafont-only font. As Hans said: have a look at latin modern. If you really want cmbtt, you can use the pdftex primitive \pdfpkresolution = 600 (for example) to specify a resolution. Hello Taco, thank you, \pdfpkresolution works well! Indeed, there is a dark lm-type-writer font, and with LaTeX, you get it automatically. Test-file: \documentclass{article} \usepackage[T1]{fontenc} \usepackage{lmodern} \begin{document} \texttt{Normal and \textbf{bold Type-Writer}} \end{document} But they are not so bold as the cmbtt ones. Anyway: how could the dark lmtt font be activated in ConTeXt and could this be included in the distribution? And what about bold sc-font? Greetings, Peter -- http://pmrb.free.fr/contact/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Back to sidebars.
Willi Egger wrote: Hi, since wich version is this command in the distro? At least in my case with ConTeXt ver: 2005.11.16 fmt: 2005.11.17 there is not. It is defined in plus-rul.tex, activated by \usemodule[plus] I don't know whether it is documented or not, i found it by grep-ping the context source files. (that is a routine action for me: it helps prevent redefinitions) Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] IPA/TIPA support in Context?
On Dec 6, 2005, at 3:15 AM, Hans Hagen wrote: Jason Knight wrote: get into the guts at the time. This threaed gets me thinking: how far away from proper is the tipa package under LaTeX? How much work is a proper implementation likely to be? this is something you and steve peter (also a linguist) can tell us I'm actually not certain what's being asked. By being a proper package under LaTeX, do you mean that the package conforms to all norms for LaTeX package programming? Or do you mean that the interface is proper? I don't know that that can really be judged. But since TIPA has become the de-facto standard, most linguists who use TeX have learned its interface. So I would aim to recreate that in ConTeXt, modulo the usual changes (\startIPA, etc.) Or did I miss the point? Steve ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] bold \tt and pdf-output
� wrote: On Tue, 6 Dec 2005, Taco Hoekwater wrote: cmbtt is a metafont-only font. As Hans said: have a look at latin modern. If you really want cmbtt, you can use the pdftex primitive \pdfpkresolution = 600 (for example) to specify a resolution. Hello Taco, thank you, \pdfpkresolution works well! Indeed, there is a dark lm-type-writer font, and with LaTeX, you get it automatically. Test-file: \documentclass{article} \usepackage[T1]{fontenc} \usepackage{lmodern} \begin{document} \texttt{Normal and \textbf{bold Type-Writer}} \end{document} not automatically, you have to ask for it: \usepackage{lmodern} and i guess that lmodern is not compatible with normal cmodern -) But they are not so bold as the cmbtt ones. Anyway: how could the dark lmtt font be activated in ConTeXt and could this be included in the distribution? by default, context loads the cmr fonts with design sizes, nowadays replaced by their latin modern alternative in order to be backward compatible (although one can dispute the neccessity of this) the dark etc variants are not used if you want them: \starttypescript [mono] [computer-modern] [size] \definebodyfont [4pt,5pt,6pt,7pt,8pt,9pt,10pt,11pt,12pt,14.4pt,17.3pt,20.7pt] [tt] [bf=LMTypewriter-Dark sa 1, bs=LMTypewriter-DarkOblique sa 1] \stoptypescript \usetypescript[modern][texnansi] \setupbodyfont[modern] \starttext {\tt test \bf test \definedfont[MonoBold] test} \stoptext wil give it; however, easier is: \usetypescript[modern-base][texnansi] \setupbodyfont[modern] \starttext {\tt test \bf test \definedfont[MonoBold] test} \stoptext this alternative used 10 pt as base and since we have hinting in latin modern, the results are ok \definetypeface [modern] [rm] [serif] [modern] [computer-modern] [encoding=\typescripttwo] \definetypeface [modern] [ss] [sans] [modern] [computer-modern] [encoding=\typescripttwo] \definetypeface [modern] [tt] [mono] [modern-cond] [computer-modern] [encoding=\typescripttwo] \definetypeface [modern] [mm] [math] [modern] [computer-modern] [encoding=\typescripttwo] will give give you condensed (modern-light will give you light) Hans Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] PhD Style for ConTeXt
Hi Renaud, Since I ws dealing with some aspects of your questions recently ... I'm working on it now, I've build my document following a complete structure (project, environment, products, components) as described in the manual, well done... The layout is now as I want using \setuplayout. Currently, I'm working on title. I've found the \setuplabeltext[fr][chapter=Chapitre] command to customize chapter name but then, I will draw a line or graphics under my chapter title and don't know how to deal with properly. Moreover, I experienced some problems with TOC and the use of \title for my introduction chapter (I don't want numbering on this). Eventually, how can I bypass header or footer for a chapter page ? Thanks, up to now I'm very pleased with ConTeXt, METAFUN and METAPOST !!! 1. Lines under the chapter-title: If it should be a simple line then you can use \setupbackgrounds[header][text][bottomframe=on]. If it should be a graphical element one can think of approaches like: \setupcolors[state=start] \startuseMPgraphic{HeaderDeco} numeric w, h, repeats; path p[]; w := OverlayWidth ; h := OverlayHeight ; repeats := abs(TextWidth/BodyFontSize); p[1] := unitsquare xscaled w yscaled h ; draw p[1] withcolor white; p[2] := fullcircle scaled BodyFontSize; p[3] := fullcircle scaled .25BodyFontSize; draw p[2] shifted (.5BodyFontSize,0); for i = 1 upto repeats: if odd i : filldraw p[3] shifted (i*BodyFontSize+.5BodyFontSize,0); else : draw p[2] shifted (i*BodyFontSize+.5BodyFontSize,0); fi; endfor; \stopuseMPgraphic \setuphead[chapter][command=\Myheader] \setupheadtext [chapter=Chapitre] \defineoverlay[HeaderDeco][\uniqueMPgraphic{HeaderDeco}] \def\Myheader#1#2{% \framedtext [width= \overlaywidth, height=6\bodyfontsize, background={foreground,HeaderDeco}, offset=0pt, strut=no, frame=off, align=middle]{% \headtext{chapter} #1 \blank[small] #2}} \starttext \chapter{Here we go!} \stoptext 2. Bypassing header and footer: \noheaderandfooterlines or \setuphead[chapter][header=high] Kind regards Willi ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] IPA/TIPA support in Context?
Steve Peter wrote: On Dec 6, 2005, at 3:15 AM, Hans Hagen wrote: Jason Knight wrote: get into the guts at the time. This threaed gets me thinking: how far away from proper is the tipa package under LaTeX? How much work is a proper implementation likely to be? this is something you and steve peter (also a linguist) can tell us I'm actually not certain what's being asked. By being a proper package under LaTeX, do you mean that the package conforms to all norms for LaTeX package programming? That proper remark was made by me. What I meant was: TIPA is fine for phonetics, but it is *only* phonetics. For full support for typesetting in the field of linguistics, many more specialized macros are needed, that are not handled by the TIPA package (like glosses and trees in various styles). Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context