Re: [NTG-context] font encodings (glyph lossed with Gentium in T5)
On 1/21/06, Henning Hraban Ramm <[EMAIL PROTECTED]> wrote: > > Ok, I'm uploading the next version. Just tested. ... ){/work/apps/teTeX/share/texmf-local/fonts/enc/dvips/vntex/t5.enc} Output written on test-gentium.pdf (1 page, 25034 bytes). Transcript written on test-gentium.log. The glyph "dcroat" was not found :( I think there is problem in Gentium fonts with this glyph. Thank you, Regards, -- http://vnoss.org Vietnamese Open Source Software Community ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Dropped caps, \startlines\stoplines, and indentation question
Hello, I'm having trouble using dropped caps within \startlines\stoplines. I'm trying to typeset some poetry and I'm using \setuplines[space=yes]. I'd like to use dropped caps and have the indented lines be additionally indented by any space at the beginning of the lines. See the following example - the first part shows roughly the result I want (but with manual formatting/spacing), the second part shows the result of \DroppedCaps inside \startlines\stoplines, and the third part uses the lettrine module. The lettrine module comes close, but Nindent doesn't seem to affect the indented lines within \startlines\stoplines. \usemodule[lettrine] \def\MyDroppedCaps% { \DroppedCaps {} {Serif} {2\baselineskip} {2pt} {1\baselineskip} {2} } \setuplines[space=yes] \starttext \MyDroppedCaps S{\sc umer} is icumen in,\crlf \hbox to .6em{}Lhude sing cuccu!\crlf Groweth sed, and bloweth med,\crlf \hbox to .6em{}And springth the wude nu---\crlf \hbox to 3.3em{}Sing cuccu! \startlines \MyDroppedCaps S{\sc umer} is icumen in, Lhude sing cuccu! Groweth sed, and bloweth med, And springth the wude nu--- Sing cuccu! \stoplines \startlines \lettrine{S}{umer} is icumen in, Lhude sing cuccu! Groweth sed, and bloweth med, And springth the wude nu--- Sing cuccu! \stoplines \stoptext Any suggestions for how to do this? I'm a beginning ConTeXt user, so if there's a better/different way to do this, I'd be happy to hear it! Also, I read the list in digest form. For the benefit of people using threaded mail readers, is there a better way to reply to individual messages than replying to the digest message and editing the Subject line appropriately? Thanks very much, Adrian Drury ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] SciTE Setup in Windows and .rb scripts
Hi This is still in the same line as my effort to make SciTE work flawlessly with ConTeXt. Accoridng to Hans's last email on the subject, I thought that I have to install Lua and Python on my Win XP machine too. So I did. Lua seems to be a very small program. Am I right? I installed version 5.1 for Win32 and it has only 4 files, of which 3 are .exe files and one is a .dll. In my try to make things to work, now even my TeX files don't compile. The structure of my files is like this: 1) context.properties is in the same path as SciTEUser.properties and the latter file has only one line in it: import context 2) All other context-*-scite.properties files are in the main folder of SciTE. 3) I noticed that there should be come file scite-ctx.properties in one of the directories. I have put it in the main SciTE folder. Is that the right place? 4) Isn't there some other ctx files that should be copied to the main SciTE folder? Where can I get those? I didn't find those in the MikTeX implementation on my machine? 5) As soon as I press F7 in the output view I get: >texmfstart concheck.rb myfile.tex unknown file type: texmfscripts >Exit code: 0 No output is being generated. Sorry to take your time with this issue. It might sound simple to some people, but it actually isn't that simple. I will write about my experiences later on when I am done with the setup. Thanks. -hooman ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] font encodings (glyph lossed with Gentium in T5)
Am 2006-01-21 um 23:13 schrieb VnPenguin: 1. In the file t5-sil-gentium.map, I see: -- t5-raw-genai101 GentiumAlt-Italic 4 < genai101.ttf t5.enc t5-raw-genar101 GentiumAlt 4 < genar101.ttf t5.enc t5-raw-geni101 Gentium-Italic 4 < geni101.ttf t5.enc t5-raw-genr101 Gentium 4 < genr101.ttf t5.enc t5-raw-genai102 GentiumAlt-Italic 4 < genai102.pfb t5.enc t5-raw-genar102 GentiumAlt 4 < genar102.pfb t5.enc t5-raw-geni102 Gentium-Italic 4 < geni102.pfb t5.enc t5-raw-genr102 Gentium 4 < genr102.pfb t5.enc -- - Why 1.01 ttf are still there ? And why 1.02 PFB while there are only TTF in your package ? texfont never deletes a mapfile - it writes not only a .bak, but also only appends entries, even if the old stuff is wrong... Additionally, it always writes entries for PFB files, even if there are only TTF. A known bug (at least for me), but sometimes I forget to fix that. Ok, I'm uploading the next version. 2. I don't think that files fonts.cache-1 are necessary for ConTeXt :-) You're right, but they don't hurt also ;-) I tried to config pango/fontconfig of my LilyPond installation so that it also finds TeX fonts. Until now it only writes these cache files, but never uses the fonts... At the moment I'm struggling with a font that uses different names in PFB, AFM and else. Chaos! It doesn't even provide accentes characters. I guess I'll drop it. Greetlings from Lake Constance! Hraban --- http://www.fiee.net http://www.cacert.org (I'm an assurer) ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] font encodings (glyph lossed with Gentium in T5)
On 1/21/06, Henning Hraban Ramm <[EMAIL PROTECTED]> wrote: > > Sorry, I missed that update. Just downloaded it and created the files > anew (now online), but no change. > I guess the strike-through d should be in slot 31; probably an > encoding problem. > I guess I should update ConTeXt, another encoding problem in ec was > fixed. > Just tried your new package. 1. In the file t5-sil-gentium.map, I see: -- t5-raw-genai101 GentiumAlt-Italic 4 < genai101.ttf t5.enc t5-raw-genar101 GentiumAlt 4 < genar101.ttf t5.enc t5-raw-geni101 Gentium-Italic 4 < geni101.ttf t5.enc t5-raw-genr101 Gentium 4 < genr101.ttf t5.enc t5-raw-genai102 GentiumAlt-Italic 4 < genai102.pfb t5.enc t5-raw-genar102 GentiumAlt 4 < genar102.pfb t5.enc t5-raw-geni102 Gentium-Italic 4 < geni102.pfb t5.enc t5-raw-genr102 Gentium 4 < genr102.pfb t5.enc --- Why 1.01 ttf are still there ? And why 1.02 PFB while there are only TTF in your package ? 2. I don't think that files fonts.cache-1 are necessary for ConTeXt :-) $ unzip -l sil-gentium.zip | grep fonts.cache 0 08-10-05 11:50 fonts/afm/sil/gentium/fonts.cache-1 0 08-10-05 11:51 fonts/tfm/sil/gentium/fonts.cache-1 3334 08-10-05 11:51 fonts/truetype/sil/gentium/fonts.cache-1 0 08-10-05 11:53 fonts/vf/sil/gentium/fonts.cache-1 Thank for your work, Regards, -- http://vnoss.org Vietnamese Open Source Software Community ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] font encodings (glyph lossed with Gentium in T5)
Sorry, I missed that update. Just downloaded it and created the files anew (now online), but no change. I guess the strike-through d should be in slot 31; probably an encoding problem. I guess I should update ConTeXt, another encoding problem in ec was fixed. It didn't help, 'dcroat' is still missing. Ok, I tracked it down: The tool that creates AFMs from TTFs, that is called by texfont, doesn't get all characters! I opened the font files with FontForge and wrote AFMs with that, now it works (same with Junicode). A new upload will follow in some minutes. Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://contextgarden.net http://www.cacert.org (I'm an assurer) ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] AutoDroppedCaps and indenting
This may be a silly question, but it appears the use of \AutoDroppedCaps (or \DroppedCaps) causes indenting settings to do away. For example: \AutoDroppedCaps \setupwhitespace[none] \setupinterlinespace[small] \setupindenting[medium] \indenting[yes] \starttext Para 1 blah blah blah para 1 blah blah blah para 1 blah blah blah para 1 blah blah blah para 1 blah blah blah para blah blah blah para 1 blah blah blah para 1 blah blah blah para 1 blah blah blah Para 2 blah blah blah para 2 blah blah blah para 2 blah blah blah para 2 blah blah blah para 2 blah blah blah para 2 blah blah blah para 2 blah blah blah para 2 blah blah blah para 2 blah blah blah para 2 blah blah blah Para 3 blah blah blah para 3 blah blah blah para 3 blah blah blah para 3 blah blah blah para 3 blah blah blah para 3 blah blah blah para 3 blah blah blah para 3 blah blah blah para 3 blah blah blah \stoptext = Without \AutoDroppedCaps each paragraph is indented as expected. With \AutoDroppedCaps, none of the paragraphs are indented. If \AutoDroppedCaps is enabled, if I place \indenting[yes] immediately after the first word of the first paragraph (so it looks like "Para \indenting[yes] 1"), then the 3rd paragraph is indented, but the second one is still flush-left. Any ideas? Thanks, -joshua ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] font encodings (glyph lossed with Gentium in T5)
Am 2006-01-21 um 20:26 schrieb VnPenguin: Ok, Gentium is now online including t5 encoding. (That's not yet mentioned on the page.) Just tested your package. I loss a glyph which I dont know the name. Its shot is at : http://people.vnoss.org/~vnpenguin/pub/shots/gentium-dd.png It seems that you use Gentium 1.01. With Gentium 1.02 in my box, I could use this glyph no problem (the shot was done with Gentium 1.02 in Leafpad editor). I try to replace your ttf by 1.02 release by modifying map file. But this does not help. Maybe we need to recreate files with 1.02 ? Sorry, I missed that update. Just downloaded it and created the files anew (now online), but no change. I guess the strike-through d should be in slot 31; probably an encoding problem. I guess I should update ConTeXt, another encoding problem in ec was fixed. Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://contextgarden.net http://www.cacert.org (I'm an assurer) ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] font encodings (glyph lossed with Gentium in T5)
On 1/21/06, Henning Hraban Ramm <[EMAIL PROTECTED]> wrote: ... > Ok, Gentium is now online including t5 encoding. (That's not yet > mentioned on the page.) > Just tested your package. I loss a glyph which I dont know the name. Its shot is at : http://people.vnoss.org/~vnpenguin/pub/shots/gentium-dd.png It seems that you use Gentium 1.01. With Gentium 1.02 in my box, I could use this glyph no problem (the shot was done with Gentium 1.02 in Leafpad editor). I try to replace your ttf by 1.02 release by modifying map file. But this does not help. Maybe we need to recreate files with 1.02 ? Thank you, -- http://vnoss.org Vietnamese Open Source Software Community ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Problems installing Gentium TTF
Am 2006-01-21 um 17:56 schrieb Kumar Appaiah: from texexec. I have installed the fonts with --en=ec, so that is ruled out. What could the problem be? I don't know where your problems come from. You could just try using the package from my site: http://www.fiee.net/texnique/?menu=0-1-4 Don't forget to texhash! Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://contextgarden.net http://www.cacert.org (I'm an assurer) ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] setupheadertexts + kap/uppercase
Hello, Sebastian Rooks schrieb: > Did you try with a \fetchmark[chapter][first] as explained on the wiki ? > http://wiki.contextgarden.net/Headers_and_Footers , section 2 "Using > capitals" That indeed worked. (I looked at ConTeXtgarden, but I seemingly missed the right keyword in my search :-( shame on me.) Anyway, \uppercase have some problems. I get with --- \enableregime[utf] \setupheadertexts[][{\expanded{\uppercase{\fetchmark[chapter][first]}}}] \starttext \chapter{Einführung} % EINFÜHRUNG \uppercase{ÄÖÜäöüß} % should be ÄÖÜÄÖÜSS \stoptext --- "ÄÖÜÄÖüß" ("üß" should be "ÜSS") and in the header I get "EINFßHRUNG". Tobias ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \setupindenting & \chapter indention
Tobias Burnus wrote: Hello, I want to have: aa aa bbb b That is: The second paragraph being indented. I tried: - \setupindenting[next,yes,big] Ordering matters, it seems. Try this: \setupindenting[next,big,yes] Don't know about that other problem. In addition, I have the problem that -- \chapter{foo} bar -- is printed as | 1 foo |bar No such problem here (and I also use the 01.16 version). Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] setupheadertexts + kap/uppercase
Hello, Did you try with a \fetchmark[chapter][first] as explained on the wiki ? http://wiki.contextgarden.net/Headers_and_Footers , section 2 "Using capitals" Yours, SeB Tobias Burnus a écrit : Hello, I think I have a expand problem. I want to have \setupheadertexts[pagenumber][{\getmarking[chapter][current]}][section][pagenumber] with the chapter in \uppercase/\kaps. The problem is that adding a \uppercase or \kap before the {\getmarking} ends up with nothing and all my attemps with expand* ended up with either the same result or with a TeX error message. Using \setupheader[style=kap] (or =cap) does not work - as TeX bails out: ! Undefined control sequence. \p!doifinstringelse ...ifinstringelse #2#1}@@\war Any idea how to solve this? Tobias PS: I just saw that I asked the same question two years ago (15 January 2004): http://www.mail-archive.com/ntg-context@ntg.nl/msg02175.html ___ 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] \setupindenting & \chapter indention
Hello, I want to have: aa aa bbb b That is: The second paragraph being indented. I tried: - \setupindenting[next,yes,big] \starttext fajkhfkldjglfd FJHDLKSGJLKDS \stoptext but both paragraphs as not indented. * * * In addition, I have the problem that -- \chapter{foo} bar -- is printed as | 1 foo |bar i.e. the "1 foo" starts too far at the right * * * The first problem I also see using http://live.contextgarden.net/, the other not. (My ConTeXt is newer though, 2006.01.16 18:35). Tobias ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Problems installing Gentium TTF
Hello! I am tryingto install the Gentium True type fonts, following the instructions at http://wiki.contextgarden.net/Installing_a_TrueType_font%2C_step_by_step Everything went of well, and I was also able to get the pages of glyphs from the tests. However, when I try to get the test document provided at the end of that page to work, I get: bodyfont: unknown variant MyGentium from texexec. I have installed the fonts with --en=ec, so that is ruled out. What could the problem be? Thanks. Kumar -- Kumar Appaiah, 462, Jamuna Hostel, Indian Institute of Technology Madras, Chennai - 600 036 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] setupheadertexts + kap/uppercase
Hello, I think I have a expand problem. I want to have \setupheadertexts[pagenumber][{\getmarking[chapter][current]}][section][pagenumber] with the chapter in \uppercase/\kaps. The problem is that adding a \uppercase or \kap before the {\getmarking} ends up with nothing and all my attemps with expand* ended up with either the same result or with a TeX error message. Using \setupheader[style=kap] (or =cap) does not work - as TeX bails out: ! Undefined control sequence. \p!doifinstringelse ...ifinstringelse #2#1}@@\war Any idea how to solve this? Tobias PS: I just saw that I asked the same question two years ago (15 January 2004): http://www.mail-archive.com/ntg-context@ntg.nl/msg02175.html ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] font encodings (was: palatino fonts)
On 1/21/06, Henning Hraban Ramm <[EMAIL PROTECTED]> wrote: > > Ok, Gentium is now online including t5 encoding. (That's not yet > mentioned on the page.) cool! I'll try it :) Thank you so much, Regards, -- http://vnoss.org Vietnamese Open Source Software Community ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Subtle problem with startformula
All, If you're not aware of this one, consider: \placeformula[-] \startformula [-2,2)=\{x:\, -2\le x < 2\}. \stopformula Won't compile, but try: \placeformula[-] \startformula\relax [-2,2)=\{x:\, -2\le x < 2\}. \stopformula ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] last natural table column longer
Taco Hoekwater wrote: Hi Vit, Vit Zyka wrote: Hello Wizards, my multi page (and multicolumn) table exceeds the last page by 2 rows. Is there a way to make last column a bit longer? Here is a minimal example: The underlying problem is that you have to enlarge the height of page 2. I don't know how that is 'normally' done, but perhaps it gives someone else a hint ? Answer to my own question: Question: Imagine a table (\bTABLE) spanning several pages. Moreover the table is inside multicolumn (\startcolumn). How to make some column longer (having more rows in some column)? (Column height is given by page height.) Solution: 1. Make page heigher (as high as the highest column) on every page where the table is: \setuplayout[lines=..] 2. Insert blank rows to appropriate table places to fill the columns: \dorecurse{..}{\bTR\bTD\strut\eTD\eTR} Remarks: 1. \adaptlayout{page}{height=+...} has limited capability of making page heigher (not overcomes footer) so \setuplayout is more flexible. 2. Forsing column break by \bTR[after=\column]\bTD...\eTD\eTR works but add some spurious space on the top of next column. I was not able to remove it even experimenting with my own \installcolumnbreakhandler {MUL} {forse} {...} and using \bTR[after={\columnbreak[forse]}]\bTD...\eTD\eTR Spurious space demonstration: -- \startbuffer[table] \bTABLE[split=yes] \dorecurse{20}{\bTR\bTD cell #1\eTD\eTR} \bTR[after={\columnbreak[yes]}]\bTD between \eTD\eTR \dorecurse{100}{\bTR\bTD cell #1\eTD\eTR} \eTABLE \stopbuffer \starttext \startcolumns \getbuffer[table] \stopcolumns \stoptext -- Vit ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] font encodings (was: palatino fonts)
With curiosity, does your typescripts for Gentium support T5 encoding ? :) We use Gentium ok for Vietnamese utf-8 here (Openoffice, Abiword,) and it will be nice if you could provide vietnamese support ... :) My type scripts always use \defaultencoding - that's not always the best, but mostly... (One could use a list of appropriate encodings instead.) I don't yet provide support files for t5 encoding, only ex, texnansi and qx. But it would be no problem to make them for Gentium (and other fonts that contain the glyphs). But I must think about a better structure of my fonts list before... (http://www.fiee.net/texnique/?menu=0-1-4) Ok, Gentium is now online including t5 encoding. (That's not yet mentioned on the page.) Now, Gentium also contains Greek glyphs, and some other fonts contain Cyrillic. Which encoding should I provide for these scripts? (Only one for each, if possible!) Is there any way how I could automatically detect, how much of some encoding a font covers? E.g. check a font (TTF, OTF, AFM?) against texnansi, ec, qx, t5, t2a... and make the files for it if most of the slots could be filled. Something completely different: I'm looking for an idea how I could automatically create a small font preview (one line) as a bitmap. Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://contextgarden.net http://www.cacert.org (I'm an assurer) ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] palatino fonts
Am 2006-01-20 um 21:29 schrieb VnPenguin: The Gentium typescript is already in the typescripts.zip for a long time. With curiosity, does your typescripts for Gentium support T5 encoding ? :) We use Gentium ok for Vietnamese utf-8 here (Openoffice, Abiword,) and it will be nice if you could provide vietnamese support ... :) My type scripts always use \defaultencoding - that's not always the best, but mostly... (One could use a list of appropriate encodings instead.) I don't yet provide support files for t5 encoding, only ex, texnansi and qx. But it would be no problem to make them for Gentium (and other fonts that contain the glyphs). But I must think about a better structure of my fonts list before... (http://www.fiee.net/texnique/?menu=0-1-4) Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://contextgarden.net http://www.cacert.org (I'm an assurer) ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] lijgatures in LM
Mojca Miklavec wrote: Hello, (the Dutch team), Is it possible to prevent the "IJ" ligature in ec encoding in LM fonts in ConTeXt somehow (except with manual intervention in every word containing IJ)? I checked the behaviour in LaTeX with \usepackage[T1]{inputenc} with the default font (some kind of Type 1 CM, but not LM), but it seems that only LM changes I and J to a ligature (grrr ...). With the font in LaTeX it works OK. You can do this (only works in pdftex): \definefonthandling [noij][noij][type=tag] \startfonthandling[noij] \settagcode I {\notagcode} \settagcode i {\notagcode} \stopfonthandling \enablehandling[noij] Be warned that this also destroys any kerning info for the I and i. Not a big problem in this case (the number of kernings is minimal) but something to watch out for in general. Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context