User Tools

Site Tools


faq

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
faq [06/08/2020 09:41] – [FAQ] adminfaq [19/05/2022 12:41] (current) – removed admin
Line 1: Line 1:
-====== FAQ ====== 
- 
-===== LaTeX ===== 
- 
-При использовании русского, PDF файл генерится в неправильной кодировке. Для исправления ситуации надоиспользовать пакет **cmap**: 
-<code> 
-\documentclass[a4paper,11pt]{article} 
-\usepackage{cmap} 
-%\usepackage[utf8]{inputenc} 
-\usepackage[english,russian]{babel} 
-%\usepackage{graphicx} 
-%\usepackage{url} 
-%\usepackage{xcolor} 
-%\usepackage{ulem} 
- 
-%%%%%%%%%%%%%%%%%%%%%%% 
-\begin{document} 
-%%%%%%%%%%%%%%%%%%%%%%% 
- 
-Это русский. 
- 
-This is English. 
- 
-PDF генерится в правильной кодировке (UTF8, пакет cmap) 
- 
-%%%%%%%%%%%%%%%%%%%%%%% 
-\end{document} 
-%%%%%%%%%%%%%%%%%%%%%%% 
-</code> 
- 
-===== git repos ===== 
- 
-More details see [[https://proglib.io/p/git-for-half-an-hour|Git за полчаса]] 
- 
-  * Clone repo to the local computer: <code> 
-git clone git@theory.sinp.msu.ru:repo  
-</code> 
-  * Prepare new file(s) for commit: <code> 
-git add file1 file2 ...  
-git add -A (for all files) 
-</code> 
-  * Commit file(s): <code> 
-git commit file1 file2 ... 
-git commit -A (for all files) 
-</code> 
-  * Push changes to repo: <code> 
-git push 
-</code>