Files
Douwe Ravers abf812c6e9 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
2022-12-24 15:18:20 +01:00

24 lines
730 B
C#

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();
}
}
}