[NTG-context] m-bib and \setupinteraction

2004-06-06 Thread Peter Münster
Not so important, but strange behaviour: \setupoutput[pdftex] \usemodule[bib] % no problem if this line comes after \setupinteraction \setupinteraction[author=Jan,title=Titel] % strange: title ok, but not author \starttext bla \stoptext Cheers, Peter -- http://pmrb.free.fr/contact/

Re: [NTG-context] Re: pdfTeX questions

2004-06-06 Thread Peter Münster
On Mon, 31 May 2004, Patrick Gundlach wrote: > > FitBH means, fit to width of bounding box. When reading text on the screen, > > the combination of FullScreen and FitBH seems to me optimal. > > I could not find anything like this in ConTeXt. After a while of searching, I found in spec-fdf.tex th

Re: [NTG-context] Perl scripting (was: Arabic-utf-8)

2004-06-06 Thread Henning Hraban Ramm
Am Sonntag, 06.06.04, um 02:19 Uhr (Europe/Zurich) schrieb Idris Samawi Hamid: open(NEW,">new.tex"); #opens file to print out the result better: open NEW, ">", "new.tex" || die $!; $_ =~ s/\xD8\xA7/A/g; #this is the actual conversion if you work with $_ you can leave it out, simply: s/\xD8\xA7/A/

Re: [NTG-context] Arabic-utf-8 (plus a sample)

2004-06-06 Thread George N. White III
On Sat, 5 Jun 2004, Idris Samawi Hamid wrote: Hi gang, For Arabic we use a Latin transcription in Aleph/(e-)Omega (or even ArabTeX) unless one of the encoding filters like utf-8 is used. Even for utf-8 files, however, it would be very useful to be able to convert a utf-8 file to Latin transcript

Re: [NTG-context] Perl scripting (was: Arabic-utf-8)

2004-06-06 Thread Idris Samawi Hamid
On Sun, 6 Jun 2004 11:09:32 +0200, Henning Hraban Ramm <[EMAIL PROTECTED]> wrote: - #!/usr/bin/perl -w use strict; use warnings; my ($Source, $Target) = (shift, shift); # gets 2 file names from command line my %conv = (# enhance as needed "\xD8xA7" => "A", "\xD8xA8" => "

Re: [NTG-context] Perl scripting (was: Arabic-utf-8)

2004-06-06 Thread Thomas A. Schmitz
Well, if you put the use open ':utf8'; in the header of your perl script, it should work without the hex editor (btw: I would recommend using emacs in hex mode (M-x hexl-find-file). And just for the record: to put the entire file in one array, use this: my @lines = <>; my $text = join "", @lines