Editing CommunityData:TeX

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
In order to write LaTeX documents, there are two main options. The first is to do everything in Overleaf. The second option, which is explained in this document, is to install software on your local machine which will compile LaTeX documents. This document explains how to use our lab-created templates. Using other templates may require other steps.
 
 
 
== Installing Dependencies ==
 
== Installing Dependencies ==
 
=== Debian/Ubuntu Installation Instructions ===
 
=== Debian/Ubuntu Installation Instructions ===
Line 36: Line 34:
 
== Getting/Installing Templates ==
 
== Getting/Installing Templates ==
  
You can find the latest version of the templates [https://code.communitydata.science/cdsc_tex.git here].
+
You can find the latest version of Mako's templates here: http://projects.mako.cc/source/?p=latex_mako
  
 
To clone the public repository, you can do:
 
To clone the public repository, you can do:
  
  git clone git://code.communitydata.science/cdsc_tex
+
  git clone git://projects.mako.cc/latex_mako
  
 
If you can clone them into the directory <code>~/tex/</code> (e.g., by doing <code>mkdir ~/tex; cd ~/tex</code> before running the clone command above) it will make things a bit easier.
 
If you can clone them into the directory <code>~/tex/</code> (e.g., by doing <code>mkdir ~/tex; cd ~/tex</code> before running the clone command above) it will make things a bit easier.
  
This code includes a bunch of bash scripts which are used to quickly create a new project. If you want, you can copy the files into your path (e.g., <code>ln -s ~/tex/cdsc_tex/new* ~/bin/</code>); this will allow you to run, for example, <code>new_knitr_document documentname</code> to create a new knitr document from the template.
+
If you want, you can copy the files new_tex_document  new_tex_letter into your path (e.g., <code>~/bin</code>) this will allow you to run <code>new_tex_document documentname</code> to create new documents from the template more easily. It's totally optional.
  
 
== Using the Templates ==
 
== Using the Templates ==
Line 78: Line 76:
 
== Sending Patches ==
 
== Sending Patches ==
  
If you want to send patches, these currently should be sent over email to mako. Details on how to do this with the <code>git format-patch</code> command are online here: https://code.communitydata.science/
+
If you want to send patches, these currently should be sent over email to mako. Details on how to do this with the <code>git format-patch</code> command are online here: http://projects.mako.cc/source/

Please note that all contributions to CommunityData are considered to be released under the Attribution-Share Alike 3.0 Unported (see CommunityData:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)