A small and simple reader (PHP script) for showing Authorea files (written in LaTeX & stored on GitHub) in an HTML enviroment. Including a reference browser (modfied version of bibtexbrowser) and a simple caching system.
Demo: live.offene-doktorarbeit.de
Version: alpha 0.37
- The folders "cache" and "data" need to be writable by the webserver
- Add the URL to your dynamic BibTeX file at
$_GET[Q_FILE]="URL-HERE";
in includes/bibtexbrowser.php (line 3949) - Edit the
General Settings
andSettings for Import
section in theindex.php
file - For Permalinks you need to create a .htaccess file in the root directory containing the following parameters:
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^chapter/([^.]*)[/]?$ index.php?chapter=$1
RewriteRule ^uebersicht index.php
RewriteRule ^literatur/all index.php?bibtex=all
RewriteRule ^quelle/([^.]*)[/]?$ /includes/bibtexbrowser.php?key=$1&bib=ADD-URL-TO-BIBTEX-FILE-HERE
For the initial use, you have to click through every chapter so all files are created initially