How to convert the by-laws to pdf/odt format

From Meta Makers Wiki
Jump to: navigation, search
  • install pandoc and tex-live on a linux box. e.g.:
sudo apt-get install pandoc texlive-full
  • edit the wiki page, copy the entire mediawiki markup text and save it to a file called, say,
    bylaws.wiki
  • convert the .wiki file to .pdf by running:
pandoc -f mediawiki -t latex --toc --number-sections --top-level-division=part -s bylaws.wiki -o bylaws.pdf
  • to convert to .odt file, run the following:
pandoc -f mediawiki --toc --number-sections --top-level-division=part -s bylaws.wiki -o bylaws.odt