ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* reset \use[sub]path
@ 2003-11-03 19:12 Pawel Jackowski na Onet
  2003-11-03 21:05 ` Hans Hagen
  0 siblings, 1 reply; 27+ messages in thread
From: Pawel Jackowski na Onet @ 2003-11-03 19:12 UTC (permalink / raw)


Hi all!

Lets consider the following situation. There are 3 catalogs; ./lofo1,
./lofo2, ./lofo3, each of them contains files 'aqq.xml' and 'cow.png' for
example. Filenames are the same, but they may have different content. I need
to include all these files into one PDF document WITHOUT giving absolute
paths in TeX code. I tried something like

\usepath[lofo1]
    \processXMLfilegrouped{aqq.xml}
\usepath[lofo2]
    \processXMLfilegrouped{aqq.xml}
\usepath[lofo3]
    \processXMLfilegrouped{aqq.xml}

but in this example the same file (./lofo1/aqq.xml) will be processed 3
times and that is not what I need. Actually the situation is even more
complicated; I have quite big XML tree with hunderts of files and images,
with dozens of catalogs. I wrote a perl script which change current
directory for each process and run texexec in changed one. And it works OK
since I want to have separate PDF document from each `lofo?' catalog. But
how to make one PDF document in such situation using \use[sub]path texnique?

In other words, how to reset settings from \usepath and \usesubpath
commands? And how to do the same for externalfigures?


Thanks in advance, Pawe/l

^ permalink raw reply	[flat|nested] 27+ messages in thread
* Re: page backgrounds
@ 2003-11-17 15:11 Thomas A. Schmitz
  0 siblings, 0 replies; 27+ messages in thread
From: Thomas A. Schmitz @ 2003-11-17 15:11 UTC (permalink / raw)


Patrick, Otared, Adam,

thanks for looking into this. Adam's solutions works, wonderful!! Now 
I'll be able to have lots of "annoying texts" as watermarks. But those 
were a lot of changes to config files. Though I feel confident on the 
command line, I must admit I never bothered to look into minstall.pdf; 
I figured I had a working installation. Adam, you're definitely right: 
it would be nice if we could have gwtex's standards set to something 
more useful!

Thanks everybody, another satisfied customer!

Thomas

^ permalink raw reply	[flat|nested] 27+ messages in thread
* page backgrounds
@ 2007-11-13 10:26 olivier Turlier
  2007-11-13 15:52 ` Wolfgang Schuster
  2007-11-13 18:12 ` Peter Rolf
  0 siblings, 2 replies; 27+ messages in thread
From: olivier Turlier @ 2007-11-13 10:26 UTC (permalink / raw)
  To: ntg-context

[-- Attachment #1: Type: text/plain, Size: 392 bytes --]

Hi everybody,
I try to draw several metapost page backgrounds (code found at 
http://melusine.eu.org/syracuse/poulecl/divers/papiers/ ) for manual
sketchs on A4 paper.
Obviously, it does'nt work, and I don't know why.
TIA for any answers.
Not so short examples are attached.

-- 
olivier Turlier
CRP La Rouguière
101 Bd des libérateurs
13367 MARSEILLE CEDEX 11
04 91 66 58 10

[-- Attachment #2: pb-mp-bkgrd.zip --]
[-- Type: application/x-zip, Size: 2877 bytes --]

[-- Attachment #3: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 27+ messages in thread
* Page Backgrounds
@ 2012-07-09  2:47 Kip Warner
  2012-07-09  7:45 ` Hans Hagen
  2012-07-09  8:06 ` Wolfgang Schuster
  0 siblings, 2 replies; 27+ messages in thread
From: Kip Warner @ 2012-07-09  2:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1524 bytes --]

Hey list,

On the cover page of my book I'd like just an image displayed and
another image used as the background for every other page in the book.
So I put this in my environment,

    % Cover image...
    \definelayer
        [CoverImage]
        [x=0mm, y=0mm,
         \paperwidth, 
         \paperheight]
    \setupbackgrounds[page][background=CoverImage]
    
    \setlayer
        [CoverImage]	% name of the layer
        {\externalfigure
            [Makeup/Images/Cover.jpg]
            [align=center,
             \paperwidth,
             \paperheight]}  % the actual contents of the layer

    % Regular background image...
    \definelayer
        [BackgroundImage]
        [x=0mm, y=0mm,
         \paperwidth, 
         \paperheight,
         repeat=yes]

    \setlayer
        [BackgroundImage]	% name of the layer
        {\externalfigure
            [Makeup/Images/Background.png]
            [align=center,
             \paperwidth,
             \paperheight]}  % the actual contents of the layer

, the following in the book's first page,

    \setupbackgrounds[page][background=CoverImage]

, and the following on second page,

    \setupbackgrounds[page][background=BackgroundImage]

. But this does not work properly. What ends up happening is the cover
image is displayed correctly, but every page after that just has a blank
white background.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2012-07-10  0:28 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-03 19:12 reset \use[sub]path Pawel Jackowski na Onet
2003-11-03 21:05 ` Hans Hagen
2003-11-04  6:41   ` Pawel Jackowski na Onet
2003-11-10 16:37     ` Patrick Gundlach
2003-11-10 17:26       ` Hans Hagen
2003-11-10 19:59       ` Pawel Jackowski na Onet
2003-11-10 23:02         ` Patrick Gundlach
2003-11-11  7:05           ` Pawel Jackowski na Onet
2003-11-15 21:36   ` page backgrounds Thomas A.Schmitz
2003-11-16 20:08     ` Thomas A.Schmitz
2003-11-17  9:59       ` Patrick Gundlach
2003-11-17 13:09         ` Thomas A. Schmitz
2003-11-17 14:03           ` Otared Kavian
2003-11-17 14:41             ` Patrick Gundlach
2003-11-17 14:43             ` Patrick Gundlach
2003-11-17 14:08           ` Patrick Gundlach
2003-11-17 14:20           ` Adam Lindsay
2003-11-16 22:32     ` Patrick Gundlach
2003-11-17 15:11 Thomas A. Schmitz
2007-11-13 10:26 olivier Turlier
2007-11-13 15:52 ` Wolfgang Schuster
2007-11-13 18:12 ` Peter Rolf
2007-11-14 15:46   ` olivier Turlier
2012-07-09  2:47 Page Backgrounds Kip Warner
2012-07-09  7:45 ` Hans Hagen
2012-07-09  8:06 ` Wolfgang Schuster
2012-07-10  0:28   ` Kip Warner

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).