[ Skip to the content ]

Institute of Formal and Applied Linguistics Wiki


[ Back to the navigation ]

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
user:stranak:notes [2009/04/23 00:26]
stranak
user:stranak:notes [2020/08/18 12:36] (current)
stranak
Line 1: Line 1:
 +**Linux – verze distribuce:** <code>lsb_release -d</code>
 +
 ==== Screen ==== ==== Screen ====
 Ze splitu (^AS) se lze dostat pomocí ^AQ. Ze splitu (^AS) se lze dostat pomocí ^AQ.
 +
 +==== Transpozice tabulky (mac) ====
 +<code>rs -t</code>
  
 ==== Vim ==== ==== Vim ====
Line 6: Line 11:
 |:h listchars | které neviditelné znaky konkrétně                           | |:h listchars | které neviditelné znaky konkrétně                           |
 |g[jk]        | přejít o vizuální řádek nahoru/dolů (při nastaveném 'wrap') | |g[jk]        | přejít o vizuální řádek nahoru/dolů (při nastaveném 'wrap') |
 +|gv           | obnovit předchozí výběr (v)                                 |
 |ga           | zobrazí Unicode Dec, Hex a Octal hodnotu znaku              | |ga           | zobrazí Unicode Dec, Hex a Octal hodnotu znaku              |
 |]p           | jako "p", ale přizpůsobí odsazení podle aktuálního řádku    | |]p           | jako "p", ale přizpůsobí odsazení podle aktuálního řádku    |
-|Ctrl-^ (6)   | přepíná tam a zpět mezi dvěma buffery                       |+|Ctrl-6       | přepíná tam a zpět mezi dvěma buffery                       | 
 +|:set paste   | "paste" režim neindentuje vkládaný text                     | 
 +|<ctrl>-R <reg> |vložit obsah registru v insert režimu nebo v :příkazu      | 
 +|<ctrl>-O     | "suspend insert mode" = jeden příkaz z normálního režimu.   | 
 +|abbreviate <abbr> <string> | expand <abbr> to <string> by typing <abbr>+space | 
 +|<code>:imap TTT <esc>2Bdwi<<esc>pi><esc>F<"tyWElxE"tp2bi/<esc>$i</code> | napsání TTT vezme slovo-1,obalí jej slovem-2 jako html tagem a píše plynule dál | 
 + 
 +>Enable search-related options: highlight matches in a search (''hls''), show the current matching pattern as you search  
 +(''is''), ignore case (''ic'') unless you are searching for both upper and lowercase letters (''scs''). The second line  
 +adds the mapping ''Ctrl+n'' to quickly disable the currently highlighted search term (using the command '':noh''): 
 +''set hls is ic scs'' 
 +''nmap <silent> <C-n> :noh<CR>'' 
 +http://b4winckler.wordpress.com/
  
 ==== X na jiném displayi ==== ==== X na jiném displayi ====
Line 23: Line 41:
   * //poznámky pod čarou v tabulce//: Je nutno poznámku rozdělit tak, že v buňce je ''\footnotemark{}'' a až pod tabulkou ''\footnotetext{text poznámky}''.   * //poznámky pod čarou v tabulce//: Je nutno poznámku rozdělit tak, že v buňce je ''\footnotemark{}'' a až pod tabulkou ''\footnotetext{text poznámky}''.
   * //Fixing wrong labels//: The command \label must appear after (or inside) \caption. Otherwise, it will pick up the current section or list number instead of what you intended.   * //Fixing wrong labels//: The command \label must appear after (or inside) \caption. Otherwise, it will pick up the current section or list number instead of what you intended.
 +  * ''minted'': sazba zdrojáků vč. (volitelného) zalamování řádek a barvení syntaxe podle jazyka. Používá Pygments.
 +
 +=== Sort in BibTeX ===
 +The solution is to embed the sort key in the author’s name, but to prevent it from being typeset. Patashnik recommends a command ''\noopsort'' (no-output-sortkey), which is defined and used as follows:
 +
 +''@PREAMBLE{ {\providecommand{\noopsort}[1]{}} }
 +...
 +@ARTICLE{Rayleigh1,
 +AUTHOR = "{\noopsort{Rayleigh}}{Lord Rayleigh}",
 +...
 +}''
 +Note that this ''\noopsort'' applies to the last name in this kind of construct, so an author with an Arabic name might be rendered:
 +
 +...
 +''AUTHOR = "Ali {\noopsort{Hadiidii}}{al-Hadiidii}",
 +...''
 +A further use might deal with word order games, as in the famous Vietnamese name:
 +
 +''...
 +AUTHOR = "\noopsort{Thanh Han The}{Han The Thanh}",''
 +
  
 === Xyling (lingvistické stromy) === === Xyling (lingvistické stromy) ===
Line 56: Line 95:
  Yes, this requires great care; but at least it is possible.  Yes, this requires great care; but at least it is possible.
  
-==== Synergy tunelem ==== 
-<code>alias synergman='ssh -f -N -L 24801:localhost:24800 stranak@manfred && synergyc -f localhost:24801'</code> 

[ Back to the navigation ] [ Back to the content ]