<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><generator uri="https://jekyllrb.com/" version="4.4.1">Jekyll</generator><link href="https://sylvchev.github.io/feed.xml" rel="self" type="application/atom+xml"/><link href="https://sylvchev.github.io/" rel="alternate" type="text/html" hreflang="en"/><updated>2026-09-24T17:27:07+00:00</updated><id>https://sylvchev.github.io/feed.xml</id><title type="html">blank</title><subtitle>Full professor, [LISN](https://www.lisn.upsaclay.fr/) - [Universite Paris-Saclay](https://www.universite-paris-saclay.fr/). Teaching at [IUT d&apos;Orsay](https://www.iut-orsay.universite-paris-saclay.fr/) and [Universite Paris-Saclay](https://www.universite-paris-saclay.fr/). </subtitle><entry><title type="html">Know your Bash</title><link href="https://sylvchev.github.io/blog/2020/know_your_bash/" rel="alternate" type="text/html" title="Know your Bash"/><published>2020-04-27T17:16:00+00:00</published><updated>2020-04-27T17:16:00+00:00</updated><id>https://sylvchev.github.io/blog/2020/know_your_bash</id><content type="html" xml:base="https://sylvchev.github.io/blog/2020/know_your_bash/"><![CDATA[<h3 id="bash-introduction">Bash introduction</h3> <ul> <li>The <a href="https://devhints.io/bash">best Bash cheatsheet</a>, and another <a href="https://www.pixelbeat.org/cmdline.html">nice one</a></li> <li>A decent <a href="https://www.learnshell.org/">Bash tutorial</a>, with online code environment</li> <li>The <a href="https://www.tldp.org/LDP/abs/html/">advanced bash script guide</a></li> </ul> <h3 id="bash-tools">Bash tools</h3> <ul> <li><a href="https://www.shellcheck.net/">spell check</a> your scripts</li> <li><a href="https://explainshell.com/">Beautiful explanations</a> on shell commands</li> <li><a href="https://github.com/aristocratos/bashtop">Bashtop</a>, the best resource monitor</li> </ul> <h3 id="bash-tricks">Bash tricks</h3> <ul> <li>To copy the result of a command directly in your clipboard: <code class="language-plaintext highlighter-rouge">cmd | xclip</code> (and on Mac, it is <code class="language-plaintext highlighter-rouge">cmd | pbcopy</code>)</li> <li><a href="https://www.cyberciti.biz/faq/unix-linux-disown-command-examples-usage-syntax/">disown</a>, if you forgot to use tmux/screen or nohup.</li> <li>a <a href="www.dayid.org/comp/tm.html">nice cheatsheet for tmux and screen</a></li> </ul>]]></content><author><name></name></author><summary type="html"><![CDATA[tricks and idioms]]></summary></entry><entry><title type="html">Crash course on git</title><link href="https://sylvchev.github.io/blog/2020/git_crash_course/" rel="alternate" type="text/html" title="Crash course on git"/><published>2020-02-09T13:00:00+00:00</published><updated>2020-02-09T13:00:00+00:00</updated><id>https://sylvchev.github.io/blog/2020/git_crash_course</id><content type="html" xml:base="https://sylvchev.github.io/blog/2020/git_crash_course/"><![CDATA[<h3 id="git-basic">Git Basic</h3> <ul> <li>Initializing a repository in an existing directory: <code class="language-plaintext highlighter-rouge">git init</code></li> <li>Cloning a repository: <code class="language-plaintext highlighter-rouge">git clone git://server/project</code></li> </ul> <p>For Windows user :</p> <ul> <li><a href="https://git-cola.github.io/">https://git-cola.github.io/</a> for GUI, or <a href="https://www.gitkraken.com/git-client">https://www.gitkraken.com/git-client</a> for a non-free alternative</li> <li><a href="https://git-for-windows.github.io/">https://git-for-windows.github.io/</a> for <code class="language-plaintext highlighter-rouge">git-bash</code>, the command line interface</li> </ul> <h3 id="repository">Repository</h3> <ul> <li>Two states for files: <strong>tracked</strong> or <strong>untracked</strong></li> <li>Tracked files can be <strong>unmodified</strong>, <strong>modified</strong>, or <strong>staged</strong>.</li> <li>Know the state with: <code class="language-plaintext highlighter-rouge">git status</code></li> <li>Add new file or staged modified files: <code class="language-plaintext highlighter-rouge">git add file</code></li> <li>View diff with: <code class="language-plaintext highlighter-rouge">git diff</code> :warning: It shows the diff between modified and staged files</li> <li>View diff scheduled for commit with: <code class="language-plaintext highlighter-rouge">git diff --cached</code></li> <li>Ignore files by creating a <code class="language-plaintext highlighter-rouge">.gitignore</code></li> <li>Commit wih: <code class="language-plaintext highlighter-rouge">git commit</code></li> <li>Commit by skipping the staging area (aka “commit a la svn”): <code class="language-plaintext highlighter-rouge">git commit -a</code></li> <li>Remove file with: <code class="language-plaintext highlighter-rouge">git rm file</code>, to keep the file on HDD but stop the git tracking <code class="language-plaintext highlighter-rouge">git rm --cached file</code></li> <li>Moving file with: <code class="language-plaintext highlighter-rouge">git mv file</code></li> </ul> <h3 id="git-log">Git log</h3> <ul> <li>Tree view of your repro: <code class="language-plaintext highlighter-rouge">git log --graph --date-order</code>, or add in your <code class="language-plaintext highlighter-rouge">~/.gitconfig</code> an alias section with [alias] lgr = log –graph –date-order –pretty=format:’%Cblue%h %Cgreen%ci %Cred%an, %Cblue%m %Creset%s %Cred%d’</li> <li>Display diff with from 2 commits ago: <code class="language-plaintext highlighter-rouge">git diff HEAD~2 HEAD</code> or <code class="language-plaintext highlighter-rouge">git diff @~2</code> as HEAD is implicit</li> <li>List commit for a specific file: <code class="language-plaintext highlighter-rouge">git log --abbrev-commit myfile</code></li> <li>Coming back in time : <code class="language-plaintext highlighter-rouge">git checkout commit-hash</code>, detaching HEAD. You could come back to the topmost commit of your branch with <code class="language-plaintext highlighter-rouge">git switch -</code></li> </ul> <h3 id="undoing-things">Undoing things</h3> <ul> <li>Changin last commit: <code class="language-plaintext highlighter-rouge">git commit --amend</code></li> <li>Unstaging a file with: <code class="language-plaintext highlighter-rouge">git reset HEAD file</code></li> <li>Unmodifying a file (aka svn revert): <code class="language-plaintext highlighter-rouge">git checkout -- file </code></li> </ul> <h3 id="working-with-remote">Working with remote</h3> <ul> <li>Show the remote with: <code class="language-plaintext highlighter-rouge">git remote</code> or <code class="language-plaintext highlighter-rouge">git remote -v</code></li> <li>Adding a remote repository with: <code class="language-plaintext highlighter-rouge">git remote add [shortname] [url]</code></li> </ul> <h3 id="tagging">Tagging</h3> <ul> <li>Show existing tags: <code class="language-plaintext highlighter-rouge">git tag</code></li> <li>Add a new tag: <code class="language-plaintext highlighter-rouge">git tag -a tagname -m "Message"</code></li> <li>Sharing one tag: <code class="language-plaintext highlighter-rouge">git push origin [tagname]</code> or all tags: <code class="language-plaintext highlighter-rouge">git push origin --tags</code></li> <li>Get tags from remote: <code class="language-plaintext highlighter-rouge">git fetch --all --tags --prune</code> and checkout to the desired tags: <code class="language-plaintext highlighter-rouge">git checkout tags/&lt;tag_name&gt; -b &lt;branch_name&gt;</code></li> </ul> <h3 id="branching-and-merging">Branching and merging</h3> <ul> <li>Create a branch: <code class="language-plaintext highlighter-rouge">git branch [branchname]</code></li> <li>Switch to branch: <code class="language-plaintext highlighter-rouge">git checkout [branchname]</code></li> <li>Create and switch with <code class="language-plaintext highlighter-rouge">git checkout -b [branchname]</code></li> <li>Delete branch: <code class="language-plaintext highlighter-rouge">git branch -d [branchname]</code></li> <li>Merge with branch: <code class="language-plaintext highlighter-rouge">git merge [branchname]</code>, solve conflict with <code class="language-plaintext highlighter-rouge">git mergetool</code></li> </ul> <h3 id="remote-branches">Remote branches</h3> <ul> <li>Remote branches are readonly and denoted (remote)/(branch) instead of (branch) for local branches.</li> <li>Synchronize with remote: <code class="language-plaintext highlighter-rouge">git fetch (remote)</code>, e.g. <code class="language-plaintext highlighter-rouge">git fetch origin</code></li> <li>Push the branch on remote: <code class="language-plaintext highlighter-rouge">git push (remote) (branch)</code>, or <code class="language-plaintext highlighter-rouge">git push (remote) (localBranch:remoteBranch)</code></li> <li>After a <code class="language-plaintext highlighter-rouge">git fetch origin</code> new branches are available that can be merge into current branch with <code class="language-plaintext highlighter-rouge">git merge origin/(branch)</code>, it is also possible to start a local branch with the same name <code class="language-plaintext highlighter-rouge">git checkout -b (branch) (remote)/(branch)</code> or <code class="language-plaintext highlighter-rouge">git checkout --track (remote)/(branch)</code></li> <li>If you forgot to track a remote branch on your local branch, you could use <code class="language-plaintext highlighter-rouge">git branch -u remote/branch</code> to follow the remote branch.</li> <li>Delete a remote branch: <code class="language-plaintext highlighter-rouge">git push [remotename] :[branch]</code></li> </ul> <h3 id="github">GitHub</h3> <ul> <li>Clone a GitHub repository on your account</li> <li>Clone your remote on local: <code class="language-plaintext highlighter-rouge">git clone https://github.com/username/project.git </code></li> <li>Add the original repository: <code class="language-plaintext highlighter-rouge">git remote add upstream https://github.com/original/project.git</code></li> <li>Create a branch to work: <code class="language-plaintext highlighter-rouge">git checkout -b topic</code>, <code class="language-plaintext highlighter-rouge">git commit</code></li> <li>Merge with upstream: <code class="language-plaintext highlighter-rouge">git fetch upstream</code>, <code class="language-plaintext highlighter-rouge">git checkout master</code>, <code class="language-plaintext highlighter-rouge">git merge upstream/master</code></li> </ul> <h3 id="rebasing">Rebasing</h3> <ul> <li>Rebase a branch on another: <code class="language-plaintext highlighter-rouge">git rebase [basebranch] [topicbranch]</code>, then <code class="language-plaintext highlighter-rouge">git checkout basebranch</code> and <code class="language-plaintext highlighter-rouge">git merge topicbranch</code>, finally <code class="language-plaintext highlighter-rouge">git branch -d topicbranch</code></li> <li>Rebase a PR branch on newly pushed master: <code class="language-plaintext highlighter-rouge">git checkout mybranch</code>, <code class="language-plaintext highlighter-rouge">git rebase master-upstream</code>, <code class="language-plaintext highlighter-rouge">git merge</code>, <code class="language-plaintext highlighter-rouge">git commit</code>, or more simply <code class="language-plaintext highlighter-rouge">git checkout mybranch</code>, <code class="language-plaintext highlighter-rouge">git rebase upstream/master</code>,<code class="language-plaintext highlighter-rouge"> git push -f origin mybranch</code></li> <li>Rebase branch C, branched from B (but independent from it), on branch A: <code class="language-plaintext highlighter-rouge">git rebase --onto A B C</code></li> <li><strong>Do not rebase commits that you have pushed to a public repository if your are on a public branch</strong></li> </ul> <h3 id="tips-and-tricks">Tips and tricks</h3> <ul> <li>Use bash completion for git : use zsh, or else download <a href="https://github.com/git/git/blob/master/contrib/completion/git-completion.bash">https://github.com/git/git/blob/master/contrib/completion/git-completion.bash</a> and source it : <code class="language-plaintext highlighter-rouge">source ~/git-completion.bash</code>.</li> <li>Use global aliases : <code class="language-plaintext highlighter-rouge">git config --global alias.co checkout</code>, <code class="language-plaintext highlighter-rouge">git config --global alias.ci commit</code> and <code class="language-plaintext highlighter-rouge">git config --global alias.st status</code></li> <li>Exporting to zip : <code class="language-plaintext highlighter-rouge">git archive --format zip --output /full/path/to/zipfile.zip master</code> or <code class="language-plaintext highlighter-rouge">git archive master | zip &gt; myarchive.zip</code></li> <li>Remove file from git but keep it on the disk : <code class="language-plaintext highlighter-rouge">git rm --cached file1.txt</code></li> <li>my .gitconfig file is available on <a href="https://gist.github.com/sylvchev/14283580f189e318aabefb566248ad86">gist</a></li> <li>To store credential in https: <code class="language-plaintext highlighter-rouge">git config credential.helper store</code>, then your command, like <code class="language-plaintext highlighter-rouge">git pull</code>, and <code class="language-plaintext highlighter-rouge">git config --global credential.helper 'cache --timeout=6400'</code></li> <li>Check for whitespace commit: <code class="language-plaintext highlighter-rouge">git diff --check</code></li> </ul> <h3 id="links">Links</h3> <ul> <li><a href="http://git-scm.com/book/en/">ProGit</a>, a complete book, this is a must-read.</li> <li><a href="https://learngitbranching.js.org/">Learn Git Branching</a>, an incredible tutorial, with realistic environment in your browser!</li> <li><a href="http://nyuccl.org/pages/GitTutorial/">Git tutorial for scientist</a>, nice figures and very useful</li> <li>GitHub help on <a href="https://help.github.com/articles/fork-a-repo">how to fork a repo</a> and <a href="https://help.github.com/articles/syncing-a-fork">syncing a fork</a></li> <li><a href="https://github.com/git-game/git-game-v2">Git-game v2</a>, a game to learn command line git.</li> <li><a href="https://www.atlassian.com/git/tutorials">Become a git guru</a>, another tutorial with nice figures.</li> </ul>]]></content><author><name></name></author><summary type="html"><![CDATA[Survival kit]]></summary></entry><entry><title type="html">Emacs python cheatsheet</title><link href="https://sylvchev.github.io/blog/2019/emacs-python/" rel="alternate" type="text/html" title="Emacs python cheatsheet"/><published>2019-08-28T07:32:00+00:00</published><updated>2019-08-28T07:32:00+00:00</updated><id>https://sylvchev.github.io/blog/2019/emacs-python</id><content type="html" xml:base="https://sylvchev.github.io/blog/2019/emacs-python/"><![CDATA[<h3 id="python-4-emacs">Python 4 Emacs</h3> <p>See <a href="https://www.emacswiki.org/emacs/PythonProgrammingInEmacs">Emacs wiki</a></p> <ul> <li><a href="https://github.com/proofit404/anaconda-mode">anaconda-mode</a></li> <li><a href="https://github.com/jorgenschaefer/pyvenv">pyvenv</a></li> <li><a href="https://www.flycheck.org/en/latest/user/quickstart.html">flycheck-pycheck</a></li> </ul> <h3 id="elpy">Elpy</h3> <ul> <li><code class="language-plaintext highlighter-rouge">conda install jedi rope flake8 autopep8 yapf black</code></li> <li>M-x list-package, install elpy</li> <li>pyvenv already part of elpy</li> <li><a href="https://realpython.com/emacs-the-best-python-editor/">Some info</a> here</li> </ul> <h3 id="git">Git</h3> <ul> <li><a href="https://magit.vc/">magit</a> avec des <a href="https://www.masteringemacs.org/article/introduction-magit-emacs-mode-git">infos ici</a></li> </ul> <h3 id="markdown">Markdown</h3> <ul> <li><a href="https://jblevins.org/projects/markdown-mode/">markdown-mode</a></li> <li>flycheck-mark</li> <li>not used, <a href="https://github.com/emacs-pe/gh-md.el">gh-md</a></li> </ul> <h3 id="keybindings-cheatsheet">Keybindings cheatsheet</h3> <table> <thead> <tr> <th>Mode</th> <th>Keybinding</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td>anaconda</td> <td>C-M-i</td> <td>auto-complete</td> </tr> <tr> <td>anaconda</td> <td>M-.</td> <td>find definition</td> </tr> <tr> <td>anaconda</td> <td>M-=</td> <td>show assignement</td> </tr> <tr> <td>anaconda</td> <td>M-r</td> <td>show all lines containing focus</td> </tr> <tr> <td>anaconda</td> <td>M-?</td> <td>show doc</td> </tr> </tbody> <tbody> <tr> <td>elpy</td> <td>C-c C-c</td> <td>send buffer/region to ipython</td> </tr> <tr> <td>elpy</td> <td>C-RET</td> <td>send line to Ipython</td> </tr> <tr> <td>elpy</td> <td>C-c C-z</td> <td>switch to ipython/buffer</td> </tr> <tr> <td>elpy</td> <td>C-c C-d</td> <td>open doc</td> </tr> <tr> <td>elpy</td> <td>C-c C-K</td> <td>Kill shells</td> </tr> </tbody> <tbody> <tr> <td>flycheck</td> <td>C-c ! l</td> <td>list all error</td> </tr> <tr> <td>flycheck</td> <td>C-c ! n</td> <td>next error</td> </tr> <tr> <td>flycheck</td> <td>C-c ! p</td> <td>prev error</td> </tr> <tr> <td>flycheck</td> <td>C-c ! s</td> <td>select checker</td> </tr> </tbody> </table> <h3 id="relevant-emacs-snippet">Relevant .emacs snippet</h3> <div class="language-elisp highlighter-rouge"><div class="highlight"><pre class="highlight"><code>
<span class="p">(</span><span class="nv">setenv</span> <span class="s">"WORKON_HOME"</span> <span class="s">"/home/sylchev/anaconda3/envs"</span><span class="p">)</span>
<span class="p">(</span><span class="nv">pyvenv-mode</span> <span class="mi">1</span><span class="p">)</span>
<span class="p">(</span><span class="nv">add-hook</span> <span class="ss">'python-mode-hook</span> <span class="ss">'anaconda-mode</span><span class="p">)</span>
<span class="p">(</span><span class="nv">add-hook</span> <span class="ss">'python-mode-hook</span> <span class="ss">'anaconda-eldoc-mode</span><span class="p">)</span>
<span class="p">(</span><span class="nv">add-hook</span> <span class="ss">'python-mode-hook</span> <span class="ss">'elpy-mode</span><span class="p">)</span>
<span class="c1">;; (setq python-shell-interpreter "jupyter"</span>
<span class="c1">;;       python-shell-interpreter-args "console --simple-prompt"</span>
<span class="c1">;;       python-shell-prompt-detect-failure-warning nil)</span>
<span class="c1">;; (add-to-list 'python-shell-completion-native-disabled-interpreters</span>
<span class="c1">;;              "jupyter")</span>
 <span class="p">(</span><span class="k">setq</span> <span class="nv">python-shell-interpreter</span> <span class="s">"ipython"</span>
       <span class="nv">python-shell-interpreter-args</span> <span class="s">"--simple-prompt -i"</span><span class="p">)</span>
