Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • pagedjs pagedjs
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 229
    • Issues 229
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 6
    • Merge requests 6
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • pagedjs
  • pagedjspagedjs
  • Issues
  • #29
Closed
Open
Issue created May 30, 2018 by Boris Budini@kominoshja🛡Owner

Selecting each n page of a page group

We need to select the each n pages of different instances of the same page named template.
For example, the third page of each chapter.

This is like selecting the third page of a page group. (Issue #27)

The following table shows which layout is applied to which page:
layout A = @page chapter { }
layout B = @page chapter:nth(3) { }

table-nth_n_-page-of-page-group


Sample files for selecting the second page of page group

HTML: nth_n_-page-of-page-group.html

Result: nth_n_-page-of-page-group-wrong.pdf

The result we should get: nth_n_-page-of-page-group-correct.pdf

Edited Jun 25, 2018 by Boris Budini
Assignee
Assign to
Time tracking