Jump to content
THESE FORUMS ARE READ-ONLY: Please Read Me ×

Recommended Posts

Posted

Hi! I'm working on a book layout. Are there any function to count upwards that can be added to masters? I'd like the red circles to have numbers, counting upwards from like 1-100 for each page.

Note that this is NOT the page number.

2021-08-10_11-53-11.png

Photographer * Design Trainee * Linux nerd

Instagram - Youtube - Website

Posted

The easiest method would probably be creating a desired series in an app like LibreOffice Calc and copy paste text as an autoflowing story in a desired text container on a master page.

Posted

It can be done pretty quickly with Data Merge
Put both attached files into the same folder, open the afpub
Do Document/Data Merge Manager - it should have remembered the link to the csv
Click Generate
Save the generated document as afpub
Import these pages into your main document with Document/Add Pages from File

circles.csv RedCirclesOnly.afpub

Microsoft Windows 11 Home, Intel i7-1360P 2.20 GHz, 32 GB RAM, 1TB SSD, Intel Iris Xe
Affinity Photo - 24/05/20, Affinity Publisher - 06/12/20, KTM Superduke - 27/09/10

Posted

Thank you for posting your question. This thread has solved part of a problem for me. I looked at the video in the link posted by wolboe, and then I was able to generate the autonumbering after a quick experiment.

The important part of the auto-increment process is defining a new paragraph text style that is only used for the incrementing number. The most significant part of the style is the data settings on the Bullets and Numbering segment of the style. Select the Type as 1,2,3,4.. and set the Text field as \# (which enters the number). Enter a name for the increment counter in the Name field, and set the adjacent Global tick box active. Set the Restart numbering to Manual Only.

Place a text frame using the auto-increment style on top of your button shape, and make a group of the shape and the text frame. Duplicate or copy and paste the group object to create instances that have numbers in them. If you have two or more buttons on a page the number value is controlled by the position of the button layer in the layers stack. The lowest number is allocated to the button lowest in the layer stack.

I have attached an example .afpub that has an auto-increment button and a description of how to configure the paragraph style, plus a PDF of that document.

Autonumber_Button.pdf Autonumber_Button.afpub

  • 1 year later...
Posted
On 8/11/2021 at 6:28 PM, AndyWh said:

Thank you for posting your question. This thread has solved part of a problem for me. I looked at the video in the link posted by wolboe, and then I was able to generate the autonumbering after a quick experiment.

The important part of the auto-increment process is defining a new paragraph text style that is only used for the incrementing number. The most significant part of the style is the data settings on the Bullets and Numbering segment of the style. Select the Type as 1,2,3,4.. and set the Text field as \# (which enters the number). Enter a name for the increment counter in the Name field, and set the adjacent Global tick box active. Set the Restart numbering to Manual Only.

Place a text frame using the auto-increment style on top of your button shape, and make a group of the shape and the text frame. Duplicate or copy and paste the group object to create instances that have numbers in them. If you have two or more buttons on a page the number value is controlled by the position of the button layer in the layers stack. The lowest number is allocated to the button lowest in the layer stack.

I have attached an example .afpub that has an auto-increment button and a description of how to configure the paragraph style, plus a PDF of that document.

Autonumber_Button.pdf 311.83 kB · 9 downloads Autonumber_Button.afpub 1020.95 kB · 8 downloads

Thank you so much! I was trying to find out a method for consecutive numbers and your solution is the closest one. Once again thank you! 

  • 1 year later...
Posted
On 8/11/2021 at 9:28 AM, AndyWh said:

Thank you for posting your question. This thread has solved part of a problem for me. I looked at the video in the link posted by wolboe, and then I was able to generate the autonumbering after a quick experiment.

The important part of the auto-increment process is defining a new paragraph text style that is only used for the incrementing number. The most significant part of the style is the data settings on the Bullets and Numbering segment of the style. Select the Type as 1,2,3,4.. and set the Text field as \# (which enters the number). Enter a name for the increment counter in the Name field, and set the adjacent Global tick box active. Set the Restart numbering to Manual Only.

Place a text frame using the auto-increment style on top of your button shape, and make a group of the shape and the text frame. Duplicate or copy and paste the group object to create instances that have numbers in them. If you have two or more buttons on a page the number value is controlled by the position of the button layer in the layers stack. The lowest number is allocated to the button lowest in the layer stack.

I have attached an example .afpub that has an auto-increment button and a description of how to configure the paragraph style, plus a PDF of that document.

Autonumber_Button.pdf 311.83 kB · 74 downloads Autonumber_Button.afpub 1020.95 kB · 66 downloads

Thanks, it helped me to number some lunch cards (1 to 1200), 9 cards per page

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.