<span class="p">(</span><span class="nv">elpy-enable</span><span class="p">)</span>
<span class="p">(</span><span class="nb">when</span> <span class="p">(</span><span class="nb">load</span> <span class="s">"flycheck"</span> <span class="no">t</span> <span class="no">t</span><span class="p">)</span>
  <span class="p">(</span><span class="k">setq</span> <span class="nv">elpy-modules</span> <span class="p">(</span><span class="nv">delq</span> <span class="ss">'elpy-module-flymake</span> <span class="nv">elpy-modules</span><span class="p">))</span>
  <span class="p">(</span><span class="nv">add-hook</span> <span class="ss">'elpy-mode-hook</span> <span class="ss">'flycheck-mode</span><span class="p">))</span>

</code></pre></div></div>]]></content><author><name></name></author><summary type="html"><![CDATA[Finger crossed]]></summary></entry><entry><title type="html">Initiation à LaTeX</title><link href="https://sylvchev.github.io/blog/2017/initiation_a_latex/" rel="alternate" type="text/html" title="Initiation à LaTeX"/><published>2017-01-18T15:00:00+00:00</published><updated>2017-01-18T15:00:00+00:00</updated><id>https://sylvchev.github.io/blog/2017/initiation_a_latex</id><content type="html" xml:base="https://sylvchev.github.io/blog/2017/initiation_a_latex/"><![CDATA[<h3 id="logiciels">Logiciels</h3> <p><strong>Windows</strong></p> <ul> <li>Il y a <a href="http://miktex.org/">MikTeX</a>, la distribution LaTeX la plus répandue. Elle est utilisée par beaucoup d’environnements ou IDE LaTeX.</li> <li>Un bon IDE est <a href="http://www.xm1math.net/texmaker/">TeXmaker</a>, qui s’installe facilement. Attention, n’oubliez pas d’installer MikTeX pour que TeXmaker fonctionne correctement.</li> <li>Avec MikTex, vous pouvez utiliser votre éditeur de texte favori et compiler en ligne de commande</li> </ul> <p><strong>Linux</strong></p> <ul> <li>La distribution LaTeX de référence est Texlive, elle est installée par défaut sur Ubuntu et sur bon nombre de distribution</li> <li>Un bon éditeur est <a href="https://kde.org/applications/office/org.kde.kile">Kile</a> sur Kde, pour Ubuntu/Gnome il y a <a href="http://projects.gnome.org/latexila/">Latexila</a>.</li> </ul> <p><strong>Mac</strong></p> <ul> <li>La suite <a href="http://pages.uoregon.edu/koch/texshop/">TeXshop</a> semble être la référence, elle est installée de base avec la distribution Texlive.</li> <li>L’installeur <a href="http://mirror.ctan.org/systems/mac/mactex/MacTeX.pkg">MacTeX</a> se charge d’installer TeXlive et TeXshop</li> <li>Un bon résumé est <a href="http://macdevcenter.com/pub/a/mac/2004/02/03/latex.html">disponible ici</a></li> </ul> <h3 id="pour-commencer">Pour commencer</h3> <p>Vous pouvez copier-coller ces quelques lignes et compléter les blancs comme bon vous semble :</p> <div class="language-latex highlighter-rouge"><div class="highlight"><pre class="highlight"><code>
<span class="k">\documentclass</span><span class="na">[a4paper,11pt]</span><span class="p">{</span>article<span class="p">}</span>

