| 1 | = !SasView Tutorials: The Next Generation - Author Instructions = |
| 2 | |
| 3 | Click [http://trac.sasview.org/wiki/TutorialsTNG-ForAuthors#Tutorials here] to jump straight to the current list of Tutorials. |
| 4 | |
| 5 | = Software = |
| 6 | You will need to install [https://www.libreoffice.org/ Libre Office Writer] if you do not already have it installed. |
| 7 | |
| 8 | Libre Office is what used to be Open Office and is free to download and use! We have also chosen this program because it offers an 'open' document format that our version control system can recognise. |
| 9 | |
| 10 | == Tutorial Template == |
| 11 | Click [http://www.sasview.org/tutorials/sasview_tutorial_template.fodt here] to download a Tutorial template for Libre Office Writer. |
| 12 | |
| 13 | == Contributing a NEW Tutorial == |
| 14 | Here are some simple steps to contributing a ''new'' Tutorial: |
| 15 | |
| 16 | * Download the Tutorial template above |
| 17 | |
| 18 | * Rename the template to something descriptive of the Tutorial you are about to write (but keep the filename manageable!) |
| 19 | * filenames must be lowercase |
| 20 | * separate words in filenames by underscores, nothing else please! |
| 21 | * keep the file extension as .fodt |
| 22 | |
| 23 | * Open your Tutorial file |
| 24 | * on Page 1: give your Tutorial a title |
| 25 | * on Page 2: add your name and email address to the list of contributors |
| 26 | * on Page 3: state the Objective of the Tutorial |
| 27 | |
| 28 | * Write your Tutorial! |
| 29 | |
| 30 | * Save your Tutorial |
| 31 | |
| 32 | What you do next depends on whether you think you will need to edit your Tutorial (or any other Tutorials) in the future: |
| 33 | |
| 34 | * I do ''not'' want to edit Tutorials: |
| 35 | * simply email the Tutorial to tutorials@sasview.org - if it is a rather large file it might be an idea to zip it first! |
| 36 | |
| 37 | * I do want to edit Tutorials: |
| 38 | * if you do not already have one, create yourself a [https://github.com/join?source=header-home GitHub] account |
| 39 | * login to !GitHub |
| 40 | * in the search box at the top of the window type '!SasView/tutorials' (without the quotes!) and press return |
| 41 | * you should now be looking at the Tutorials repository; there will be a file called README.md and a green button above it which says 'Clone or download' |
| 42 | * click on the button marked 'Upload files' to the left of the green button |
| 43 | * drag-over or choose the Tutorial file you want to upload |
| 44 | * in the narrow box under the heading 'Commit changes' add a ''short'' title for your upload; eg, 'Added tutorial on X' |
| 45 | * ''(optional) if you want you can add a more detailed description of what you are uploading in the bigger box'' |
| 46 | * click the green button marked 'Commit changes' to add your Tutorial file to the repository |
| 47 | |
| 48 | == Editing an EXISTING Tutorial == |
| 49 | IMPORTANT! Once a Tutorial file is in the repository it is available for anyone to work on and make changes. Provided all authors ''pull'' a copy of a file from the repository, make their changes, and then ''push'' the changed file back to the repository, Git will ensure that one authors changes are not compromised by another authors changes. |
| 50 | |
| 51 | * To ''pull'' a Tutorial file from the repository: |
| 52 | * login to !GitHub |
| 53 | * navigate to the '!SasView/tutorials' repository |
| 54 | * click on the Tutorial file you wish to edit |
| 55 | * the document contents will be displayed; in the case of a Tutorial file this will be a lot of XML! |
| 56 | * click the button on the right marked 'Raw' |
| 57 | * right-click anywhere on the page and choose 'Save as...' |
| 58 | * save the Tutorial file (as type '!OpenDocument Text', nothing else please!) |
| 59 | |
| 60 | ''Warning: Unless you really are a steely-eyed missile man/woman we do not advise that you edit the XML directly''!!! |
| 61 | |
| 62 | * Edit the Tutorial in Libre Office Writer! |
| 63 | |
| 64 | * Save the Tutorial! |
| 65 | |
| 66 | * To ''push'' the Tutorial file back to the repository: |
| 67 | * login to !GitHub |
| 68 | * navigate to the '!SasView/tutorials' repository |
| 69 | * click on the button marked 'Upload files' to the left of the green button |
| 70 | * drag-over or choose the Tutorial file you want to upload |
| 71 | * in the narrow box under the heading 'Commit changes' add a ''short'' title for your upload; eg, 'Changed/added X to the tutorial on Y' |
| 72 | * ''(optional) if you want you can add a more detailed description of what you have changed in the bigger box'' |
| 73 | * click the green button marked 'Commit changes' to add your Tutorial file to the repository |
| 74 | |
| 75 | [#Tutorials] |
| 76 | == Tutorials & Authors == |
| 77 | The following table lists required and requested tutorials, their authors, and production status: |
| 78 | |
| 79 | ||'''Tutorial'''||'''Type'''||'''Author'''||'''Status'''||'''Comment'''|| |
| 80 | ||Getting Started||required||Steve||Done|| || |
| 81 | ||Simple 1D Fitting||required|| || || || |
| 82 | ||Simultaneous 1D Fitting||required|| || || || |
| 83 | ||Batch & Chain 1D Fitting||required|| || ||Should include Combined Batch Fitting|| |
| 84 | ||Using Constraints||required|| || || || |
| 85 | ||Working with Polydispersity Functions||required|| || || || |
| 86 | ||2D Fitting||required|| || || || |
| 87 | ||Fitting Magnetic SANS||required|| || || || |
| 88 | ||P(R) Analysis||required|| || || || |
| 89 | ||Invariant Analysis||required|| || || || |
| 90 | ||Correlation Function Analysis||required||Steve|| || || |
| 91 | ||Writing a Plugin-Model||required|| || || || |
| 92 | ||Working with Image Data||required|| || ||Using the Image Viewer Tool|| |
| 93 | ||Simulating 2D SANS Data||required|| || ||Using the Generic Scattering Calculator Tool|| |
| 94 | ||Understanding Orientation Angles||required|| || || || |
| 95 | ||etc|| || || || || |