issue173:tutoriel1
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
issue173:tutoriel1 [2021/09/26 11:03] – créée auntiee | issue173:tutoriel1 [2021/09/30 12:01] (Version actuelle) – auntiee | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | If you have been following along, you now have an idea of how to put down text, how to add a picture, and how to insert a table. All you did was learn one little thing per issue. If you use LaTeX for writing a non-fiction book, for instance, or a school paper, you may need to add a bibliography. Like the “share on facebook” buttons you see on a website, some websites have a “cite this” button. Granted, lots of times it may be on academic websites, but there are websites that will help you out too. (https:// | + | **If you have been following along, you now have an idea of how to put down text, how to add a picture, and how to insert a table. All you did was learn one little thing per issue. If you use LaTeX for writing a non-fiction book, for instance, or a school paper, you may need to add a bibliography. Like the “share on facebook” buttons you see on a website, some websites have a “cite this” button. Granted, lots of times it may be on academic websites, but there are websites that will help you out too. (https:// |
If you would like to see where I got my information from, see: https:// | If you would like to see where I got my information from, see: https:// | ||
- | I need you to look under the tools menu in TeXstudio; you will see “bibliography” with the shortcut key ‘F8’. Click ‘bibliography’ or press F8. What happened? Look at your message pane. This is what I got: | + | I need you to look under the tools menu in TeXstudio; you will see “bibliography” with the shortcut key ‘F8’. Click ‘bibliography’ or press F8. What happened? Look at your message pane. This is what I got:** |
+ | |||
+ | Si vous avez bien suivi, vous savez maintenant comment rédiger un texte, ajouter une image et insérer un tableau. Vous n'avez fait qu' | ||
+ | |||
+ | Si vous voulez savoir où j'ai trouvé mes informations, | ||
+ | |||
+ | Regardez dans le menu Outils de TeXstudio et vous verrez « bibliographie » avec le raccourci clavier « F8 ». Cliquez sur « bibliographie » ou appuyez sur F8. Que s' | ||
- | Process started: bibtex " | + | **Process started: bibtex " |
This is BibTeX, Version 0.99d (TeX Live 2017/ | This is BibTeX, Version 0.99d (TeX Live 2017/ | ||
Ligne 18: | Ligne 25: | ||
Now what? These are the little things that trip up newbies. Do you have any idea what to do? Well, neither did I. (Off to stackexchange I had to rush). Looking up things and cross-referencing them, is a good way to learn, so don’t knock it. | Now what? These are the little things that trip up newbies. Do you have any idea what to do? Well, neither did I. (Off to stackexchange I had to rush). Looking up things and cross-referencing them, is a good way to learn, so don’t knock it. | ||
- | Just as a side note: You can configure your shortcut keys in the options, but I am going default here. Vanilla TeXstudio. | + | Just as a side note: You can configure your shortcut keys in the options, but I am going default here. Vanilla TeXstudio.** |
- | To understand how many fields there are in a bibliography file, open a new tab, then click “bibliography” in the menu, then click on “book”. The output on your form should look something like this: | + | Process started: bibtex " |
+ | |||
+ | This is BibTeX, Version 0.99d (TeX Live 2017/ | ||
+ | The top-level auxiliary file: tuto.aux | ||
+ | I found no \citation commands---while reading file tuto.aux | ||
+ | I found no \bibdata command---while reading file tuto.aux | ||
+ | I found no \bibstyle command---while reading file tuto.aux | ||
+ | (There were 3 error messages) | ||
+ | |||
+ | Process exited with error(s) | ||
+ | |||
+ | Et maintenant ? Ce sont là les petites choses qui font trébucher les débutants. Vous n'avez aucune idée de ce qu'il faut faire ? Eh bien, moi non plus. (J'ai dû me dépêcher d' | ||
+ | |||
+ | Juste une note en passant : vous pouvez configurer vos touches de raccourci dans les options, mais je vais utiliser les touches par défaut ici. TeXstudio standard. | ||
+ | |||
+ | |||
+ | **To understand how many fields there are in a bibliography file, open a new tab, then click “bibliography” in the menu, then click on “book”. The output on your form should look something like this: | ||
So don’t be put off by the bib output that you get on a web page. | So don’t be put off by the bib output that you get on a web page. | ||
Ligne 28: | Ligne 51: | ||
To the right of the page, you will see a ‘copy’ icon, an ‘x’, an ‘open’ icon, and a drop-down arrow. Click the drop-down arrow to reveal the following menu. | To the right of the page, you will see a ‘copy’ icon, an ‘x’, an ‘open’ icon, and a drop-down arrow. Click the drop-down arrow to reveal the following menu. | ||
- | Now click on ‘BibTeX’. A new window will be displayed with the necessary information. Click on “Copy citation to your local clipboard”. | + | Now click on ‘BibTeX’. A new window will be displayed with the necessary information. Click on “Copy citation to your local clipboard”.** |
- | The manual way | + | Pour comprendre combien de champs il y a dans un fichier de bibliographie, |
+ | |||
+ | Ne vous laissez donc pas décourager par la sortie bib que vous obtenez sur une page Web. | ||
+ | |||
+ | Pour vous montrer où regarder, ouvrez cette page Web : https:// | ||
+ | |||
+ | À droite de la page, vous verrez une icône « copier », un « x », une icône « ouvrir » et une flèche déroulante. Cliquez sur la flèche déroulante pour faire apparaître le menu suivant. | ||
+ | |||
+ | Cliquez maintenant sur « BibTeX ». Une nouvelle fenêtre s' | ||
+ | |||
+ | |||
+ | **The manual way | ||
Create a new file and make sure the extension is ‘.bib’. Even if Linux does not care about extensions, TeX does! Explanation from Wikipedia: | Create a new file and make sure the extension is ‘.bib’. Even if Linux does not care about extensions, TeX does! Explanation from Wikipedia: | ||
Ligne 41: | Ligne 75: | ||
• .bib file(s) constituting a database of all reference-list entries the user might ever hope to use. | • .bib file(s) constituting a database of all reference-list entries the user might ever hope to use. | ||
- | BibTeX chooses from the .bib file(s) only those entries specified by the .aux file (that is, those given by LaTeX' | + | BibTeX chooses from the .bib file(s) only those entries specified by the .aux file (that is, those given by LaTeX' |
- | OK, time for some hands-on. | + | La méthode manuelle |
+ | |||
+ | Créez un nouveau fichier et assurez-vous que l' | ||
+ | |||
+ | « Selon les mots de l' | ||
+ | |||
+ | Voici comment BibTeX fonctionne. Il prend en entrée : | ||
+ | ••un fichier .aux produit par LaTeX lors d'une exécution antérieure ; | ||
+ | ••un fichier .bst (le fichier de style), qui spécifie le style général de la liste de référence et la façon de formater les entrées individuelles, | ||
+ | ••le(s) fichier(s) .bib constituant une base de données de toutes les entrées de listes de référence que l' | ||
+ | |||
+ | BibTeX ne sélectionne dans le(s) fichier(s) .bib que les entrées spécifiées par le fichier .aux (c' | ||
+ | |||
+ | |||
+ | **OK, time for some hands-on. | ||
Create two new tabs and save them as ref.tex and ref.bib so we can get going. | Create two new tabs and save them as ref.tex and ref.bib so we can get going. | ||
Ligne 51: | Ligne 99: | ||
Then add the “code” (top right) to ref.tex so I can get to explaining. | Then add the “code” (top right) to ref.tex so I can get to explaining. | ||
- | You should be familiar with everything up to \cite. I have cited the article in my reference (ref.bib) by the unique id, which is the first part after the “type of reference” (@article{Lehman2015, | + | You should be familiar with everything up to \cite. I have cited the article in my reference (ref.bib) by the unique id, which is the first part after the “type of reference” (@article{Lehman2015, |
- | Are you with me? Ok, this is where you need to pay attention; bibliographies have style. Yes, you heard me, \bibliographystyle{style}, | + | OK, il est temps de mettre la main à la pâte. |
+ | |||
+ | Créez deux nouveaux onglets et enregistrez-les sous les noms de ref.tex et ref.bib pour pouvoir commencer. | ||
+ | |||
+ | Copiez le résultat du site Web ci-dessus dans ref.bib et enregistrez-le. | ||
+ | |||
+ | Ajoutez ensuite le « code » (en haut à droite) à ref.tex pour que je puisse commencer à expliquer. | ||
+ | |||
+ | Vous devriez être à l'aise avec tout ce qui va jusqu' | ||
+ | |||
+ | |||
+ | **Are you with me? Ok, this is where you need to pay attention; bibliographies have style. Yes, you heard me, \bibliographystyle{style}, | ||
https:// | https:// | ||
Ligne 60: | Ligne 119: | ||
I suggest first getting the ‘how’ down before you start messing with styles; as for newbies, they will not make much sense. As always, please feel free to change anything, make mistakes, have fun. This is how we learn. | I suggest first getting the ‘how’ down before you start messing with styles; as for newbies, they will not make much sense. As always, please feel free to change anything, make mistakes, have fun. This is how we learn. | ||
- | You know where to send emails: misc@fullcirclemagazine.org | + | You know where to send emails: misc@fullcirclemagazine.org** |
+ | |||
+ | Vous me suivez ? Ok, c'est là où vous devez faire attention ; les bibliographies ont un style. Oui, vous m'avez entendu, \bibliographystyle{style}, | ||
+ | https:// | ||
+ | |||
+ | Pour comprendre ce que fait le « \bibliographie{ref} », je veux que vous le supprimiez et recompiliez votre document. Le voir, c'est y croire. ;) | ||
+ | |||
+ | Je vous suggère d' | ||
+ | |||
+ | Vous savez où envoyer vos e-mails |
issue173/tutoriel1.1632647037.txt.gz · Dernière modification : 2021/09/26 11:03 de auntiee