This repository collects some resources for preparing the article on representing small lattices as congruence lattices of finite algebras. The LaTeX files for the article itself are in the article directory.
git at the command line
First, stage your latest changes for commit.
git add SmallLatticeReps.tex
Then, commit your changes locally.
git commit -m "change this part because..."
Next, pull down the latest remote changes.
This might ask you to commit a merge message. Do it!
If git isn't able to do the merge automatically, it will give you a message
indicating that and then you'll need to do a manual merge, which is a giant pain
in the ass. A merge tool like meld might be helpful. You could also try
to see differences between local and remote versions.
Finally, push your merged local repo to the remote repo.
git push origin master
compiling the document
In case there were additional references added since last time you compiled, you should first delete the file inputs/refs.bib. Then do
pdflatex SmallLatticeReps.tex bibtex SmallLatticeReps.aux pdflatex SmallLatticeReps.tex pdflatex SmallLatticeReps.tex
You could also try typing
make at the command line. It might work. It might not work.
This section describes a few basic commands for committing and pushing changes directly from Emacs using magit.
To install magit
Put the following in your .emacs file:
;; ;; For Magit ;; (setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/") ("marmalade" . "http://marmalade-repo.org/packages/") ("melpa" . "http://melpa.milkbox.net/packages/"))) ;; If you want to use magit, install the magit package ;; (if you haven't done so already) with the following commands: ;; \M package-refresh-contents ;; \M package-install [Enter] magit (define-key global-map "\M-gm" 'magit-status)
Restart emacs and do
M-x package-install <enter> magit <enter>
Activate the magit status buffer with
M-x g m.
Move the point down to appropriate line in the
Unstanged changessection and hit the
write a commit message, hopefully explaining why (not what) changes were made.
C-cto commit the changes.
Pto push the changes to github.