Skip to content

eduoda/latexpad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LaTeX Pad

Tools for collaborative LaTeX documents.

  • Create a new database
  • Download the OwnCloud tar ball and explod it into your htdocs
  • Create the directories and give the right permissions:
$ mkdir data
	$ mkdir apps2
	$ chown -R apache:apache apps/ config/ data apps2
  • Access your server and follow the instalations instructions, selecting MySQL in the advanced configs
  • Edit your OWNCLOUD_DIR/config/config.php
'appstoreenabled' => true,
	'appstoreurl' => 'http://api.apps.owncloud.com/v1',
	'apps_paths' => array (
		0 =>
		array (
			'path' => 'OWNCLOUD_DIR/apps',
			'url' => '/apps',
			'writable' => false,
		),
		1 =>
		array (
			'path' => 'OWNCLOUD_DIR/apps2',
			'url' => '/apps2',
			'writable' => true,
		),
	)
  • Edit the OWNCLOUD_DIR/lib/mimetypes.list.php and add the line:
    'tex' => 'application/x-tex'
  • Enter in the apps2 directory and clone the app:
    $ git clone https://github.com/eduoda/latexpad.git
  • Go to "Application" interface and enable the LaTeX Pad app
  • Go to the "Admin" interface and configure the APIKEY and the Etherpad Server.
  • Install the etherpad
  • Go to ETHERPAD_DIR/node_modules and clone the plugin:
    $ git clone https://github.com/eduoda/ep_latexpad.git
  • Access the etherpad admin page and check if the plugin is enabled.
  • Done!

Using LaTeX Pad

  • Log in the owncloud
  • Click on New -> LaTeX Project
  • Type the project name and [ENTER]
  • Enter in the directory
  • Click the latex file to edit
  • If you need another latex document click New->Text file
  • Enter the file name with a .tex extension then [ENTER]
  • The pdf generation os done every 10 seconds if the source has changed
  • You can also click on [Compile Project]
  • New pages are loaded and they blink 3 times (it's very annoying)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published