Emacs: improved Mediawiki snippets.

DWB: updated CTAN search engine.
master
Ambrevar 2012-12-30 13:53:18 +01:00
parent 1b660c056f
commit 00bd529480
8 changed files with 41 additions and 12 deletions

View File

@ -1,7 +1,7 @@
g http://google.com/search?q=%s
arch http://wiki.archlinux.org/index.php?title=Special%%3ASearch&search=%s&go=Go
aur https://aur.archlinux.org/packages.php?O=0&K=%s&do_Search=Go
ctan http://www.ctan.org/search/?search=%s&search_type=description
ctan http://www.ctan.org/search?phrase=%s
gm https://maps.google.com/maps?q=%s
gt http://translate.google.com/#en/fr/%s
imdb http://www.imdb.com/find?q=%s&s=all

View File

@ -1,9 +1,6 @@
# -*- mode: snippet -*-
# contributor : Pierre Neidhardt
# key : ltx
# name : LaTeX <source> block
# name : LaTeX inline.
# --
<source lang="latex">
$1
</source>
$0
{{LaTeX/LaTeX|code=$1<!---->}}$0

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# contributor : Pierre Neidhardt
# key : ltxenv
# name : LaTeX environment.
# --
{{LaTeX/Environment|$1}}$0

View File

@ -0,0 +1,11 @@
# -*- mode: snippet -*-
# contributor : Pierre Neidhardt
# key : ltxex
# name : LaTeX example.
# --
{{LaTeX/Usage|code=
$1
|render=
$2
}}
$0

View File

@ -1,6 +0,0 @@
# -*- mode: snippet -*-
# contributor : Pierre Neidhardt
# key : ltxi
# name : LaTeX <source> inline.
# --
<source lang="latex" enclose="none">$1</source>$0

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# contributor : Pierre Neidhardt
# key : ltxpar
# name : LaTeX parameter.
# --
{{LaTeX/Parameter|$1}}$0

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# contributor : Pierre Neidhardt
# key : ltxpkg
# name : LaTeX package.
# --
{{LaTeX/Package|$1}}$0

View File

@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# contributor : Pierre Neidhardt
# key : ltxu
# name : LaTeX block.
# --
{{LaTeX/Usage|code=
$1
}}
$0