[NTG-context] Re: Active points on a ground plan (CD-ROM catalogue)
Very nice, thank you Hans! Steffen Hans Hagen <[EMAIL PROTECTED]> wrote: > At 16:33 11/12/2003, you wrote: > >Hi, > > > >I'd like to make the CD-ROM catalogue (PDF) of an architectural exhibition > >in ConTeXt. > > > > > >In short the general idea is: > > > >- First you have a page with a map showing the locations of the different > >buildings. > >- Then you should point on location you are interested in and jump to the > >page where this particular building is described in detail. > >- Then again you should be able to jump back to the point (centered?) on > >the map where you have started. > > > > > >My main question now is: > > > >Is it possible in ConTeXt to locate/define on the map (one image) certain > >points/areas that will contain the links to respective the detail page? > > Ha, when i tried to locate that old code, i ran into a bug (\dosingleempty > is less tolerant than 5 years ago), so first a patch: > > \unprotect > > \def\dodostartfigure[#1][#2][#3]#4\stopfigure >{\doifelse\v!test\@@exoptie > {\teststartfigure[#1][#2][#3]#4\teststopfigure >\let\@@exhokjes\v!aan} > {\let\@@exhokjes\v!uit}% > \setvalue{\??ef\??ef#1}% > {\def\next{\placestartfigure[#1][#2][#3]#4\placestopfigure}% >\dosingleempty\next}% > \doifundefined{#1}{\setvalue{#1}{\getexternalfigure{#1 > > \protect > > > Now you can do things like: > > \setupinteraction >[state=start] > > % \setupexternalfigures > % [option=test] > > \startfigure[TheProces][work016a][factor=200] >\referring (10.7,9.4) (4.3,2.3) [r:psfile] >\referring (16.5,16.5) (4.3,2.3) [r:pdffile] >\marking (10.7,9.4) (4.3,2.3) [m:psfile] >\marking (16.5,16.5) (4.3,2.3) [m:pdffile] > \stopfigure > > \starttext > > \title{Files} > > \placefigure >{Whatever files we use.} >{\TheProces} > > \title[r:psfile]{PostScrip Files} > > We're talking about PostScript files, see \in[m:psfile]! > > \title[r:pdffile]{PDF Files} > > We're talking about PDF files, see \in[m:pdffile]! > > \stoptext > > Uncommenting the test will provide you a suitable test bed. > > (Sorry for the bit oldfashioned code; it originates from the pre pdf time) > > Hans > > ___ > ntg-context mailing list > [EMAIL PROTECTED] > http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] texexec changes drives
All, I have Miktex and context installed on my F: drive (partition). My path: C:\Temp>path PATH=F:\MIKTEX\CONTEXT\PERLTK;F:\MIKTEX\MIKTEX\BIN;C:\GS\GS7.04\BIN;C:\GS\GS 7.04 \LIB;C:\PERL\BIN;C:\WINDOWS;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\YANDY\YANDYTEX\ ;E:\ MATLAB6P1\BIN\WIN32;C:\EMACS\BIN;;C:\GHOSTGUM\GSVIEW\;;F:\MSYS\1.0\MINGW\BIN ;F:\ IMAGINE\BIN;;E:\J2SDK1.4.0_02\BIN;E:\MATLAB6P5\BIN\WIN32 Look what happens every time I run texexec. C:\temp>texexec --version TeXExec 4.0 - ConTeXt / PRAGMA ADE 1997-2003 total run time : 1 seconds F:\Temp> The drive changes! I am using Miktex, have deleted texexec from /Miktex/bin, and have pointed my path at /Miktex/context/perltk as you can see above. Has anyone else experienced this strange behavior of changing drives? ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] new manual
Hans, Too many pdf's in the link. At 04:58 PM 12/18/03 +0100, you wrote: >Hi, > > http://www.pragma-ade.com/general/manuals/mtexsync-p.pdf.pdf > http://www.pragma-ade.com/general/manuals/mtexsync-s.pdf.pdf > >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 > > ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] pdf[e]tex formats (solution)
> maybe adding > >-progname=pdftex > > helps; otherwise make a pro.cfg file Agh! I've just got a solution for non-standard pdftex format usage. Simple, but not obvious answer is that non-standard format needs non-standard entries in texmf.cnf. After adding entry TEXINPUTS.pro [set of paths] for pro.fmt format, everything works allright. I thought that if there isn't 'TEXINPUTS.format_name' variable specified, the default TEXINPUTS variable content will be used instead... -- bye, Pawe/l ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] pdf[e]tex formats
- Original Message - From: "Hans Hagen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 18, 2003 8:46 AM Subject: Re: [NTG-context] pdf[e]tex formats > At 21:54 17/12/2003, you wrote: > >Hi all! > > > >The question is not about ConTeXt, but... > > > >I need to generate non-standard pdf[e]tex format. To do so I prepared > >pro.ini file which contains: > > > > \pdfoutput=1 > > \input plain > > \input my-set-of-macros > > \dump > > \endinput > > > >Then I run pdftex with command: > > > > pdftex -ini -jobname=pro pro.ini > > maybe adding > >-progname=pdftex > > helps; otherwise make a pro.cfg file Thanks Hans but it doesn't seem to be a solution. After generating pro.fmt it still complains during compilation about missing pdftex.cfg file. Everything works ok when I copy pdftex.cfg into working directory, so what pdftex says looks to be true. But why not-standard format needs config file in local directory? Meybe I should add some entry to texmf.cnf... Anyone knows? Thanks, Pawe/l ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] new manual
Hi, http://www.pragma-ade.com/general/manuals/mtexsync-p.pdf.pdf http://www.pragma-ade.com/general/manuals/mtexsync-s.pdf.pdf 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
Re: [NTG-context] bookmarks, accented caracters, breaking URLs
Hello, On Thu, Dec 18, 2003 at 11:52:11AM +, Adam Lindsay wrote: > > \placebookmarks[chapter,section,subsection] > Add: > \setupinteraction[state=start] > ...works for me. Ok, now I finally figured out what went wrong in my real document: I had first \placebookmarks and then \setupinteraction. It has to be the other way round! Thanks a lot for the hint! > I kept tripping on that one, and I'm not sure I'd agree > with the choice made. I agree that it is counter-intuitive that one needs to have \setupinteraction in order to get bookmarks placed. But that the order matters is even worse. (Playing around with Acrobat 6, I saw that using /C [colorvalues] and /F n, n=1...5, one could even have the bookmark items in color or in italic/bold/..., if one wants to play ...) I tested the accented characters again (not including bookmarks): \setupinteraction[state=start,title={F\"ur / Na\"\i ve}] \placebookmarks[chapter] \setupinteractionscreen[option=bookmark] \starttext \chapter{F\"ur / Na\"\i ve} \stoptext I expect 'Für / Naïve' but I get a) in the bookmarks: 'Für / Nadobuildtextaccebt char 127 {char "10}ve' b) in the document info dialogue: 'Fdobuildtextaccent char 127 ur / Nadobuildtextaccebt char 127 {char "10}ve' If I replace {\"\i} by \idiaeresis, nothing changes for \chapter and bookmarks, but I get an error message for 'title='. Puzzled. Tobias ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] bookmarks, accented caracters, breaking URLs
Tobias Burnus said this at Wed, 17 Dec 2003 20:07:56 +0100: >(a) I fail somehow to produce bookmarks (or 'outlines') for the Acrobat >Reader. I tried > \placebookmarks[chapter,section,subsection] > \starttext > \chapter{foo} > \stoptext >but the outline is completely empty. Tobias, Add: \setupinteraction[state=start] ...works for me. I kept tripping on that one, and I'm not sure I'd agree with the choice made. Also, you might like to add this at the same time, to make the bookmarks visible by default: \setupinteractionscreen[option=bookmark] adam -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 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
Re: [NTG-context] \loadfontfileoncetrue?
Hans, I did as you asked below, but still got this error: ! Undefined control sequence. l.1 \global \loadfontfileoncetrue % ! You can't use a prefix with `\shipout'. \shipout l.2 \shipout \hbox{\smash{\hbox{\hbox{% line 226 C:\temp\junk-mpgraph.mp [1] ) (see the transcript file for additional information) However, I did get the correct pdf file. You hint at mixing "old" with "new" in your post below. Tomorrow I will try to erase all Context files, extract the new ones, and try again. Thanks. I'll let you know how it goes. At 10:07 PM 12/17/03 +0100, you wrote: >At 02:36 16/12/2003, you wrote: >>Hmmm,... >> >>I haven't tried included graphics for a while, so I downloaded the new beta >>into my Miktex system, regenerated formats, and attempted to compile the >>code below. I got the following error: >> >>! Undefined control sequence. >>l.1 \global \loadfontfileoncetrue > >strange, this command is already quite old, so you use a new metafun with >an old context > >You can try to add a line > >> \newif\ifloadfontfileonce > >to your cont-new.tex file > >Hans > > > >___ >ntg-context mailing list >[EMAIL PROTECTED] >http://www.ntg.nl/mailman/listinfo/ntg-context > > ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] MP figures in the background
~ On Thu, 18 Dec 2003, Hans Hagen wrote: > > > strange, it works here; > I'm using the last texlive distribution, maybe need i to download the beta?, and if so, what it the way of updating (donwload the file, unzip and rebuild formats?) Zunbeltz > anyhow, you use very smalls numbers and (0.017mm) on the one end and big > ones later on, and somehow you end up with a boundingbox of 32K bp which is > pretty large, > > The solution is in changing some dimensions: roughly design at the size you > want and use xysized(..,..) to scale thing sto proportions > > Hans > > ___ > ntg-context mailing list > [EMAIL PROTECTED] > http://www.ntg.nl/mailman/listinfo/ntg-context > ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] bookmarks, accented caracters, breaking URLs
At 20:07 17/12/2003, you wrote: Hello, (first: Thanks, Hans for the answer, I added some space in \unknownreference and a $\blacktriangleright$, but otherwise I won't miss any reference anymore; fingers crossed.) an option is to move the mark in the margin, \inleftmargin{...} or something similar Hans ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] MP figures in the background
Hi Hans! I'm in trouble with this method. (I supose the error is mine). I can draw the MP graphic using \useMPgraphic, but when i use \defineoverlay[bihotzak][\useMPgraphic{bihotz}] \setupbackgrounds[paper][background=bihotzak] I get the following error systems: randomizer starts with 150693575 [MP to PDF] (./mpgraph.1) layout : calculating backgrounds [MP to PDF] (./mpgraph.4000 ! Dimension too large. \handleMPboundingbox ... 2 \advance \dimen 0 #4bp \dimen 0=\MPxscale \dimen ... l.2 %%BoundingBox: -6 -141 --32768 --32768 strange, it works here; anyhow, you use very smalls numbers and (0.017mm) on the one end and big ones later on, and somehow you end up with a boundingbox of 32K bp which is pretty large, The solution is in changing some dimensions: roughly design at the size you want and use xysized(..,..) to scale thing sto proportions Hans ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] pdf[e]tex formats
At 21:54 17/12/2003, you wrote: Hi all! The question is not about ConTeXt, but... I need to generate non-standard pdf[e]tex format. To do so I prepared pro.ini file which contains: \pdfoutput=1 \input plain \input my-set-of-macros \dump \endinput Then I run pdftex with command: pdftex -ini -jobname=pro pro.ini maybe adding -progname=pdftex helps; otherwise make a pro.cfg file Hans ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: ConTeXt question
At 20:13 08/12/2003, you wrote: Dear Mr. Hagen, I am looking for articles, books, dissertations, etc that were typeset with ConTeXt. Is there an archive of such documents and their ConTeXt source code? Thanks for any help you can provide. The best thing you can do is to post a message to the context list, i'm sure that there are users out there who can show you / point you to their work ... Hans ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: cont-doc module
At 16:48 16/12/2003, you wrote: Ditto here, regardless of what file I try to process. Question: Generally do source files contain documentation that goes beyond (or is more up to date) than the manual? no, but i sometimes mix up interfaces (seldom run documentation -) so just let me know where thinsg go wrong and i'll fix 'm Hans ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \loadfontfileoncetrue?
At 02:36 16/12/2003, you wrote: Hmmm,... I haven't tried included graphics for a while, so I downloaded the new beta into my Miktex system, regenerated formats, and attempted to compile the code below. I got the following error: ! Undefined control sequence. l.1 \global \loadfontfileoncetrue strange, this command is already quite old, so you use a new metafun with an old context You can try to add a line \newif\ifloadfontfileonce to your cont-new.tex file Hans ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: cont-doc module
At 18:15 15/12/2003, you wrote: Well, I now type "texexec --modu --pdf font-ini.tex" (one of the files in the ConTeXt distribution) and this results in an execution that has to be finished with Control-D, the pdf produced puts Adobe Acrobate into an infinite loop. How can I produce the documentation if the recipe given does not seem to work (anymore). hm, there is some english interface specific command in there but that not what goes wrong at yoru site, dunno, i'll send you a doc file (pdf) Hans ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] problem with nested tables
At 11:37 15/12/2003, you wrote: Hi Hans, Sorry for the stupid question, but where can the mentioned line best be included? Can it be in the core-ntb at a specific place or should it be placed in cont-new? a patch like that can go in cont=new.tex, after the \unprotect line; this file is loaded at runtime so there is no need to regenerate the format Hans ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context