* extended ascii characters @ 2004-01-03 0:29 Gonçalo Morais 2004-01-03 8:05 ` Pawel Jackowski na Onet 2004-01-03 18:51 ` extended ascii characters Hans Hagen 0 siblings, 2 replies; 19+ messages in thread From: Gonçalo Morais @ 2004-01-03 0:29 UTC (permalink / raw) I would like to know how I may use extended ascii characters in context, for example character number 167. Thanks in advance Gonçalo -------------------------------------------- IPLNet WebMail http://www.mail.ipl.pt -------------------------------------------- "Campus Virtual" do IPL - Já Aceite ! http://www.net.ipl.pt/index.html#WIRELESS -------------------------------------------- ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: extended ascii characters 2004-01-03 0:29 extended ascii characters Gonçalo Morais @ 2004-01-03 8:05 ` Pawel Jackowski na Onet 2004-01-03 11:59 ` Gonçalo Morais 2004-01-03 18:51 ` extended ascii characters Hans Hagen 1 sibling, 1 reply; 19+ messages in thread From: Pawel Jackowski na Onet @ 2004-01-03 8:05 UTC (permalink / raw) Hi all! > I would like to know how I may use extended ascii characters in context, for > example character number 167. I'm sure Hans has made a lot of extensions for ,,strange'' character support. But also plain TeX offers \char167 instruction, which returns character 167 according to given font encoding. Is that what You looking for? Regards, Pawe/l ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: extended ascii characters 2004-01-03 8:05 ` Pawel Jackowski na Onet @ 2004-01-03 11:59 ` Gonçalo Morais 2004-01-03 12:04 ` Patrick Gundlach 2004-01-03 17:32 ` Adam Lindsay 0 siblings, 2 replies; 19+ messages in thread From: Gonçalo Morais @ 2004-01-03 11:59 UTC (permalink / raw) [-- Attachment #1: Type: text/plain, Size: 959 bytes --] Thanks for your help... I am aware of \char167 isntruction but in the next example nothing seems to happen!! Gonçalo Pawel Jackowski na Onet writes: > Hi all! > > >> I would like to know how I may use extended ascii characters in context, > for >> example character number 167. > > I'm sure Hans has made a lot of extensions for ,,strange'' character > support. But also plain TeX offers \char167 instruction, which returns > character 167 according to given font encoding. Is that what You looking > for? > > Regards, Pawe/l > > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context -------------------------------------------- IPLNet WebMail http://www.mail.ipl.pt -------------------------------------------- "Campus Virtual" do IPL - Já Aceite ! http://www.net.ipl.pt/index.html#WIRELESS -------------------------------------------- [-- Attachment #2: cara.tex --] [-- Type: application/x-tex, Size: 104 bytes --] ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: extended ascii characters 2004-01-03 11:59 ` Gonçalo Morais @ 2004-01-03 12:04 ` Patrick Gundlach 2004-01-03 18:06 ` Pawel Jackowski na Onet 2004-01-03 17:32 ` Adam Lindsay 1 sibling, 1 reply; 19+ messages in thread From: Patrick Gundlach @ 2004-01-03 12:04 UTC (permalink / raw) "Gonçalo Morais" <gmorais@deea.isel.ipl.pt> writes: > Thanks for your help... I am aware of \char167 isntruction but in the > next example nothing seems to happen!! It surely depends on the fonts you use. Default is cmr, which has, as far as I know, only 7bit encoding. So \char167 will lead to nothing. Switch to another font. Patrick -- Es wird kein Wunder geschehen ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Re: extended ascii characters 2004-01-03 12:04 ` Patrick Gundlach @ 2004-01-03 18:06 ` Pawel Jackowski na Onet 0 siblings, 0 replies; 19+ messages in thread From: Pawel Jackowski na Onet @ 2004-01-03 18:06 UTC (permalink / raw) [-- Attachment #1: Type: text/plain, Size: 496 bytes --] e: extended ascii characters >>"Gonçalo Morais" <gmorais@deea.isel.ipl.pt> writes: >> Thanks for your help... I am aware of \char167 isntruction but in the >> next example nothing seems to happen!! >It surely depends on the fonts you use. Default is cmr, which has, as >far as I know, only 7bit encoding. So \char167 will lead to nothing. >Switch to another font. >Patrick Attached file contains all characters available in cmr10. Indeed, there is no character coded 167. Regards, Pawe/l [-- Attachment #2: sf.ps --] [-- Type: application/postscript, Size: 71764 bytes --] ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Re: extended ascii characters 2004-01-03 11:59 ` Gonçalo Morais 2004-01-03 12:04 ` Patrick Gundlach @ 2004-01-03 17:32 ` Adam Lindsay 2004-01-04 18:09 ` Peter Münster 1 sibling, 1 reply; 19+ messages in thread From: Adam Lindsay @ 2004-01-03 17:32 UTC (permalink / raw) Gonçalo, "Extended ASCII" is relatively uninformative without some information on which encoding you're actually using (ASCII is normative from 0-127). I'll guess you mean '§' (Section mark), which, judging from regi-win and regi-il1, is my guess for the character you mean. (On the mac, it's 'ß' or the eszett, which is less likely judging from your email address.) ConTeXt makes this easy: just use the macro \sectionmark . If the original document uses an "extended ascii" encoding for characters like this, you might find it easier to use this at the beginning of your document: \enableregime[il1] % ...or... \enableregime[windows] % as appropriate. Patrick is very right, and alludes to a (potentially) confusing topic, with font encodings and input regimes. They're actually a very nice, powerful aspect of ConTeXt, where you enter text using your most familiar method, and don't have to worry where each glyph is located on a day-to- day basis. Hope that's some help... adam Gonçalo Morais said this at Sat, 3 Jan 2004 11:59:21 +0000: >Thanks for your help... > >I am aware of \char167 isntruction but in the next example nothing seems to >happen!! > >Gonçalo > > >Pawel Jackowski na Onet writes: > >> Hi all! >> >> >>> I would like to know how I may use extended ascii characters in context, >> for >>> example character number 167. >> >> I'm sure Hans has made a lot of extensions for ,,strange'' character >> support. But also plain TeX offers \char167 instruction, which returns >> character 167 according to given font encoding. Is that what You looking >> for? >> >> Regards, Pawe/l >> >> >> _______________________________________________ >> ntg-context mailing list >> ntg-context@ntg.nl >> http://www.ntg.nl/mailman/listinfo/ntg-context > > > -------------------------------------------- >IPLNet WebMail http://www.mail.ipl.pt > -------------------------------------------- > "Campus Virtual" do IPL - Já Aceite ! > http://www.net.ipl.pt/index.html#WIRELESS > -------------------------------------------- -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay atl@comp.lancs.ac.uk Computing Dept, Lancaster University +44(0)1524/594.537 Lancaster, LA1 4YR, UK Fax:+44(0)1524/593.608 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Re: extended ascii characters 2004-01-03 17:32 ` Adam Lindsay @ 2004-01-04 18:09 ` Peter Münster 2004-01-04 18:58 ` Adam Lindsay 0 siblings, 1 reply; 19+ messages in thread From: Peter Münster @ 2004-01-04 18:09 UTC (permalink / raw) On Sat, 3 Jan 2004, Adam Lindsay wrote: > like this, you might find it easier to use this at the beginning of your > document: > \enableregime[il1] % ...or... > \enableregime[windows] % as appropriate. Hello, since I didn't find any documentation about this command, here 2 questions: * What should I do to use the latin9 encoding? I copied regi-il1.tex with the appropriate changes to regi-il9.tex but it does not work. Anyway: when I get a working il9-file in my private ConTeXt directory, how should I name it? * How do you get hyphenation with accented characters? In LaTeX I used to switch to the EC fonts by issuing \usepackage[T1]{fontenc} I tried the following, but it didn't work: \fr \useencoding[ec] \enableregime[il1] \starttext évolution évolution évolution évolution évolution évolution évolution évolution évolution evolution evolution evolution evolution evolution evolution evolution evolution evolution \stoptext Thanks in advance for any help! Happy new year, Peter -- http://pmrb.free.fr/contact/ ------------------------------------ Film Search site: http://f-s.sf.net/ ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Re: extended ascii characters 2004-01-04 18:09 ` Peter Münster @ 2004-01-04 18:58 ` Adam Lindsay 2004-01-06 7:26 ` Peter Münster 0 siblings, 1 reply; 19+ messages in thread From: Adam Lindsay @ 2004-01-04 18:58 UTC (permalink / raw) Peter Münster said this at Sun, 4 Jan 2004 19:09:38 +0100: >* What should I do to use the latin9 encoding? >I copied regi-il1.tex with the appropriate changes to regi-il9.tex but it >does not work. Anyway: when I get a working il9-file in my private ConTeXt >directory, how should I name it? Peter, off the top of my head, I think you would do: \input regi-il9 % read the file in \useregime [il9] % make sure the regime is loaded \enableregime [il9] % activate it. I'm pretty clueless about hyphenation, though. adam -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay atl@comp.lancs.ac.uk Computing Dept, Lancaster University +44(0)1524/594.537 Lancaster, LA1 4YR, UK Fax:+44(0)1524/593.608 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Re: extended ascii characters 2004-01-04 18:58 ` Adam Lindsay @ 2004-01-06 7:26 ` Peter Münster 2004-01-06 14:12 ` Henning Hraban Ramm 0 siblings, 1 reply; 19+ messages in thread From: Peter Münster @ 2004-01-06 7:26 UTC (permalink / raw) On Sun, 4 Jan 2004, Adam Lindsay wrote: > Peter Münster said this at Sun, 4 Jan 2004 19:09:38 +0100: > > >* What should I do to use the latin9 encoding? > >I copied regi-il1.tex with the appropriate changes to regi-il9.tex but it > >does not work. Anyway: when I get a working il9-file in my private ConTeXt > >directory, how should I name it? > > Peter, off the top of my head, I think you would do: > \input regi-il9 % read the file in > \useregime [il9] % make sure the regime is loaded > \enableregime [il9] % activate it. Thanks, my mistake was not to use the \useregime command. > I'm pretty clueless about hyphenation, though. Oh, too bad... :( I'll ask this question perhaps another day, if I don't get it. Cheers, Peter -- http://pmrb.free.fr/contact/ ------------------------------------ Film Search site: http://f-s.sf.net/ ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Re: extended ascii characters 2004-01-06 7:26 ` Peter Münster @ 2004-01-06 14:12 ` Henning Hraban Ramm 2004-01-06 16:58 ` hyphenation (was: Re: extended ascii characters) Peter Münster 0 siblings, 1 reply; 19+ messages in thread From: Henning Hraban Ramm @ 2004-01-06 14:12 UTC (permalink / raw) Am Dienstag, 06.01.04, um 08:26 Uhr (Europe/Zurich) schrieb Peter Münster: >> I'm pretty clueless about hyphenation, though. > Oh, too bad... :( > I'll ask this question perhaps another day, if I don't get it. For correct hyphenation and some other details you need to declare your language: \mainlanguage[fr] or \language[fr] HTH Grüßlis vom Hraban! -- http://www.fiee.net/texnique/ ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: hyphenation (was: Re: extended ascii characters) 2004-01-06 14:12 ` Henning Hraban Ramm @ 2004-01-06 16:58 ` Peter Münster 2004-01-06 21:37 ` hyphenation Henning Hraban Ramm 0 siblings, 1 reply; 19+ messages in thread From: Peter Münster @ 2004-01-06 16:58 UTC (permalink / raw) On Tue, 6 Jan 2004, Henning Hraban Ramm wrote: > For correct hyphenation and some other details you need to declare your > language: > \mainlanguage[fr] or \language[fr] The original posted example began with \fr, which should be the same as \language[fr]. Here again the example, where you can see the problem. \fr \useencoding[ec] \enableregime[il1] \starttext évolution évolution évolution évolution évolution évolution évolution évolution évolution evolution evolution evolution evolution evolution evolution evolution evolution evolution \stoptext Cheers, Peter -- http://pmrb.free.fr/contact/ ------------------------------------ Film Search site: http://f-s.sf.net/ ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: hyphenation 2004-01-06 16:58 ` hyphenation (was: Re: extended ascii characters) Peter Münster @ 2004-01-06 21:37 ` Henning Hraban Ramm 2004-01-07 6:21 ` hyphenation Peter Münster 0 siblings, 1 reply; 19+ messages in thread From: Henning Hraban Ramm @ 2004-01-06 21:37 UTC (permalink / raw) Am Dienstag, 06.01.04, um 17:58 Uhr (Europe/Zurich) schrieb Peter Münster: > The original posted example began with \fr, which should be the same as > \language[fr]. right. > Here again the example, where you can see the problem. Here's no problem - I get hyphenation. Grüßlis vom Hraban! -- http://www.fiee.net/texnique/ ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: hyphenation 2004-01-06 21:37 ` hyphenation Henning Hraban Ramm @ 2004-01-07 6:21 ` Peter Münster 2004-01-07 17:39 ` hyphenation: latin modern fonts Helmut Schwertner 0 siblings, 1 reply; 19+ messages in thread From: Peter Münster @ 2004-01-07 6:21 UTC (permalink / raw) On Tue, 6 Jan 2004, Henning Hraban Ramm wrote: > > Here again the example, where you can see the problem. > > Here's no problem - I get hyphenation. Ok, then there must be a problem with my installation. I only get "evolution" hyphenated, but not "évolution"... :( Cheers, Peter -- http://pmrb.free.fr/contact/ ------------------------------------ Film Search site: http://f-s.sf.net/ ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: hyphenation: latin modern fonts 2004-01-07 6:21 ` hyphenation Peter Münster @ 2004-01-07 17:39 ` Helmut Schwertner 2004-01-08 18:46 ` Peter Münster 0 siblings, 1 reply; 19+ messages in thread From: Helmut Schwertner @ 2004-01-07 17:39 UTC (permalink / raw) Hello Peter, Peter Münster schrieb: >>>Here again the example, where you can see the problem. >>Here's no problem - I get hyphenation. > Ok, then there must be a problem with my installation. I only get "evolution" > hyphenated, but not "évolution"... :( > Cheers, Peter > take the latin modern fonts. This example works with winxp and miktex: ************************************************************* \language[fr] % \useencoding[ec] \enableregime[il1] % latin modern fonts \usetypescript [all] [latin-modern] [texnansi] \setupbodyfont[reset] \setupbodyfont[cmr] \starttext évolution évolution évolution évolution évolution évolution évolution évolution évolution evolution evolution evolution evolution evolution evolution evolution evolution evolution \stoptext ************************************************************************ -- ****************************** Helmut Schwertner Schülperbaum 4 24103 K i e l phone: 0431 58 78 502 eMail: schwertner@t-online.de ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: hyphenation: latin modern fonts 2004-01-07 17:39 ` hyphenation: latin modern fonts Helmut Schwertner @ 2004-01-08 18:46 ` Peter Münster 2004-01-08 19:10 ` Willi Egger 0 siblings, 1 reply; 19+ messages in thread From: Peter Münster @ 2004-01-08 18:46 UTC (permalink / raw) On Wed, 7 Jan 2004, Helmut Schwertner wrote: > Peter Münster schrieb: > >>>Here again the example, where you can see the problem. > >>Here's no problem - I get hyphenation. > > Ok, then there must be a problem with my installation. I only get "evolution" > > hyphenated, but not "évolution"... :( > take the latin modern fonts. This example works with winxp and miktex: Thanks for this hint. But as I read in newsgroup d.c.t.t aren't there still bugs with the kerning etc? Strange: I don't have Latin Modern installed, but your example file compiled here with texexec without any error nor warning message... Under LaTeX I used the EC fonts. Will it be difficult to get them work with ConTeXt? So, there is no problem with my installation? Thanks for your help, Peter -- http://pmrb.free.fr/contact/ ------------------------------------ Film Search site: http://f-s.sf.net/ ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: hyphenation: latin modern fonts 2004-01-08 18:46 ` Peter Münster @ 2004-01-08 19:10 ` Willi Egger 2004-01-09 21:30 ` Peter Münster 0 siblings, 1 reply; 19+ messages in thread From: Willi Egger @ 2004-01-08 19:10 UTC (permalink / raw) Peter Münster wrote: >On Wed, 7 Jan 2004, Helmut Schwertner wrote: > > > >>Peter Münster schrieb: >> >> > > > >>>>>Here again the example, where you can see the problem. >>>>> >>>>> > > > >>>>Here's no problem - I get hyphenation. >>>> >>>> > > > >>>Ok, then there must be a problem with my installation. I only get "evolution" >>>hyphenated, but not "évolution"... :( >>> >>> > > > >>take the latin modern fonts. This example works with winxp and miktex: >> >> > >Thanks for this hint. But as I read in newsgroup d.c.t.t aren't there still >bugs with the kerning etc? > >Strange: I don't have Latin Modern installed, but your example file >compiled here with texexec without any error nor warning message... > >Under LaTeX I used the EC fonts. Will it be difficult to get them work with >ConTeXt? > >So, there is no problem with my installation? > >Thanks for your help, Peter > > > Hi Peter, Provided that you use a recent CONTEXT, everything should be there. Get the fonts from CTAN or from the TEXlive Collection (directory is outside the texmf-tree). Within CONTEXT: \usetypescript[modern][texnansi] %or whatever you like \setupbodyfont[modern,rms,11pt] I stand corrected, but because of the matching mechanism, you will get CMR if the Latin Modern fonts are not available - Check the pdf file's font properties Kind regards Willi ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: hyphenation: latin modern fonts 2004-01-08 19:10 ` Willi Egger @ 2004-01-09 21:30 ` Peter Münster 0 siblings, 0 replies; 19+ messages in thread From: Peter Münster @ 2004-01-09 21:30 UTC (permalink / raw) On Thu, 8 Jan 2004, Willi Egger wrote: > Provided that you use a recent CONTEXT, everything should be there. Get > the fonts from CTAN or from the TEXlive Collection (directory is outside > the texmf-tree). > Within CONTEXT: > > \usetypescript[modern][texnansi] %or whatever you like > \setupbodyfont[modern,rms,11pt] Ok, I installed the newest ConTeXt and the lm fonts. Hyphenation is good now. The only thing I had to do, was adding lm.map to the files config.ps, xdvi.cfg and pdftex.cfg. Thanks, Peter -- http://pmrb.free.fr/contact/ ------------------------------------ Film Search site: http://f-s.sf.net/ ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: extended ascii characters 2004-01-03 0:29 extended ascii characters Gonçalo Morais 2004-01-03 8:05 ` Pawel Jackowski na Onet @ 2004-01-03 18:51 ` Hans Hagen 2004-01-04 23:10 ` Gonçalo Morais 1 sibling, 1 reply; 19+ messages in thread From: Hans Hagen @ 2004-01-03 18:51 UTC (permalink / raw) At 01:29 03/01/2004, you wrote: >I would like to know how I may use extended ascii characters in context, >for example character number 167. >Thanks in advance normally this is handled by font encoding and input regimes if you want to directly access a char, how about: \definesymbol[whatever][\getglyph{...}{167}] see symb-*.tex for examples Hans ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: extended ascii characters 2004-01-03 18:51 ` extended ascii characters Hans Hagen @ 2004-01-04 23:10 ` Gonçalo Morais 0 siblings, 0 replies; 19+ messages in thread From: Gonçalo Morais @ 2004-01-04 23:10 UTC (permalink / raw) I will, thank you all for your support. Gonçalo Hans Hagen writes: > At 01:29 03/01/2004, you wrote: > >> I would like to know how I may use extended ascii characters in context, >> for example character number 167. >> Thanks in advance > > normally this is handled by font encoding and input regimes > > if you want to directly access a char, how about: > > \definesymbol[whatever][\getglyph{...}{167}] > > see symb-*.tex for examples > > Hans > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context -------------------------------------------- IPLNet WebMail http://www.mail.ipl.pt -------------------------------------------- "Campus Virtual" do IPL - Já Aceite ! http://www.net.ipl.pt/index.html#WIRELESS -------------------------------------------- ^ permalink raw reply [flat|nested] 19+ messages in thread
end of thread, other threads:[~2004-01-09 21:30 UTC | newest] Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2004-01-03 0:29 extended ascii characters Gonçalo Morais 2004-01-03 8:05 ` Pawel Jackowski na Onet 2004-01-03 11:59 ` Gonçalo Morais 2004-01-03 12:04 ` Patrick Gundlach 2004-01-03 18:06 ` Pawel Jackowski na Onet 2004-01-03 17:32 ` Adam Lindsay 2004-01-04 18:09 ` Peter Münster 2004-01-04 18:58 ` Adam Lindsay 2004-01-06 7:26 ` Peter Münster 2004-01-06 14:12 ` Henning Hraban Ramm 2004-01-06 16:58 ` hyphenation (was: Re: extended ascii characters) Peter Münster 2004-01-06 21:37 ` hyphenation Henning Hraban Ramm 2004-01-07 6:21 ` hyphenation Peter Münster 2004-01-07 17:39 ` hyphenation: latin modern fonts Helmut Schwertner 2004-01-08 18:46 ` Peter Münster 2004-01-08 19:10 ` Willi Egger 2004-01-09 21:30 ` Peter Münster 2004-01-03 18:51 ` extended ascii characters Hans Hagen 2004-01-04 23:10 ` Gonçalo Morais
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).