Re: [NTG-context] [OT] compiling pdfTeX 1.20 on MacOS X
Henning Hraban Ramm wrote: The latest beta of ConTeXt needs pdfTeX 1.20, and I'd like to use it but the latest pdfTeX doesn't compile completely on my Panther, I always get the following last words after some making and compiling: No problems here, except the nastiness of using Build and build at the same place -- there are file systems around which are a little braindead and regard capitalization as optional, i.e., on a Mac build and Build refer to the same file. I just renamed Build to Build.sh and went ahead. I don't speak C, so I don't understand if it tells that gcc -no-cpp-precomp is wrong (can't be, it works anywhere) or that libtool is wrong or what? The quotes around it shouldn't be there. In any case, why is it trying to use that? Did you pass that in explicitly or do you have any environment variable set for it? (Try set | grep gcc in a terminal.) regards, Christopher Creutzig ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] [OT] compiling pdfTeX 1.20 on MacOS X
Christopher Creutzig wrote: Henning Hraban Ramm wrote: The latest beta of ConTeXt needs pdfTeX 1.20, and I'd like to use it but the latest pdfTeX doesn't compile completely on my Panther, I always get the following last words after some making and compiling: not needs, prefers -) No problems here, except the nastiness of using Build and build at the same place -- there are file systems around which are a little braindead and regard capitalization as optional, i.e., on a Mac build and Build refer to the same file. I just renamed Build to Build.sh and went ahead. I don't speak C, so I don't understand if it tells that gcc -no-cpp-precomp is wrong (can't be, it works anywhere) or that libtool is wrong or what? you may try: www.pragma-ade.com/context/install/osx.zip Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] [OT] compiling pdfTeX 1.2 on MacOS X
Hello together! I know, this is a bit OT, but... The latest beta of ConTeXt needs pdfTeX 1.20, and I'd like to use it but the latest pdfTeX doesn't compile completely on my Panther, I always get the following last words after some making and compiling: /bin/sh ../libtool --mode=compile gcc -no-cpp-precomp -DHAVE_CONFIG_H -I. -I../../../src/texk/kpathsea -I.. -I../../../src/texk/kpathsea/.. -g -O2 -DMAKE_KPSE_DLL -c ../../../src/texk/kpathsea/tex-file.c gcc -no-cpp-precomp -DHAVE_CONFIG_H -I. -I../../../src/texk/kpathsea -I.. -I../../../src/texk/kpathsea/.. -g -O2 -DMAKE_KPSE_DLL -c ../../../src/texk/kpathsea/tex-file.c -o tex-file.o ../libtool: line 1: gcc -no-cpp-precomp: command not found make[1]: *** [tex-file.lo] Error 1 make: *** [../kpathsea/libkpathsea.la] Error 2 I don't speak C, so I don't understand if it tells that gcc -no-cpp-precomp is wrong (can't be, it works anywhere) or that libtool is wrong or what? BTW: Is there any reason why sarovar.org is not reachable so often? Now I got 1.20a from http://freshmeat.net/projects/pdftex/ Grüßlis vom Hraban! --- http://www.fiee.net/texnique/ ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] [OT] compiling pdfTeX 1.2 on MacOS X
Henning Hraban Ramm [EMAIL PROTECTED] wrote: I don't speak C, so I don't understand if it tells that gcc -no-cpp-precomp is wrong (can't be, it works anywhere) or that libtool is wrong or what? It is possible that it is searching for a single executable like in this example? total 16 drwxr-xr-x2 taco taco 4096 Oct 8 23:09 ./ drwx-- 12 taco taco12288 Oct 8 23:09 ../ -rwxr-xr-x1 taco taco0 Oct 8 23:09 gcc -no-cpp-precomp Greetings, Taco ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] PDFTeX Homepage
At 12:56 AM 7/31/2004, you wrote: If I google for pdfTeX homepage, then I get the following link: http://www.tug.org/applications/pdftex/ However, this must not be the official homepage as it seems to not have been updated in a long time and also does not mention anything about the available 1.20 version. This is, as best I can tell, the official homepage. See below for why it's quite reasonable that it doesn't contain version 1.20. Also I cannot find the file named pdftexlib.zip as mentioned in the user manual on the above site. Where I can find the latest and greatest versions and documentatio on PDFTeX? The official testing page, which contains version 1.20a-rc6 -- you'll note that version is still only a release candidate in testing, not an official release, which is undoubtably why it's not available on the official distribution site -- is at: http://pdftex.sarovar.org/ I find very few online references to pdftexlib.zip, and all of them are rather old, so I wonder if the files it contains are now included in with the rest of the standard distibution rather than being a separate file. I suspect that the documentation at http://www.tug.org/applications/pdftex/ is as up-to-date as exists. - Brooks ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] PDFTeX sources
Salman Khilji wrote: Any inputs on this matter? maybe ask tacoh [EMAIL PROTECTED], or even better, look into his metatex (separate list) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] PDFTeX sources
On Thu, 29 Jul 2004 20:44:37 -0700 Salman Khilji [EMAIL PROTECTED] wrote: 1) I want to know the simplest way (and the minimal way) to compile PDFTeX on Windows. From the manual, I see that you have to download I want to be able to compile pdfTeX from sources using an already available DSP (MS Visual C++ project file)---this means it should somehow use an already existing config.h file. I downloaded the MikTeX sources, but it comes with 65535 other files and directories that I do not need and also mandates the download of Cygwin. I don't think there is an 'easy and minimal way' atm, especially not for pdftex which needs a number of libraries available at compile time. 2) Basically, I want to learn a little about the internals of pdfTeX to investigate if I can take the PDF specific C source code out of it and Isolation would be very hard I believe. pdftex makes changes all over (e.g. to allow justification improvements and creation of arbitrary pdf objects). somehow use then in the TeX++ project (which is a reincarnation of CommonTeX, which was an implementation of TeX written in C from scratch by Pat Monardo). Tell me more (off-list), it seems we are doing more or less the same thing! You might want to look at the sources on this location: http://www.metatex.org/ The CXTeX sources are not bug-free, but it compiles usable pdf documents cf. pdfetex. They are based on a manual conversion (by me) of the web sources. It is a lot easier to setup than a full blown TeX installation, but it does use autoconf, so it will need some work to get it compile without msys/cygwin. Greetings, Taco ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] PDFTeX sources
1) I want to know the simplest way (and the minimal way) to compile PDFTeX on Windows. From the manual, I see that you have to download web-7.3.tar.gz web2c-7.3.tar.gz pdftex.tar.gz However, this assumes that you have ./configure available (means UNIX or Cygwin). While I have been using Linux for the past two years, I'm afraid, I am too incompetent, dumb, lazy, stupid, and stubborn to learn autoconf and autotools---I want to know exactly what steps are performed while compiling the program and it would be best understood if I had a simple Visual C++ project file to work with. I want to be able to compile pdfTeX from sources using an already available DSP (MS Visual C++ project file)---this means it should somehow use an already existing config.h file. I downloaded the MikTeX sources, but it comes with 65535 other files and directories that I do not need and also mandates the download of Cygwin. 2) Basically, I want to learn a little about the internals of pdfTeX to investigate if I can take the PDF specific C source code out of it and somehow use then in the TeX++ project (which is a reincarnation of CommonTeX, which was an implementation of TeX written in C from scratch by Pat Monardo). I must admit that TeX++ is a piece of cake to install and compile simply because there is no autoconf and autotools to convolute the project. I have been reading TeX, the program these days from cover to cover and comparing the source code to the TeX++ sources and the two are as close as it can get. So I suppose, one could take PDFTeX, strip it out of the web2c files, massage the rest to fit TeX++, and have an easy to compile, and extend version of TeX that produces PDF files directly. Any inputs on this matter? Salman ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Downsampling images in pdfTeX
On Tue, 27 Jul 2004, George N. White III wrote: For images that will be displayed only at low resolution it may be useful to downsample the original image to reduce the size. For example you might have a 2 inch by 2 inch image scanned at 400 dpi. This image would have 800x800 pixels. For screen display you might prefer to have a 200x200 pixel image (or 100 dpi for 2 inches). Downsampling refers to the process of reducing an 800x800 pixel image to 200x200 pixels. ways to reduce image size (lossy compression, colorspace changes, even converting certain images to line art). Quite soon, I'm going to convert the degrade LaTeX-package (CTAN: graphics/degrade) to ConTeXt. It permits to down-sample JPEG images on the fly to a given resolution. Cheers, Peter -- http://pmrb.free.fr/contact/ _ FilmSearch engine: http://f-s.sf.net/ ___ ntg-context mailing list [EMAIL PROTECTED] 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] Downsampling images in pdfTeX
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. The compression this parameter controls is quite different. Without compression (e.g., \pdfcompresslevel=0) a PDF file consists of almost readable text. Even images can be stored in an ASCII encoding. Setting a non-zero value for \pdfcompresslevel applies a lossless compression algorithm to objects in the pdf file. For exactness. Primitive \pdfcompresslevel influences lossless compression of 1) content of pdf objects 2) included PNG images (they are decoded and encoded again) In case of inclusion of PDF, it is put as it is (so compresslevel is not changed). JPG is also untouched. It was valid for pdfTeX version 1.0. I have no info about changes in this case. Vit Zyka ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
ConTeXt-Wiki (Was: Re: [NTG-context] Re: pdfTeX questions)
Hallo Patrick, Patrick (thinking about creating a ConTeXt wiki, see same page as below, just port number 8062) [1] http://members.ping.de:8061/ Finde ich eine gute Idee! Was mir (neben der Hilfe auf auf der Liste für neue Probleme) am meisten bringt, und ich bisher etwas vermisse, sind Beispiel-Dokumente (genauer: deren Quellcode). Im Moment habe ich aufgrund meiner Promotion wenig Zeit, mich in das Wiki einzuarbeiten. Was ich zur Verfügung stellen könnte, ist ein include-File mit Macros zum Setzen von (hoffentlich) DIN-kompatiblen Briefen, ein typescript mit (bisher erst 4 oder 5) verschiedenen Schrift-Definitionen, die auf den Schriftdateien der Fontsite500-Distribution, sowie ergänzende TeX/LaTeX-Dateien (Link weiss ich momentan gerade nicht, kann ich aber bei Bedarf heraussuchen) aufsetzen. Schließlich benutze ich ein Environment, das ich von Projekt zu Projekt mitschleppe, und in dem ich alle möglichen mir nützlich erscheinenden Definitionen pflege (zum Teil auskommentiert, bzw. kommentiert). Alle sind natürlich noch mehr oder weniger Verbesserungsfähig. Wenn Du etwas davon auf die Seite stellen willst, bevor ich dazu komme (voraussichtlich ab August, dann ist die Promotion [natürlich in ConTeXt ;-)] hoffentlich fertig), dann kann ich sie Dir per EMail senden. Viele Grüße, -- Holger F. Schoener TU Berlin; Dept. IV: EE and Computer Science [EMAIL PROTECTED] http://www.cs.tu-berlin.de/~hfsch/ Rooms FR2525Tel: +49-30-314-73115, Fax: -73121 Office FR 2-1 Franklinstr. 28/29, D-10587 Berlin, Germany ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: pdfTeX questions
Hi out there, It seems, that there is no key named keywords ? it's 'keyword' (e.g. keyword={a,b,c}) for patrick (added to setupb/setupinteraction): \variable[\c!trefwoord][\c!text!][] Thanks. I have added this in texshow-web[1] now. Anybody can change the definition now by editing the xml source. More info soon. Patrick (thinking about creating a ConTeXt wiki, see same page as below, just port number 8062) [1] http://members.ping.de:8061/ ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: pdfTeX questions
Peter Münster wrote: 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 the following lines: \def\PDFpageviewkey{ fit} \def\PDFpageviewwrd{ /Fit} \def\PDFpageview {/View [\PDFpageviewwrd] } I changed /Fit to /FitBH and indeed, I get lines like this: /S /GoTo /D [0 /FitBH] in the pdf-file. When clicking on a link, I get into FitBH mode, but not at startup. Does anybody know a little bit more about PDF to get this working as in LaTeX? \setupinteraction[focus=fit|width|height|standard] BH is not supported (yet) \def\dosetuppageview#1% {\processaction [#1] [\v!passend=\def\PDFpageviewkey{ fit}% \def\PDFpageviewwrd{ /Fit}, \v!minbreedte=\def\PDFpageviewkey{ fitbh}% \def\PDFpageviewwrd{ /FitBH}, \v!breedte=\def\PDFpageviewkey{ fith}% \def\PDFpageviewwrd{ /FitH}, \v!minhoogte=\def\PDFpageviewkey{ fitbv}% \def\PDFpageviewwrd{ /FitBV}, \v!hoogte=\def\PDFpageviewkey{ fitv}% \def\PDFpageviewwrd{ /FitV}, \v!standaard=\def\PDFpageviewkey{ xyz\PDFpagexyzspec}% \def\PDFpageviewwrd{ /XYZ\PDFpagexyzspec}, \s!unknown=\def\PDFpageviewkey{ fit}% \def\PDFpageviewwrd{ /Fit}]% \edef\PDFpageview{/View [\PDFpageviewwrd]}} you need to add the following to mult-con.tex first to get minheight supported minhoogte: minhoogte minheight minhoehe minvyska altezzamininaltimeminima so now we have minheight and minwidth; can you test that (only when it works i will move it to the driver module; such things were buggy in previous versions of acrobat) Hans Hans ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: pdfTeX questions
On Mon, 7 Jun 2004, Hans Hagen wrote: \setupinteraction[focus=fit|width|height|standard] BH is not supported (yet) you need to add the following to mult-con.tex first to get minheight supported minhoogte: minhoogte minheight minhoehe minvyska altezzamininaltimeminima Thank you, Hans! I also had to add minbreedte, then my testfile compiled. With \setupinteraction[state=start,focus=minwidth] I get indeed a line like this: /D [2 0 R /FitBH 0] in the pdf-file, but Acroread does not start in this mode... (focus=width does not work neither) so now we have minheight and minwidth; can you test that (only when it works i will move it to the driver module; such things were buggy in previous versions of acrobat) Yes, I think they are still buggy, but it seems, that newer pdftex versions know to handle those bugs. At least with pdftex-1.10b and LaTeX, there is no more problem. (with pdftex-0.14h, there was no hope...) Greetings, Peter -- http://pmrb.free.fr/contact/ _ FilmSearch engine: http://f-s.sf.net/ ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: pdfTeX questions
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 the following lines: \def\PDFpageviewkey{ fit} \def\PDFpageviewwrd{ /Fit} \def\PDFpageview {/View [\PDFpageviewwrd] } I changed /Fit to /FitBH and indeed, I get lines like this: /S /GoTo /D [0 /FitBH] in the pdf-file. When clicking on a link, I get into FitBH mode, but not at startup. Does anybody know a little bit more about PDF to get this working as in LaTeX? Cheers, Peter -- http://pmrb.free.fr/contact/ _ FilmSearch engine: http://f-s.sf.net/ ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: pdfTeX questions
At 14:20 31/05/2004, you wrote: On Mon, 31 May 2004, Patrick Gundlach wrote: \externalfigure[example][width=5cm] some text, jpeg-figure is shifted down and to the left. I don't see that it is shifted to the left, but slightly down (I wonder where this is aligned?). Indeed, very slightly. But much better than here. So I just have to update to ConTeXt 2004.4.9. some minor shift may be due to scaling; i recently made things a bit more accurate; also, now and then i compensate for nasty pdf situations (unfortunate cropping and such) so, best use the latest Hans ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: pdfTeX questions
At 14:53 31/05/2004, Patrick Gundlach wrote a quick test shows that /Author (M¸nster) is put in the pdf file, where the Character after the M is 0xfc. Dunno if this is right. dunno either but it is supposed to be in the proper encoding (unicode or pdfdoc) btw, using \pdf... primitives is a bad idea It seems, that there is no key named keywords ? Hans? it's 'keyword' (e.g. keyword={a,b,c}) for patrick (added to setupb/setupinteraction): \variable[\c!trefwoord][\c!text!][] Hans ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] pdfTeX questions
Hello, I have some questions concerning pdfTeX, the following example illustrates the problems: \setupoutput[pdftex] \enableregime[il1] \pdfinfo{ /Title (\Ubung) /Author (Münster) } % neither \U nor ü work \pdfcatalog{ /PageMode /FullScreen } % this works well \pdfdest num 1 fitbh % I would like to get the same result as in LaTeX with % \hypersetup{pdfstartview={FitBH}} \starttext some text \externalfigure[example][width=5cm] some text, jpeg-figure is shifted down and to the left. The file example.jpg is attached. The versions: pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5) ConTeXt ver: 2004.3.16 fmt: 2004.5.18 int: english mes: english \stoptext TIA for any help, Peter -- http://pmrb.free.fr/contact/ _ FilmSearch engine: http://f-s.sf.net/attachment: example.jpg
[NTG-context] Re: pdfTeX questions
Hi, why don't you use \setupinteraction for this? \pdfinfo{ /Title (\Ubung) /Author (Münster) } % neither \U nor ü work \setupinteraction[title=Übung,Author=Münster] \pdfcatalog{ /PageMode /FullScreen } % this works well \setupinteraction[option=max] \pdfdest num 1 fitbh % I would like to get the same result as in LaTeX with % \hypersetup{pdfstartview={FitBH}} what does this do? Patrick -- Es wird kein Wunder geschehen ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: pdfTeX questions
Hello again, \externalfigure[example][width=5cm] some text, jpeg-figure is shifted down and to the left. I don't see that it is shifted to the left, but slightly down (I wonder where this is aligned?). And \externalfigure eats up the whitespace after 5cm]. This is sligthly confusing. This is pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2C 7.5.2) ConTeXt ver: 2004.4.9 fmt: 2004.4.16 int: english mes: english I'll attach a screenshot. Bild2.pdf Description: Adobe PDF document Patrick -- Es wird kein Wunder geschehen
[NTG-context] Re: pdfTeX questions
correction: \pdfcatalog{ /PageMode /FullScreen } % this works well \setupinteraction[option=max] \setupinteractionscreen[option=max] (...screen) Patrick ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: pdfTeX questions
On Mon, 31 May 2004, Patrick Gundlach wrote: \setupinteraction[title=Übung,Author=Münster] Thanks, I missed those keys in the manual. Ü is still not working, perhaps I should update to ConTeXt-2004.4.9 ? It seems, that there is no key named keywords ? \pdfdest num 1 fitbh % I would like to get the same result as in LaTeX with % \hypersetup{pdfstartview={FitBH}} what does this do? FitBH means, fit to width of bounding box. When reading text on the screen, the combination of FullScreen and FitBH seems to me optimal. When you create a pdf-file of the following LaTeX-source (with pdflatex), you see all features, I'm looking for: \documentclass{article} \usepackage[latin1]{inputenc} \usepackage{hyperref} \hypersetup{pdfstartview=FitBH,pdfpagemode=FullScreen, pdfauthor={Peter Münster},pdftitle={A title},pdfsubject={The subject}, pdfkeywords={some keywords}} \begin{document} \section{Section with ö, with bookmark} bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla \end{document} BTW, how do you create bookmarks with ConTeXt? I tried the following, but it did not work: \setupoutput[pdftex] \enableregime[il1] \setupinteraction[state=start,menu=on] \setupinteractionmenu[left][state=start] \setupinteractionscreen[option=bookmark] \starttext \section{Section with ö} some text \stoptext Cheers, Peter -- http://pmrb.free.fr/contact/ _ FilmSearch engine: http://f-s.sf.net/ ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: pdfTeX questions
On Mon, 31 May 2004, Patrick Gundlach wrote: \externalfigure[example][width=5cm] some text, jpeg-figure is shifted down and to the left. I don't see that it is shifted to the left, but slightly down (I wonder where this is aligned?). Indeed, very slightly. But much better than here. So I just have to update to ConTeXt 2004.4.9. And \externalfigure eats up the whitespace after 5cm]. This is sligthly confusing. Yes. I've just seen the same problem with \cite[...] (m-bib). With \cite it's a bigger problem, because it's in the running text, \externalfigure in most cases in a \placefigure. Thanks for your answers, Peter -- http://pmrb.free.fr/contact/ _ FilmSearch engine: http://f-s.sf.net/ ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: pdfTeX questions
Peter Münster [EMAIL PROTECTED] writes: \setupinteraction[title=Übung,Author=Münster] Thanks, I missed those keys in the manual. Ü is still not working, perhaps I should update to ConTeXt-2004.4.9 ? a quick test shows that /Author (M¸nster) is put in the pdf file, where the Character after the M is 0xfc. Dunno if this is right. It seems, that there is no key named keywords ? Hans? 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. BTW, how do you create bookmarks with ConTeXt? I tried the following, but it did not work: \setupinteractionscreen[option=bookmark] \placebookmarks[section] Patrick -- Es wird kein Wunder geschehen ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] color in pdfTeX
Am Freitag, 05.03.04, um 08:21 Uhr (Europe/Zurich) schrieb pawcoo: \pdfliteral{0 1 0 0 k} colorized text \pdfliteral{0 0 0 1 k} % come back to black Seems to be currently the only way. The \pdfliteral{} primitives are done between two x/y transformations, so you can't use q/Q grouping. And the \pdfliteral direct{} variant doesn't help either, as it comes before BT, but also _before_ ET, so grouping would be broken also. Probably something to consider for a change... Regards, Hartmut Ok. That doesn't hurt since I know, that there is no smarter way :-P Thank You for help. You really need plain pdfTeX, do you? Otherwise you know ConTeXt's sophisticated color commands? Grüßlis vom Hraban! -- http://www.fiee.net/texnique/ ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] color in pdfTeX
Henning Hraban Ramm wrote: You really need plain pdfTeX, do you? Otherwise you know ConTeXt's sophisticated color commands? Actually I tried to retrive color tricks from ConTeXt core but without results. Do I need plain pdfTeX? Good question! In general, I feel better when I understand every bit in the code (excluding binaries:). Typical control freak! Just for training, I often try to invent the wheel my self before I use it. Of course using ConTeXt and its sophisticated wheels is a great fun and user friendly way to do things, but the real pleasure is to know how the wheel works. Regards, Pawe/l ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] color in pdfTeX
On Wed, 3 Mar 2004, pawcoo wrote: please, consider the following simple example of pdftex code: \pdfliteral{0 1 0 0 k} % Magenta (ugly) \hrule height 1pt \hrule height 1.1pt \end The upper hairline remains black. What should I do to colorize thin lines also? Lines with width = 1 bp are stroked by pdftex, lines wider than that are filled (procedure pdf_set_rule). Stroking CMYK color is set by K, nonstroking by k, so you need both: \pdfliteral{0 1 0 0 k} \pdfliteral{0 1 0 0 K} Thanks! That works. I'll dare to ask one more question. How to use colors in (some kind of) groups, meaning localy? In example, how to set some nice color for given object only (word, letter or rule)? Or should I always say something like \pdfliteral{0 1 0 0 k} colorized text \pdfliteral{0 0 0 1 k} % come back to black Any clues? Regards, Pawe/l ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] color in pdfTeX
On Thu, 4 Mar 2004, pawcoo wrote: Lines with width = 1 bp are stroked by pdftex, lines wider than that are filled (procedure pdf_set_rule). Stroking CMYK color is set by K, nonstroking by k, so you need both: Note, forgot this: This only affects the \hrule and \vrule primitives. When you do lines by literals, you are on your own... \pdfliteral{0 1 0 0 k} \pdfliteral{0 1 0 0 K} Thanks! That works. I'll dare to ask one more question. How to use colors in (some kind of) groups, meaning localy? In example, how to set some nice color for given object only (word, letter or rule)? Or should I always say something like \pdfliteral{0 1 0 0 k} colorized text \pdfliteral{0 0 0 1 k} % come back to black Seems to be currently the only way. The \pdfliteral{} primitives are done between two x/y transformations, so you can't use q/Q grouping. And the \pdfliteral direct{} variant doesn't help either, as it comes before BT, but also _before_ ET, so grouping would be broken also. Probably something to consider for a change... Regards, Hartmut ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] color in pdfTeX
\pdfliteral{0 1 0 0 k} \pdfliteral{0 1 0 0 K} Thanks! That works. I'll dare to ask one more question. How to use colors in (some kind of) groups, meaning localy? In example, how to set some nice color for given object only (word, letter or rule)? Or should I always say something like \pdfliteral{0 1 0 0 k} colorized text \pdfliteral{0 0 0 1 k} % come back to black Seems to be currently the only way. The \pdfliteral{} primitives are done between two x/y transformations, so you can't use q/Q grouping. And the \pdfliteral direct{} variant doesn't help either, as it comes before BT, but also _before_ ET, so grouping would be broken also. Probably something to consider for a change... Regards, Hartmut Ok. That doesn't hurt since I know, that there is no smarter way :-P Thank You for help. Pawe/l ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] beta / pdftex
The latest version assumes the most recent pdftex, i'll fix this; if you run into troubles, add this to cont-new.tex: \ifx\pdfoptionpdfinclusionerrorlevel\undefined \newcount\pdfoptionpdfinclusionerrorlevel \fi \pdfoptionpdfinclusionerrorlevel=0 \ifx\pdfoptionpdfminorversion\undefined \newcount\pdfoptionpdfminorversion \fi \pdfoptionpdfminorversion=4 Or patch this in spec-tpd.tex (there is an \else in that file that shoul dnot be there) The mentioned v!synchroniseer problem has to do with a new cont-new.tex being used with an old context; texexec --make --alone may help here. Hans - Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED] Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com - information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context