The Ur-Quan Masters Discussion Forum

The Ur-Quan Masters Re-Release => Starbase Café => Topic started by: Zanthius on November 29, 2017, 11:12:04 pm

Post by: Zanthius on November 29, 2017, 11:12:04 pm
I have uploaded all the tex files for my website to github. I would love to have you guys as contributers there! (

Title: Re:
Post by: Scalare on November 30, 2017, 12:49:13 pm
I think that .md (markdown) files work better on github instead  of latex files.

Then again, a wiki might even be better?

Title: Re:
Post by: Zanthius on November 30, 2017, 05:00:23 pm
I think that .md (markdown) files work better on github instead  of latex files.

Then again, a wiki might even be better?

Markdown files are better to edit online on github, but it is easy to edit the latex files on your own computer, and upload them to github:

To make a local copy of the latex files:
git clone

If you already have a local version, you can write: "git pull" from your local directory, to check that it is updated.

In order to compile the latex files, you need to have latex and some latex libraries installed on your computer. Personally I prefer to write latex code in TexStudio ( ( When you are finished editing, you can just upload the changes to github.

To upload changes from your local directory:
git init
git add .
git commit -m "Updates"
git remote add origin
git remote -v
git push origin master

I have never used GitHub before, so some of you might know much more than me about this, but this seems pretty straightforward to me.

Title: Re:
Post by: Zanthius on December 01, 2017, 06:35:33 pm
I have added this text to the file at GitHub:

This repository contain all the LaTeX files used to compile the PDF and HTML files at

The objective of is to modernize governance and education to become better suited for today.

The main LaTeX file for each article can be found in main.tex, and if the article has a bibliography it can be found in main.bib

TeX Live or MiKTeX can be used to compile PDF documents from the LaTeX files. Tex files can be edited in almost any text editor, but a proper LaTeX editor like TeXstudio is recommended. In order to prevent LaTeX from splitting articles into multiple pages, each article has a custom paperheight which might need to be increased or decreased depending on if text is added or deleted. In the folder of each article there should be a script named tohtml which can be used to convert the PDF document into a HTML file. These scripts require pdf2htmlEX, but are however not necessary to execute, since they will be executed automatically when the articles are uploaded to the website.

You are welcome to collaborate with this project, if you think you can:

  • Find fallacies in the articles
  • Improve the language or design of the articles
  • Expand upon the ideas in the articles
  • Come up with new or better ideas for the articles
  • Improve the conversion from LaTeX to HTML
  • Find a way to increase the maximum legal dimension for paperheight in LaTeX (

Title: Re:
Post by: Zanthius on December 06, 2017, 09:59:25 pm
I didn't like pdf2htmlEX so much, so I made my own script to convert LaTeX files to HTML files. It is on GitHub now.

Here is the blueprint for a progressive world democracy, converted with my new script. I am not going to have a PDF version anymore, since I think this is good enough. (

Title: Re:
Post by: Zanthius on December 07, 2017, 10:55:25 pm
Here is the education article converted with my new script. Doesn't look so different, but much more mobile friendly and easier to read for all kinds of browsers and devices. (

I have now also converted the other articles with my new script. (