<span class="k">\usepackage</span><span class="p">{</span>times<span class="p">}</span>
<span class="k">\usepackage</span><span class="p">{</span>textcomp<span class="p">}</span>
<span class="k">\usepackage</span><span class="p">{</span>amssymb,amsmath,amsfonts<span class="p">}</span>
<span class="c">% si latex se plaint, commenter la ligne suivante et décommenter la ligne d'après</span>
<span class="k">\usepackage</span><span class="na">[latin1]</span><span class="p">{</span>inputenc<span class="p">}</span>
<span class="c">% \usepackage[utf8]{inputenc}</span>
<span class="k">\usepackage</span><span class="na">[T1]</span><span class="p">{</span>fontenc<span class="p">}</span>
<span class="k">\usepackage</span><span class="na">[francais]</span><span class="p">{</span>babel<span class="p">}</span>

<span class="nt">\begin{document}</span>

<span class="k">\date</span><span class="p">{</span><span class="k">\today</span><span class="p">}</span>
<span class="k">\title</span><span class="p">{</span>Titre<span class="p">}</span>
<span class="k">\author</span><span class="p">{</span>auteur<span class="p">}</span>
<span class="k">\maketitle</span>

<span class="k">\section</span><span class="p">{</span>Un titre<span class="p">}</span>
<span class="k">\label</span><span class="p">{</span>premier<span class="p">}</span>

