/AE4872-Satellite-Orbit-Determination

Summaries and automated planning for the course.

Primary LanguageTeX

AE4872-Satellite-Orbit-Determination Content:

  1. The complete course planning. (It automatically compiles a pdf with the planning, and more importantly, it automatically generates all the taskwarrior commands to add your tasks to your tasklist (taskwarrior).)
  2. Old exam solutions templates, the actual solutions are in a private repo shared with collaborators.test

Below are 3 explenations: 0. How to add yourself as collaborator to the list.

  1. How to request a review of your solution
  2. How to use Texworks for off-line latex editing (You can also just import to overleaf if you want.)

Add yourself as collaborator.

Short: 0. git- fork,

  1. open xlsm,

2.a find un-allocated exam (~ see column K)

2.b or add new one that doesnt have solutions in drive etc.,

  1. Add yourself by new Letter(~see col G) in column K
  2. push,
  3. send me pull request.

Exact steps: 0. Browse to my github 1

  1. Open the repo of the course (you're already here if you're reading this) 1
  2. Copy the link to clone the repo 1 3.Ensure you installed github and that it works, then open the software.(Go to: desktop.github.com) 1
  3. click add>CLONE repository. 1
  4. Copy the git clone link you copied in step 2. and paste it in, then click add repository (If you get "ssh error" please click the refresh button in the github gui software again, untill the github gui software/program shows your fork of the course repository, then click that repository and clone.)
  5. Probably takes you to the next screen, tab url, (else enter the copied git clone link again) and press clone. 1
  6. Then open the cloned repository on your pc, 1 9.and browse to CoursePlanningTemplate 1
  7. Open PlanningData-<Coursename>.xlsm 1 11.Find an exam 1 12.Find your new ID /letter by going one letter beyond the current maximum ID as listed in cell M1, e.g. if the repo contains allocations in colum K of: A-G, your new ID = H. 1 13.Allocate yourself to an exam by typing your ID into column K. 1
  8. git pull/ git fetch before you push, forgot screenshot. 1
  9. Then after saving your xlsm and closing it, press git push (If you get auth error, you probably cloned my repository instead of your fork/copy of my repository {You are trying to push to my public repository while you're not a collaborator in that, hence you don't have the authentication to push to it}. Please go back to step 1 and try again.) 1
  10. Then in your ownforked/copied repository/github of this course click"new pull request" 1

17.Create pull request (sends me message hey A-T-0 do you want this change I made? 1 18.Type a bit more than just your id. 1 19.Thats it, then I'll get a notification of your pull request, inspect it. 1 20.And then merge your pull request to my/the main repo.

1

  1. Thats it, now make an exam solution in the latex template.

Request review of your solution

22.a First make sure you have the latex files and a compiled pdf in the folder examSolutions/<exam date> of your local copy of your personal fork/copy of my public repository. Then open your browser, browse to your fork of my public repository.

22.b Now click settings in your fork of this repository

1

  1. That brings you to the settings tab as depicted:

1

  1. Scroll all the way down (Right into the danger zone, Kenny Loggins would be proud). Make sure you have a github pro account with your academic licence. Then click "Make private".

1

  1. Type the name of the repository (EXACTLY) so for different course, different repository name.

1

  1. Then click collaborators

1

  1. Type your password to continue.

1

  1. Then add me, a-t-0 as collaborator and click invite.

1

  1. That's it. Now I will inspect it, and if your solutions are complete you will be granted access to the private repository (where you can upload your solution).

How to use

  1. You can git clone this repository

  2. You can edit pdf's in this repository with TexMaker (OpenSource):https://www.xm1math.net/texmaker/download.html

  3. You can compile/create the pdf's in this repository by telling TexMaker to use MikTex (OpenSource): https://download.cnet.com/MiKTeX-64-bit/3000-18483_4-75851644.html Or: https://miktex.org/download https://miktex.org/howto/install-miktex

  4. Or just do it in overleaf (Skip to step 7.b and 7.c)

  5. And then send a pull request after you have pushed your changes. After inspection of your pull request (and acceptance), you will be made collaborator in the private repo, to re-do your pull request which will be accepted. This will grant you access to all the exam solutions generated collectively!

To change (a copy of) this a latex exam solution template after you have installed TexMaker: 0. Open Main.tex file in TexMaker:

1

1

  1. Make sure you have opened Main.tex and not someChapterOrOther.tex and click the triangle meaning "Run/compile". That exports the PDF to your/this directory.

  2. Click Options>Define current document as "Master Document". 1

  3. Selected PDFLatex and View PDF (see next pic)

3.a Press f2,f11 to compile the bibliography, followed by f2 to include the bibliography in the report. Then:

  1. Press f6 to compile the pdf. (left triangle in pic below)

1

  1. Press f7 to preview the pdf in the right half of your screen. (Right triangle in pic below)

1

  1. If you get error saying: "no logfile" or anything else, it's most likely becuase you havent installed "the compiler". So latex is just some kind of computer language, Texworks is an editor for files of that language, and Miktex (also open source) is a compiler. So you can already edit your tex files, but to also build the pdf, install miktex and tell texworks where it can find your miktex .exe file (via Options> ?compiler? ..). Actually you have 3 options to create your latex solution:

7.a Install miktex, (F did that already) AND link the target destination of miktex in texworks.

7.b Import your forked repository to overleaf (get a temporary free trial acount with ggr.la mail.

7.c Import your forked repository to overleaf by pressing: menu>new>import zip file> put your 2010-xx-yy folder Content into a zip, and click import. Then you can just work in overleaf.

Configuring Texmaker for convenience

Normally you can switch between your tabs/files with Alt+PageDown and Alt+PageUp. However if you also have FLux installed on windows, those shortcuts are already mapped to reducing the blue content in your screen. The shortcuts wont work in that case. To switch between screens fast with your keyboard:

  1. Click Options.

  2. Click Configure Texmaker.

1

  1. Click tab: "Shortcuts" and scroll down to Action: "Next Documents".

  2. Click the "shortcut" next to Next Document and Press the shortcut you want, e.g. press Ctrl+PageDown.

1

  1. Then do the same for the Previous Document

If you are having troubles with any of the above steps/don't know how you do any of that, feel free to click on: "issue" and type your question :)