Automated the google forms to pdf generation process. Using pdflatex command (external program).

Only the download automation has to be done. > look at FileSystemWatcher for automatically detecting downloads
This commit is contained in:
Douwe Ravers
2022-12-24 15:18:20 +01:00
parent bc576e433a
commit abf812c6e9
99 changed files with 2224 additions and 428 deletions

View File

@@ -0,0 +1,23 @@
using System;
namespace Proostenkrant.NET
{
public class Program
{
internal const string c_latexPath = "../Latex";
internal const string c_mainPath = c_latexPath + "/Main.tex";
internal const string c_articlePath = c_latexPath + "/Articles.tex";
internal const string c_imagesPath = c_latexPath + "/Images";
internal const string c_articleImagesPath = c_imagesPath + "/Articles";
static void Main(string[] args)
{
var rows = GoogleFormsReader.GetData();
var text = ArticleGenerator.GenerateArticle(rows);
LatexCompiler.Compile(text);
Console.WriteLine("Done!");
Console.ReadLine();
}
}
}