<span class="k">\subsection</span><span class="p">{</span>Un sous-titre<span class="p">}</span>
<span class="k">\label</span><span class="p">{</span>st<span class="p">}</span>

votre texte

<span class="k">\bibliography</span><span class="p">{</span>&lt;mettre le nom de votre fichier bib&gt;<span class="p">}</span>
<span class="k">\bibliographystyle</span><span class="p">{</span>plain<span class="p">}</span>
<span class="nt">\end{document}</span>

</code></pre></div></div> <h3 id="canevas-latex-pour-une-thèse">Canevas latex pour une thèse</h3> <p>Voici une archive qui contient un style possible pour la thèse, qui n’attend que vous pour être amélioré et diffusé plus largement. Vous pouvez le télécharger ici: <a href="https://github.com/sylvchev/latex-template-uvsq-saclay">https://github.com/sylvchev/latex-template-uvsq-saclay</a></p> <h3 id="canevas-beamer-pour-une-présentation">Canevas Beamer pour une présentation</h3> <p>Pour faire une présentation aux couleurs du laboratoire et de l’Université, voici un canevas latex qui utilise le package beamer pour générer des diapositives. Le fichier sera disponible bientôt.</p> <h3 id="documents-et-liens">Documents et liens</h3> <p>Il y au moins un livre sur latex à la bibliothèque et beaucoup sur internet. Certains sont disponible gratuitement sur le site de <a href="http://www.latex-project.org/">LaTeX</a>.</p> <p><strong>Des documents utiles</strong></p> <ul> <li>Un <a href="https://tex.loria.fr/general/aide-memoire-latex-seguin1998.pdf">aide mémoire</a> bien pratique</li> <li>Un <a href="https://www.ntg.nl/doc/bayart/lxmanuel.pdf">document de référence</a>, issu de l’ESIEE, très complet, très bien expliqué.</li> <li>Un <a href="http://www-hep.colorado.edu/~jcumalat/4610_fall_10/bibtex_guide.pdf">petit résumé</a> fonctionnement de Bibtex</li> <li>Un <a href="http://tug.ctan.org/info/bibtex/tamethebeast/ttb_en.pdf">document</a> apprendre à bien utiliser Bibtex</li> </ul> <p><strong>Some useful links</strong></p> <ul> <li><a href="http://en.wikibooks.org/wiki/LaTeX">Latex wiki</a>, a good online guide. Easy to search and contains several examples.</li> <li><a href="https://www.writelatex.com/examples">Online example</a> includes several templates. It is possible to create a document online, compile and view it.</li> </ul> <h3 id="des-outils-de-conversions">Des outils de conversions</h3> <p>Il est possible de convertir des documents LaTeX en documents office ou en HTML. Malheureusement, ces convertisseurs sont assez sensibles (des fois ils ne fonctionnent pas) et peuvent donner des mises en formes très différentes. Je ne sais pas comment ils fonctionnent pour les maths et si les équations sont bien rendues. J’ai eu pas mal de soucis à les utiliser, je viens d’essayer de convertir un document LaTeX avec des équations que j’utilise à l’IUT mais je n’ai pas réussi à le convertir. La page du convertisseur est ici : <a href="https://www.tug.org/tex4ht/">https://www.tug.org/tex4ht/</a> avec des explications relativement claires ici <a href="https://github.com/michal-h21/helpers4ht/wiki/tex4ht-tutorial">https://github.com/michal-h21/helpers4ht/wiki/tex4ht-tutorial</a></p> <p>Une fois qu’il est installé, il est possible de convertir le document latex avec la commande :</p> <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>mk4ht oolatex fichier_latex.tex
</code></pre></div></div> <p>Il sera sans doute nécessaire de modifier largement le fichier latex pour que la conversion fonctionne. Il existe d’autres possibilité, comme simplement copier/coller le latex dans document office et enlever les balises LaTeX. Ces possibilités sont explorées ici : <a href="http://www.tug.org/utilities/texconv/textopc.html">http://www.tug.org/utilities/texconv/textopc.html</a> et là <a href="https://en.wikibooks.org/wiki/LaTeX/Export_To_Other_Formats#Convert_to_RTF">https://en.wikibooks.org/wiki/LaTeX/Export_To_Other_Formats#Convert_to_RTF</a></p> <p>J’ai essayé latex2rtf pour générer un fichier RTF, les maths ne passent pas mais j’ai obtenu un résultat exploitable avec :</p> <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>pdflatex mon_fichier.tex &amp;&amp; latex2rtf mon_fichier.tex
</code></pre></div></div>]]></content><author><name></name></author><summary type="html"><![CDATA[Pour bien commencer]]></summary></entry></feed>