[Therion] *** GMX Spamverdacht *** Re: Cavesystem - Addition of cavelenght

2012-10-19 Thread Andrew Atkinson
Bit puzzled at first when this did not work, however, it appears that if
in your layout you have

code tex-map
   \def\maplayout{
  \legendbox{70}{90}{NW}{
  \northarrow
  \bigskip
  \scalebar
  \bigskip
  \the\comment
  }
}

the map-image does not seem to work. So you cannot use this at the same
time as a custom legend box, which is a bit of a pain.

Looking at data.tex it seems to be defining the maplayout twice

\def\maplayout{\legendbox{0}{100}{SW}{\loadpicture{/media/data/Andrew/Caving/Surveys/CheddarCatchment/Outputs/Reservoir-WhiteSpotE90.pdf}}}
\cavename{Reservoir Hole and White Spot Cave}
\def\maplayout{
\legendbox{0}{100}{sw}{
\northarrow
\bigskip
\scalebar
\bigskip
\the\comment
}

Now you can put the pdf in using the code, and another legend box

   \def\maplayout{

\legendbox{0}{100}{sw}{\loadpicture{/media/data/Andrew/Caving/Surveys/CheddarCatchment/Outputs/Reservoir-WhiteSpotE90.pdf}}
  \legendbox{0}{100}{sw}{
  \northarrow
  \bigskip
  \scalebar
  \bigskip
  \the\comment
 }
}

But that requires absolute path, which does not work very well in the
repository, so not much good to me. The data.tex show me this

\def\maplayout{}
\cavename{Reservoir Hole and White Spot Cave}
\def\maplayout{
\legendbox{0}{100}{sw}{\loadpicture{/media/data/Andrew/Caving/Surveys/CheddarCatchment/Outputs/Reservoir-WhiteSpotE90.pdf}}
\legendbox{0}{100}{sw}{
\northarrow
\bigskip
\scalebar
\bigskip
\the\comment

again only the second maplayout works.

Is it possible to refer to the map-image in the \def\maplayout code, so
that I can insert images without using absolute paths, or make it so
map-image is not overriden by a \def\maplayout

Data available from
http://www.cave-registry.org.uk/svn/CheddarCatchment/

The above comes from the file

http://www.cave-registry.org.uk/svn/CheddarCatchment/thconfigres+whitespot

Andrew
Using Therion 5.3.9

On 18/10/12 22:04, Martin Sluka wrote:
> Generate map1 first and place it to map2:
> 
> map-image ▷ include image
> specified by  into map at location specified by  . For 
> coordinates
> and alignment details, see map-header specification.
> 
> map-image 100 100 nw map1.pdf



[Therion] *** GMX Spamverdacht *** Re: Cavesystem - Addition of cavelenght

2012-10-19 Thread Marco Corvi
hi markus,

i usually do martin's way:
i often put extended section and plan of small caves on the same pdf,
and have a layout for the extended section that does not show the map-header.

you can do the same to put many cave plan on the same pdf, each with 

its own map header,

... and you can define layouts so that the north arrow and the scale bar
appear only on one header, or one has the north and another the scale bar
(sopposing the scale is the sama for all the maps, as well as the north).


marco





 From: Martin Sluka 
To: List for Therion users  
Sent: Thursday, October 18, 2012 11:04 PM
Subject: Re: [Therion] *** GMX Spamverdacht *** Re: Cavesystem - Addition of 
cavelenght




On Oct 18, 2012, at 10:59 PM, Markus Boldt  wrote:

But may be there is a possibility….

Generate map1 first and place it to map2:

map-image ▷ include image
specified by  into map at location specified by  . For 
coordinates
and alignment details, see map-header specification.

map-image 100 100 nw map1.pdf

m.

___
Therion mailing list
Therion at speleo.sk
http://mailman.speleo.sk/mailman/listinfo/therion
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20121019/8fe685ac/attachment.html>


[Therion] *** GMX Spamverdacht *** Re: Cavesystem - Addition of cavelenght

2012-10-18 Thread Markus Boldt
Bruce
Thank you very much for that fast answer. Now I will have success. There are
some Ideas in your writing. 
So I must process all three caves alone to get the correct length for each
cave. OK, clear! 

Sometimes during drawing this project I have thought that it would be fine
if there were a possibility for making two headers (or more) on one Map in
therion. 

For example: You have two caves nearby, but there is no connection. Both
caves are small enough to do it on one Map so that you can print it on a big
piece of paper (A0). If you have a header for each cave (map-header cave1 0
0 sw - map-header cave2 0 100 sw..) which you can do with the map-header
command at a place you like. 
But may be there is a possibility
Markus


-Ursprüngliche Nachricht-
Von: therion-bounces at speleo.sk [mailto:therion-bounces at speleo.sk] Im 
Auftrag
von Bruce
Gesendet: Donnerstag, 18. Oktober 2012 21:18
An: 'List for Therion users'
Betreff: *** GMX Spamverdacht *** Re: [Therion] Cavesystem - Addition of
cavelenght

Marcus
A hack, not a nice solution...

Look for "Output Map Title Override" in...

http://therion.speleo.sk/wiki/doku.php?id=tex#overriding_data_supplied_by_th
erion_map_headers 
(or more simply you can simply use ...

  code tex-map
 \cavename={Name of cave2}
 \cavelength{1000\thinspace{}ft}  %enter cave length and units here
 \cavedepth{300\thinspace{}m}
  Endcode

...)

And then the rest of the statistics you can enter by creating a multi-line
map-comment.

map-comment "Name of cave1 with there length \
Name of cave3 with there length \
 \
 Length of cave2 \
 Depth of cave2"

A more elegant solution would be to modify the map-header so that it is
aware of multiple caves in the same way that the cave-list output is aware.
Beyond me I am afraid, but I have a number of projects where this would be a
very desirable addition to Therion.

Bruce


-Original Message-
From: therion-bounces at speleo.sk [mailto:therion-boun...@speleo.sk] On Behalf
Of Markus Boldt
Sent: Friday, 19 October 2012 7:23 a.m.
To: 'List for Therion users'
Subject: [Therion] Cavesystem - Addition of cavelenght

Dear all, 
I want to make a plan, which includes three caves. But how is it possible
that the cavelenght is only added from one Cave-centerline. 

For example: 
Cave1 = 100m
Cave2 = 2000m
Cave3 = 50m 

The best would be if I will get following Header: 

Name of cave2 

Scalebar and northarrow

Name of cave1 with there length
Name of cave3 with there length

Length of cave2
Depth of cave2
And so on

Thank you for getting a reply. 
Markus


___
Therion mailing list
Therion at speleo.sk
http://mailman.speleo.sk/mailman/listinfo/therion

___
Therion mailing list
Therion at speleo.sk
http://mailman.speleo.sk/mailman/listinfo/therion