Browse Source

add docs

master
zeus 3 years ago
parent
commit
67849102c2
  1. 50
      docs/modules/ROOT/pages/index.adoc

50
docs/modules/ROOT/pages/index.adoc

@ -53,23 +53,19 @@ Click on openGui
=== Default xeLatex main file
>
> /home/main.tex
>
=== Backup xeLatex src files
>
> See More Options
>
=== Reasons why you must, should, and should not use LaTeX
== Reasons why you must, should, and should not use LaTeX
If you have to write down a document you will run your default text processor (probably MS Word) not even considering any other option. This processor probably fulfills all your needs. I would say that 95% of users out there have no idea what is **LaTeX.** And this is perfectly fine. However, it is a pity. Because LaTeX is one of the most successful and amazing free software projects ever done. It has been around for more than thirty years with two Turing awarded researchers directly participating in its design and implementation. LaTeX must have something special. Hopefully, after reading this post you will consider giving it a try.
I will not showcase how to use LaTeX because there is a lot of wonderful tutorials around. I will only enumerate when you **MUST, SHOULD, and SHOULD NOT use LaTeX.**
==== A bit of history
=== A bit of history
**Donald Knuth** (Turing Award 1974) published his first edition of The Art of Computer Programming in 1968 when he was thirty. By then, books were printed using monotype settings. Knuth was happy with the final print. However, the second edition in 1976 had to be typeset again because the original fonts were no longer available. When Knuth received the galley proofs he was disappointed. He found them inferior.
@ -82,7 +78,7 @@ With LaTeX you can have a high quality typesetting (the best I would say) docume
This sounds fantastic… but as you can expect from the title of this article there are some drawbacks. The main one is the learning curve. LaTeX is not a WYSIWYG (What You See Is What You Get) solution and requires a learning period. Let me give you some guidelines about when you MUST, SHOULD and SHOULD NOT use it. Of course all this comes from my point of view and experience after using LaTeX for more than 15 years.
==== When you MUST use LaTeX?
=== When you MUST use LaTeX?
- You are in academia, particularly in any STEM discipline. In this scenario manuscripts are everything. Content is really important and requires a tremendous amount of work. In the case of Ph.D. manuscripts, you MUST consider spending some time learning LaTeX to make the difference in your final outcome. I have seen Ph.D. manuscripts written in MS Word and I have to say that somehow (for me) it diminishes the value of the manuscript.
- You work with abundant bibliography. Professional works may manage hundreds of citations. Citations must have a consistent format, otherwise your bibliography section will be a mess. To save time, you must go with LaTex + BibTeX. Fill your BibTex file with your citation entries, tag them, and use the tag in your latex document as a reference. The compiler will do the rest of the work. I know there are plugins and solutions for MS Word and other text processors. But remember, for thirty years, this problem has been solved with plain text. And from my experience, these plugins result cumbersome.
@ -93,26 +89,26 @@ This sounds fantastic… but as you can expect from the title of this article th
- One entry point, several output formats. Because LaTeX is a typesetting system, you can get outputs in DVI, PDF, HTML, XML, etc. with a single document.
- Forget about the document layout. LaTeX is somehow like HTML + CSS. Once you define the document structure, you use a markup language, and the compiler will make everything coherent for you. No more paragraphs separated with double spacing instead of a single space.
==== When you SHOULD use LaTeX?
=== When you SHOULD use LaTeX?
- You are new to LaTeX, you have to start a new project and you are looking for all the advantages that it offers.
- You want your documents to stand out among others. And you will. LaTeX outcomes have a distinguishing quality everybody appreciates.
- You are considering writing a book, article, or manuscript and maybe self-publish it. This is a common situation nowadays with the adoption of platforms such as Amazon Self Publishing. With LaTeX, you can go from your raw text to a high quality .epub, .mobi ebook file.
==== When you SHOULD NOT use LaTeX?
=== When you SHOULD NOT use LaTeX?
- Your document is already written in another format. The content is probably easy to be moved to LaTeX. However, the document’s layout could be hard to get.
- You are doing collaborative work, and you are the only LaTeX practitioner. Do not move into LaTeX. Do not even consider it. My experience says that after starting a shared LaTeX project, your colleagues will complain, and you will finally move everything to a commonly understood format two hours before the deadline.
- The layout of your document means everything to you. You are thinking about a mesmerizing print with 30 types of fonts, text lines crossing the text body, images in every possible place across the document, etc. Then probably LaTeX is not your candidate.
==== When people complain about LaTeX they say…
=== When people complain about LaTeX they say…
- It is difficult. LaTeX has a much steeper learning curve when compared with MS Word that is true. However, getting a basic LaTeX (text, figures, titles, tables) document is not so difficult. There are a million examples out there. The complexity comes in understanding the concepts used by LaTeX, such as floating objects.
- I cannot see what I am doing. LaTeX is not a WYSIWYG solution. You have to compile and then check the output. Fortunately, there are some programs such as TeXMaker that offer a better user experience.
- Figures do not appear where I want. Well, this is a classic misconception about how figures placement works in LaTeX. LaTeX computes the best location for your figures in your document. However, the position can be changed using modifiers.
- I cannot easily change the layout of my document. This is true. If you want to set your own document structure you need to have a deeper understanding of the macros. There is a nice community to help you with it. However, this may require some time and effort. Fortunately, there is a vast number of templates already defined ready to be used.
==== And now…
=== And now…
If you have read this far, thanks. I probably captured your interest. If so, you can start learning some basics here, and if you need some help check out the StackExchange.
@ -130,7 +126,7 @@ What about you? What is your experience using LaTeX? What are your pieces of adv
=== More info
== More info
https://www.youtube.com/watch?v=21oADyhhX4I
@ -140,7 +136,7 @@ http://www.docs.is.ed.ac.uk/skills/documents/3722/3722-2014.pdf
=== RUN INSTANCE
== RUN INSTANCE
Swarmlab services can be run in different ways.
@ -152,39 +148,39 @@ Swarmlab services can be run in different ways.
==== CLI
> git clone ...
>
> cd [DIRECTORY]
>
==== help
>
> make help
>
==== create service
>
> make create
>
==== start service
>
> make start
>
==== stop service
>
> make stop
>
==== list service
>
> make list
>
==== clean service
>
> make clean
>
== What is a "sidecar"?

Loading…
Cancel
Save