Skip to content

A poppler based tool to extract outline from pdf file

Notifications You must be signed in to change notification settings

armaab/pdf-outline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pdf-outline

A simple tool based on poppler to extract outline from pdf file. The output format is the same as that of toc file described in this project.

Requirements

  • g++ or clang++ that supports c++17
  • Poppler 24.04.0

On macos use the following command to install it:

brew install poppler

Build

If you are using MacOS and poppler is installed using homebrew, run the following commands first:

export CPLUS_INCLUDE_PATH=/opt/homebrew/include/
export LIBRARY_PATH=/opt/homebrew/lib

Then run

cd pdf-outline
mkdir build && cd build
cmake ..
make

Usage

./pdf-outline <pdf-file> [> <output-file>]

About

A poppler based tool to extract outline from pdf file

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published