include(UseLATEX)

message("dirs are ${CMAKE_CURRENT_SOURCE_DIR} tooo ${CMAKE_CURRENT_BINARY_DIR}")

file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/../ParaView/menukeys.sty DESTINATION ${CMAKE_CURRENT_BINARY_DIR})


add_latex_document(
  ParaViewCatalystUsersGuide.tex
  INPUTS
    Introduction.tex
    UserSection.tex
    DeveloperSection.tex
    BuildSection.tex
    Examples.tex
    References.tex
    Appendix.tex
  IMAGE_DIRS Images
  DEFAULT_PDF
  DEPENDS multicols.sty
  USE_INDEX
  MANGLE_TARGET_NAMES
)
