Anyone made any Atlas page-setup Layouts?

View: New views
3 Messages — Rating Filter:   Alert me  

Anyone made any Atlas page-setup Layouts?

by Bruce Mutton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi All

Has anyone created a set of atlas layouts for standard paper sizes?

Ie portrait & landscape for A4, A3, A2, A1 etc?

 

I thought this should be quite straight forward until I tried to duplicate the default behaviour; ie A4 portrait.  The Therion book explanation is reasonably straight forward and I have checked the old forum posts which suggest there may have been some problems a year or so ago…

 

Varying the parameters makes changes to the output produced, but not at all what I expect.  It is as though there is a bug in the code whereby the size <width> <height> is fixed at the default values and not calculated automatically.  I am using version 0.5.2 from therion-update-20080416.exe

My printers printable margins are about 6 to 7mm from the paper edge, so I can not print out a complete default A4 atlas page to scale without clipping.

 

I have not been specifying the size <width> and <height> because the Therion book says it is calculated automatically if not given, and also if the nav pane is on, there is not enough information to allow the user to calculate the height manually.  Ie the height of the nav pane is not available to the user.

Assistance anyone?

 

Took me some time to get my pages to be labelled from A1.  I have figured it out in part, and if I am correct suggest a change to the Therion book definition, (at least for atlas) as follows;

 

 origin-label <x-label> <y-label> . set label for atlas page which has the upper left corner at the given origin coordinates. An ‘A’ for A, B, C sequence.  A ‘number’ for numeric sequence.  (number sequence will start at ‘number’ minus 1) (M, A; default: 0 0)

 

It would be nice for the nav pane to include these as labels along the edge, or at least have the page numbers inserted within the squares, otherwise the nav pane is not as useful as it could be once it is printed on paper… and you are wandering through the cave shuffling pages…

 

 

Transcription of my layout as follows…

#FILENAME: LayoutAtlasPortrait4.thc

#==================================

#Standard Component File created Bruce Mutton 27 July 2008

 

layout LayoutAtlasPortraitA4

#------------------------------

 

  #GENERAL PDF SETTINGS

  #--------------------

  #own-pages 0    #number to add to actual page number btm left in brackets

  page-numbers on #on

  title-pages off #on

  #exclude-pages  #this is dependant on particular output, include elsewhere

 

  #NAV PANE

  #--------

  nav-factor 30 #default = 30: bigger = smaller nav pane size

  nav-size 2 2

  origin-label 2 A #label type <across> <down>  2 A gives A1, 1 A gives A0, 0 A gives A-1

  #origin ?? clashes with co-ord system so not related to origin-labels?

 

  #PAGE LAYOUT

  #----------- 

  #page-setup 21 29.7    \ paper width height

  #           20 28.7    \ page width height (inside margins)

  #           0.5 0.5 cm   margins & units

  page-setup 21 29.7    \

             20 28.7    \

              1.5  1.5 cm

  #size           

  overlap 0.5 cm        #1 cm duplicated drawing overlap around drawing pane   

 

endlayout LayoutAtlasPortraitA4

#!END

 

Regards

Bruce

 


_______________________________________________
Therion mailing list
Therion@...
http://mailman.speleo.sk/mailman/listinfo/therion

Re: Anyone made any Atlas page-setup Layouts?

by Stacho Mudrak-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Varying the parameters makes changes to the output produced, but not at
> all what I expect.  It is as though there is a bug in the code whereby
> the size <width> <height> is fixed at the default values and not
> calculated automatically.  I am using version 0.5.2 from
> therion-update-20080416.exe

Thanks for pointing out this problem. There is really a bug in the code
and it does not work as described in the therion book. I will try to fix it.

> I have not been specifying the size <width> and <height> because the
> Therion book says it is calculated automatically if not given, and also
> if the nav pane is on, there is not enough information to allow the user
> to calculate the height manually.  Ie the height of the nav pane is not
> available to the user.
>
> Assistance anyone?

No idea right now about the size of navigation pane - but we will try to
add it into thbook, how it is created.

> Took me some time to get my pages to be labelled from A1.  I have
> figured it out in part, and if I am correct suggest a change to the
> Therion book definition, (at least for atlas) as follows;

Thanks, we will upgrade it.

> It would be nice for the nav pane to include these as labels along the
> edge, or at least have the page numbers inserted within the squares,
> otherwise the nav pane is not as useful as it could be once it is
> printed on paper… and you are wandering through the cave shuffling pages…

OK, an item in the TODO list. I have not been working on it, so I can
not say how complicated it is to implement. We will investigate, when I
will return from holidays.

Thanks for the feedback, S.

_______________________________________________
Therion mailing list
Therion@...
http://mailman.speleo.sk/mailman/listinfo/therion

Re: Anyone made any Atlas page-setup Layouts?

by Martin Budaj-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>> I have not been specifying the size <width> and <height> because the
>> Therion book says it is calculated automatically if not given, and also if
>> the nav pane is on, there is not enough information to allow the user to
>> calculate the height manually.  Ie the height of the nav pane is not
>> available to the user.
>>
>> Assistance anyone?
>
> No idea right now about the size of navigation pane - but we will try to add
> it into thbook, how it is created.

It is already described in the chapter Page layout in atlas mode:

\navbox -- The box containing the navigator, with dimensions
size_width * (2*nav_size_x+1) / nav_factor or
size_height * (2*nav_size_y+1) / nav_factor, respectively

i.e. you simply need to count the number of pages in navigaton pane,
and divide their total height (you know the height of the original
page) by the navigator_scale_factor (defined in layout as nav-factor).

>> Took me some time to get my pages to be labelled from A1.  I have figured
>> it out in part, and if I am correct suggest a change to the Therion book
>> definition, (at least for atlas) as follows;
>
> Thanks, we will upgrade it.

I think the current definition is correct. The important point is that
numbering starts on the page whose lower-left corner lies on the
origin (as specified in layout). It does not start on the first page
available in order to get consistent results when the cave expands
over time.

If it behaves differently on your data, send us some minimal sample to
help us finding potential bug.

>> It would be nice for the nav pane to include these as labels along the
>> edge, or at least have the page numbers inserted within the squares,
>> otherwise the nav pane is not as useful as it could be once it is printed on
>> paper… and you are wandering through the cave shuffling pages…
>
> OK, an item in the TODO list. I have not been working on it, so I can not
> say how complicated it is to implement. We will investigate, when I will
> return from holidays.

Currently you can get a good overview by exporting map (using the same
layout settings as the atlas) and turning page-grid on.

Martin
_______________________________________________
Therion mailing list
Therion@...
http://mailman.speleo.sk/mailman/listinfo/therion
LightInTheBox - Buy quality products at wholesale price!