File tree 4 files changed +36
-0
lines changed
4 files changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ build
Original file line number Diff line number Diff line change
1
+ cmake_minimum_required (VERSION 3.26)
2
+
3
+ project (LatexDemo NONE)
4
+
5
+ include (FetchContent)
6
+
7
+ FetchContent_Declare(CMakeLatex GIT_REPOSITORY https://github.com/wichtounet/CMakeLatex GIT_TAG 1.0.2 SOURCE_DIR "${CMAKE_BINARY_DIR} /CMakeLatex" )
8
+ FetchContent_MakeAvailable(CMakeLatex)
9
+ include ("${CMAKE_BINARY_DIR} /CMakeLatex/UseLATEX.cmake" )
10
+
11
+ # include(UseLATEX.cmake)
12
+
13
+ # find_package(LATEX COMPONENTS PDFLATEX)
14
+
15
+ add_latex_document(main.tex)
Original file line number Diff line number Diff line change
1
+ \documentclass [12pt ]{article }
2
+
3
+ \begin {document }
4
+ \title {Teste}
5
+
6
+ \date {\today }
7
+
8
+ \section {Teste }
9
+
10
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
11
+ \end {document }
Original file line number Diff line number Diff line change
1
+ { pkgs ? import <nixpkgs> { } } :
2
+ pkgs . mkShell {
3
+ buildInputs = with pkgs ; [
4
+ texlive . combined . scheme-basic
5
+ cmake
6
+ ninja
7
+ imagemagick
8
+ ] ;
9
+ }
You can’t perform that action at this time.
0 commit comments