<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hi Mike,</p>
    <p>And what exactly is your problem?</p>
    <p>@atlas_pagename: did you define an expression for a pagename? If
      now, it will stay empty as you observed.<br>
    </p>
    <p>@layout_page: how many pages does your layout contain? If your
      layout has only 1 page it will always return 1<br>
    </p>
    <p>@layout_numpages: see above. Depends on how many pages your
      layout has.</p>
    <p>If you want to get the nth feature, you have to use
      @atlas_featurenumber, resp. @atlas_totalfeatures. If your layout
      contains more than one page and you want to have the exact
      pagenumber, you have to calculate the number, using
      @atlas_featurenumber, @layout_numpages and @layout_page to get the
      actual page number.</p>
    <p>Greetings,</p>
    <p>Andreas<br>
    </p>
    <div class="moz-cite-prefix">Am 29.09.2016 um 11:01 schrieb
      Elstermann, Mike:<br>
    </div>
    <blockquote
cite="mid:D54333308A8EE94FB62F55487E054D010150F440C1@VVVMAIL10.vvv.vvv-konzern.net"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span lang="EN-US">Hi,<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">I want to use in
            QGIS/Atlas system-vars. In my textbox I write this:<o:p></o:p></span></p>
        <p class="MsoNormal">Halle (Saale), [% "name" %]  [%
          @layout_page %] ... [% @atlas_pagename %] ... [%
          @layout_numpages %] ... [% @layout_pageheight %] ...
          <span lang="EN-US">[% @layout_pagewidth %]<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">Results:<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">* [% "name" %] works OK,
            gives correct names<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">* [% @layout_pageheight
            %] works OK, gives correct pageheight<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">* [% @layout_pagewidth
            %] works OK, gives correct pagewidth<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">* [% @layout_page %]
            gives only "1"<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">* [% @atlas_pagename %]
            gives only ""<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">* [% @layout_numpages %]
            gives only "1"<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">Where is the/my </span><span
style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:#333333;background:white"
            lang="EN-US">fault</span><span lang="EN-US">?<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">THX and best regards,
            mikeE., The geoObserver</span><span lang="EN-US"><o:p></o:p></span></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></pre>
    </blockquote>
    <br>
  </body>
</html>