[NTG-context] debian context updates
Hi all! I have uploadedanother repetition, this time with new package splitting: package context: all the normal stuff as before package context-nonfree currently only the cowfonts package context-doc-nonfree all the pdf documentation from below, plus style.pdf and details.pdf which Hans suggested. So the context package has changed as it now suggests both context-nonfree and context-doc-nonfree. The tarball for context-nonfree has changed, as it only contains the cowfonts. And context-doc-nonfree is new. On Fre, 22 Dez 2006, Norbert Preining wrote: aleph.pdf mfonts.pdfmtexfont.pdf show-dem.pdf show-pap.pdf cont-eni.pdf minstall.pdf mtexutil.pdf show-exa.pdf show-pre.pdf cont-enp.pdf mmakempy.pdf mtexwork.pdf showfont.pdf showunic.pdf eppchtex.pdf mp-cb-en.pdf roadmap.pdf show-gra.pdf tiptrick.pdf example.pdfmp-ch-en.pdf setup-en.pdf show-mag.pdf metafun-p.pdf ms-cb-en.pdf show-art.pdf show-man.pdf metafun-s.pdf mtexexec.pdf showcase.pdf show-not.pdf I will upload the stuff to Debian now, as it seems pretty stable,and etch is frozen anyway. In the meantime, it is available at the usual place. Best wishes Norbert --- Dr. Norbert Preining [EMAIL PROTECTED]Università di Siena Debian Developer [EMAIL PROTECTED] Debian TeX Group gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094 --- IPSWICH (n.) The sound at the other end of the telephone which tells you that the automatic exchange is working very hard but is intending not actually to connect you this time, merely to let you know how difficult it is. --- Douglas Adams, The Meaning of Liff ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] List of special characters?
I'm really struggling to get this working... I've got some keywords which i want to mark in the text with a special style: -- \starttext \usetypescript[adobekb][\defaultencoding] \setupbodyfont[pos,9pt] \setupcolors[state=start] \define[1]\Keyword{% {\startcolor[darkgreen]\bf{#1}\stopcolor}} \chapter{Introduction} \Keyword{if} blah blah blah blah blah \Keyword{for} blah blah blah -- This works great. But then I've got the following keywords: # ! | \ @ ^ + - * / % Of these, i can get half of them to work: -- \Keyword{\#} \Keyword{\percent} \Keyword{\} \Keyword{\backslash} [EMAIL PROTECTED] \Keyword{/} -- but i can't get any of the the remaining ones ( ! | ^ + - * ) to. Any suggestions would be very welcome! I was then going to go on to add an indexing command: \define[1]\Keyword{% {\startcolor[darkgreen]\bf{#1}\stopcolor} \index{#1}} but this wasn't working either... Help! ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] debian context updates
Hi all! Bad timing ... new upstream ... why was there no notice on dev-context? New upstream 2006-12-27 is online. context-nonfree (cow fonts) and context-doc-nonfree stay the same. Best wishes Norbert --- Dr. Norbert Preining [EMAIL PROTECTED]Università di Siena Debian Developer [EMAIL PROTECTED] Debian TeX Group gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094 --- WORKSOP (n.) A person who never actually gets round to doing anything because he spends all his time writing out lists headed 'Things to Do (Urgent)'. --- Douglas Adams, The Meaning of Liff ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] debian context updates
Norbert Preining wrote: Hi all! Bad timing ... new upstream ... why was there no notice on dev-context? I forgot, sorry. New upstream 2006-12-27 is online. context-nonfree (cow fonts) and context-doc-nonfree stay the same. Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Elevated text blocks
On Wed, 27 Dec 2006 22:25:38 +0100 Gerhard Kugler [EMAIL PROTECTED] wrote: Hi, in the book which I'm translating there are many exercises which should be elevated. The original sets grey bars at the beginning and the end. My solutions tends to light grey background over the whole text block. Partially the exercises exceed a page. If possible they should kept as wholes. What is the suitable logical isolation of these blocks in context? Framedtexts? Textblocks? Gerhard -- Gerhard Kugler Psychotherapeut http://www.psychotherapie-kugler.de Hi Gerhard, you can keep text togehther by putting them into a vbox and it will move to the next page if it will not fit on the current page. There are to many ways how you defined your example, you can find one way below. The important things are saved into the before and after commands in the defintion. example \defineenumeration [Example] [before=\null\vbox\bgroup, after=\egroup] \starttext \input knuth \startExample \dorecurse{30}{This is a example\crlf} \stopExample \input knuth \stoptext /example Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] List of special characters?
On 12/28/06, [EMAIL PROTECTED] wrote: This works great. But then I've got the following keywords: # ! | \ @ ^ + - * / % Just copied from Aditya's code :) \letterhash, \# \letterexclamationmark \letterbar \letterbackslash \letterat \letterhat \letterslash \letterpercent, \% \letterless \lettermore \letterampersand, \ \letteropenbrace, \{ \letterclosebrace, \} etc. Mojca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] List of special characters?
On 2006-12-28, at 13:15.0, Mojca Miklavec wrote: On 12/28/06, [EMAIL PROTECTED] wrote: This works great. But then I've got the following keywords: # ! | \ @ ^ + - * / % Just copied from Aditya's code :) \letterhash, \# \letterexclamationmark \letterbar \letterbackslash \letterat \letterhat \letterslash \letterpercent, \% \letterless \lettermore \letterampersand, \ \letteropenbrace, \{ \letterclosebrace, \} Thanks - they all work great! A worthy addition to the manual...?! :-) ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] List of special characters?
On Thu, 28 Dec 2006 07:00:07 -0700, [EMAIL PROTECTED] wrote: Just copied from Aditya's code \letterhash, \# \letterexclamationmark \letterbar \letterbackslash \letterat \letterhat \letterslash \letterpercent, \% \letterless \lettermore \letterampersand, \ \letteropenbrace, \{ \letterclosebrace, \} Thanks - they all work great! A worthy addition to the manual...?! At least some mention should be made on the wiki (if it's already there please tell us where)... Best Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Elevated text blocks
On Wed, 27 Dec 2006, Gerhard Kugler wrote: Hi, in the book which I'm translating there are many exercises which should be elevated. The original sets grey bars at the beginning and the end. My solutions tends to light grey background over the whole text block. Partially the exercises exceed a page. If possible they should kept as wholes. What is the suitable logical isolation of these blocks in context? Framedtexts? Textblocks? He Gerhard, Can you be more specific on what is the desired behaviour, that is what do you mean by if possible they should be kept as wholes What do you want in the following border cases? 1. The current page is half full, and your exercise is half-page plus two lines. Should TeX leave the rest of the page empty and start a new page, or fill the current page with exercise and put two lines in the next page. 2. The same case as above, but the text is one and a half page long. 3. Or a more drastic case, when the current page has only two lines and the text block is exactly one page long. Should the text split or not. 4. Can you allow the text block to float, or should it occur where you place it, even if it means a lot of empty space on the page. Basically, the difficulty is specifying how much blankspace on a page are you willing to accept, and under what conditions. Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Making a verbatim file for another language
On Thu, 28 Dec 2006, [EMAIL PROTECTED] wrote: On 2006-12-27, at 21:41.0, Aditya Mahajan wrote: If you have vim and are interested in testing, you can be the first tester of the module :) Hi! Yes I can find a vim module, so if you can tell me which files to put where, I'll give it a try! I have attached the files. Please note that we are still playing around with the module, so certain features will change. Right now, place t-vimsyntax.tex and 2context.vim files in the working directory. You need to have write18 enabled. Add \usemodule[vimsyntax] on the top of your file. (And ofcourse, \setupcolors[state=start]) 1. If you want to typeset an existing file, and lets say the filetype (in vim's terms) is ruby. Then \definetypeVIMfile [name of macro] %Usually typeRUBY, typeMATLAB, etc. [ % Optional arguments start=linenumber, %starting line number, defaults to 1 stop=linenumber,%stopping line number, defaults to 0, %and 2context makes it end of file tab=tabstop, %How many spaces should a tab mean, %defaults to 8. %Support for visible tab will be added. space=(yes|on|no) %no ignores spaces, yes honors file spaces %on makes spaces visible. vimcolorscheme=colorscheme, %Which vim colorscheme to use %defaults to pscolor, which is the only %scheme implemented so far. syntax=syntax, %Which syntax highlighing to use in vim. ] % End of optional arguments In the simplest case, you will have \definetypeVIMfile [typeRUBY] [syntax=ruby] % tab and spaces to your preference Then you can use \typeRUBY [optional arguments, as above] {filename} %filename needs extension also 2. If you need to type code snippets \defineVIMtyping [RUBY][syntax=ruby] %Other options same as above and then \startRUBY # This is a ruby program puts Hello World \stopRUBY Let us know if you come across any problems. Aditya t-vimsyntax.tex Description: Binary data 2context.vim Description: Binary data ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Making a verbatim file for another language
How does it find the .vim language syntax file for - say - Ruby? ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Installing Cyrillic font
Hello all, I've made some progress with your help. (and esp. Mojca's) Following the guidelines from http://home.salamander.com/~wmcclain/context-help.html, I 've defined the Regular font as \enableregime[cp1251] \loadmapfile [t2a-urw-timescyr.map] \definefontsynonym[NimbusRomanNo9L-Regu][t2a-n021003l][encoding=t2a] \definefont[TimesCyr][NimbusRomanNo9L-Regu at 15pt] \starttext \TimesCyr ... and it works OK unless I need Bold or Italic. Now that I define the font in 'proper' way, using typescripts, \enableregime[cp1251] \usetypescriptfile[type-buy] \loadmapfile [t2a-urw-timescyr.map] \starttypescript [serif] [NimbusNo9L] [t2a] \definefontsynonym [NimbusNo9L-Roman] [t2a-n021003l] [encoding=t2a] \definefontsynonym [NimbusNo9L-Bold][t2a-n021004l] [encoding=t2a] \definefontsynonym [NimbusNo9L-Italic] [t2a-n021023l] [encoding=t2a] \definefontsynonym [NimbusNo9L-Bold-Italic] [t2a-n021024l] [encoding=t2a] \stoptypescript \starttypescript [serif] [timescyr] [name] \usetypescript[serif][fallback] \definefontsynonym [Serif] [NimbusNo9L-Roman] \definefontsynonym [SerifBold] [NimbusNo9L-Bold] \definefontsynonym [SerifItalic] [NimbusNo9L-Italic] \definefontsynonym [SerifBoldItalic] [NimbusNo9L-Bold-Italic] \stoptypescript \starttypescript [TimesCyr] \definetypeface [TimesCyr] [rm] [serif] [timescyr] [default] [encoding=t2a] \stoptypescript \usetypescript[TimesCyr] \setupbodyfont[TimesCyr] \starttext the texexec fails and I cannot figure out why. The log file says me ! Font \*TimesCyr12ptrmtf*:=NimbusNo9L-Roman at 12.0pt not loadable: Metric (TF M) file not found. to be read again \relax \xxdododefinefont ...tspec {#4}\newfontidentifier \let \localrelativefontsiz... \fontstrategy ...me \fontclass #2#3#4#5\endcsname \tryingfontfalse \fi inserted text ...yle \fontalternative \fontsize \fi \iftryingfont \fontstr... \synchronizefont ...strategy \the \fontstrategies \relax \fi \iftryingfont \... argument \getvalue [EMAIL PROTECTED]@ \fontstyle } \edef \fontstyle {\fontstyle }\if... ... l.32 \setupbodyfont[TimesCyr] ? -- Best regards, Vyatcheslav ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] List of special characters?
I've just discovered the command \showcharacters. It's not in the manuals, but useful for showing some of the characters available. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Elevated text blocks
Hi Aditya, thank you for your detailed answer. The exercises are so much providing the structure of the book, that it may be that I will choose the format (size) of the page considering the solutions of your questions: On Thu, Dec 28, 2006 at 11:48:06AM -0500, Aditya Mahajan wrote: 1. The current page is half full, and your exercise is half-page plus two lines. Should TeX leave the rest of the page empty and start a new page, or fill the current page with exercise and put two lines in the next page. rather the second option. But it would be suboptimal. 2. The same case as above, but the text is one and a half page long. In this case it would be clear, that the exercise begins instantly. 3. Or a more drastic case, when the current page has only two lines and the text block is exactly one page long. Should the text split or not. No. 4. Can you allow the text block to float, or should it occur where you place it, even if it means a lot of empty space on the page. The text block must not float because it is part of the ongoing text. In some chapters there is more text in the exercises than outside. Basically, the difficulty is specifying how much blankspace on a page are you willing to accept, and under what conditions. Perhaps I should fill blank parts of pages with elements of pure decoration. The English (American) original is shorter than the German text. Sometimes I have the impression that the authors have made content and appearance simultaneously. This is not reproducible in a translation. -- Gerhard Kugler Psychotherapeut http://www.psychotherapie-kugler.de ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] debian context updates
Norbert, Here's the latest description, for the debian/control file (sorry I should have explicitly CC'ed you on the list emails revising it): ConTeXt is a document-production system based, like LaTeX, on the TeX typesetting system. Whereas LaTeX insulates the writer from typographical details, ConTeXt takes a complementary approach by providing structured interfaces for handling typography, including extensive support for colors, backgrounds, hyperlinks, presentations, figure-text integration, and conditional compilation. It gives the user extensive control over formatting while making it easy to create new layouts and styles without learning the TeX macro language. ConTeXt's unified design averts the package clashes that can happen with LaTeX. ConTeXt also integrates MetaFun, a superset of MetaPost and a powerful system for vector graphics. MetaFun can be used as a stand-alone system to produce figures, but its strength lies in enhancing ConTeXt documents with accurate graphic elements. ConTeXt allows the users to specify formatting commands in English, Dutch, German, French, or Italian, and to use different typesetting engines (PDFTeX, XeTeX, Aleph, and soon LuaTeX) without changing the user interface. ConTeXt is developed rapidly, often in response to requests from the friendly user community. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Elevated text blocks
On Thu, Dec 28, 2006 at 01:58:02PM +0100, Wolfgang Schuster wrote: you can keep text togehther by putting them into a vbox and it will move to the next page if it will not fit on the current page. Thank you Wolfgang, this will be an important possibility. Where is the best documentation about vbox? There are to many ways how you defined your example, you can find one way below. The important things are saved into the before and after commands in the defintion. example \defineenumeration Why enumeration? The exercises are not numbered. Gerhard -- Gerhard Kugler Psychotherapeut http://www.psychotherapie-kugler.de ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Elevated text blocks
On Thu, 28 Dec 2006, Gerhard Kugler wrote: Hi Aditya, thank you for your detailed answer. The exercises are so much providing the structure of the book, that it may be that I will choose the format (size) of the page considering the solutions of your questions: If choosing page size is an option, and there are only a few that are larger than a page, things may be much easier. Keep all of them in one page, and typeset. Note the ones that are larger than a page, and mark them using a differnt environment. That is, you decide which exercises should break and which should not. On Thu, Dec 28, 2006 at 11:48:06AM -0500, Aditya Mahajan wrote: 1. The current page is half full, and your exercise is half-page plus two lines. Should TeX leave the rest of the page empty and start a new page, or fill the current page with exercise and put two lines in the next page. rather the second option. But it would be suboptimal. 2. The same case as above, but the text is one and a half page long. In this case it would be clear, that the exercise begins instantly. 3. Or a more drastic case, when the current page has only two lines and the text block is exactly one page long. Should the text split or not. No. This seems inconsistent with case 1. There the text was less than one page, but you want it to be split. In this case, the text is exactly one page, but you do not want it to be split? 4. Can you allow the text block to float, or should it occur where you place it, even if it means a lot of empty space on the page. The text block must not float because it is part of the ongoing text. In some chapters there is more text in the exercises than outside. Is something like this acceptable: if length 1 page keep the whole thing together, even if it means ending the current page with lots of empty space. if length 1 page split whereever you want That would means, do a trial typesetting to find the length of the block, if length is less than one page put in a framedtext (which is just a highly customizable vbox) if length 1 page, don't do anything and let it break pages anywhere. Just one more bit of information is needed. Do your exercises contain display math? Basically, the difficulty is specifying how much blankspace on a page are you willing to accept, and under what conditions. Perhaps I should fill blank parts of pages with elements of pure decoration. The English (American) original is shorter than the German text. Sometimes I have the impression that the authors have made content and appearance simultaneously. This is not reproducible in a translation. This is always hard to do, and TeX glue makes it harder. Things can be bizzare when you want to fit all you can in page limits imposed in conferences: removing material takes more space, adding material reduces space, and you end up beating your head ;) Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Elevated text blocks
On Thu, Dec 28, 2006 at 03:03:35PM -0500, Aditya Mahajan wrote: If choosing page size is an option, and there are only a few that are larger than a page, things may be much easier. Keep all of them in one page, and typeset. Note the ones that are larger than a page, and mark them using a differnt environment. That is, you decide which exercises should break and which should not. This seems a good clarification. 3. Or a more drastic case, when the current page has only two lines and the text block is exactly one page long. Should the text split or not. No. This seems inconsistent with case 1. There the text was less than one page, but you want it to be split. In this case, the text is exactly one page, but you do not want it to be split? I'm no longer so sure. Is something like this acceptable: if length 1 page keep the whole thing together, even if it means ending the current page with lots of empty space. if length 1 page split whereever you want o.k. That would means, do a trial typesetting to find the length of the block, if length is less than one page put in a framedtext (which is just a highly customizable vbox) if length 1 page, don't do anything and let it break pages anywhere. Just one more bit of information is needed. Do your exercises contain display math? No. Gerhard -- Gerhard Kugler Psychotherapeut http://www.psychotherapie-kugler.de ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Manual (English) Update soon?
Hello again, I've just recently tried to get up to speed on ConTeXt by reading what I could find on the web, including cont-eni.pdf (ConTeXt the manual by Hans Hagen, November 12th, 2001). Recent activity on this list, discussing the Debian packaging, says (and I commented on this a few days ago in another thread): ConTeXt is developed rapidly, often in response to requests from the friendly user community. And so I am wondering if ConTeXt is still too fresh... and if I'll have any chance of figuring out what/how to use it without having been on this list for the past 4+ years... (IIRC, Hans is also a core team member of LuaTeX, so perhaps I should just suck it up with LaTeX until LuaTeX is viable?) Advice, comments, etc. appreciated... --Doug ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Newbie: font sizes
Hello, I've read the fonts manual, but I don't understand how to change sizes. How can I change the sizes referred to by the sizes selectors \tfx etc... Thankyou, Elliot ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Installing Cyrillic font
Hello all, Thanks to everybody, but I've already written the asked typescript for my installed Cyrillic font (NimbusRomanNo9L). Look at my script, if you interested in. --- \enableregime[cp1251] \loadmapfile [t2a-urw-timescyr.map] \usetypescriptfile[type-buy] \starttypescript [serif] [timescyr] [name] \usetypescript[serif][fallback] \definefontsynonym [Serif] [NimbusNo9L-Roman] \definefontsynonym [SerifBold] [NimbusNo9L-Bold] \definefontsynonym [SerifItalic] [NimbusNo9L-Italic] \definefontsynonym [SerifBoldItalic] [NimbusNo9L-Bold-Italic] \stoptypescript \starttypescript [serif] [timescyr] [t2a] \definefontsynonym [NimbusNo9L-Roman] [t2a-n021003l] [encoding=t2a] \definefontsynonym [NimbusNo9L-Bold][t2a-n021004l] [encoding=t2a] \definefontsynonym [NimbusNo9L-Italic] [t2a-n021023l] [encoding=t2a] \definefontsynonym [NimbusNo9L-Bold-Italic] [t2a-n021024l] [encoding=t2a] \stoptypescript \definetypeface [myTimesCyr] [rm] [serif] [timescyr] [default] [encoding=t2a] \setupbodyfont[myTimesCyr] --- Ukrainian works as good as Russian; font variants could be selected as well. I haven't tested the script as a separate file yet. Suggestions are welcome! -- Best regards, Vyatcheslav mailto:[EMAIL PROTECTED]___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Manual (English) Update soon?
On Thu, 28 Dec 2006, Douglas Philips wrote: Hello again, I've just recently tried to get up to speed on ConTeXt by reading what I could find on the web, including cont-eni.pdf (ConTeXt the manual by Hans Hagen, November 12th, 2001). That is the most up to date manual and should get you started for most of the basic features. The features that are not in the manual are mostly related to specific needs, so you can get around even if you do not know about them. Some My Ways discuss some of these undocumented features. Recent activity on this list, discussing the Debian packaging, says (and I commented on this a few days ago in another thread): ConTeXt is developed rapidly, often in response to requests from the friendly user community. And so I am wondering if ConTeXt is still too fresh... and if I'll have any chance of figuring out what/how to use it without having been on this list for the past 4+ years... Just give it a shot. The is Latex in proper context by Berend de Boer which can help in the transition. The general information on http://wiki.contextgarden.net/From_LaTeX_to_ConTeXt is also useful. Context is very stable, and much better documented than latex. You can start with small documents in context to get comfortable with it. The best documents to start are those where you do not have a strict formatting requirement, so that you do not need to worry if you can not get something working. (IIRC, Hans is also a core team member of LuaTeX, so perhaps I should just suck it up with LaTeX until LuaTeX is viable?) LuaTeX is not a replacement for LaTeX. It is a replacement for pdfTeX. For the normal user, LuaTeX is not going to make too much of a different. It will make things a lot easier if you want to write really complicated macros. With context, the user will not even notice the change, other than some improvement in speed, and some of the pending feature requests getting implemented. So, if you are planning on switching to context, there is no real need to wait for luatex. Read Context an excursion and Latex in proper context to get started, and keep scanning through Context the manual. If you are stuck, search the wiki and the mailing list, and if you can not figure it out, ask on the list. HTH, Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Making a verbatim file for another language
On 12/28/06, [EMAIL PROTECTED] wrote: How does it find the .vim language syntax file for - say - Ruby? When you start vim and say set syntax=ruby, vim should find the syntax file automatically. For example under: /usr/share/vim/vimXX/syntax/ruby.vim c:/programs/vim/vimXX/syntax/ruby.vim depending on your vim runtime environment. :help VIMRUNTIME Mojca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Manual (English) Update soon?
On 12/28/06, Douglas Philips wrote: Hello again, I've just recently tried to get up to speed on ConTeXt by reading what I could find on the web, including cont-eni.pdf (ConTeXt the manual by Hans Hagen, November 12th, 2001). Recent activity on this list, discussing the Debian packaging, says (and I commented on this a few days ago in another thread): ConTeXt is developed rapidly, often in response to requests from the friendly user community. Well, the ConTeXt manual is one of the most stable components of ConTeXt indeed ;) But consider it from the bright side: yes, it's still fully usable (after two years of using ConTeXt it's still hard to do anything without using it), everything mentioned there should still work (unless there has been some bug introduced in the mean time) and the major functionality has been there at that time already. Yes, there have been many improvements since then, but if I'm looking for a particular one, there's still google, grep (my best friend) and a friendly mailing list which has been following ConTeXt development for the last five years. Major things have been mentioned in one of the other hundred of the manuals (nice reading for long rainy nights), additional options can sometimes only be found in source. That's surely no excuse for not refreshing the manual, but there's no excuse for not sharing your experience on the wiki or web version of texshow either. But to be honest: what if you were using LaTeX? I don't know any page or book where all the packages would be described. Sure, the best, most widely used package make it into books with time, but for the others you can't do anything without mailing lists and search engines either. And then you learn to use one package which becomes obsolete and unmaintained, so after two years when you finally become comfortable with it you figure out that it would make sense to switch to another better package, the same story after two years ... At least that's what I experience with packages for graphics: I've learnt picTeX with troubles just to figure out that it's completely useless, then there was some other don't-remember-which package, still too poor to do anything there, then I finally discovered PSTricks which became kind-of-obsolete with pdfTeX or XeTeX. The same story with just about any package for creating slides or changing page layout, headers, footers (and they all took a lot of time to learn how to use them), not to mention the changes in base LaTeX (documentstyle - documentclass{article} - Komma script) and the fact that most packages become unmaintained after they have been written. And so I am wondering if ConTeXt is still too fresh... It's always full of surprizes. But what do you mean with too fresh? If you're worried that your colleagues don't have the latest version of ConTeXt installed (and thus won't be able to compile your code) then you're probably right. (But if you want to use the latest packeg from LaTeX, there's even more chance that they won't have it. In ConTeXt you know at least that downloading one thing should suffice.) and if I'll have any chance of figuring out what/how to use it without having been on this list for the past 4+ years... Take it from the bright side: even if you were on the list, you wouldn't have time to follow it unless you were a student ;) And take it from the bright side again: tetex on most linux distributions is just as old as the manual, so you wouldn't be missing much ;) (IIRC, Hans is also a core team member of LuaTeX, so perhaps I should just suck it up with LaTeX until LuaTeX is viable?) No reason for, as Aditya already mentioned. In my opinion It makes no sense to wait for solar-energy car before you start doing your driver's licence. Unless you intend to design or produce cars, you shouldn't even notice the difference. Mojca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Newbie: font sizes
Hi, Elliot Is this what you want: \switchtobodyfont[*dimen*] It's in the user's manual---cont-enp.pdf---rather than in the fonts manual On 12/29/06, Elliot Clifton [EMAIL PROTECTED] wrote: Hello, I've read the fonts manual, but I don't understand how to change sizes. How can I change the sizes referred to by the sizes selectors \tfx etc... Thankyou, Elliot ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context -- Sincerely yours, Chen Zhi-chu Chen | Shanghai Synchrotron Radiation Facility No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China tel: 086 21 5955 3405 | zhichu.chen.googlepages.com | www.sinap.ac.cn ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Manual (English) Update soon?
On Thursday 28 December 2006 19:43, Mojca Miklavec wrote: then I finally discovered PSTricks which became kind-of-obsolete with pdfTeX or XeTeX. The same story with just about any package for creating slides or changing page layout, headers, footers (and they all took a lot of time to learn how to use them), not to mention the changes in base LaTeX (documentstyle - documentclass{article} - Komma script) and the fact that most packages become unmaintained after they have been written. Jut FYI PSTricks (which runs on Plain TeX as well as LaTeX) can be run as part of Context. It requires loading a module and an extra pass. Like many of the undocumented modules there is actually documentation in the module itself. I suspect that if all the documentation in the source code were collected and organized in some way we would have a new Context Manual. And so I am wondering if ConTeXt is still too fresh... If I have a simple job I use pdftex. If the layout gets complicated at all, or I need to impose a smaller page on a full size page, or anything else like that I turn to Context. It's always full of surprizes. But what do you mean with too fresh? If you're worried that your colleagues don't have the latest version of ConTeXt installed (and thus won't be able to compile your code) then you're probably right. (But if you want to use the latest packeg from LaTeX, there's even more chance that they won't have it. In ConTeXt you know at least that downloading one thing should suffice.) The bad thing about Context is that many errors in parameters etc. are simply not reported when you compile a document. One of the many good things is that the elaborate structure is there but not required. Most plain TeX (the old stuff) documents will run under Context. Make a file with: Hello world \bye and run it through Context. It will work. But with LaTeX you must have a LaTeX specific statement or two or it won't work. and if I'll have any chance of figuring out what/how to use it without having been on this list for the past 4+ years... I store all messages on this list forever in a directory. It is more convenient for me to search that directory than on the wiki. My earliest is dated in April 2002. Font handling is a bear but font handling in any version of TeX more complex than plain is a bear. -- John Culleton Able Indexing and Typesetting Precision typesetting (tm) at reasonable cost. Satisfaction guaranteed. http://wexfordpress.com ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Fwd: Re: Manual (English) Update soon?
Subject: Re: [NTG-context] Manual (English) Update soon? Date: Thursday 28 December 2006 20:58 From: John R. Culleton [EMAIL PROTECTED] To: ntg-context@ntg.nl Cc: Mojca Miklavec [EMAIL PROTECTED] On Thursday 28 December 2006 19:43, Mojca Miklavec wrote: then I finally discovered PSTricks which became kind-of-obsolete with pdfTeX or XeTeX. The same story with just about any package for creating slides or changing page layout, headers, footers (and they all took a lot of time to learn how to use them), not to mention the changes in base LaTeX (documentstyle - documentclass{article} - Komma script) and the fact that most packages become unmaintained after they have been written. Jut FYI PSTricks (which runs on Plain TeX as well as LaTeX) can be run as part of Context. It requires loading a module and an extra pass. Like many of the undocumented modules there is actually documentation in the module itself. I suspect that if all the documentation in the source code were collected and organized in some way we would have a new Context Manual. And so I am wondering if ConTeXt is still too fresh... If I have a simple job I use pdftex. If the layout gets complicated at all, or I need to impose a smaller page on a full size page, or anything else like that I turn to Context. It's always full of surprizes. But what do you mean with too fresh? If you're worried that your colleagues don't have the latest version of ConTeXt installed (and thus won't be able to compile your code) then you're probably right. (But if you want to use the latest packeg from LaTeX, there's even more chance that they won't have it. In ConTeXt you know at least that downloading one thing should suffice.) The bad thing about Context is that many errors in parameters etc. are simply not reported when you compile a document. One of the many good things is that the elaborate structure is there but not required. Most plain TeX (the old stuff) documents will run under Context. Make a file with: Hello world \bye and run it through Context. It will work. But with LaTeX you must have a LaTeX specific statement or two or it won't work. and if I'll have any chance of figuring out what/how to use it without having been on this list for the past 4+ years... I store all messages on this list forever in a directory. It is more convenient for me to search that directory than on the wiki. My earliest is dated in April 2002. Font handling is a bear but font handling in any version of TeX more complex than plain is a bear. -- John Culleton Able Indexing and Typesetting Precision typesetting (tm) at reasonable cost. Satisfaction guaranteed. http://wexfordpress.com --- -- John Culleton Able Indexing and Typesetting Precision typesetting (tm) at reasonable cost. Satisfaction guaranteed. http://wexfordpress.com ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Manual (English) Update soon?
On Thu, 28 Dec 2006 18:58:25 -0700, John R. Culleton [EMAIL PROTECTED] wrote: Most plain TeX (the old stuff) documents will run under Context. Careful! This only works with a subset of Plain TeX documents. Don't remember any examples off hand (digging out of the second blizzard in a week!), but don't be surprised if a plain document does not do what you expect... Best Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] PSTricks
(was: Manual (English) Update soon?) For Hans: please read further, some things need to be fixed. On 12/29/06, John R. Culleton wrote: Jut FYI PSTricks (which runs on Plain TeX as well as LaTeX) can be run as part of Context. It requires loading a module and an extra pass. Like many of the undocumented modules there is actually documentation in the module itself. I suspect that if all the documentation in the source code were collected and organized in some way we would have a new Context Manual. Thanks for the hint! I really like the example with \dorecurse mixed with PSTricks; although they have their own mechanisms for that, \dorecurse is more familiar and easier to use for me. (I doubt that I'll return to PSTricks now that I've learn metapost and now when TikZ is available and more portable, but it's nice to know that I may use my old code there and for some cases PSTricks are still an easier approach.) I knew that there was something about pstricks available, but I always had a feeling that it's only conditionally working (I never heard anyone talking about PSTricks on the mailing list). However: you're probably running the module with perl-based texexec, right? I just tried it and had the following problems: - filename-texapp.tex has been created (and can only be deleted manually), but instead of dvi it resulted in an empty pdf file - I processed that file manually, so I got the dvi, but then dvips failed - the second was probably my fault (dvips sent the result to lpr), but it's how it's set up on the system by default; using -Ppdf switch helped, although I have no idea why/how it works exactly So it would really help a lot: - if the intermediate file would result in .dvi, not in .pdf - if dvips would be called with -Ppdf or perhaps some other more appropriate switch to assure slightly more works-out-of-the-box cases (- if temporary files could be deleted with ctxtools if needed) It would also help a lot for tex4ht if the switch --dvi could work as intended (and without unneded dvips run afterwards). Mojca PS (in a joke): why didn't you tell me that before I wrote support for gnuplot ??? Gnuplot can already output PSTricks code which could be read by ConTeXt then. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] PSTricks
On Fri, 29 Dec 2006, Mojca Miklavec wrote: It would also help a lot for tex4ht if the switch --dvi could work as intended (and without unneded dvips run afterwards). Isn't there --nobackends (or something similar) which will then not run any dvips (or dvipdfm)? Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context