Skip to content

Instantly share code, notes, and snippets.

@nsahoo
Last active November 30, 2015 06:27
Show Gist options
  • Save nsahoo/6d11d38e84a69444351a to your computer and use it in GitHub Desktop.
Save nsahoo/6d11d38e84a69444351a to your computer and use it in GitHub Desktop.
tdr processing
### on lxplus machine, do the following ###
svn co -N svn+ssh://svn.cern.ch/reps/tdr2 myDir
cd myDir
svn update utils
svn update -N [papers|notes]
svn update [papers|notes]/XXX-YY-NNN
eval `[papers|notes]/tdr runtime -csh` # for tcsh. use -sh for bash.
cd [papers|notes]/XXX-YY-NNN/trunk
and then after editing it, compile the document by doing:
tdr --draft --style=[paper|pas|an] b XXX-YY-NNN
If you make some local changes, first check the status by comparing local dir with central one (in svn)
svn status
this "?" means the new files
add them to svn before commit
svn add xxx
then do,
svn status --> it will show "A" in the left for those (added) files
delete the files which shows "!"
svn delete xxx
then commit the changes to svn
svn commit -m "commit"
This will build the paper/pas/note in directory myDir/[papers|notes]/tmp/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment