RE: [NTG-context] Language issues
Well, on web2c-based systems (fpTeX, teTeX, TeXLive) one should be able to find it using kpsewhich texmf.cnf. If the TeX is not based on web2c, well, then you have to look for another config file ;) If I remember correctly, MiKTeX has a different file. Under Windows there is under Start|Find (or something like that) the possibility to search for a file (texmf.cnf); Unix: locale texmf.cnf (or rather brutral: find / /usr /etc $HOME -name texmf.cnf) Tobias OK, I'm using MikTeX so obviously I should change the memory settings in a different file then. MikTeX users out there - any pointers to what file I should be looking for? I checked the installation PDF but there is no reference to the name of the file. Best regards, Mats Broberg ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
RE: [NTG-context] Language issues
Google is your friend. Try http://www.miktex.org/manual/miktexinilayout.h tml#id585308 and there Memory Settings for TeX Friends. the file is seeminly named miktex.ini. Greetings to Sweden from (currently) Taiwan, Tobias Many thanks, Tobias. I browsed the archives and it seems memory settings for MikTeX can not be changed. Approx. 2 years ago, Sebastian Rooks wrote (and Giuseppe Bilotta answered): === Saturday, April 12, 2003 Sebastian Rooks wrote: SR So it does not seem to be my setup. What can I try next ? Am I really SR the only guy with this problem ? Drats, it looks like the hash size cannot be changed ... I'm discussing this and similar issues with Christian, so I'll forward the problem to him. If everything goes well it should be fixed in the next upgrade. I'll keep you informed. === Pity! What TeX distributions are the other Windows users running, if not MikTeX? Thanks for all listmembers' help, anyway. Best regards, Mats Broberg ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
RE: [NTG-context] Language issues
but ... texexec --make --all should load all patterns; what does cont-en.log say about that? [you can try to edit your local copy of cont-usr.tex -- uncomment the swedish lines] another option is to pick up the beta version, since it is more clever with patterns; in that case you can also try to generate pattern files for context (using ctxtools, see patterns manual on our website) btw, given that patterns fit into mem quite well, we may as well preload the whole lot by default Hans, Enclosing the cont-en.log. As you can see, Swedish is not loaded. I hunted down the cont-usr.tex file and uncommented this line about Swedish: % \installlanguage [\s!sv] [\c!state=\v!start] % swedish ran texexec --make --all again, but the log says Swedish is still not loaded. Best regards, Mats Broberg cont-en.log Description: Binary data ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
RE: [NTG-context] Language issues
if you want a document wide switch, use \mainlanguage[sv] are you sure that you've loaded the swedish patterns? texexec --make --all will add them all Hans OK, I ran texexec --make --all and changed \language[sv] to \mainlanguage[sv]. Regretfully, no change. Still overfull lines and incorrect hyphenation the few times the text is hyphenated. Any ideas to what I am doing wrong? Best regards, Mats Broberg ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
RE: [NTG-context] Language issues
does the log report a swedisch pattern being loaded? what font encoding do you use? (is related to hyphenation) can you make a minimal file that i can run here (with right hyphenation points indicated?) Hans Hans, I looked at the log file and no, you're right: Swedish is not included in the list of languages when pdfTeX is talking about patterns: language: patterns en-default:default-1-2:2 uk-default:default-2- 2:2 de-texnansi:texnansi-3-2:2 de-ec:ec-4-2:2 fr-texnansi:texnansi-5-2 :2 fr-ec:ec-6-2:2 es-default:default-7-2:2 it-texnansi:texnansi-8-2:2 it-ec:ec-9-2:2 nl-texnansi:texnansi-10-2:2 nl-ec:ec-11-2:2 loaded So something is wrong and the patterns are not loading. Best regards, Mats Broberg ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Language issues
Dear listmembers, When setting a language (in this case Swedish) for a document, is there something else one is supposed to do than putting \language[sv] on a single line somewhere before \starttext? I get overfull, non-hyphenated lines in the section I am typesetting. Best regards, Mats Broberg ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
RE: [NTG-context] lettrine.sty, but not LaTeX
- The text font seems to be defaulted to small capitals. However, this is merely one of the conventions how text after a dropcap is set. Other conventions include e.g. roman or italic caps, roman or italic lower case etc. You can set the 'TextFont' parameter to something else. - Regarding the slope one should be able to set indentation separately for each line. This depends on the fact that some characters call for a different type of intendation of the lines - e.g. the character L. I will keep this in mind for a future extension - Sometimes there is a need to indent the dropcap slightly itself, e.g. if one uses a quotation mark before the dropcap. So a parameter to control that would be great. You can set the 'Hang' parameter to a negative value. Many thanks! Best regards, Mats Broberg ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
RE: [NTG-context] lettrine.sty, but not LaTeX
On Tue, 1 Mar 2005 14:37:21 -0800 (PST), Ciro A. Soto [EMAIL PROTECTED] wrote: trivial question from a novice: What are the steps to use a new module like the lettrine.sty? Where do I put this file? what command should I type to make is available to context? etc... thank you ciro PS: I am using Fedora Core 3 + texlive2004 + context from February 2005. In teTeX 3.0 (FC3 box) I put the file t-lettri.tex in $HOME/texmf/tex/context/user/ and run command texhash. That's all :) HTH, Q. OK, so this is the 'standard of procedure'? Not to put it in \base and run mktexlsr? Best regards, Mats Broberg ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Fixed spaces overfullrule
Dear listmembers, I have two questions tonight: 1: Is it possible to define and then use different kind of fixed and non-breaking spaces in ConTeXt? For something I am working with I need 1/8th of an em, 1/4th of an em, and 1/3rd of an em - but would ideally want to be able to define any kind of fraction of an em. 2: Is it possible to have the overfull rules printed out in the margins? That way one can flip through the pages fast and instantly get an idea of the quality of the typesetting. Best regards, Mats Broberg ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
RE: [NTG-context] Additional steps taken since the first e-mail
Hans, OK, and what should I do to remedy this? I am using ConTeXt out of the box, as it is when you install MikTeX. Should I download something else from your site? A more recent distribution? My log says: ConTeXt ver: 2005.01.24 Best regards, Mats Broberg On Behalf Of h h extern However, when I run the test file, I still get the unknown file type: texmfscripts as the first entry, but the test file seem to be processed anyway. Does this mean I can forget about this warning? seesm like your tex binaries and context scripts are not in sync; ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
RE: [NTG-context] lack of hyphenation
Hej Mats! I would like to recommend the interesting document http://www.pragma-ade.com/general/manuals/style.pdf Mvh, Micke P PS Fun to see another swede here on the list DS Thanks - I knew about that manual already. Best regards, Mats Broberg P.S. Likewise...! D.S. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
RE: [NTG-context] lettrine.sty, but not LaTeX
auto-lettrines (dropcaps etc) are kind of complex in the sense that it's not trivial to pick up the first 'something' in a paragraph in a robust way [we may want some extension to tex for that (so we have something to discuss during our trip to eurotex -) Hans If I may chime in: Also, automated drop caps (if that is what you refer to) is not a feasible way to go if high typographic quality is important. Different typefaces and different characters need different level of protruding into the left margin, as well as other actions of tweaking. As an example, the automated drop caps in some of the more famous DTP programs are useless. Best regards, Mats Broberg ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
RE: [NTG-context] lack of hyphenation
Ciro A. Soto wrote: The knowlegeable John Culleton said in one of the lists that he could recognize if a book was typeset with MS-word by looking at the rivers and the lack of hyphenation. I then checked my 310-page book I am typesetting with context and not a single line had a hyphenated word at the end. So, my question is: Is it okay? Oops - sorry for the misreading! I thought you asked if it was _typographically_ okay - hence my lengthy answer about HJ, Bartels et al...! Best regards, Mats Broberg ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
RE: [NTG-context] lettrine.sty, but not LaTeX
Taco, Great work. I did some tests of this and have a few comments: - I tested with the inital H and [Lines=4,Hang=.1,Nindent=20pt,Findent=20pt]. This makes the H itself be indented too (see enclosed dump). It seems that Findent adds space both before and after the dropcap, when it only should add after the dropcap. - The text font seems to be defaulted to small capitals. However, this is merely one of the conventions how text after a dropcap is set. Other conventions include e.g. roman or italic caps, roman or italic lower case etc. - Regarding the slope one should be able to set indentation separately for each line. This depends on the fact that some characters call for a different type of intendation of the lines - e.g. the character L. - Sometimes there is a need to indent the dropcap slightly itself, e.g. if one uses a quotation mark before the dropcap. So a parameter to control that would be great. However, bear in mind that I installed ConTeXt for the first time yesterday and have never used TeX and children before, so I may very well have done something wrong when I used the module...! :) Best regards, Mats Broberg -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Taco Hoekwater Sent: den 27 februari 2005 15:29 To: mailing list for ConTeXt users Subject: Re: [NTG-context] lettrine.sty, but not LaTeX Ok, so I *should* be doing other stuff, but this is just a lot of fun, so here is the 3rd version, with three bugfixes - No more font messages (followed Hans' advice) - No more \sbox redefinition (used it's expansion instead) - The page breaks unless the lettrine actually fits (this is an independant improvement by me) This is the last version before EuroTeX. Really. ;-) Greetings, Taco attachment: test.gif___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Installation för (complete) novices
Good morning, As mentioned yesterday, I am trying to install ConTeXt on my Windows XP machine. However, I am experiencing some problems and thought I could get some help from someone on the list. Bear in mind though, that my previous experience regarding installation steps is from installing InDesign, QuarkXPress and the like, so you may want to be a bit patient... :) This is what I have done so far: 1: Downloaded and installed MikTeX, ver. 2.4, accepting all default settings/suggestions. 2: Downloaded and installed WinEdt. Have run WinEdt's TeX diagnostics and it's OK. 3: Downloaded and installed ActivePerl, ver. ActivePerl 5.8.6.811, MSI, and accepted all default settings/suggestions. 4: Restarted. 5: In the command line window I then typed texexec --verbose and got alot of information in return, so texexec seems to work alright. 6: Then the installation manuals says something about copying texexec.rme to texexec.ini. Does it mean that I should delete the .ini file and rename the .rme file, and then uncommenting the MikTeX line (as referred in the manual)? Also, I opened the files and they are just two chunks of unformatted ASCII texts. No linebreaks, no blank lines etc. Is that correct? OK, my bloodsugar dropped a bit at that point :) and tried the following: I created a small file by copying Hans' sample in Sec 2.2 in the ConTeXt manual. In the command line window I typed texexec --test and got the reply: unknown file type: texmfscripts I would be very grateful if someone could hint what I have done wrong and/or lead me through any following installation steps. Many thanks in advance! Best regards, Mats Broberg ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Correction to previous e-mail
Listmembers, OK, the two chunks of text I mentioned were obviously due to the kind of ASCII text editor I use. I downloaded a different editor one and now the .rme and the .ini files look better. Sorry for taking up bandwidth about that specific issue. Best regards, Mats Broberg ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Additional steps taken since the first e-mail
Listmembers, I have also done the following since the first e-mail: - Copied the contents of texexec.rme to texexec.ini - Uncommented the set TeXShell to miktex line in the new texexec.ini file. - Added the string C:\texmf\miktex\context\perltk to the PATH (however, there is no context or perltk folder in the miktex folder. Shouldn't there be?) However, the problem still persists. Best regards, Mats Broberg ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
RE: [NTG-context] lack of hyphenation
Ciro, From a purely typographical point of view, a hyphenated word is always better than excessive space between words in a line (which is more discernable to the eye). However, depending on column width, the language the text is typeset in, and the algorithm that is used for hyphenation justification, some texts can be typeset without very few hyphens. But if a text is typeset without hyphenation - take a really good look at the word spacing. Chances are, they are large. BTW, it's easier to see excessive wordspacing if you hold the page upside down and squint with your eyes. Ok, here's something for the spacing aficionados: Take a look at The art of spacing by Bartels (Chicago, 1926). I have it at hand when I'm writing this. Not one hyphen in the whole book, not one excessive wordspace - and all last lines in paragraphs ending less than a one or two ems from the right margin. Beautiful, and probably mathematically impossible to achieve. If I don't remember wrong, DEK writes about Bartels in one of his books and suspects he rewrote the text while handsetting the lines. I would agree with that. Best regards, Mats Broberg -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ciro A. Soto Sent: den 26 februari 2005 18:08 To: mailing list for ConTeXt users Subject: [NTG-context] lack of hyphenation The knowlegeable John Culleton said in one of the lists that he could recognize if a book was typeset with MS-word by looking at the rivers and the lack of hyphenation. I then checked my 310-page book I am typesetting with context and not a single line had a hyphenated word at the end. So, my question is: Is it okay? or do I need to set any parameter to allow hyphenation? I do have \tolerance=1, because I don't like lines longer than the rest, but I thought I could still get some hyphenated words. Am I right? thank you Ciro = == Ciro A. Soto Author of The Guitar Maker. An Exploration of Wisdom, Design and Love. Pub. Date: Aug. 2005. All problems are at the interface. Each one of them has a solution. ___ 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] lettrine.sty, but not LaTeX
Dear listmembers, I am not quite yet a ConTeXt user (struggling with the installation), but having a background as typographer, graphic designer, and printer, I feel that the lettrine.sty package could serve very well as a model for something similar in ConTeXt. At any rate, in order to produce high quality intitials, a ConTeXt equivalent should not have any less parameters than lettrine.sty. To re-cap the parameters in lettrine.sty: == - lines=integer sets how many lines the dropped capital will occupy (default=2); - lhang=decimal (0 lhang = 1) sets how much of the dropped capitals width should hang into the margin (default=0); - loversize=decimal (-1 loversize = 1) enlarges the dropped capitals height: with loversize=0.1 its height is enlarged by 10% so that it raises above the top paragraphs line (default=0); - lraise=decimal does not affect the dropped capitals height, but moves it up (if positive), down (if negative); useful with capitals like J or Q which have a positive depth, (default=0); - findent=dimen (positive or negative) controls the horizontal gap between the dropped capital and the indented block of text (default=0pt); - nindent=dimen shifts all indented lines, starting from the second one, horizontally by dimen (this shift is relative to the first line, default=0.5em); - slope=dimen can be used with dropped capitals like A or V to add dimen (positive or negative) to the indentation of each line starting from the third one (no e ect if lines=2, default=0pt); - ante=text can be used to typeset text before the dropped capital (typical use is for French guillemets starting the paragraph); - image=true (new to version 1.6) will force \lettrine to replace the letter normally used as dropped capital by an image in eps format (latex) or in pdf, jpg, etc. format (pdflatex); this needs the graphicx package to be loaded in the preamble of course. \lettrine[image=true]{A}{n exemple} or just \lettrine[image]{A}{n exemple} will load A.eps or A.pdf instead of letter A. This was suggested by Bill Jetzer. Redefining \LettrineFont as \LettrineFontEPS still works for compatibility but is deprecated. == Also, sometimes one wants to indent all indented lines to the same position (instead of intenting the first line less) and this should ideally be possible too. Plus setting a specific color for the initial, but that is handled by ConTeXt's standard features (I guess). Best regards, Mats Broberg Ah ok, I see. No you cannot do that with DroppedCaps, as is. Will post something later ... Taco Peter Münster wrote: On Fri, 25 Feb 2005, Taco Hoekwater wrote: Probably, but .. I do not know what it is that lettrine does that \DroppedCaps does not do. Hello Taco, could you please give an example how to do the same with \DroppedCaps, what is shown on page 30 of http://pmrb.free.fr/work/cours/latex-intro.pdf ? Peter ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Downsampling images in pdfTeX
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of George N. White III As a general principle, it makes no sense for pdftex to provide image manipulation capabilities. Such capabilities are useful to a much wider audience than the users of pdftex, so there are lots of tools to do image resampling and format conversions. All that pdftex should do is support inclusion of pdf. The limited support for including png images is a convenience, but if you are being careful you would want to make pdf images. -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia, Canada Having checked the pdfTeX documentation, doesn't the internal parameter \pdfcompresslevel deal with this? The documentation says: compress level This integer parameter specifies the level of text and in-line graphics compression. pdfTEX uses zip compression as provided by zlib. A value of 0 means no compression, 1 means fastest, 9 means best, 2..8 means something in between. Just set this value to 9, unless there is a good reason to do otherwise - 0 is great for testing macros that use \pdfliteral. Best regards, Mats Broberg ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
RE: [NTG-context] ConTeXt output commercial printing houses: Thanks!
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Gushee Well, yes. Many printers here do prefer PDF. However, there's a small problem in some cases--I know this is true for Kinko's, and was wondering if it's true for regular printers, too: they think that PDF means Adobe PDF--i.e. they believe that Adobe software is *the* way to produce PDF, and are mostly unaware that there is such a thing as a PDF standard. Now, I don't fully understand the issue, but apparently Adobe software doesn't entirely follow the published specs, whereas TeX does. And some processing software seems to be designed specifically to work with the quirks of Acrobat output, and sometimes has trouble with PDFTeX output. At one of the company I work for, we generate thousands of press-ready PDF manuals (250+ pp each) every year that are generated from XML source using XEP from RenderX - with no problems at all. So I don't think it is a requirement for printers that the PDF files are generated using Adobe tools. Now that's interesting. I imagined you would get the best results with images that were designed exactly at the printer resolution. True, for line art - but the exactness is unimportant. A common imagesetter resolution is 2540 lpi, so you may want to create your line art in that resolution. However, most printers prefer 1200 dpi (but not less) for line art, since images with a higher resolution become so large (memory-wise). Regarding halftones (color or grayscale), the commercial printing community rule-of-thumb is a resolution about 2 times the screen count. If your image is 10 cm wide on the scanner and you want it to be 10 cm wide on the paper, and you want the printer use a screen of 150 lpi, scan it at an optical resolution of 300 dpi. However, as I mentioned before, this holds true only if the physical image size and the final image size are the same. If the image is 5 cm wide on the scanner and you want it to be 10 cms wide on the paper, you need to scan it with a resolution of 600 dpi. Never increase the resolution of an already scanned image using software interpolation. Regarding using a higher resolution than 2-2.5 times the screen count, try to avoid it, since the photomechanical laws of process engraving doesn't give you a better final image anyway. However, pls note that I am talking about conventional lito offset here, and that I am talking about a conventional screen technology (amplitude-modulated screening). If you are using waterless lito offset, the screen count is usually quite a bit higher (300-500 lpi are not uncommon), which requires higher resolutions. Also, if you are using a different screening technology - e.g. frequency-modulated screening, or a hybride screening - your images may need to be of a higher resolution too. Talk to your printer. Best regards, Mats Broberg ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
RE: [NTG-context] Re: A few questions regarding ConTeXt
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Münster Sent: den 24 juli 2004 19:45 Hello Mats, I agree with you: ConTeXt is certainly superior to LaTeX, but sometimes, I know how to do a special thing in LaTeX, but not in ConTeXt. Often I don't know, if a special feature is already there but undocumented, or not. Sometimes, I find a sort of workaround to get some LaTeX behaviour, for example \flushbottom. For beginners there is the document http://www.berenddeboer.net/tex/LaTeX2ConTeXt. pdf by Berend de Boer. It would be nice, to have something like this for advanced topics, such as varioref or lettrine. These special LaTeX to ConTeXt examples can then be added to the ConTeXt-wiki: http://contextgarden.net/From_LaTeX_to_ConTeXt Cheers, Peter Thanks for the info. Having looked more closely at this, I guess it now stands between learning LaTeX and the memoir class, or learning ConTeXt. There are things that talk in favour for both these roadmaps, but I have not decided yet. One of the issues is how to solve a problem in ConTeXt if it suddenly becomes clear this or that feature is not implemented. Best regards, Mats Broberg ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
RE: [NTG-context] ConTeXt output commercial printing houses
Yes, I eventually found it in that manual - sorry for using bandwidth for RTFM issues... :) Best regards, Mats Broberg -Original Message- From: Adam Lindsay [mailto:[EMAIL PROTECTED] Sent: den 25 juli 2004 13:59 To: [EMAIL PROTECTED]; 'mailing list for ConTeXt users' Subject: Re: [NTG-context] ConTeXt output commercial printing houses Mats Broberg said this at Sun, 25 Jul 2004 12:01:03 +0200: - I don't quite understand how ConTeXt:ers deal with solid PMS spot colours Mats, have a look at: http://pragma- ade.com/general/manuals/msplit.pdf Disclaimer: I haven't used spot colours yet, but I know it's in a manual. :) -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay [EMAIL PROTECTED] Computing Dept, Lancaster University +44(0)1524/594.537 Lancaster, LA1 4YR, UK Fax:+44(0)1524/593.608 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context