Help with Footers

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Help with Footers

Sammy
This post was updated on .
Hello everyone. First time poster here.

I have been spending time with asciidoctor-pdf for the last week or so due to a request by my employer.

I am having issues with footers. I have reviewed the styling guide and I am not sure what I am doing wrong.

I want to have the company name centered and the page number on the right-hand side of the page.  

I have manged to achieve results close to this, but I have also encountered the phenomenon of page numbers appearing  on both the left and right sides of the page when they should only appear on the right.

I have tried a lot of different variations trying to get asciidoctor-pdf to do this, and I could use an example of how to do it correctly.  


Thank you all for your time.

UPDATE:

Sorry for not including this before. My main question is why does this:
footer:
  columns: "<25%,=50%,>25%"
  recto:
    center:
      content: '{page-number}'
    right:
      content: '{company}'
  verso:
    center:
      content: '{page-number}'
    right:
      content: '{company}'

Produce  this: