useblocks / sphinx-simplepdf

A simple PDF builder for Sphinx documentations
https://sphinx-simplepdf.readthedocs.io
MIT License
36 stars 15 forks source link

Table width exceeds page margin #17

Closed sachin-suresh-rapyuta closed 1 year ago

sachin-suresh-rapyuta commented 1 year ago

The table width which appears normal in other PDFs breaks in width when PDF generated using this extension.

This is the table code:

.. list-table:: Warning and Error codes
   :widths: 5 15 10
   :header-rows: 1
   :class: tight-table

   * - Global Error Code
     - Error Name
     - Reporting Component
   * - 1
     - PICK_DROP_FAILED
     - MCLBC_PickDrop
   * - 2
     - MAP_SWITCH_FAILED  
     - MCLBC_EnterExitDeviceZone
   * - 3  
     - CHARGE_FAILED
     - MCLBC_Charge
   * - 4
     - PREPARE_FOR_ACTION_FAILED  
     - MCLBC_PrepareForAction
   * - 5
     - PAYLOAD_RECOGNITION_FAILED
     - MCLBC_RecognisePayload
sachin-suresh-rapyuta commented 1 year ago

Closing this for now. As the table width appears to be fine after performing the steps in this https://github.com/useblocks/sphinx-simplepdf/issues/9