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:
23
Proostenkrant.NET/Program.cs
Normal file
23
Proostenkrant.NET/Program.cs
Normal 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user