Re: [NTG-context] New PracTeX Journal issue
On Nov 13, 2005, at 1:49 AM, David Arnold wrote: Link not found: http://tug.org/pracjourn/2005-4/guravage/bruchure.pdf Thanks for pointing that out David. We'll fix the link on the article page. You can get the brochure via this link: http://tug.org/pracjourn/2005-4/guravage/brochure.pdf Steve ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Literate programming ConTeXt
Marcus Vinicius Mesquita de So wrote: Hi folks! Is it possible to use ConTeXt for literate programming? This is a hard question to answer without at least some extra information. What did you have in mind when you asked this question? Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] alignment in cells without alignmentcharacter
Mojca Miklavec wrote: Is there an elegant way which would align those numbers as if they had an additional slash on the right? I was thinking about placing a Browsing through the source I've found two approaches: 1. A currently undocumented, but nice clean solution: \chardef\characteralignmentmode=2 2. A not at all elegant solution, that doesn't depend on a hidden feature: \unexpanded\def\hide#1{\hphantom{/}} \setupTABLE[c][1][ as before ...] \bTABLE \bTR\bTD 01/1 \eTD\eTR \bTR\bTD 02/13 \eTD\eTR \bTR\bTD 03\hide/\eTD\eTR \bTR\bTD 314/2 \eTD\eTR \bTR\bTD 315\hide/\eTD\eTR \eTABLE Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] alignment in cells without alignmentcharacter
Hello, concerning this subject, I have another feature request: \unexpanded\def\HideV#1{\vphantom{#1}} \starttext \chardef\characteralignmentmode=5 % align on left side of the character \setupTABLE[aligncharacter=yes] \bTABLE \bTR\bTD 1,23\%\eTD\eTR \bTR\bTD 12,3\%\eTD\eTR \bTR\bTD 123\HideV,\%\eTD\eTR \eTABLE From the first row to the last, the numbers 1, 2 and 3 should be aligned. \stoptext Cheers, 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] new feature
� wrote: On Fri, 11 Nov 2005, Hans Hagen wrote: A next release will support the setupalign options in align keys (as in \framed): hanging nothanging hz nohz spacing nospacing hyphenated nothyphenated tolerant verytolerant stretch Hello Hans, where could one find some documentation about these keys, especially about hz and nohz? in the (work in progress) style manual (the one with the transparant pages Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] manuals under svn
VnPenguin wrote: On 11/11/05, Hans Hagen [EMAIL PROTECTED] wrote: Hi, I'm (stepwise) going to put manuals under svn with read access for users. svn export svn://ctx.pragma-ade.nl/manuals consider it experimental (could be off line occasionally because it's an internal machine) Cool ! I hope that other manuals will be there one day ;-) sure, stepwise Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Warning Trojan.Agent.EZ in texmfstart
Willi Egger wrote: Hi, I know this has been asked before, only that I did not experience the problem ... Since months I use Bitdefender antivirus software. I never experienced any problem running texmfstart. However since three days Bitdefender thinks, that the executable texmfstart from 27-07- 2005 contains a Trojan. I checked the size of texmfstart.exe. I got an older version which is 580kB the one which gives problems has 596kB. Copying the older version into the tex-tree works fine and Bitdefender does not complain. First question is: which is the actual version and size of texmfstart.exe? Provided that there is nothing wrong with texmfstart.exe with the size of 596kB should I contact the Bitdefender developpers? this exe file is just the ruby dll + some ruby scripts in a self-unzipping (on a temp path) format; so, it's most is not really executable code (which is what they assume from the exe) but compressed ruby code (which should be treated as such) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
RE: [NTG-context] Mini-survey: What do you do with ConTeXt?
This mini-survey is an excellent idea! What I do with ConTeXt: 1. Produce sales and marketing reports for my customers (we are a marketing and data mining consultancy). We have a very simple templating language written in Python that connects to an SQL database, generates the ConTeXt file, launchs ConTeXt and launchs Acrobat Reader to see the PDF file. 2. Produce totally personalized mailings for customers of companies we work for. Eveything is personalized: text, background, photos, etc. We produce it with the same templating solution (see previous point). We think ConTeXt is the perfect solution with regard to our needs (reporting and mailing). From our point of view, it has only two drawbacks: - The integration of new True Type fonts is a difficult and error prone process. One need to choose the appropriate encoding, create a .tfm file and write a map file. In order to simplify this, a future version of ConTeXt could natively use Unicode (no more need to choose an encoding) and could automatically create .tfm file on demand. - Absolute positionning is difficult. There is too many way to achieve the same result, difficult to understand, and the resulting code is very verbose. But I'm a beginner with ConTeXt! ;-) Thanks for your beautiful work on ConTeXt! Regards, Nicolas ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
RE: [NTG-context] Mini-survey: What do you do with ConTeXt?
I totally agree with the comparison you made of ConTeXt and LaTeX: With ConTeXt, you can produce something unique. With LaTeX, your document will look like a traditional research paper! -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Nikolai Weibull Envoyé : vendredi 4 novembre 2005 17:32 À : ntg-context@ntg.nl Objet : Re: [NTG-context] Mini-survey: What do you do with ConTeXt? Taco Hoekwater wrote: What do you do with ConTeXT? I use ConTeXt for any document that I figure someone will want to print out on paper some day. This includes resumes, letters, and articles. I even considered typesetting software documentation with ConTeXt, but havent yet decided if PDFs are the right medium for that kind of text. I also typeset my masters thesis using ConTeXt and probably spent as much time hacking ConTeXt as I did on doing actual work for the content. Not because ConTeXt couldnt do what I wanted, but because ConTeXt allowed me to do anything I wanted. Having a lot of options can be time-consuming, as you want to try them all before deciding on the one that works best. This is both the good and the bad thing about ConTeXt. You can tweak and tweak and tweak, whereas with something like LaTeX you have a few boring designs and you just choose the one that suits the type of document your writing. And your document will look like five million other research papers outh there. I wanted something unique and ConTeXt was just the right tool for it. nikolai -- Nikolai Weibull: now available free of charge at http://bitwi.se/! Born in Chicago, IL USA; currently residing in Gothenburg, Sweden. main(){printf(linux[\021%six\012\0],(linux)[have]+fun-97);} ___ 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] placing headings (solution on wiki)
Hi everybody... I've chaged two typo on this page \expanded{\uppercase{\fetchmark[chapter][first]}} ^ Idris Samawi Hamid wrote: Hi gang, Ok, I figured out a solution and have posted it here (bottom of page): http://wiki.contextgarden.net/Headers_and_Footers I have never edited the wiki before so I hope the maintainer will check to make sure I did not do something wrong-) If there is a way to improve my solution please let me know! I think this is a nice sample file... Best Idris Dear gang, I am having difficulties with heading placement. Consider the following sample file: =headings.tex== % output=pdf interface=en \setuppapersize [A5][A4] \setuplayout[width=middle, height=middle, footer=3\bodyfontsize, header=0pt, headerdistance=\bodyfontsize, bottom=3\bodyfontsize, location={middle,doublesided}, marking=on] \setuppagenumbering[alternative=doublesided, location={footer,middle}] \setupbottomtexts[pagenumber] \setupbottom[style=\tf,state=high] \setupfootertexts% [][section][chapter][] \setupfooter[style=\tf, state=high] \setuptexttexts% [margin][][section][chapter][] \setuptext[style=\tf, state=high] \setupinmargin[align=inner, style=\tfx\setupinterlinespace] \showframe \starttext \chapter{Ch. Knuth Knuth} \section{Sec. Knuth Knuth} \dorecurse{20}{\input knuth\par\ } \stoptext === This file should compile fine. Problem 1: I would like the headings in the footer to be flush with the top of the footer space instead of at the bottom; Problem 2: After making the footer headings flush with the top of the footer space, I would now like to mid-align the headings so each is just above the page number in the footer space (I thought this would be trivial but it's apparently not); Problem 3: I would like to have marginal headings: how do I i) keep the headings boxed within the margin width; ii) raise (or lower) the box containing the margin headings? Thnx in advance for helping me solve these problems! Best Idris Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context -- --ooOoo--- (~) ooOoo Erik Van Eynde - LUDIT Leuvens Universitair Dienstencentrum voor Informatica en Telematica W. de Croylaan 52aphone: +32 16 322-243 3001 Heverlee fax: +32 16 322-999 Belgie Electronic adress: gepers.E-mail: [EMAIL PROTECTED] of : [EMAIL PROTECTED] Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] TeXexec and MikTeX
Greetings I have been trying to set up ConTeXt in Windows XP using MikTeX. I have been running LaTeX2e through TeXnic center fine. On the basis of the TeXexec manual, I ran texexec --make en I attempted to build a small file test.tex by running texexec --pdf test from the directory in which the file is located. It said that the default format file could not be found. I tried increasing the 'pattern memory ops' in the miktex.ini config file as you suggested to another TeXer; nothing happened. The following message occurs in the log: ... (C:\MiKTeX\tex\context\base\symb-mis.tex) symbols : loading symbolset mvs (C:\MiKTeX\tex\context\base\symb-mvs.tex) symbols : loading symbolset glm (C:\MiKTeX\tex\context\base\symb-glm.tex ! TeX capacity exceeded, sorry [hash size=35000]. \definefontsynonym ...?ff \fontclass #1\endcsname \@@fontfile \doifnextchare... l.39 ...nonym [GuilSerifBold][cork-lmbx10] [encoding=ec] If you really absolutely need more capacity, you can ask a wizard to enlarge me. Here is how much of TeX's memory you used: 35451 strings out of 98461 549342 string characters out of 1219912 469342 words of memory out of 1048577 35000 multiletter control sequences out of 35000 7 words of font info for 0 fonts, out of 50 for 1000 0 hyphenation exceptions out of 607 23i,2n,28p,276b,536s stack positions out of 1500i,500n,5000p,20b,32768s 0 PDF objects out of 30 0 named destinations out of 30 1 words of extra memory for PDF output out of 65536 No pages of output. ... Thanks, Leon ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: ntg-context Digest, Vol 16, Issue 60
1. Re: learning path (Mojca Miklavec) -- Message: 1 Date: Sat, 29 Oct 2005 00:31:33 +0200 From: Mojca Miklavec [EMAIL PROTECTED] Subject: Re: [NTG-context] learning path To: ntg ntg-context@ntg.nl Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1 olivier Turlier wrote: Hi everybody, I wish to set up kind of a learning path (= pedagogic progression bar, like in http://www.dokeos.com/scorm_compliant_course_content.php) /.../ Sorry for not being clear enough. learning path is an acronym I've found while using Dokeos elearning platform, as an equivalent to a course i guess. For creating a course/learning path you assemble differents documents in a l.p.. When the alumni/trainee reads this course, he will be able what he have to read next after the fisrt doc, and so on. I've made a graphic capture of the webpage for showing what elements are making a learning path in the Dokeos vision : list of doc allready readen, docs to read, progression bar, plus the breadcrumb trail; for lists of already learnt documents: you can make a list of chapters/sections/subsections somewhere on the page if you have enough place. If you would like to get the chapter/section/subsection name, you can get them with something like \getmarking[chapter] $$ \getmarking[section] $$ \getmarking[subsection] Perhaps some ifs are missing to check if a section/subsection is defined, but someone else has to help you with it. i don't want to put so much stuff in the pdfs made wit Context(apart putting an A4 text on an A3 page!) because i keep a printable A4 format for my courses, even i there interaction in it, for screen usage. I'm not sure if I understood it properly, but if you need two different versions of your documents with the same content, but different layout, you can use modes (http://wiki.contextgarden.net/Modes). So i wish to have only vertical progression bars + percentage in the inner margin. s-pre-01 original style show a bottom interaction bar filled with pagenumbers drawn as little rectangles. Maybe it's possible to draw a continuous bar with metapost, but for percentage ? Ideally, i wish to have 2 progression bars : one for project progression and second for product prog. How would you calculate the project progression? The example below calculates the percentage out of the number of pages in the current document. Here's an example how to make an extremely simple and ugly progression bar at the bottom of the page. Take a look into the .mp file produced. You'll find many other variables thay you may use to position your progression bar properly. \defineoverlay [ProgressBar A] [\useMPgraphic{ProgressBarA}] \setupbackgrounds [text] [background={ProgressBar A}] \startuseMPgraphic{ProgressBarA} barW = 5cm; barH = .7cm; StartPage; fill unitsquare xyscaled(barW*(PageNumber/NOfPages),barH) withcolor .625red; draw unitsquare xyscaled(barW,barH); label.rt(textext($ decimal(round(100*PageNumber/NOfPages)) \,\%$), (barW,.5barH)); currentpicture := currentpicture shifted (LeftMarginWidth+LeftMarginDistance,2cm); StopPage; \stopuseMPgraphic \starttext first page\page second page\page third page \stoptext I would suggest you to get familiar with metapost/metafun (learning metapost by doing, the metapost manual, metafun manual, ...) if you aren't yet. It's a simple and great programming/drawing language and you can do amazing things with it. Mojca PS: just a note. Trying to execute the code written above under MikTeX (on the old ;) ConTeXt version, 2005.08.31) leads to distrous results and nothing worked as expected. It claims \loadfontfileoncetrue to be undefined command, it complains about file endings (it doesn't create .mpx files, so the label(textext ...) doesn't work) ... and so on. It may be that something is wrongly configured here, but I'm glad that I'm able to use the minimal ConTeXt distr. as an alternative when something fails under MikTeX. Hi Mojca, Thanks a lot for your mp code, I got what i want but rightnow, I don't know how to use it exactly, maybe as follows attached (try to display a general progression thru advancement of each courses, and show on the same pane (inner margin)), list of each chapters. I'll try to cook a minimal but working example, as I got -- in a messy way -- almost everything for bring this new layout to life. -- Olivier TURLIER ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] font problems again
Hans van der Meer wrote: No help from enabling in cont-sys.tex of: \usetypescript[adobekb] [\defaultencoding] (updmap.cfg contains URWkb for the LW35 fonts) then it starts asking for (non-existing) maps like: Warning: pdfetex (file ec-urw-helvetica.map): cannot open font map file that is when you use texfont generated metrics texfont --encoding=ec --batch type-tfm.dat will generate those metrics (which are the ones i use) If I use \setupbodyfont[lbr,12pt] then I get just lm-roman, although I have the YandY lucida fonts installed with their original YandY names (lb--.pfb) Here no help from changing between texnansi and ec default encoding. lucida is a special case -) because i used lucida a lot, those definitions ended up in the core, but when i bought more and more fonts, i finally decided to move the lucida defs to the type-buy.tex typescript because that;s where they belong you can add the line: \usetypescriptfile[type-buy] to the cont-sys.tex file, but best is (because it's a document property) to say in you document (or style): \usetypescriptfile[type-buy] % loads commercial font definitions \usetypescript[lucida][texnansi] % defines a lucida typeface \setupbodyfont[lucida,12pt] % enables the typeface defined as 'lucida' (see type-buy.tex) so, basically, the 'lbr' choice is gone the same is true for 'pos'; which originally was meant for the fonts that adobe shipped (but no longer does); over time it became for instance \usetypescript[postscript][ec] % times, helvetica, courier, tx math; properly r-scaled or in components \usetypescript[times][ec] \setupbodyfont[times,12pt] in principle the \usetypescript [adobekb] [ec] % depending on what is in use, if in doubt use [all] should work; (keep in mind that in spite of all kind of references in tex environments to encodings, often only ec is shipped) Any idea whats amiss? I ran this on a teTeX3 install with the context files unzipped into texmf-local. (I must confess I am tempted to give up on ConTeXt altogether, because of these many font troubles.) well, latin modern is kind of special for a while (because it involves some major changes in distributions as well) but that will stabelize (only new fonts will be added to the latin modern family; context for instance does support teh condensed monospaced already) concerning distributions: because of changes in map, enc, whatever, i don't use updmap (i have way more fonts on my machine than present in distributed map files) how old is your cont-sys.tex? take a look at cont-sys.rme and see what has changed (keep in mind that pdftex occasionally changes and we need to keep up with that as well) [once a generic map file model is in place - which is on the agenda for pdftex cum suis] live may become more easy Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] from an other adress, getting old ConTeXt Version
Hi, I write from an other e-mail adress, hope it works. I want to install at home the same ConTeXt as at work, but there I've the version from 2005-08-31. Can I get the old version? Where can I find this? Hope his will work and somebody knows something about this. Nice weekend Jessica Holle ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] from an other adress, getting old ConTeXt Version
jessica Holle wrote: Hi, I write from an other e-mail adress, hope it works. I want to install at home the same ConTeXt as at work, but there I've the version from 2005-08-31. Can I get the old version? Where can I find this? Hope his will work and somebody knows something about this. - install a recent context - remove the tex/context/base path -zip your base path at work and unzip it in the hoem base path - run texexec --make --all and you're probably ok (ok, maybe also /map/pdftex/context) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] missing enc file
Hi, Karl Berry and I just found out that on the coming tex live the cm*.enc files are missing (but lm-rep-cm* files are present); this can result in missing characters in math mode. Since it's too late to fix that ... I'll upload a release that has a map file referering to the lm-rep files (replicated files) so i assume that one has a recent lm installation; i have no idea to what extent those missing enc files will influence user's systems. I can add them to the context zip if needed. [cm mapping is needed for (1) math fonts and (2) including files that already have cm files; the context distribution has a file original-public-lm.map that -i hope- does an efficient inclusion -- has to do with pdftex being able to determins shared fonts] In any case, keep an eye on it when you install the coming tex live and miss chars. Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] alignment in cells without alignmentcharacter
Hi Peter, I am not sure what you want achieve here. Can you create a fake table that shows what you have in mind? Taco (Also, I assume you meant \hphantom not \v...?) Peter Münster wrote: Hello, concerning this subject, I have another feature request: \unexpanded\def\HideV#1{\vphantom{#1}} \starttext \chardef\characteralignmentmode=5 % align on left side of the character \setupTABLE[aligncharacter=yes] \bTABLE \bTR\bTD 1,23\%\eTD\eTR \bTR\bTD 12,3\%\eTD\eTR \bTR\bTD 123\HideV,\%\eTD\eTR \eTABLE From the first row to the last, the numbers 1, 2 and 3 should be aligned. \stoptext Cheers, Peter ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] from an other adress, getting old ConTeXt Version
Hans Hagen wrote: jessica Holle wrote: Hi, I write from an other e-mail adress, hope it works. I want to install at home the same ConTeXt as at work, but there I've the version from 2005-08-31. Can I get the old version? Where can I find this? The files that belong to that release just happen to be on the 'net, they are currently here: http://context.aanhet.net/context-2005-09-14.22/current/cont-tmf.zip http://context.aanhet.net/context-2005-09-14.22/current/cont-lmt.zip That url is not in any way a permanent location, so if you still want them even after Hans' e-mail with the recipe, fetch them soon. Eventually, we hope to have all (most: as many as we can find) of the official releases archived in a versioning system somewhere. More on that later this week. Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] TeXexec and MikTeX
Leon Di Stefano wrote: Greetings I have been trying to set up ConTeXt in Windows XP using MikTeX. I have been running LaTeX2e through TeXnic center fine. On the basis of the TeXexec manual, I ran texexec --make en I attempted to build a small file test.tex by running texexec --pdf test from the directory in which the file is located. It said that the default format file could not be found. I tried increasing the 'pattern memory ops' in the miktex.ini config file as you suggested to another TeXer; nothing happened. Hi, You'll have to increase another parameter as well, I think it is called hash_size: hash_size = 5 Taco PS It would be nice if a miktex user could fix this page: http://wiki.contextgarden.net/MikTeX_Problems ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context