fc28 to fc29 upgrade - abnt, zshrc, polybar, sudoers, davfs, sway
This commit is contained in:
192
.zshrc
Normal file
192
.zshrc
Normal file
@@ -0,0 +1,192 @@
|
||||
######################################################################
|
||||
# mako's zshrc file, v0.1
|
||||
#
|
||||
#
|
||||
######################################################################
|
||||
|
||||
# next lets set some enviromental/shell pref stuff up
|
||||
# setopt NOHUP
|
||||
#setopt NOTIFY
|
||||
#setopt NO_FLOW_CONTROL
|
||||
setopt APPEND_HISTORY
|
||||
# setopt AUTO_LIST # these two should be turned off
|
||||
# setopt AUTO_REMOVE_SLASH
|
||||
# setopt AUTO_RESUME # tries to resume command of same name
|
||||
unsetopt BG_NICE # do NOT nice bg commands
|
||||
setopt CORRECT # command CORRECTION
|
||||
setopt EXTENDED_HISTORY # puts timestamps in the history
|
||||
# setopt HASH_CMDS # turns on hashing
|
||||
setopt HIST_ALLOW_CLOBBER
|
||||
setopt HIST_REDUCE_BLANKS
|
||||
setopt INC_APPEND_HISTORY SHARE_HISTORY
|
||||
setopt ALL_EXPORT
|
||||
|
||||
setopt MENUCOMPLETE
|
||||
# Set/unset shell options
|
||||
setopt notify globdots correct pushdtohome cdablevars autolist
|
||||
setopt correctall autocd recexact longlistjobs
|
||||
setopt autoresume histignoredups pushdsilent noclobber
|
||||
setopt autopushd pushdminus extendedglob rcquotes mailwarning
|
||||
unsetopt bgnice autoparamslash
|
||||
|
||||
# Autoload zsh modules when they are referenced
|
||||
zmodload -a zsh/stat stat
|
||||
zmodload -a zsh/zpty zpty
|
||||
zmodload -a zsh/zprof zprof
|
||||
|
||||
# mapfile : parameter already exists
|
||||
#zmodload -ap zsh/mapfile mapfile
|
||||
|
||||
|
||||
PATH="/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/local/sbin/:$PATH"
|
||||
TZ="America/Sao_Paulo"
|
||||
HISTFILE=$HOME/.zhistory
|
||||
HISTSIZE=1000
|
||||
SAVEHIST=1000
|
||||
HOSTNAME="`hostname`"
|
||||
PAGER='less'
|
||||
EDITOR='vim'
|
||||
autoload colors zsh/terminfo
|
||||
if [[ "$terminfo[colors]" -ge 8 ]]; then
|
||||
colors
|
||||
fi
|
||||
for color in RED GREEN YELLOW BLUE MAGENTA CYAN WHITE; do
|
||||
eval PR_$color='%{$terminfo[bold]$fg[${(L)color}]%}'
|
||||
eval PR_LIGHT_$color='%{$fg[${(L)color}]%}'
|
||||
(( count = $count + 1 ))
|
||||
done
|
||||
PR_NO_COLOR="%{$terminfo[sgr0]%}"
|
||||
PS1="[$PR_MAGENTA%n$PR_NO_COLOR@$PR_GREEN%U%m%u$PR_NO_COLOR:$PR_RED%2c$PR_NO_COLOR]%(!.#.$) "
|
||||
RPS1="$PR_MAGENTA(%D{%d-%m-%y %H:%M})$PR_NO_COLOR"
|
||||
#LANGUAGE=
|
||||
LC_ALL='pt_BR.UTF-8'
|
||||
LANG='pt_BR.UTF-8'
|
||||
LC_CTYPE=C
|
||||
DISPLAY=:0
|
||||
|
||||
if [ $SSH_TTY ]; then
|
||||
MUTT_EDITOR=vim
|
||||
else
|
||||
MUTT_EDITOR=emacsclient.emacs-snapshot
|
||||
fi
|
||||
|
||||
unsetopt ALL_EXPORT
|
||||
# # --------------------------------------------------------------------
|
||||
# # aliases
|
||||
# # --------------------------------------------------------------------
|
||||
alias slrn="slrn -n"
|
||||
alias man='LC_ALL=pt_BR.UTF-8 LANG=pt_BR.UTF-8 man'
|
||||
alias f=finger
|
||||
alias ll='ls -ashpGl --color '
|
||||
alias ls='ls -G --color '
|
||||
alias offlineimap-tty='offlineimap -u TTY.TTYUI'
|
||||
alias hnb-partecs='hnb $HOME/partecs/partecs-hnb.xml'
|
||||
alias rest2html-css='rst2html --embed-stylesheet --stylesheet-path=/usr/share/python-docutils/s5_html/themes/default/print.css'
|
||||
alias dmesg="sudo dmesg"
|
||||
#if [[ $HOSTNAME == "kamna" ]] {
|
||||
# alias emacs='emacs -l ~/.emacs.kamna'
|
||||
#}
|
||||
|
||||
# alias =clear
|
||||
stty erase ^H &>/dev/null
|
||||
bindkey "^[[3~" delete-char
|
||||
#chpwd() {
|
||||
# [[ -t 1 ]] || return
|
||||
# case $TERM in
|
||||
# sun-cmd) print -Pn "\e]l%~\e\\"
|
||||
# ;;
|
||||
# *xterm*|screen|rxvt|(dt|k|E)term) print -Pn "\e]2;%~\a"
|
||||
# ;;
|
||||
# esac
|
||||
#}
|
||||
|
||||
#chpwd
|
||||
|
||||
autoload -U compinit
|
||||
compinit
|
||||
bindkey '^r' history-incremental-search-backward
|
||||
bindkey "^[[5~" up-line-or-history
|
||||
bindkey "^[[6~" down-line-or-history
|
||||
bindkey "^[[H" beginning-of-line
|
||||
bindkey "^[[1~" beginning-of-line
|
||||
bindkey "^[[F" end-of-line
|
||||
bindkey "^[[4~" end-of-line
|
||||
bindkey ' ' magic-space # also do history expansion on space
|
||||
bindkey '^I' complete-word # complete on tab, leave expansion to _expand
|
||||
|
||||
zstyle ':completion::complete:*' use-cache on
|
||||
zstyle ':completion::complete:*' cache-path ~/.zsh/cache/$HOST
|
||||
|
||||
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
|
||||
zstyle ':completion:*' list-prompt '%SAt %p: Hit TAB for more, or the character to insert%s'
|
||||
zstyle ':completion:*' menu select=1 _complete _ignored _approximate
|
||||
zstyle -e ':completion:*:approximate:*' max-errors \
|
||||
'reply=( $(( ($#PREFIX+$#SUFFIX)/2 )) numeric )'
|
||||
zstyle ':completion:*' select-prompt '%SScrolling active: current selection at %p%s'
|
||||
zstyle ':completion:*:processes' command 'ps -axw'
|
||||
zstyle ':completion:*:processes-names' command 'ps -awxho command'
|
||||
# Completion Styles
|
||||
zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31'
|
||||
# list of completers to use
|
||||
zstyle ':completion:*::::' completer _expand _complete _ignored _approximate
|
||||
|
||||
# allow one error for every three characters typed in approximate completer
|
||||
zstyle -e ':completion:*:approximate:*' max-errors \
|
||||
'reply=( $(( ($#PREFIX+$#SUFFIX)/2 )) numeric )'
|
||||
|
||||
# insert all expansions for expand completer
|
||||
zstyle ':completion:*:expand:*' tag-order all-expansions
|
||||
#
|
||||
#NEW completion:
|
||||
# 1. All /etc/hosts hostnames are in autocomplete
|
||||
# 2. If you have a comment in /etc/hosts like #%foobar.domain,
|
||||
# then foobar.domain will show up in autocomplete!
|
||||
zstyle ':completion:*' hosts $(awk '/^[^#]/ {print $2 $3" "$4" "$5}' /etc/hosts | grep -v ip6- && grep "^#%" /etc/hosts | awk -F% '{print $2}')
|
||||
# formatting and messages
|
||||
zstyle ':completion:*' verbose yes
|
||||
zstyle ':completion:*:descriptions' format '%B%d%b'
|
||||
zstyle ':completion:*:messages' format '%d'
|
||||
zstyle ':completion:*:warnings' format 'No matches for: %d'
|
||||
zstyle ':completion:*:corrections' format '%B%d (errors: %e)%b'
|
||||
zstyle ':completion:*' group-name ''
|
||||
|
||||
# match uppercase from lowercase
|
||||
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}'
|
||||
|
||||
# offer indexes before parameters in subscripts
|
||||
zstyle ':completion:*:*:-subscript-:*' tag-order indexes parameters
|
||||
|
||||
# command for process lists, the local web server details and host completion
|
||||
#zstyle ':completion:*:processes' command 'ps -o pid,s,nice,stime,args'
|
||||
#zstyle ':completion:*:urls' local 'www' '/var/www/htdocs' 'public_html'
|
||||
zstyle '*' hosts $hosts
|
||||
|
||||
# Filename suffixes to ignore during completion (except after rm command)
|
||||
zstyle ':completion:*:*:(^rm):*:*files' ignored-patterns '*?.o' '*?.c~' \
|
||||
'*?.old' '*?.pro'
|
||||
# the same for old style completion
|
||||
#fignore=(.o .c~ .old .pro)
|
||||
|
||||
# ignore completion functions (until the _ignored completer)
|
||||
zstyle ':completion:*:functions' ignored-patterns '_*'
|
||||
zstyle ':completion:*:scp:*' tag-order \
|
||||
files users 'hosts:-host hosts:-domain:domain hosts:-ipaddr"IP\ Address *'
|
||||
zstyle ':completion:*:scp:*' group-order \
|
||||
files all-files users hosts-domain hosts-host hosts-ipaddr
|
||||
zstyle ':completion:*:ssh:*' tag-order \
|
||||
users 'hosts:-host hosts:-domain:domain hosts:-ipaddr"IP\ Address *'
|
||||
zstyle ':completion:*:ssh:*' group-order \
|
||||
hosts-domain hosts-host users hosts-ipaddr
|
||||
zstyle '*' single-ignored show
|
||||
|
||||
source $HOME/.bash_aliases
|
||||
|
||||
source $HOME/.profile
|
||||
|
||||
#source /home/renato/WebApp/silvrosa.llm-node.google-api.sh
|
||||
|
||||
test -r $HOME/.opam/opam-init/init.sh && . $HOME/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true
|
||||
|
||||
mount | grep "${HOME}/drive.silveirarosa.com" > /dev/null || $HOME/.opam/default/bin/google-drive-ocamlfuse $HOME/drive.silveirarosa.com
|
||||
|
||||
#
|
||||
441
abnt-estilo-fdusp-notas-de-rodape.csl
Normal file
441
abnt-estilo-fdusp-notas-de-rodape.csl
Normal file
@@ -0,0 +1,441 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<style xmlns="http://purl.org/net/xbiblio/csl" class="note" version="1.0" default-locale="pt-BR" demote-non-dropping-particle="never">
|
||||
<!-- This style was edited with the Visual CSL Editor (http://editor.citationstyles.org/visualEditor/) -->
|
||||
<info>
|
||||
<title>ABNT Estilo FDUSP (Notas de Rodapé)</title>
|
||||
<title-short>ABNT_FDUSP_Notas</title-short>
|
||||
<id>http://www.zotero.org/styles/abnt-estilo-fdusp-notas-de-rodape</id>
|
||||
<link href="http://www.zotero.org/styles/abnt-estilo-fdusp-notas-de-rodape" rel="self"/>
|
||||
<link href="https://forums.zotero.org/discussion/24288/" rel="documentation"/>
|
||||
<author>
|
||||
<name>Fabio Baqueiro Figueiredo</name>
|
||||
<email>fabiobaq@gmail.com</email>
|
||||
</author>
|
||||
<category citation-format="note"/>
|
||||
<category field="generic-base"/>
|
||||
<summary>Estilo de citação em nota para as Humanidades tão próximo quanto possível das normas da ABNT (concebida originalmente apenas para autor-data).
|
||||
Ainda em desenvolvimento.
|
||||
Por enquanto, lida apenas com um conjunto limitado de tipos de referências - os que correspondem grosso modo aos conceitos da ABNT de:
|
||||
- monografias no todo: book thesis report motion_picture webpage;
|
||||
- monografias em parte: broadcast entry entry-dictionary entry-encyclopedia chapter paper-conference speech;
|
||||
- periódicos em parte: article article-magazine article-newspaper article-journal.
|
||||
Observações:
|
||||
- Webpage é considerado uma monografia disponível exclusivamente online.
|
||||
Informações sobre o contexto ou sobre a publicação original devem ser fornecidas na variável "note" (campo "extra" no Zotero) e serão apresentadas como inseridas.
|
||||
- Tipos de referência particulares podem não estar em total conformidade com as normas da ABNT, mas são apresentados o mais próximo possível delas.
|
||||
- O suporte a outros tipos de referência será incluído em algum momento futuro.
|
||||
|
||||
|
||||
Note and bibliography citation style for works in Humanities conforming as much as possible to Brazilian ABNT standard (originally designed only for author-date style).
|
||||
Still under development.
|
||||
For now, it only copes with a limited host of reference types - those which correspond broadly to the ABNT-defined concepts of:
|
||||
- monographs: book thesis report motion_picture webpage;
|
||||
- parts of monographs: broadcast entry entry-dictionary entry-encyclopedia chapter paper-conference speech;
|
||||
- parts of series: article article-magazine article-newspaper article-journal.
|
||||
Notes:
|
||||
- Webpage is considered as a monograph available online only.
|
||||
Information about context or original publication should be given in the "note" variable (the "extra" field in Zotero) and will be rendered as is.
|
||||
- Individual reference types may not conform exactly to ABNT standard, but are rendered as closest as possible.
|
||||
- Support to other reference types will be added eventually.</summary>
|
||||
<updated>2015-06-06T04:13:30+00:00</updated>
|
||||
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
|
||||
</info>
|
||||
<locale xml:lang="pt-BR">
|
||||
<terms>
|
||||
<term name="editor" form="short">
|
||||
<single>org.</single>
|
||||
<multiple>orgs.</multiple>
|
||||
</term>
|
||||
<term name="container-author" form="short">
|
||||
<single>ed.</single>
|
||||
<multiple>eds.</multiple>
|
||||
</term>
|
||||
<term name="collection-editor" form="short">
|
||||
<single>coord.</single>
|
||||
<multiple>coords.</multiple>
|
||||
</term>
|
||||
<term name="collection-editor" form="verb-short">
|
||||
<single>coord.</single>
|
||||
<multiple>coord.</multiple>
|
||||
</term>
|
||||
<term name="translator" form="short">
|
||||
<single>trad.</single>
|
||||
<multiple>trads.</multiple>
|
||||
</term>
|
||||
<term name="translator" form="verb-short">
|
||||
<single>trad.</single>
|
||||
<multiple>trad.</multiple>
|
||||
</term>
|
||||
<term name="volume" form="short">
|
||||
<single>v.</single>
|
||||
<multiple>v.</multiple>
|
||||
</term>
|
||||
<term name="issue" form="short">
|
||||
<single>n.</single>
|
||||
<multiple>n.</multiple>
|
||||
</term>
|
||||
<term name="page" form="short">
|
||||
<single>p.</single>
|
||||
<multiple>p.</multiple>
|
||||
</term>
|
||||
<term name="chapter" form="short">
|
||||
<single>cap.</single>
|
||||
<multiple>cap.</multiple>
|
||||
</term>
|
||||
<term name="and">; </term>
|
||||
<term name="et-al">et al</term>
|
||||
<term name="in">in</term>
|
||||
<term name="ibid">ibid</term>
|
||||
<term name="edition">ed</term>
|
||||
</terms>
|
||||
</locale>
|
||||
<macro name="title">
|
||||
<choose>
|
||||
<if type="book thesis report motion_picture webpage" match="any">
|
||||
<text variable="title" font-style="italic" font-weight="normal"/>
|
||||
</if>
|
||||
<else>
|
||||
<text variable="title" quotes="true"/>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="title-short">
|
||||
<choose>
|
||||
<if type="book thesis report motion_picture webpage" match="any">
|
||||
<text variable="title" form="short" font-weight="bold"/>
|
||||
</if>
|
||||
<else>
|
||||
<text variable="title" form="short"/>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="container">
|
||||
<choose>
|
||||
<if type="book thesis report motion_picture webpage" match="none">
|
||||
<text variable="container-title" font-style="italic" font-weight="normal"/>
|
||||
</if>
|
||||
<else>
|
||||
<text variable="container-title" font-style="italic"/>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="collection">
|
||||
<choose>
|
||||
<if variable="collection-title">
|
||||
<text value="("/>
|
||||
<text variable="collection-title"/>
|
||||
<text variable="collection-number" prefix=", "/>
|
||||
<text value=")"/>
|
||||
</if>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="producers">
|
||||
<names variable="author">
|
||||
<name form="long" name-as-sort-order="all" sort-separator=", ">
|
||||
<name-part name="family" text-case="uppercase"/>
|
||||
</name>
|
||||
<et-al term="et-al" font-style="italic"/>
|
||||
<substitute>
|
||||
<text macro="container-producers"/>
|
||||
</substitute>
|
||||
</names>
|
||||
</macro>
|
||||
<macro name="producers-short">
|
||||
<names variable="author">
|
||||
<name form="short">
|
||||
<name-part name="family" text-case="uppercase"/>
|
||||
</name>
|
||||
<et-al term="et-al" font-style="italic"/>
|
||||
<substitute>
|
||||
<text macro="container-producers-short"/>
|
||||
</substitute>
|
||||
</names>
|
||||
</macro>
|
||||
<macro name="container-producers">
|
||||
<names variable="editor">
|
||||
<name form="long" name-as-sort-order="all" sort-separator=", ">
|
||||
<name-part name="family" text-case="uppercase"/>
|
||||
</name>
|
||||
<et-al term="et-al" font-style="italic"/>
|
||||
<label form="short" prefix=" (" suffix=")" text-case="capitalize-first"/>
|
||||
<substitute>
|
||||
<names variable="container-author"/>
|
||||
</substitute>
|
||||
</names>
|
||||
</macro>
|
||||
<macro name="container-producers-short">
|
||||
<names variable="editor">
|
||||
<name form="short">
|
||||
<name-part name="family" text-case="uppercase"/>
|
||||
</name>
|
||||
<et-al term="et-al" font-style="italic"/>
|
||||
<label form="short" prefix=" (" suffix=")" text-case="capitalize-first"/>
|
||||
<substitute>
|
||||
<names variable="container-author"/>
|
||||
</substitute>
|
||||
</names>
|
||||
</macro>
|
||||
<macro name="secondary-producers">
|
||||
<names variable="translator">
|
||||
<label form="verb-short" suffix=" " text-case="capitalize-first"/>
|
||||
<name form="long" delimiter=", "/>
|
||||
<et-al term="et-al" font-style="italic"/>
|
||||
</names>
|
||||
</macro>
|
||||
<macro name="issued-parts">
|
||||
<choose>
|
||||
<if type="article-magazine article-newspaper" match="any">
|
||||
<date variable="issued">
|
||||
<date-part name="day" form="numeric"/>
|
||||
<date-part name="month" form="short"/>
|
||||
<date-part name="year" form="long"/>
|
||||
</date>
|
||||
</if>
|
||||
<else>
|
||||
<date variable="issued">
|
||||
<date-part name="year" form="long"/>
|
||||
</date>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="issued">
|
||||
<choose>
|
||||
<if is-uncertain-date="issued">
|
||||
<text macro="issued-parts" prefix="[" suffix="]"/>
|
||||
</if>
|
||||
<else>
|
||||
<text macro="issued-parts"/>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="imprenta">
|
||||
<choose>
|
||||
<if variable="publisher-place publisher issued" match="none">
|
||||
<text value="[s.l.: s.n., s.d.]"/>
|
||||
</if>
|
||||
<else-if variable="publisher-place publisher" match="none">
|
||||
<text value="[s.l.: s.n.], "/>
|
||||
<text macro="issued"/>
|
||||
</else-if>
|
||||
<else-if variable="publisher issued" match="none">
|
||||
<text variable="publisher-place" suffix=": "/>
|
||||
<text value="[s.n., s.d.]"/>
|
||||
</else-if>
|
||||
<else-if variable="publisher-place issued" match="none">
|
||||
<text value="[s.l.]: "/>
|
||||
<text variable="publisher" suffix=", "/>
|
||||
<text value="[s.d.]"/>
|
||||
</else-if>
|
||||
<else>
|
||||
<choose>
|
||||
<if variable="publisher-place" match="none">
|
||||
<text value="[s.l.]: "/>
|
||||
</if>
|
||||
<else>
|
||||
<text variable="publisher-place" suffix=": "/>
|
||||
</else>
|
||||
</choose>
|
||||
<choose>
|
||||
<if variable="publisher" match="none">
|
||||
<text value="[s.n.], "/>
|
||||
</if>
|
||||
<else>
|
||||
<text variable="publisher" suffix=", "/>
|
||||
</else>
|
||||
</choose>
|
||||
<choose>
|
||||
<if variable="issued" match="none">
|
||||
<text value="[s.d.]"/>
|
||||
</if>
|
||||
<else>
|
||||
<text macro="issued"/>
|
||||
</else>
|
||||
</choose>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="imprenta-locators">
|
||||
<choose>
|
||||
<if is-numeric="edition">
|
||||
<group delimiter=" ">
|
||||
<number variable="edition" form="numeric" suffix="."/>
|
||||
<text term="edition" form="short" suffix=". "/>
|
||||
</group>
|
||||
</if>
|
||||
<else-if variable="edition">
|
||||
<text variable="edition" suffix=". "/>
|
||||
</else-if>
|
||||
</choose>
|
||||
<choose>
|
||||
<if type="thesis" match="any">
|
||||
<text variable="genre" suffix=", "/>
|
||||
<text variable="publisher" suffix=", "/>
|
||||
<text variable="publisher-place" suffix=", "/>
|
||||
<text macro="issued"/>
|
||||
</if>
|
||||
<else-if type="book motion_picture report" match="any">
|
||||
<text macro="imprenta"/>
|
||||
</else-if>
|
||||
<else-if type="broadcast entry entry-dictionary entry-encyclopedia chapter paper-conference speech" match="any">
|
||||
<text macro="imprenta"/>
|
||||
<group>
|
||||
<text term="volume" form="short" prefix=", " suffix=" "/>
|
||||
<text variable="volume"/>
|
||||
</group>
|
||||
<choose>
|
||||
<if variable="locator" match="any">
|
||||
<choose>
|
||||
<if locator="page" match="none">
|
||||
<group>
|
||||
<text term="page" form="short" prefix=", " suffix=" "/>
|
||||
<text variable="page"/>
|
||||
</group>
|
||||
</if>
|
||||
</choose>
|
||||
</if>
|
||||
<else>
|
||||
<group>
|
||||
<text term="page" form="short" prefix=", " suffix=" "/>
|
||||
<text variable="page"/>
|
||||
</group>
|
||||
</else>
|
||||
</choose>
|
||||
</else-if>
|
||||
<else-if type="article article-magazine article-newspaper article-journal" match="any">
|
||||
<group>
|
||||
<text term="volume" form="short" suffix=" "/>
|
||||
<text variable="volume" suffix=", "/>
|
||||
</group>
|
||||
<group>
|
||||
<text term="issue" form="short" suffix=" "/>
|
||||
<text variable="issue" suffix=", "/>
|
||||
</group>
|
||||
<group>
|
||||
<text term="page" form="short" suffix=" "/>
|
||||
<text variable="page" suffix=", "/>
|
||||
</group>
|
||||
<date variable="issued">
|
||||
<date-part name="year" form="long"/>
|
||||
</date>
|
||||
</else-if>
|
||||
<else-if type="webpage" match="any">
|
||||
<text value=""/>
|
||||
</else-if>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="access-info">
|
||||
<choose>
|
||||
<if variable="URL">
|
||||
<text value="Disponível em: <"/>
|
||||
<text variable="URL"/>
|
||||
<text value=">."/>
|
||||
<group>
|
||||
<text value=" Acesso em: "/>
|
||||
<date variable="accessed">
|
||||
<date-part name="day" form="numeric" suffix=" "/>
|
||||
<date-part name="month" form="short" suffix=" "/>
|
||||
<date-part name="year" form="long"/>
|
||||
</date>
|
||||
</group>
|
||||
</if>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="access-info-lowercase">
|
||||
<choose>
|
||||
<if variable="URL">
|
||||
<text value="disponível em: <"/>
|
||||
<text variable="URL"/>
|
||||
<text value=">,"/>
|
||||
<group>
|
||||
<text value=" acesso em: "/>
|
||||
<date variable="accessed">
|
||||
<date-part name="day" form="numeric" suffix=" "/>
|
||||
<date-part name="month" form="short" suffix=" "/>
|
||||
<date-part name="year" form="long"/>
|
||||
</date>
|
||||
</group>
|
||||
</if>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="locators">
|
||||
<group>
|
||||
<label variable="locator" form="short" text-case="lowercase" suffix=" "/>
|
||||
<text variable="locator"/>
|
||||
</group>
|
||||
</macro>
|
||||
<citation et-al-min="4" et-al-use-first="1" disambiguate-add-names="true" name-delimiter="; " delimiter-precedes-last="never" and="text">
|
||||
<layout delimiter="; " suffix=".">
|
||||
<choose>
|
||||
<if position="first" match="any">
|
||||
<text macro="producers" suffix=", "/>
|
||||
<text macro="title"/>
|
||||
<choose>
|
||||
<if type="article article-magazine article-newspaper article-journal" match="any">
|
||||
<text macro="container" prefix=", "/>
|
||||
</if>
|
||||
<else-if type="broadcast entry entry-dictionary entry-encyclopedia chapter paper-conference speech" match="any">
|
||||
<text term="in" text-case="lowercase" font-style="italic" prefix=", " suffix=": "/>
|
||||
<text macro="container-producers" suffix=", "/>
|
||||
<text macro="container"/>
|
||||
</else-if>
|
||||
<else-if type="webpage" match="any">
|
||||
<text macro="container" prefix=", "/>
|
||||
<text macro="access-info-lowercase" prefix=", "/>
|
||||
<text variable="note" prefix=", (" suffix=")"/>
|
||||
</else-if>
|
||||
</choose>
|
||||
<text macro="imprenta-locators" prefix=", "/>
|
||||
<text macro="locators" prefix=", "/>
|
||||
</if>
|
||||
<else-if position="ibid-with-locator" match="any">
|
||||
<text term="ibid" text-case="capitalize-first" font-style="italic" suffix="."/>
|
||||
<text macro="locators" prefix=", "/>
|
||||
</else-if>
|
||||
<else-if position="ibid" match="any">
|
||||
<text term="ibid" text-case="capitalize-first" font-style="italic" suffix="."/>
|
||||
</else-if>
|
||||
<else>
|
||||
<text macro="producers-short" suffix=", "/>
|
||||
<text macro="title-short"/>
|
||||
<text macro="locators" prefix=", "/>
|
||||
</else>
|
||||
</choose>
|
||||
</layout>
|
||||
</citation>
|
||||
<bibliography hanging-indent="false" entry-spacing="0" et-al-min="4" et-al-use-first="3" name-delimiter="; " delimiter-precedes-last="never" and="text">
|
||||
<sort>
|
||||
<key macro="producers"/>
|
||||
<key macro="title"/>
|
||||
</sort>
|
||||
<layout>
|
||||
<text macro="producers" suffix=". "/>
|
||||
<text macro="title" suffix=". "/>
|
||||
<choose>
|
||||
<if type="article article-magazine article-newspaper article-journal" match="any">
|
||||
<text macro="container" suffix=", "/>
|
||||
</if>
|
||||
<else-if type="broadcast entry entry-dictionary entry-encyclopedia chapter paper-conference speech" match="any">
|
||||
<text term="in" text-case="capitalize-first" font-style="italic" suffix=": "/>
|
||||
<text macro="container-producers" suffix=". "/>
|
||||
<text macro="container" suffix=". "/>
|
||||
</else-if>
|
||||
<else-if type="webpage" match="any">
|
||||
<text macro="container" suffix=". "/>
|
||||
</else-if>
|
||||
</choose>
|
||||
<text macro="secondary-producers" suffix=". "/>
|
||||
<text macro="imprenta-locators" suffix="."/>
|
||||
<group>
|
||||
<number variable="number-of-volumes" form="numeric" prefix=" "/>
|
||||
<text term="volume" form="short"/>
|
||||
</group>
|
||||
<text macro="collection" prefix=" " suffix="."/>
|
||||
<text macro="access-info" prefix=" " suffix="."/>
|
||||
<choose>
|
||||
<if type="webpage" match="any">
|
||||
<text variable="note" prefix=" " suffix="." text-case="capitalize-first"/>
|
||||
</if>
|
||||
</choose>
|
||||
</layout>
|
||||
</bibliography>
|
||||
</style>
|
||||
610
abnt-estilo-fdusp.csl
Normal file
610
abnt-estilo-fdusp.csl
Normal file
@@ -0,0 +1,610 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" class="in-text" default-locale="pt-BR" demote-non-dropping-particle="never">
|
||||
<!-- This style was edited with the Visual CSL Editor (http://editor.citationstyles.org/visualEditor/) -->
|
||||
<info>
|
||||
<title>ABNT Estilo FDUSP</title>
|
||||
<title-short>ABNT-FDUSP</title-short>
|
||||
<id>http://www.zotero.org/styles/abnt-estilo-fdusp</id>
|
||||
<link href="http://www.zotero.org/styles/abnt-estilo-fdusp" rel="self"/>
|
||||
<link href="http://www.zotero.org/styles/associacao-brasileira-de-normas-tecnicas" rel="template"/>
|
||||
<link href="http://www.face.ufmg.br/portal/files/biblioteca/Manual_normalizacao_FACE.pdf" rel="documentation"/>
|
||||
<author>
|
||||
<email>carlosegs@ufmg.br</email>
|
||||
</author>
|
||||
<contributor>
|
||||
<name>Paula Elizabeth Nogueira Sales</name>
|
||||
<email>paulaens@yahoo.com.br</email>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Tiago de Oliveira do Carmo</name>
|
||||
<email>ogait_7@yahoo.com.br</email>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Marialice Martins Barroca</name>
|
||||
<email>mmbarroca@hotmail.com</email>
|
||||
</contributor>
|
||||
<category citation-format="author-date"/>
|
||||
<category field="generic-base"/>
|
||||
<summary>The Brazilian standard style</summary>
|
||||
<updated>2015-06-06T19:12:46+00:00</updated>
|
||||
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
|
||||
</info>
|
||||
<locale xml:lang="pt-BR">
|
||||
<terms>
|
||||
<term name="month-01" form="short">jan.</term>
|
||||
<term name="month-02" form="short">fev.</term>
|
||||
<term name="month-03" form="short">mar.</term>
|
||||
<term name="month-04" form="short">abr.</term>
|
||||
<term name="month-05" form="short">maio</term>
|
||||
<term name="month-06" form="short">jun.</term>
|
||||
<term name="month-07" form="short">jul.</term>
|
||||
<term name="month-08" form="short">ago.</term>
|
||||
<term name="month-09" form="short">set.</term>
|
||||
<term name="month-10" form="short">out.</term>
|
||||
<term name="month-11" form="short">nov.</term>
|
||||
<term name="month-12" form="short">dez.</term>
|
||||
<term name="editor" form="short">
|
||||
<single>ed</single>
|
||||
<multiple>ed</multiple>
|
||||
</term>
|
||||
<term name="editor" form="short">
|
||||
<single>org</single>
|
||||
<multiple>org</multiple>
|
||||
</term>
|
||||
<term name="collection-editor" form="short">
|
||||
<single>org</single>
|
||||
<multiple>org</multiple>
|
||||
</term>
|
||||
</terms>
|
||||
</locale>
|
||||
<macro name="container-contributors">
|
||||
<choose>
|
||||
<if type="chapter" match="all">
|
||||
<text value="In: "/>
|
||||
<names variable="container-author" delimiter=", ">
|
||||
<name name-as-sort-order="all" sort-separator=", " delimiter="; " delimiter-precedes-last="always">
|
||||
<name-part name="family" text-case="uppercase"/>
|
||||
<name-part name="given" text-case="capitalize-all"/>
|
||||
</name>
|
||||
<et-al font-style="italic"/>
|
||||
<label form="short" prefix=" (" suffix=".). " text-case="capitalize-first"/>
|
||||
<substitute>
|
||||
<names variable="editor"/>
|
||||
<names variable="collection-editor"/>
|
||||
</substitute>
|
||||
</names>
|
||||
<choose>
|
||||
<if match="any" variable="container-author collection-editor editor"/>
|
||||
</choose>
|
||||
</if>
|
||||
<else>
|
||||
<text value="In: ______."/>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="secondary-contributors">
|
||||
<choose>
|
||||
<if type="chapter" match="none">
|
||||
<names variable="editor" delimiter=", " prefix=" (" suffix=")">
|
||||
<name and="symbol" delimiter=", "/>
|
||||
<label form="short" prefix=", " text-case="capitalize-first" suffix="."/>
|
||||
</names>
|
||||
</if>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="translator">
|
||||
<choose>
|
||||
<if match="any" variable="translator">
|
||||
<text value="Trad. "/>
|
||||
<names variable="translator" delimiter=", ">
|
||||
<name delimiter="; " sort-separator=" " delimiter-precedes-last="always">
|
||||
<name-part name="given" text-case="capitalize-first"/>
|
||||
<name-part name="family" text-case="capitalize-first"/>
|
||||
</name>
|
||||
<et-al font-style="italic"/>
|
||||
</names>
|
||||
</if>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="author">
|
||||
<choose>
|
||||
<if type="article-newspaper">
|
||||
<names variable="author">
|
||||
<name name-as-sort-order="all" sort-separator=", " delimiter="; " delimiter-precedes-last="always">
|
||||
<name-part name="family" text-case="uppercase"/>
|
||||
<name-part name="given" text-case="capitalize-first"/>
|
||||
</name>
|
||||
<et-al font-style="italic"/>
|
||||
<label form="short" prefix=" (" suffix=".)" text-case="capitalize-first"/>
|
||||
<substitute>
|
||||
<names variable="editor"/>
|
||||
<names variable="translator"/>
|
||||
<text macro="title"/>
|
||||
</substitute>
|
||||
</names>
|
||||
</if>
|
||||
<else-if type="entry-dictionary entry-encyclopedia" match="any">
|
||||
<names variable="author">
|
||||
<name name-as-sort-order="all" sort-separator=", " delimiter="; " delimiter-precedes-last="always" prefix=" In: ">
|
||||
<name-part name="family" text-case="uppercase"/>
|
||||
<name-part name="given" text-case="capitalize-first"/>
|
||||
</name>
|
||||
<et-al font-style="italic"/>
|
||||
<label form="short" prefix=" (" suffix=".)" text-case="capitalize-first"/>
|
||||
<substitute>
|
||||
<names variable="editor"/>
|
||||
<names variable="translator"/>
|
||||
<text macro="title"/>
|
||||
</substitute>
|
||||
</names>
|
||||
</else-if>
|
||||
<else>
|
||||
<names variable="author">
|
||||
<name name-as-sort-order="all" sort-separator=", " delimiter="; " delimiter-precedes-last="always">
|
||||
<name-part name="family" text-case="uppercase"/>
|
||||
<name-part name="given" text-case="capitalize-first"/>
|
||||
</name>
|
||||
<et-al font-style="italic"/>
|
||||
<label form="short" prefix=" (" suffix=".)" text-case="capitalize-first"/>
|
||||
<substitute>
|
||||
<names variable="editor"/>
|
||||
<names variable="translator"/>
|
||||
<text macro="title"/>
|
||||
</substitute>
|
||||
</names>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="author-short">
|
||||
<names variable="author">
|
||||
<name form="short" and="symbol" delimiter-precedes-last="never" initialize-with="." name-as-sort-order="all">
|
||||
<name-part name="family" text-case="uppercase"/>
|
||||
<name-part name="given" text-case="capitalize-first" font-variant="normal"/>
|
||||
</name>
|
||||
<et-al font-style="italic"/>
|
||||
<substitute>
|
||||
<names variable="editor"/>
|
||||
<names variable="translator"/>
|
||||
<choose>
|
||||
<if type="book">
|
||||
<text variable="title" form="short"/>
|
||||
</if>
|
||||
<else>
|
||||
<text variable="title" form="short" quotes="true"/>
|
||||
</else>
|
||||
</choose>
|
||||
</substitute>
|
||||
</names>
|
||||
</macro>
|
||||
<macro name="access">
|
||||
<choose>
|
||||
<if type="article-magazine article-journal" match="any">
|
||||
<text variable="URL" prefix=". Disponível em: <" suffix=">"/>
|
||||
<date variable="accessed" prefix=". Acesso em: ">
|
||||
<date-part name="day" suffix=" "/>
|
||||
<date-part name="month" form="short" suffix=" " text-case="lowercase"/>
|
||||
<date-part name="year"/>
|
||||
</date>
|
||||
</if>
|
||||
<else>
|
||||
<text variable="URL" prefix="Disponível em: <" suffix=">"/>
|
||||
<date variable="accessed" prefix=". Acesso em: ">
|
||||
<date-part name="day" suffix=" "/>
|
||||
<date-part name="month" form="short" suffix=" " text-case="lowercase"/>
|
||||
<date-part name="year"/>
|
||||
</date>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="title">
|
||||
<choose>
|
||||
<if type="bill paper-conference" match="any">
|
||||
<text variable="title" quotes="false"/>
|
||||
</if>
|
||||
<else-if type="book thesis" match="any">
|
||||
<text variable="title" font-style="italic"/>
|
||||
</else-if>
|
||||
<else-if type="entry-dictionary entry-encyclopedia" match="any">
|
||||
<text variable="title" text-case="uppercase"/>
|
||||
</else-if>
|
||||
<else-if type="article-newspaper article-magazine article-journal chapter" match="any">
|
||||
<text variable="title" quotes="true"/>
|
||||
</else-if>
|
||||
<else>
|
||||
<text variable="title" font-style="italic"/>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="container-title">
|
||||
<choose>
|
||||
<if type="paper-conference" match="any">
|
||||
<text variable="event-place" suffix=". "/>
|
||||
<text value="Anais" font-style="italic"/>
|
||||
<text value="... "/>
|
||||
</if>
|
||||
<else-if type="chapter" match="any">
|
||||
<text variable="container-title" font-style="italic"/>
|
||||
</else-if>
|
||||
<else>
|
||||
<text variable="container-title" font-style="italic"/>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="publisher">
|
||||
<choose>
|
||||
<if match="any" variable="publisher-place publisher">
|
||||
<group delimiter=": ">
|
||||
<choose>
|
||||
<if variable="publisher-place">
|
||||
<text variable="publisher-place"/>
|
||||
</if>
|
||||
<else>
|
||||
<text value="[S.l.]"/>
|
||||
</else>
|
||||
</choose>
|
||||
<choose>
|
||||
<if variable="publisher">
|
||||
<text variable="publisher"/>
|
||||
</if>
|
||||
<else>
|
||||
<text value="[s.n.]"/>
|
||||
</else>
|
||||
</choose>
|
||||
</group>
|
||||
</if>
|
||||
<else>
|
||||
<text value="[S.l: s.n.]"/>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="event">
|
||||
<choose>
|
||||
<if type="paper-conference" match="any">
|
||||
<text variable="event" text-case="uppercase" prefix="In: "/>
|
||||
</if>
|
||||
<else>
|
||||
<text variable="event"/>
|
||||
<text variable="event-place" prefix=", "/>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="issued">
|
||||
<choose>
|
||||
<if variable="issued" match="any">
|
||||
<group>
|
||||
<choose>
|
||||
<if type="book chapter" match="none">
|
||||
<date variable="issued">
|
||||
<date-part name="day" suffix=" "/>
|
||||
<date-part name="month" form="short" suffix=" "/>
|
||||
</date>
|
||||
</if>
|
||||
</choose>
|
||||
<date variable="issued">
|
||||
<date-part name="year"/>
|
||||
</date>
|
||||
</group>
|
||||
</if>
|
||||
<else>
|
||||
<text value="[S.d.]"/>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="issued-year">
|
||||
<choose>
|
||||
<if variable="issued" match="any">
|
||||
<date variable="issued">
|
||||
<date-part name="year"/>
|
||||
</date>
|
||||
</if>
|
||||
<else>
|
||||
<text value="[S.d.]"/>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="edition">
|
||||
<choose>
|
||||
<if type="book chapter entry-dictionary entry-encyclopedia" match="any">
|
||||
<choose>
|
||||
<if is-numeric="edition">
|
||||
<group delimiter=" ">
|
||||
<number variable="edition" form="numeric" suffix="."/>
|
||||
<text term="edition" form="short" suffix="."/>
|
||||
</group>
|
||||
</if>
|
||||
<else>
|
||||
<text variable="edition" suffix=" ed."/>
|
||||
</else>
|
||||
</choose>
|
||||
</if>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="locators">
|
||||
<choose>
|
||||
<if type="bill">
|
||||
<group prefix=", " delimiter=", ">
|
||||
<date variable="issued">
|
||||
<date-part name="day"/>
|
||||
<date-part prefix=" " name="month" form="short"/>
|
||||
<date-part prefix=" " name="year"/>
|
||||
</date>
|
||||
<text variable="section" prefix="Sec. "/>
|
||||
<text variable="page" prefix="p. " suffix="."/>
|
||||
</group>
|
||||
</if>
|
||||
<else-if match="any" type="article-journal article-magazine article-newspaper">
|
||||
<group delimiter=", ">
|
||||
<group delimiter=", ">
|
||||
<text variable="volume" prefix="v. "/>
|
||||
<text variable="issue" prefix="n. "/>
|
||||
</group>
|
||||
<text variable="page" prefix="p. "/>
|
||||
</group>
|
||||
</else-if>
|
||||
<else-if match="any" type="book chapter">
|
||||
<group delimiter=", ">
|
||||
<group>
|
||||
<text variable="volume" prefix="v. " suffix=". "/>
|
||||
<text variable="page" prefix="p. "/>
|
||||
</group>
|
||||
</group>
|
||||
</else-if>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="citation-locator">
|
||||
<group>
|
||||
<label variable="locator" form="short"/>
|
||||
<text variable="locator" prefix=" "/>
|
||||
</group>
|
||||
</macro>
|
||||
<macro name="genre">
|
||||
<text variable="genre"/>
|
||||
</macro>
|
||||
<macro name="abstract">
|
||||
<text variable="abstract"/>
|
||||
</macro>
|
||||
<macro name="place">
|
||||
<choose>
|
||||
<if match="any" variable="publisher-place">
|
||||
<text variable="publisher-place"/>
|
||||
</if>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="archive">
|
||||
<group>
|
||||
<text variable="archive" prefix=" "/>
|
||||
</group>
|
||||
</macro>
|
||||
<macro name="number">
|
||||
<group>
|
||||
<text variable="number" suffix=". "/>
|
||||
</group>
|
||||
</macro>
|
||||
<macro name="sort-key1">
|
||||
<choose>
|
||||
<if type="entry-dictionary entry-encyclopedia" match="any">
|
||||
<text variable="title"/>
|
||||
</if>
|
||||
<else>
|
||||
<text macro="author"/>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="sort-key2">
|
||||
<choose>
|
||||
<if type="entry-dictionary entry-encyclopedia" match="any">
|
||||
<text macro="author"/>
|
||||
</if>
|
||||
<else>
|
||||
<text variable="title"/>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<citation et-al-min="4" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true" collapse="year-suffix" givenname-disambiguation-rule="primary-name" year-suffix-delimiter=", ">
|
||||
<sort>
|
||||
<key macro="author"/>
|
||||
<key macro="issued-year"/>
|
||||
</sort>
|
||||
<layout prefix="(" suffix=")" delimiter="; ">
|
||||
<group>
|
||||
<text suffix=", " macro="author-short"/>
|
||||
<text macro="issued-year"/>
|
||||
<text prefix=", " macro="citation-locator"/>
|
||||
</group>
|
||||
</layout>
|
||||
</citation>
|
||||
<bibliography hanging-indent="false" et-al-min="4" et-al-use-first="1" entry-spacing="1">
|
||||
<sort>
|
||||
<key macro="sort-key1"/>
|
||||
<key macro="sort-key2"/>
|
||||
<key macro="issued"/>
|
||||
</sort>
|
||||
<layout>
|
||||
<choose>
|
||||
<if type="bill">
|
||||
<group>
|
||||
<text macro="author" suffix=". "/>
|
||||
<text macro="number" suffix=". "/>
|
||||
<text macro="title" suffix=". "/>
|
||||
<text variable="references" suffix=", " font-weight="bold"/>
|
||||
<text variable="note"/>
|
||||
<text macro="locators" suffix=". "/>
|
||||
<text macro="access" suffix=". "/>
|
||||
</group>
|
||||
</if>
|
||||
<else-if type="map">
|
||||
<group>
|
||||
<text macro="author" suffix=". "/>
|
||||
<text macro="title" suffix=", "/>
|
||||
<text macro="issued" suffix=". "/>
|
||||
<text variable="note" suffix=". "/>
|
||||
<text macro="access" suffix=". "/>
|
||||
</group>
|
||||
</else-if>
|
||||
<else-if type="book">
|
||||
<group>
|
||||
<text macro="author" suffix=". "/>
|
||||
<text macro="title" suffix=". "/>
|
||||
<text macro="translator" suffix=". "/>
|
||||
<text macro="edition" suffix=". "/>
|
||||
<text macro="publisher" suffix=", "/>
|
||||
<text macro="issued-year" suffix=". "/>
|
||||
<text macro="locators"/>
|
||||
<text macro="access" suffix=". "/>
|
||||
<group prefix="(" suffix=").">
|
||||
<text variable="collection-title"/>
|
||||
<text variable="collection-number" prefix=", "/>
|
||||
</group>
|
||||
</group>
|
||||
</else-if>
|
||||
<else-if type="chapter">
|
||||
<group>
|
||||
<text macro="author" suffix=". "/>
|
||||
<text macro="title" suffix=". "/>
|
||||
<text macro="container-contributors" suffix=". "/>
|
||||
<text macro="secondary-contributors" suffix=". "/>
|
||||
<text macro="container-title" suffix=". "/>
|
||||
<text variable="collection-title" suffix=". "/>
|
||||
<text macro="translator" suffix=". "/>
|
||||
<text macro="edition" suffix=". "/>
|
||||
<group suffix=". ">
|
||||
<text macro="publisher" suffix=", "/>
|
||||
<text macro="issued" suffix=". "/>
|
||||
<text macro="locators"/>
|
||||
</group>
|
||||
<text macro="access" suffix=". "/>
|
||||
</group>
|
||||
</else-if>
|
||||
<else-if type="article-newspaper" match="any">
|
||||
<group>
|
||||
<text macro="author" suffix=". "/>
|
||||
<text macro="title" suffix=". "/>
|
||||
<text macro="translator" suffix=". "/>
|
||||
<text macro="container-title" suffix=", "/>
|
||||
<text variable="collection-title" suffix=". "/>
|
||||
<text variable="note" suffix=", "/>
|
||||
<text macro="place" suffix=", "/>
|
||||
<text macro="edition" suffix=", "/>
|
||||
<text macro="issued" suffix=". "/>
|
||||
<text variable="section"/>
|
||||
<group suffix=".">
|
||||
<text macro="locators" prefix=", "/>
|
||||
<text macro="access"/>
|
||||
</group>
|
||||
</group>
|
||||
</else-if>
|
||||
<else-if type="article-magazine article-journal" match="any">
|
||||
<group suffix=".">
|
||||
<text macro="author" suffix=". "/>
|
||||
<text macro="title" suffix=". "/>
|
||||
<text macro="container-title" suffix=", "/>
|
||||
<text variable="collection-title" suffix=". "/>
|
||||
<text variable="note" suffix=", "/>
|
||||
<text macro="edition" suffix=", "/>
|
||||
<text macro="locators" suffix=", "/>
|
||||
<text macro="issued"/>
|
||||
<text macro="translator" suffix=". "/>
|
||||
<text macro="access"/>
|
||||
</group>
|
||||
</else-if>
|
||||
<else-if type="thesis">
|
||||
<group>
|
||||
<text macro="author" suffix=". "/>
|
||||
<text macro="title" suffix=". "/>
|
||||
<text macro="issued-year" suffix=". "/>
|
||||
<text variable="number-of-pages" suffix=" f. "/>
|
||||
<text variable="genre" suffix=" – "/>
|
||||
<text variable="publisher" suffix=", "/>
|
||||
<text variable="publisher-place" suffix=", "/>
|
||||
<text macro="issued-year" suffix=". "/>
|
||||
<text macro="access" suffix=". "/>
|
||||
</group>
|
||||
</else-if>
|
||||
<else-if type="manuscript">
|
||||
<group>
|
||||
<text macro="author" suffix=". "/>
|
||||
<text macro="title" suffix=". "/>
|
||||
<text macro="edition" suffix=". "/>
|
||||
<text macro="abstract" suffix=". "/>
|
||||
<text macro="place" suffix=", "/>
|
||||
<text macro="issued" suffix=". "/>
|
||||
<text macro="access" suffix=". "/>
|
||||
<text macro="archive" suffix=". "/>
|
||||
</group>
|
||||
</else-if>
|
||||
<else-if type="webpage">
|
||||
<group>
|
||||
<text macro="author" suffix=". "/>
|
||||
<text macro="title" suffix=". "/>
|
||||
<text macro="genre" suffix=". "/>
|
||||
<text macro="access" suffix=". "/>
|
||||
</group>
|
||||
</else-if>
|
||||
<else-if type="paper-conference">
|
||||
<text macro="author" suffix=". "/>
|
||||
<text macro="title" suffix=". "/>
|
||||
<text macro="event" suffix=", "/>
|
||||
<text variable="collection-title" suffix=", "/>
|
||||
<text macro="issued" suffix=", "/>
|
||||
<text macro="locators"/>
|
||||
<text macro="container-title"/>
|
||||
<group delimiter=". " suffix=". ">
|
||||
<group delimiter=", ">
|
||||
<text macro="publisher"/>
|
||||
<text macro="issued"/>
|
||||
</group>
|
||||
<text variable="page" prefix="p. "/>
|
||||
<text macro="access"/>
|
||||
</group>
|
||||
</else-if>
|
||||
<else-if type="report">
|
||||
<text macro="author" suffix=". "/>
|
||||
<text macro="title" suffix=". "/>
|
||||
<text macro="container-contributors"/>
|
||||
<text macro="secondary-contributors"/>
|
||||
<text macro="container-title"/>
|
||||
<text variable="collection-title" prefix=", " suffix="."/>
|
||||
<text variable="genre"/>
|
||||
<text variable="number" prefix=", nº " suffix="."/>
|
||||
<text macro="locators"/>
|
||||
<group delimiter=". " prefix=". ">
|
||||
<text macro="publisher"/>
|
||||
</group>
|
||||
<text macro="issued" prefix=", " suffix="."/>
|
||||
<text macro="access" prefix=" " suffix="."/>
|
||||
</else-if>
|
||||
<else-if type="entry-dictionary entry-encyclopedia" match="any">
|
||||
<text macro="title" suffix=". "/>
|
||||
<text macro="author" suffix=". "/>
|
||||
<text macro="container-contributors"/>
|
||||
<text macro="secondary-contributors"/>
|
||||
<text macro="container-title" suffix=". "/>
|
||||
<text macro="edition" suffix=" "/>
|
||||
<text variable="collection-title" prefix=", " suffix="."/>
|
||||
<text macro="locators"/>
|
||||
<group delimiter=". ">
|
||||
<text macro="publisher"/>
|
||||
</group>
|
||||
<text macro="issued" prefix=", " suffix=". "/>
|
||||
<text variable="volume" prefix=" v. " suffix=". "/>
|
||||
<text variable="page" prefix="p. " suffix="."/>
|
||||
<text macro="access" prefix=" " suffix="."/>
|
||||
</else-if>
|
||||
<else>
|
||||
<text macro="author" suffix=". "/>
|
||||
<text macro="title" suffix=". "/>
|
||||
<text macro="container-contributors"/>
|
||||
<text macro="secondary-contributors"/>
|
||||
<text macro="container-title"/>
|
||||
<text variable="collection-title" prefix=", " suffix="."/>
|
||||
<text macro="locators"/>
|
||||
<group delimiter=". " prefix=". " suffix=". ">
|
||||
<text macro="publisher"/>
|
||||
<text macro="access"/>
|
||||
</group>
|
||||
<text macro="issued" prefix=", "/>
|
||||
</else>
|
||||
</choose>
|
||||
</layout>
|
||||
</bibliography>
|
||||
</style>
|
||||
10
abnt-renato-antigo.csl
Normal file
10
abnt-renato-antigo.csl
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="pt-BR">
|
||||
<info>
|
||||
<title>ABNT - Renato Antigo</title>
|
||||
<id>http://mekentosj.com/csl-styles/abnt-renato-antigo</id>
|
||||
<link href="http://www.zotero.org/styles/associacao-brasileira-de-normas-tecnicas-ufpr" rel="independent-parent"></link>
|
||||
<category field="generic-base"></category>
|
||||
<category citation-format="author-date"></category>
|
||||
</info>
|
||||
</style>
|
||||
607
abnt-renato-fdusp.csl
Normal file
607
abnt-renato-fdusp.csl
Normal file
@@ -0,0 +1,607 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" class="in-text" default-locale="pt-BR" demote-non-dropping-particle="never">
|
||||
<info>
|
||||
<title>ABNT - FDUSP</title>
|
||||
<id>http://www.zotero.org/styles/abnt-fdusp</id>
|
||||
<link href="http://www.zotero.org/styles/abnt-fdusp" rel="self"/>
|
||||
<link href="http://www.zotero.org/styles/associacao-brasileira-de-normas-tecnicas" rel="template"/>
|
||||
<author>
|
||||
<name>Renato Rosa</name>
|
||||
<email>renato@renatorosa.com.br</email>
|
||||
</author>
|
||||
<category citation-format="author-date"/>
|
||||
<category field="generic-base"/>
|
||||
<updated>2012-06-14T22:16:05+00:00</updated>
|
||||
<summary>The Brazilian standard style</summary>
|
||||
<rights>This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
|
||||
</info>
|
||||
<locale xml:lang="pt-BR">
|
||||
<terms>
|
||||
<term name="month-01" form="short">jan.</term>
|
||||
<term name="month-02" form="short">fev.</term>
|
||||
<term name="month-03" form="short">mar.</term>
|
||||
<term name="month-04" form="short">abr.</term>
|
||||
<term name="month-05" form="short">maio</term>
|
||||
<term name="month-06" form="short">jun.</term>
|
||||
<term name="month-07" form="short">jul.</term>
|
||||
<term name="month-08" form="short">ago.</term>
|
||||
<term name="month-09" form="short">set.</term>
|
||||
<term name="month-10" form="short">out.</term>
|
||||
<term name="month-11" form="short">nov.</term>
|
||||
<term name="month-12" form="short">dez.</term>
|
||||
<term name="editor" form="short">
|
||||
<single>ed</single>
|
||||
<multiple>ed</multiple>
|
||||
</term>
|
||||
<term name="editor" form="short">
|
||||
<single>org</single>
|
||||
<multiple>org</multiple>
|
||||
</term>
|
||||
<term name="collection-editor" form="short">
|
||||
<single>org</single>
|
||||
<multiple>org</multiple>
|
||||
</term>
|
||||
<term name="page">
|
||||
<single>página</single>
|
||||
<multiple>páginas</multiple>
|
||||
</term>
|
||||
<term name="page" form="short">
|
||||
<single>p.</single>
|
||||
<multiple>pp.</multiple>
|
||||
</term>
|
||||
<term name="translator">
|
||||
<single>Tradutor</single>
|
||||
<multiple>Tradutores</multiple>
|
||||
</term>
|
||||
<term name="translator" form="short">
|
||||
<single>Trad.</single>
|
||||
<multiple>Trad.</multiple>
|
||||
</term>
|
||||
</terms>
|
||||
</locale>
|
||||
<macro name="container-contributors">
|
||||
<choose>
|
||||
<if type="chapter">
|
||||
<text value="In: "/>
|
||||
<names variable="container-author" delimiter=", ">
|
||||
<name name-as-sort-order="all" sort-separator=", " delimiter="; " delimiter-precedes-last="always">
|
||||
<name-part name="family" text-case="uppercase"/>
|
||||
<name-part name="given" text-case="capitalize-first"/>
|
||||
</name>
|
||||
<et-al prefix=" " font-style="italic"/>
|
||||
<label form="short" prefix=" (" suffix=".). " text-case="capitalize-first"/>
|
||||
<substitute>
|
||||
<names variable="editor"/>
|
||||
<names variable="collection-editor"/>
|
||||
</substitute>
|
||||
</names>
|
||||
</if>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="secondary-contributors">
|
||||
<choose>
|
||||
<if type="chapter" match="none">
|
||||
<names variable="editor" delimiter=", " prefix=" (" suffix=")">
|
||||
<name and="symbol" delimiter=", "/>
|
||||
<label form="short" prefix=", " text-case="capitalize-first" suffix="."/>
|
||||
</names>
|
||||
</if>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="translator">
|
||||
<names variable="translator" delimiter=", ">
|
||||
<text value="Traducao de"/>
|
||||
<label variable="translator" form="short" prefix=", " suffix=". " strip-periods="true"/>
|
||||
<name delimiter=", " sort-separator=" " and="text" delimiter-precedes-last="contextual">
|
||||
<name-part name="given" text-case="capitalize-first"/>
|
||||
<name-part name="family" text-case="capitalize-first"/>
|
||||
</name>
|
||||
<et-al prefix=" " font-style="italic"/>
|
||||
|
||||
|
||||
</names>
|
||||
</macro>
|
||||
|
||||
|
||||
|
||||
<macro name="author">
|
||||
<choose>
|
||||
<if type="article-newspaper">
|
||||
<names variable="author">
|
||||
<name name-as-sort-order="all" sort-separator=", " delimiter="; " delimiter-precedes-last="always">
|
||||
<name-part name="family" text-case="uppercase"/>
|
||||
<name-part name="given"/>
|
||||
</name>
|
||||
<et-al prefix=" " font-style="italic"/>
|
||||
<label form="short" initialize-with="." prefix=" (" suffix=".)" text-case="capitalize-first"/>
|
||||
<substitute>
|
||||
<names variable="editor"/>
|
||||
<names variable="translator"/>
|
||||
<text macro="title"/>
|
||||
</substitute>
|
||||
</names>
|
||||
</if>
|
||||
<else-if type="entry-dictionary entry-encyclopedia">
|
||||
<names variable="author">
|
||||
<name name-as-sort-order="all" sort-separator=", " delimiter="; " delimiter-precedes-last="always" prefix=" In: ">
|
||||
<name-part name="family" text-case="uppercase"/>
|
||||
<name-part name="given"/>
|
||||
</name>
|
||||
<et-al prefix=" " font-style="italic"/>
|
||||
<label form="short" initialize-with="." prefix=" (" suffix=".)" text-case="capitalize-first"/>
|
||||
<substitute>
|
||||
<names variable="editor"/>
|
||||
<names variable="translator"/>
|
||||
<text macro="title"/>
|
||||
</substitute>
|
||||
</names>
|
||||
</else-if>
|
||||
<else>
|
||||
<names variable="author">
|
||||
<name name-as-sort-order="all" sort-separator=", " delimiter="; " delimiter-precedes-last="always">
|
||||
<name-part name="family" text-case="uppercase"/>
|
||||
<name-part name="given" text-case="capitalize-first"/>
|
||||
</name>
|
||||
<et-al prefix=" " font-style="italic"/>
|
||||
<label form="short" initialize-with="." prefix=" (" suffix=".)" text-case="capitalize-first"/>
|
||||
<substitute>
|
||||
<names variable="editor"/>
|
||||
<names variable="translator"/>
|
||||
<text macro="title"/>
|
||||
</substitute>
|
||||
</names>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="author-short">
|
||||
<names variable="author">
|
||||
<name form="short" initialize-with="." name-as-sort-order="all" sort-separator=", " delimiter="; " delimiter-precedes-last="always">
|
||||
<name-part name="family" text-case="uppercase"/>
|
||||
<name-part name="given" text-case="capitalize-first"/>
|
||||
</name>
|
||||
<et-al prefix=" " font-style="italic"/>
|
||||
<substitute>
|
||||
<names variable="editor"/>
|
||||
<names variable="translator"/>
|
||||
<choose>
|
||||
<if type="book">
|
||||
<text variable="title" form="short"/>
|
||||
</if>
|
||||
<else>
|
||||
<text variable="title" form="short" quotes="true"/>
|
||||
</else>
|
||||
</choose>
|
||||
</substitute>
|
||||
</names>
|
||||
</macro>
|
||||
<macro name="access">
|
||||
<text variable="URL" prefix="Disponível em: <" suffix=">"/>
|
||||
<date variable="accessed" prefix=". Acesso em: ">
|
||||
<date-part name="day" suffix=" "/>
|
||||
<date-part name="month" form="short" suffix=" " text-case="lowercase"/>
|
||||
<date-part name="year"/>
|
||||
</date>
|
||||
</macro>
|
||||
<macro name="title">
|
||||
<choose>
|
||||
<if type="chapter bill paper-conference" match="any">
|
||||
<text variable="title" quotes="true"/>
|
||||
</if>
|
||||
<else-if type="book thesis" match="any">
|
||||
<text variable="title" font-style="italic"/>
|
||||
</else-if>
|
||||
<else-if type="entry-dictionary entry-encyclopedia" match="any">
|
||||
<text variable="title" text-case="uppercase"/>
|
||||
</else-if>
|
||||
<else-if type="article-newspaper article-magazine article-journal" match="any">
|
||||
<text variable="title"/>
|
||||
</else-if>
|
||||
<else>
|
||||
<text variable="title" font-style="italic"/>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="container-title">
|
||||
<choose>
|
||||
<if type="paper-conference" match="any">
|
||||
<text variable="event-place" suffix=". "/>
|
||||
<text value="Anais" font-style="italic"/>
|
||||
<text value="... "/>
|
||||
</if>
|
||||
<else-if type="chapter" match="any">
|
||||
<text variable="container-title" font-style="italic"/>
|
||||
</else-if>
|
||||
<else>
|
||||
<text variable="container-title" font-style="italic"/>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="publisher">
|
||||
<choose>
|
||||
<if match="any" variable="publisher-place publisher">
|
||||
<group delimiter=": ">
|
||||
<choose>
|
||||
<if variable="publisher-place">
|
||||
<text variable="publisher-place"/>
|
||||
</if>
|
||||
<else>
|
||||
<text value="[S.l.]"/>
|
||||
</else>
|
||||
</choose>
|
||||
<choose>
|
||||
<if variable="publisher">
|
||||
<text variable="publisher"/>
|
||||
</if>
|
||||
<else>
|
||||
<text value="[s.n.]"/>
|
||||
</else>
|
||||
</choose>
|
||||
</group>
|
||||
</if>
|
||||
<else>
|
||||
<text value="[S.l: s.n.]"/>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="event">
|
||||
<choose>
|
||||
<if type="paper-conference" match="any">
|
||||
<text variable="event" text-case="uppercase" prefix="In: "/>
|
||||
</if>
|
||||
<else>
|
||||
<text variable="event"/>
|
||||
<text variable="event-place" prefix=", "/>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="issued">
|
||||
<choose>
|
||||
<if variable="issued" match="any">
|
||||
<group>
|
||||
<choose>
|
||||
<if type="book chapter" match="none">
|
||||
<date variable="issued">
|
||||
<date-part name="day" suffix=" "/>
|
||||
<date-part name="month" form="short" suffix=" "/>
|
||||
</date>
|
||||
</if>
|
||||
</choose>
|
||||
<date variable="issued">
|
||||
<date-part name="year"/>
|
||||
</date>
|
||||
</group>
|
||||
</if>
|
||||
<else>
|
||||
<text value="[S.d.]"/>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="issued-year">
|
||||
<choose>
|
||||
<if variable="issued" match="any">
|
||||
<date variable="issued">
|
||||
<date-part name="year"/>
|
||||
</date>
|
||||
</if>
|
||||
<else>
|
||||
<text value="[S.d.]"/>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="edition">
|
||||
<choose>
|
||||
<if type="book chapter entry-dictionary entry-encyclopedia" match="any">
|
||||
<choose>
|
||||
<if is-numeric="edition">
|
||||
<group delimiter=" ">
|
||||
<number variable="edition" form="numeric" suffix="."/>
|
||||
<text term="edition" form="short" suffix="."/>
|
||||
</group>
|
||||
</if>
|
||||
<else>
|
||||
<text variable="edition" suffix=" ed."/>
|
||||
</else>
|
||||
</choose>
|
||||
</if>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="locators">
|
||||
<choose>
|
||||
<if type="bill">
|
||||
<group prefix=", " suffix="" delimiter=", ">
|
||||
<date variable="issued">
|
||||
<date-part name="day"/>
|
||||
<date-part prefix=" " name="month" form="short"/>
|
||||
<date-part prefix=" " name="year"/>
|
||||
</date>
|
||||
<text variable="section" prefix="Sec. "/>
|
||||
<text variable="page" prefix="p. " suffix="."/>
|
||||
</group>
|
||||
</if>
|
||||
<else-if match="any" type="article-journal article-magazine article-newspaper">
|
||||
<group delimiter=", ">
|
||||
<group delimiter=", ">
|
||||
<text variable="volume" prefix="v. "/>
|
||||
<text variable="issue" prefix="n. " suffix=""/>
|
||||
</group>
|
||||
<text variable="page" prefix="p. "/>
|
||||
</group>
|
||||
</else-if>
|
||||
<else-if match="any" type="book chapter">
|
||||
<group delimiter=", ">
|
||||
<group>
|
||||
<text variable="volume" prefix="v. " suffix=". "/>
|
||||
<text variable="page" prefix="p. "/>
|
||||
</group>
|
||||
</group>
|
||||
</else-if>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="citation-locator">
|
||||
<group>
|
||||
<label variable="locator" form="short"/>
|
||||
<text variable="locator" prefix=" "/>
|
||||
</group>
|
||||
</macro>
|
||||
<macro name="genre">
|
||||
<text variable="genre"/>
|
||||
</macro>
|
||||
<macro name="abstract">
|
||||
<text variable="abstract"/>
|
||||
</macro>
|
||||
<macro name="place">
|
||||
<choose>
|
||||
<if match="any" variable="publisher-place">
|
||||
<text variable="publisher-place"/>
|
||||
</if>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="archive">
|
||||
<group>
|
||||
<text variable="archive" prefix=" "/>
|
||||
</group>
|
||||
</macro>
|
||||
<macro name="ISBN">
|
||||
<group>
|
||||
<text variable="ISBN" prefix="ISBN "/>
|
||||
</group>
|
||||
</macro>
|
||||
<macro name="number">
|
||||
<group>
|
||||
<text variable="number" suffix=". "/>
|
||||
</group>
|
||||
</macro>
|
||||
<macro name="sort-key1">
|
||||
<choose>
|
||||
<if type="entry-dictionary entry-encyclopedia">
|
||||
<text variable="title"/>
|
||||
</if>
|
||||
<else>
|
||||
<text macro="author"/>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="sort-key2">
|
||||
<choose>
|
||||
<if type="entry-dictionary entry-encyclopedia">
|
||||
<text macro="author"/>
|
||||
</if>
|
||||
<else>
|
||||
<text variable="title"/>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<citation et-al-min="4" et-al-use-first="1" et-al-subsequent-min="4" et-al-subsequent-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true" collapse="year-suffix" givenname-disambiguation-rule="primary-name" year-suffix-delimiter=", " subsequent-author-substitute="Idem" >
|
||||
<sort>
|
||||
<key macro="author"/>
|
||||
<key macro="issued-year"/>
|
||||
</sort>
|
||||
<layout prefix="(" suffix=")" delimiter="; ">
|
||||
<group>
|
||||
<text suffix=", " macro="author-short"/>
|
||||
<text macro="issued-year"/>
|
||||
<text prefix=", " macro="citation-locator"/>
|
||||
</group>
|
||||
</layout>
|
||||
</citation>
|
||||
<bibliography hanging-indent="true" et-al-min="4" et-al-use-first="1" entry-spacing="1" subsequent-author-substitute="______" >
|
||||
<sort>
|
||||
<key macro="sort-key1"/>
|
||||
<key macro="sort-key2"/>
|
||||
<key macro="issued"/>
|
||||
</sort>
|
||||
<layout>
|
||||
<choose>
|
||||
<if type="bill">
|
||||
<group>
|
||||
<text macro="author" suffix=". "/>
|
||||
<text macro="number" suffix=". "/>
|
||||
<text macro="title" suffix=". "/>
|
||||
<!-- use field 'history' to publisher -->
|
||||
<text variable="references" suffix=", " font-style="italic"/>
|
||||
<!-- use field 'extra' place -->
|
||||
<text variable="note"/>
|
||||
<text macro="locators" suffix=". "/>
|
||||
<text macro="access" suffix=". "/>
|
||||
</group>
|
||||
</if>
|
||||
<else-if type="map">
|
||||
<group>
|
||||
<text macro="author" suffix=". "/>
|
||||
<text macro="title" suffix=", "/>
|
||||
<text macro="issued" suffix=". "/>
|
||||
<text variable="note" suffix=". "/>
|
||||
<text macro="access" suffix=". "/>
|
||||
</group>
|
||||
</else-if>
|
||||
<else-if type="book">
|
||||
<group>
|
||||
<text macro="author" suffix=". "/>
|
||||
<text macro="title" suffix=". "/>
|
||||
<text macro="translator" suffix=". "/>
|
||||
<text macro="edition" suffix=". "/>
|
||||
<text macro="publisher" suffix=", "/>
|
||||
<text macro="issued-year" suffix=". "/>
|
||||
<text macro="locators"/>
|
||||
<text macro="access" suffix=". "/>
|
||||
<group prefix="(" suffix=").">
|
||||
<text variable="collection-title"/>
|
||||
<text variable="collection-number" prefix=", "/>
|
||||
</group>
|
||||
</group>
|
||||
</else-if>
|
||||
<else-if type="chapter">
|
||||
<!-- paper in conference too -->
|
||||
<group>
|
||||
<text macro="author" suffix=". "/>
|
||||
<text macro="title" suffix=". "/>
|
||||
<text macro="container-contributors" suffix=". "/>
|
||||
<text macro="secondary-contributors" suffix=". "/>
|
||||
<text macro="container-title" suffix=". "/>
|
||||
<text variable="collection-title" suffix=". "/>
|
||||
<text macro="translator" suffix=". "/>
|
||||
<text macro="edition" suffix=". "/>
|
||||
<group suffix=". ">
|
||||
<text macro="publisher" suffix=", "/>
|
||||
<text macro="issued" suffix=". "/>
|
||||
<text macro="locators"/>
|
||||
</group>
|
||||
<text macro="access" suffix=". "/>
|
||||
</group>
|
||||
</else-if>
|
||||
<else-if type="article-newspaper" match="any">
|
||||
<group>
|
||||
<text macro="author" suffix=". "/>
|
||||
<text macro="title" suffix=". "/>
|
||||
<text macro="translator" suffix=". "/>
|
||||
<text macro="container-title" suffix=", "/>
|
||||
<text variable="collection-title" suffix=". "/>
|
||||
<!-- use field 'extra' place -->
|
||||
<text variable="note" suffix=", "/>
|
||||
<text macro="place" suffix=", "/>
|
||||
<text macro="edition" suffix=", "/>
|
||||
<text macro="issued" suffix=". "/>
|
||||
<text variable="section"/>
|
||||
<group suffix=".">
|
||||
<text macro="locators" prefix=", "/>
|
||||
<text macro="access"/>
|
||||
</group>
|
||||
</group>
|
||||
</else-if>
|
||||
<else-if type="article-magazine article-journal" match="any">
|
||||
<group suffix=".">
|
||||
<text macro="author" suffix=". "/>
|
||||
<text macro="title" suffix=". "/>
|
||||
<text macro="container-title" suffix=", "/>
|
||||
<text variable="collection-title" suffix=". "/>
|
||||
<!-- use field 'extra' place -->
|
||||
<text variable="note" suffix=", "/>
|
||||
<text macro="edition" suffix=", "/>
|
||||
<text macro="locators" suffix=", "/>
|
||||
<text macro="issued"/>
|
||||
<text macro="translator" suffix=". "/>
|
||||
<text macro="access"/>
|
||||
</group>
|
||||
</else-if>
|
||||
<else-if type="thesis">
|
||||
<group>
|
||||
<text macro="author" suffix=". "/>
|
||||
<text macro="title" suffix=". "/>
|
||||
<text macro="issued-year" suffix=". "/>
|
||||
<text variable="number-of-pages" suffix=" f. "/>
|
||||
<text variable="genre" suffix=" – "/>
|
||||
<text variable="publisher" suffix=", "/>
|
||||
<text variable="publisher-place" suffix=", "/>
|
||||
<text macro="issued-year" suffix=". "/>
|
||||
<text macro="access" suffix=". "/>
|
||||
</group>
|
||||
</else-if>
|
||||
<else-if type="manuscript">
|
||||
<!-- There is no ABNT norm for manuscripts -->
|
||||
<group>
|
||||
<text macro="author" suffix=". "/>
|
||||
<text macro="title" suffix=". "/>
|
||||
<text macro="edition" suffix=". "/>
|
||||
<text macro="abstract" suffix=". "/>
|
||||
<text macro="place" suffix=", "/>
|
||||
<text macro="issued" suffix=". "/>
|
||||
<text macro="access" suffix=". "/>
|
||||
<text macro="archive" suffix=". "/>
|
||||
</group>
|
||||
</else-if>
|
||||
<else-if type="webpage">
|
||||
<group>
|
||||
<text macro="author" suffix=". "/>
|
||||
<text macro="title" suffix=". "/>
|
||||
<text macro="genre" suffix=". "/>
|
||||
<text macro="access" suffix=". "/>
|
||||
</group>
|
||||
</else-if>
|
||||
<else-if type="paper-conference">
|
||||
<text macro="author" suffix=". "/>
|
||||
<text macro="title" suffix=". "/>
|
||||
<text macro="event" suffix=", "/>
|
||||
<text variable="collection-title" suffix=", "/>
|
||||
<text macro="issued" suffix=", "/>
|
||||
<text macro="locators"/>
|
||||
<text macro="container-title"/>
|
||||
<group delimiter=". " suffix=". ">
|
||||
<group delimiter=", ">
|
||||
<text macro="publisher"/>
|
||||
<text macro="issued"/>
|
||||
</group>
|
||||
<text variable="page" prefix="p. "/>
|
||||
<text macro="access"/>
|
||||
</group>
|
||||
</else-if>
|
||||
<else-if type="report">
|
||||
<text macro="author" suffix=". "/>
|
||||
<text macro="title" suffix=". "/>
|
||||
<text macro="container-contributors"/>
|
||||
<text macro="secondary-contributors"/>
|
||||
<text macro="container-title"/>
|
||||
<text variable="collection-title" prefix=", " suffix="."/>
|
||||
<text variable="genre"/>
|
||||
<text variable="number" prefix=", nº " suffix="."/>
|
||||
<text macro="locators"/>
|
||||
<group delimiter=". " prefix=". ">
|
||||
<text macro="publisher"/>
|
||||
</group>
|
||||
<text macro="issued" prefix=", " suffix="."/>
|
||||
<text macro="access" prefix=" " suffix="."/>
|
||||
</else-if>
|
||||
<else-if type="entry-dictionary entry-encyclopedia" match="any">
|
||||
<text macro="title" suffix=". "/>
|
||||
<text macro="author" suffix=". "/>
|
||||
<text macro="container-contributors"/>
|
||||
<text macro="secondary-contributors"/>
|
||||
<text macro="container-title" suffix=". "/>
|
||||
<text macro="edition" suffix=" "/>
|
||||
<text variable="collection-title" prefix=", " suffix="."/>
|
||||
<text macro="locators"/>
|
||||
<group delimiter=". ">
|
||||
<text macro="publisher"/>
|
||||
</group>
|
||||
<text macro="issued" prefix=", " suffix=". "/>
|
||||
<text variable="volume" prefix=" v. " suffix=". "/>
|
||||
<text variable="page" prefix="p. " suffix="."/>
|
||||
<text macro="access" prefix=" " suffix="."/>
|
||||
</else-if>
|
||||
<else>
|
||||
<text macro="author" suffix=". "/>
|
||||
<text macro="title" suffix=". "/>
|
||||
<text macro="container-contributors"/>
|
||||
<text macro="secondary-contributors"/>
|
||||
<text macro="container-title"/>
|
||||
<text variable="collection-title" prefix=", " suffix="."/>
|
||||
<text macro="locators"/>
|
||||
<group delimiter=". " prefix=". " suffix=". ">
|
||||
<text macro="publisher"/>
|
||||
<text macro="access"/>
|
||||
</group>
|
||||
<text macro="issued" prefix=", "/>
|
||||
</else>
|
||||
</choose>
|
||||
</layout>
|
||||
</bibliography>
|
||||
</style>
|
||||
331
abnt-renato.csl
Normal file
331
abnt-renato.csl
Normal file
@@ -0,0 +1,331 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="pt-BR">
|
||||
<info>
|
||||
<title>ABNT - Renato 1</title>
|
||||
<id>http://mekentosj.com/csl-styles/abnt-renato</id>
|
||||
<link href="http://www.renatorosa.com.br/abnt" rel="independent-parent"></link>
|
||||
<category field="generic-base"></category>
|
||||
<category citation-format="author-date"></category>
|
||||
<author>
|
||||
<name>Renato Rosa</name>
|
||||
<email>renato(a)usp.br</email>
|
||||
</author>
|
||||
<updated>2012-08-21T03:46:54+00:00</updated>
|
||||
<summary>The Brazilian standard style as used in the Law School of the University os Sao Paulo</summary>
|
||||
|
||||
<rights>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
|
||||
</info>
|
||||
|
||||
<macro name="container-contributors">
|
||||
<choose>
|
||||
<if type="chapter">
|
||||
<text value="In:" suffix=" "/>
|
||||
<names variable="editor translator contributor" delimiter=", " suffix="">
|
||||
<name name-as-sort-order="all" sort-separator=", " text-case="uppercase"
|
||||
initialize-with=". " delimiter="; " delimiter-precedes-last="always"/>
|
||||
<label form="short" prefix=" (" suffix=".)" text-case="uppercase"/>
|
||||
</names>
|
||||
</if>
|
||||
</choose>
|
||||
</macro>
|
||||
|
||||
<macro name="secondary-contributors">
|
||||
<choose>
|
||||
<if type="chapter" match="none">
|
||||
<names variable="editor translator" delimiter=", " prefix=" (" suffix=")">
|
||||
<name and="symbol" initialize-with=". " delimiter=", "/>
|
||||
<label form="short" prefix=", " text-case="capitalize-first" suffix="."/>
|
||||
</names>
|
||||
</if>
|
||||
</choose>
|
||||
</macro>
|
||||
|
||||
<macro name="author">
|
||||
<names variable="author">
|
||||
<name name-as-sort-order="all" sort-separator=", " text-case="capitalize-first"
|
||||
delimiter="; " delimiter-precedes-last="always"/>
|
||||
<label form="short" prefix=" (" suffix=".)" text-case="uppercase"/>
|
||||
<substitute>
|
||||
<names variable="editor"/>
|
||||
<names variable="translator"/>
|
||||
<text macro="title"/>
|
||||
</substitute>
|
||||
</names>
|
||||
</macro>
|
||||
|
||||
<macro name="author-short">
|
||||
<names variable="author">
|
||||
<name form="short" name-as-sort-order="all" sort-separator=", " text-case="uppercase"
|
||||
initialize-with=". " delimiter="; " delimiter-precedes-last="always"/>
|
||||
<substitute>
|
||||
<names variable="editor"/>
|
||||
<names variable="translator"/>
|
||||
<choose>
|
||||
<if type="book">
|
||||
<text variable="title" form="short" font-style="italic"/>
|
||||
</if>
|
||||
<else>
|
||||
<text variable="title" form="short" quotes="true"/>
|
||||
</else>
|
||||
</choose>
|
||||
</substitute>
|
||||
</names>
|
||||
</macro>
|
||||
|
||||
<macro name="access">
|
||||
<text variable="URL" prefix=" Disponível em: <" suffix=">."/>
|
||||
<date variable="accessed" prefix=" Acesso em: " >
|
||||
<date-part name="day" suffix="/"/>
|
||||
<date-part name="month" form="numeric" suffix="/"/>
|
||||
<date-part name="year"/>
|
||||
</date>
|
||||
</macro>
|
||||
|
||||
<macro name="title">
|
||||
<choose>
|
||||
<if type="book thesis webpage" match="any">
|
||||
<text variable="title" font-style="italic"/>
|
||||
</if>
|
||||
<else>
|
||||
<text variable="title" suffix="."/>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
|
||||
<macro name="container-title">
|
||||
<choose>
|
||||
<if type="paper-conference" match="any">
|
||||
<text variable="container-title" suffix="."/>
|
||||
<text value=" Anais... " font-style="italic"/>
|
||||
</if>
|
||||
|
||||
<else>
|
||||
<text variable="container-title" font-style="italic"/>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
|
||||
<macro name="publisher">
|
||||
<text variable="genre" suffix=", "/>
|
||||
<group delimiter=": ">
|
||||
<text variable="publisher-place"/>
|
||||
<text variable="publisher"/>
|
||||
</group>
|
||||
</macro>
|
||||
|
||||
<macro name="publisher-thesis">
|
||||
<text variable="genre" prefix=" " suffix=" –"/>
|
||||
<group delimiter=", " prefix=" " suffix="">
|
||||
<text variable="publisher"/>
|
||||
<text variable="publisher-place"/>
|
||||
<date variable="issued" suffix=".">
|
||||
<date-part name="year"/>
|
||||
</date>
|
||||
</group>
|
||||
|
||||
</macro>
|
||||
|
||||
<macro name="event">
|
||||
<text variable="event" text-case="uppercase"/>
|
||||
<text variable="event-place" text-case="uppercase" prefix=", " />
|
||||
</macro>
|
||||
|
||||
<macro name="issued">
|
||||
<group prefix=" " suffix="." text-case="lowercase">
|
||||
<choose>
|
||||
<if type="book chapter article-journal" match="none">
|
||||
<date variable="issued">
|
||||
<date-part prefix="" suffix="." name="day"/>
|
||||
<date-part prefix=" " suffix=". " name="month" form="short"/>
|
||||
</date>
|
||||
</if>
|
||||
</choose>
|
||||
<date variable="issued">
|
||||
<date-part name="year"/>
|
||||
</date>
|
||||
</group>
|
||||
</macro>
|
||||
|
||||
<macro name="issued-year">
|
||||
<date variable="issued">
|
||||
<date-part name="year"/>
|
||||
</date>
|
||||
</macro>
|
||||
|
||||
<macro name="edition">
|
||||
<choose>
|
||||
<if type="book chapter" match="any">
|
||||
<choose>
|
||||
<if is-numeric="edition">
|
||||
<group delimiter=" ">
|
||||
<number variable="edition" form="cardinal" suffix="."/>
|
||||
<text term="edition" form="short" suffix="."/>
|
||||
</group>
|
||||
</if>
|
||||
<else>
|
||||
<text variable="edition" suffix=" ed."/>
|
||||
</else>
|
||||
</choose>
|
||||
</if>
|
||||
</choose>
|
||||
</macro>
|
||||
|
||||
<macro name="locators-article">
|
||||
<choose>
|
||||
<if type="article-journal article-magazine article-newspaper" match="any">
|
||||
<group prefix=", " delimiter=", ">
|
||||
<group>
|
||||
<text variable="volume" prefix="v. "/>
|
||||
<text variable="issue" prefix=", n. " suffix=""/>
|
||||
</group>
|
||||
<text variable="page" prefix="p. "/>
|
||||
</group>
|
||||
</if>
|
||||
</choose>
|
||||
</macro>
|
||||
|
||||
<macro name="locators-book">
|
||||
<choose>
|
||||
<if type="book chapter" match="any">
|
||||
<group prefix=". " suffix="" delimiter=", ">
|
||||
<text macro="edition"/>
|
||||
<group>
|
||||
<text variable="volume" prefix="v. " />
|
||||
</group>
|
||||
<group>
|
||||
<text variable="page" prefix="p."/>
|
||||
</group>
|
||||
</group>
|
||||
</if>
|
||||
</choose>
|
||||
</macro>
|
||||
|
||||
<macro name="citation-locator">
|
||||
<group>
|
||||
<label variable="locator" include-period="true" form="short"/>
|
||||
<text variable="locator" prefix=" "/>
|
||||
</group>
|
||||
</macro>
|
||||
|
||||
<citation>
|
||||
<option name="et-al-min" value="4"/>
|
||||
<option name="et-al-use-first" value="1"/>
|
||||
<option name="et-al-subsequent-min" value="4"/>
|
||||
<option name="et-al-subsequent-use-first" value="1"/>
|
||||
<option name="disambiguate-add-year-suffix" value="true"/>
|
||||
<option name="disambiguate-add-names" value="true"/>
|
||||
<option name="disambiguate-add-givenname" value="true"/>
|
||||
<option name="collapse" value="year"/>
|
||||
<sort>
|
||||
<key variable="issued"/>
|
||||
<key macro="author"/>
|
||||
</sort>
|
||||
<layout prefix="(" suffix=")" delimiter="; ">
|
||||
<group>
|
||||
<text suffix = ", " macro="author-short"/>
|
||||
<text macro="issued-year"/>
|
||||
<text prefix =", " macro="citation-locator"/>
|
||||
</group>
|
||||
</layout>
|
||||
</citation>
|
||||
|
||||
<bibliography>
|
||||
<option name="hanging-indent" value="false"/>
|
||||
<option name="et-al-min" value="6"/>
|
||||
<option name="et-al-use-first" value="3"/>
|
||||
<option name="entry-spacing" value="0"/>
|
||||
<sort>
|
||||
<key macro="author"/>
|
||||
<key variable="issued"/>
|
||||
</sort>
|
||||
<layout suffix=".">
|
||||
|
||||
<choose>
|
||||
<if type="book">
|
||||
<group>
|
||||
<text macro="author" suffix=". "/>
|
||||
<text macro="title" suffix=". "/>
|
||||
<text macro="edition" suffix=". "/>
|
||||
<text macro="publisher" suffix=", "/>
|
||||
<text macro="issued-year"/>
|
||||
</group>
|
||||
</if>
|
||||
|
||||
<else-if type="paper-conference">
|
||||
<text macro="author" suffix="."/>
|
||||
<text macro="title" prefix=" " suffix="." quotes="true" />
|
||||
<group delimiter=", " suffix="." prefix=" ">
|
||||
<text variable="event" text-case="uppercase" prefix="In: "/>
|
||||
<text variable="collection-title" suffix="."/>
|
||||
<date variable="issued">
|
||||
<date-part name="year"/>
|
||||
</date>
|
||||
<text variable="publisher-place"/>
|
||||
</group>
|
||||
<text value=" Anais... " font-style="italic"/>
|
||||
<group delimiter=": " suffix=".">
|
||||
<text variable="publisher-place" />
|
||||
<group delimiter=", ">
|
||||
<text variable="publisher"/>
|
||||
<date variable="issued">
|
||||
<date-part name="year"/>
|
||||
</date>
|
||||
</group>
|
||||
</group>
|
||||
<text macro="access"/>
|
||||
</else-if>
|
||||
|
||||
<else-if type="chapter">
|
||||
<text macro="author" suffix="."/>
|
||||
<text macro="title" prefix=" " quotes="true" />
|
||||
<text macro="container-contributors" prefix=" "/>
|
||||
<text macro="container-title" prefix=" " suffix="."/>
|
||||
<text variable="collection-title" prefix=", " suffix="."/>
|
||||
<text variable="publisher-place" prefix=" " suffix=":"/>
|
||||
<group delimiter=", " prefix=" " suffix=".">
|
||||
<text variable="publisher"/>
|
||||
<date variable="issued">
|
||||
<date-part name="year"/>
|
||||
</date>
|
||||
</group>
|
||||
<text macro="locators-book" suffix="."/>
|
||||
<text macro="access"/>
|
||||
|
||||
</else-if>
|
||||
|
||||
<else-if type="webpage">
|
||||
<group>
|
||||
<text macro="author" suffix="."/>
|
||||
<text macro="title" prefix=" "/>
|
||||
<text macro="access"/>
|
||||
</group>
|
||||
</else-if>
|
||||
|
||||
<else-if type="thesis">
|
||||
<text macro="author" suffix="."/>
|
||||
<text macro="title" prefix=" " suffix="."/>
|
||||
<text variable="number-of-pages" prefix=" " suffix=" f."/>
|
||||
<text macro="container-title" prefix=" " suffix="."/>
|
||||
<text macro="publisher-thesis"/>
|
||||
<text macro="access"/>
|
||||
</else-if>
|
||||
|
||||
<else>
|
||||
<text macro="author" suffix="."/>
|
||||
<text macro="title" prefix=" "/>
|
||||
<text macro="container-contributors" prefix=" "/>
|
||||
<text macro="secondary-contributors" prefix=" "/>
|
||||
<text macro="container-title" prefix=" "/>
|
||||
<text variable="collection-title" prefix=", " suffix="."/>
|
||||
<text macro="locators-article" suffix=","/>
|
||||
<text macro="issued"/>
|
||||
<group delimiter=". " prefix=".">
|
||||
<text macro="publisher"/>
|
||||
<text macro="locators-book" suffix=""/>
|
||||
<text macro="access"/>
|
||||
</group>
|
||||
</else>
|
||||
</choose>
|
||||
</layout>
|
||||
</bibliography>
|
||||
</style>
|
||||
10
abnt-rxsr-completo-v1.csl
Normal file
10
abnt-rxsr-completo-v1.csl
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" class="in-text" default-locale="pt-BR" demote-non-dropping-particle="never">
|
||||
<info>
|
||||
<title>ABNT_RXSR_Completo_v1</title>
|
||||
<id>http://mekentosj.com/csl-styles/abnt-rxsr-completo-v1</id>
|
||||
<link href="http://www.zotero.org/styles/associacao-brasileira-de-normas-tecnicas-ufmg-face-full" rel="independent-parent"></link>
|
||||
<category field="generic-base"></category>
|
||||
<category citation-format="author-date"></category>
|
||||
</info>
|
||||
</style>
|
||||
236
abnt-ufpr.csl
Normal file
236
abnt-ufpr.csl
Normal file
@@ -0,0 +1,236 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only">
|
||||
<info>
|
||||
<title>ABNT - UFPR 2</title>
|
||||
<id>http://www.zotero.org/styles/abnt-ufpr</id>
|
||||
<link href="http://www.zotero.org/styles/abnt-ufpr" rel="self"/>
|
||||
<author>
|
||||
<name>Iuri Gavronski</name>
|
||||
<email>iuri at ufrgs dot br</email>
|
||||
</author>
|
||||
<contributor>
|
||||
<name>Eduardo Bettoni</name>
|
||||
<email>webtur @ ufpr dot br</email>
|
||||
</contributor>
|
||||
<category citation-format="author-date"/>
|
||||
<category field="generic-base"/>
|
||||
<updated>2011-05-12T00:16:05+00:00</updated>
|
||||
<summary>The Brazilian standard style as used in the Universidad de Parana</summary>
|
||||
<rights>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
|
||||
</info>
|
||||
<macro name="container-contributors">
|
||||
<choose>
|
||||
<if type="chapter paper-conference" match="any">
|
||||
<text value="In:" suffix=" "/>
|
||||
<names variable="editor translator" delimiter=", " suffix="; ">
|
||||
<name initialize-with=". " delimiter="; "/>
|
||||
<label form="short" prefix=" (" text-case="capitalize-first" suffix=".)" strip-periods="true"/>
|
||||
</names>
|
||||
</if>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="secondary-contributors">
|
||||
<choose>
|
||||
<if type="chapter paper-conference" match="none">
|
||||
<names variable="editor translator" delimiter=", " prefix=" (" suffix=")">
|
||||
<name and="symbol" initialize-with=". " delimiter=", "/>
|
||||
<label form="short" prefix=", " text-case="capitalize-first" suffix="." strip-periods="true"/>
|
||||
</names>
|
||||
</if>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="author">
|
||||
<names variable="author">
|
||||
<name name-as-sort-order="all" sort-separator=", " initialize-with=". " delimiter="; " delimiter-precedes-last="always">
|
||||
<name-part name="family" text-case="uppercase"/>
|
||||
<name-part name="given" text-case="uppercase"/>
|
||||
</name>
|
||||
<label form="short" prefix=" (" suffix=".)" text-case="uppercase" strip-periods="true"/>
|
||||
<substitute>
|
||||
<names variable="editor"/>
|
||||
<names variable="translator"/>
|
||||
<text macro="title"/>
|
||||
</substitute>
|
||||
</names>
|
||||
</macro>
|
||||
<macro name="author-short">
|
||||
<names variable="author">
|
||||
<name form="short" name-as-sort-order="all" sort-separator=", " initialize-with=". " delimiter="; " delimiter-precedes-last="always">
|
||||
<name-part name="family" text-case="capitalize-first"/>
|
||||
<name-part name="given" text-case="capitalize-first"/>
|
||||
</name>
|
||||
<substitute>
|
||||
<names variable="editor"/>
|
||||
<names variable="translator"/>
|
||||
<choose>
|
||||
<if type="bill book graphic legal_case motion_picture report song" match="any">
|
||||
<text variable="title" form="short" font-weight="bold"/>
|
||||
</if>
|
||||
<else>
|
||||
<text variable="title" form="short" quotes="true"/>
|
||||
</else>
|
||||
</choose>
|
||||
</substitute>
|
||||
</names>
|
||||
</macro>
|
||||
<macro name="access">
|
||||
<text variable="URL" prefix="Disponível em: <" suffix=">. "/>
|
||||
<date variable="accessed" prefix="Acesso em: ">
|
||||
<date-part name="day" suffix="/"/>
|
||||
<date-part name="month" form="numeric" suffix="/"/>
|
||||
<date-part name="year"/>
|
||||
</date>
|
||||
</macro>
|
||||
<macro name="title">
|
||||
<choose>
|
||||
<if type="bill book graphic legal_case motion_picture report song thesis" match="any">
|
||||
<text variable="title" font-weight="bold"/>
|
||||
</if>
|
||||
<else>
|
||||
<text variable="title" suffix=". "/>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="container-title">
|
||||
<choose>
|
||||
<if type="paper-conference" match="any">
|
||||
<text variable="container-title" suffix=". "/>
|
||||
<text value=" Anais... " font-weight="bold"/>
|
||||
</if>
|
||||
<else>
|
||||
<text variable="container-title" font-weight="bold"/>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="publisher">
|
||||
<text variable="genre" suffix=", "/>
|
||||
<group delimiter=": ">
|
||||
<text variable="publisher-place"/>
|
||||
<text variable="publisher"/>
|
||||
</group>
|
||||
</macro>
|
||||
<macro name="event">
|
||||
<text variable="event"/>
|
||||
<text variable="event-place" prefix=", "/>
|
||||
</macro>
|
||||
<macro name="issued">
|
||||
<group prefix=" " suffix=".">
|
||||
<choose>
|
||||
<if type="bill book graphic legal_case motion_picture report song article-journal chapter paper-conference" match="none">
|
||||
<date variable="issued">
|
||||
<date-part prefix=" " suffix="." name="day"/>
|
||||
<date-part prefix=" " suffix=". " name="month" form="short" strip-periods="true"/>
|
||||
</date>
|
||||
</if>
|
||||
</choose>
|
||||
<date variable="issued">
|
||||
<date-part name="year"/>
|
||||
</date>
|
||||
</group>
|
||||
</macro>
|
||||
<macro name="issued-year">
|
||||
<date variable="issued">
|
||||
<date-part name="year"/>
|
||||
</date>
|
||||
</macro>
|
||||
<macro name="edition">
|
||||
<choose>
|
||||
<if type="bill book graphic legal_case motion_picture report song chapter paper-conference" match="any">
|
||||
<choose>
|
||||
<if is-numeric="edition">
|
||||
<group delimiter=" ">
|
||||
<number variable="edition" form="ordinal"/>
|
||||
<text term="edition" form="short" suffix="." strip-periods="true"/>
|
||||
</group>
|
||||
</if>
|
||||
<else>
|
||||
<text variable="edition" suffix=" ed."/>
|
||||
</else>
|
||||
</choose>
|
||||
</if>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="locators">
|
||||
<choose>
|
||||
<if type="article-journal article-magazine article-newspaper" match="any">
|
||||
<group prefix=", " delimiter=", ">
|
||||
<group>
|
||||
<text variable="volume" prefix="v. "/>
|
||||
<text variable="issue" prefix=", n. " suffix=""/>
|
||||
</group>
|
||||
<text variable="page" prefix="p. "/>
|
||||
</group>
|
||||
</if>
|
||||
<else-if type="bill book graphic legal_case motion_picture report song chapter paper-conference" match="any">
|
||||
<group prefix=". " suffix="" delimiter=", ">
|
||||
<text macro="edition"/>
|
||||
<group>
|
||||
<text variable="volume" prefix="v. "/>
|
||||
</group>
|
||||
<group>
|
||||
<text variable="page" prefix="p."/>
|
||||
</group>
|
||||
</group>
|
||||
</else-if>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="citation-locator">
|
||||
<group>
|
||||
<label variable="locator" form="short"/>
|
||||
<text variable="locator" prefix=" "/>
|
||||
</group>
|
||||
</macro>
|
||||
<citation et-al-min="3" et-al-use-first="1" et-al-subsequent-min="3" et-al-subsequent-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true" collapse="year">
|
||||
<sort>
|
||||
<key macro="author"/>
|
||||
<key variable="issued"/>
|
||||
</sort>
|
||||
<layout prefix="" suffix=")" delimiter=" e ">
|
||||
<group>
|
||||
<text suffix=" (" macro="author-short"/>
|
||||
<text macro="issued-year"/>
|
||||
<text prefix=", " macro="citation-locator"/>
|
||||
</group>
|
||||
</layout>
|
||||
</citation>
|
||||
<bibliography hanging-indent="false" et-al-min="6" et-al-use-first="3" entry-spacing="0">
|
||||
<sort>
|
||||
<key macro="author"/>
|
||||
<key variable="issued"/>
|
||||
</sort>
|
||||
<layout suffix=".">
|
||||
<choose>
|
||||
<if type="bill book graphic legal_case motion_picture report song" match="any">
|
||||
<group>
|
||||
<text macro="author" suffix=". "/>
|
||||
<text macro="title" suffix=". "/>
|
||||
<text macro="edition" suffix=". "/>
|
||||
<text macro="publisher" suffix=", "/>
|
||||
<text macro="issued-year"/>
|
||||
</group>
|
||||
</if>
|
||||
<else-if type="webpage">
|
||||
<group>
|
||||
<text macro="author" suffix="."/>
|
||||
<text macro="title" prefix=" "/>
|
||||
<text macro="access"/>
|
||||
</group>
|
||||
</else-if>
|
||||
<else>
|
||||
<text macro="author" suffix="."/>
|
||||
<text macro="title" prefix=" "/>
|
||||
<text macro="container-contributors"/>
|
||||
<text macro="secondary-contributors"/>
|
||||
<text macro="container-title"/>
|
||||
<text variable="collection-title" prefix=", " suffix="."/>
|
||||
<text macro="locators"/>
|
||||
<text macro="issued" prefix=","/>
|
||||
<group delimiter=". " prefix=". ">
|
||||
<text macro="publisher"/>
|
||||
<text macro="access"/>
|
||||
</group>
|
||||
</else>
|
||||
</choose>
|
||||
</layout>
|
||||
</bibliography>
|
||||
</style>
|
||||
463
abnt.csl
Normal file
463
abnt.csl
Normal file
@@ -0,0 +1,463 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" class="in-text" default-locale="pt-BR">
|
||||
<info>
|
||||
<title>ABNT Generico</title>
|
||||
<id>http://www.zotero.org/styles/abnt</id>
|
||||
<link href="http://www.zotero.org/styles/abnt" rel="self"/>
|
||||
<author>
|
||||
<name>Iuri Gavronski</name>
|
||||
<email>iuri at ufrgs dot br</email>
|
||||
</author>
|
||||
<contributor>
|
||||
<name>Eduardo Bettoni</name>
|
||||
<email>webtur @ ufpr dot br</email>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>José Antonio Meira da Rocha</name>
|
||||
<email>joseantoniorocha@gmail.com</email>
|
||||
<uri>http://meiradarocha.jor.br</uri>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Mario José</name>
|
||||
<email>gnumario@gmail.com</email>
|
||||
</contributor>
|
||||
<category citation-format="author-date"/>
|
||||
<category field="generic-base"/>
|
||||
<updated>2011-05-23T20:46:01+00:00</updated>
|
||||
<summary>The Brazilian standard style</summary>
|
||||
<rights>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
|
||||
</info>
|
||||
|
||||
<locale xml:lang="pt-BR">
|
||||
<terms>
|
||||
<term name="month-01" form="short">jan.</term>
|
||||
<term name="month-02" form="short">fev.</term>
|
||||
<term name="month-03" form="short">mar.</term>
|
||||
<term name="month-04" form="short">abr.</term>
|
||||
<term name="month-05" form="short">maio</term>
|
||||
<term name="month-06" form="short">jun.</term>
|
||||
<term name="month-07" form="short">jul.</term>
|
||||
<term name="month-08" form="short">ago.</term>
|
||||
<term name="month-09" form="short">set.</term>
|
||||
<term name="month-10" form="short">out.</term>
|
||||
<term name="month-11" form="short">nov.</term>
|
||||
<term name="month-12" form="short">dez.</term>
|
||||
|
||||
<term name="editor" form="short">
|
||||
<single>ed</single>
|
||||
<multiple>eds</multiple>
|
||||
</term>
|
||||
<term name="container-author" form="short">
|
||||
<single>ed</single>
|
||||
<multiple>eds</multiple>
|
||||
</term>
|
||||
<term name="collection-editor" form="short">
|
||||
<single>ed</single>
|
||||
<multiple>eds</multiple>
|
||||
</term>
|
||||
</terms>
|
||||
</locale>
|
||||
|
||||
<macro name="container-contributors">
|
||||
<choose>
|
||||
<if type="chapter">
|
||||
<text value="In: "/>
|
||||
<names variable="container-author" delimiter=", ">
|
||||
<name name-as-sort-order="all" sort-separator=", " initialize-with=". " delimiter="; " delimiter-precedes-last="always">
|
||||
<name-part name="family" text-case="uppercase" />
|
||||
<name-part name="given" text-case="uppercase" />
|
||||
</name>
|
||||
<et-al prefix=" " font-style="italic"/>
|
||||
<label form="short" prefix=" (" suffix=".). " text-case="capitalize-first"/>
|
||||
<substitute>
|
||||
<names variable="editor"/>
|
||||
<names variable="collection-editor"/>
|
||||
</substitute>
|
||||
</names>
|
||||
</if>
|
||||
</choose>
|
||||
</macro>
|
||||
|
||||
<macro name="secondary-contributors">
|
||||
<choose>
|
||||
<if type="chapter" match="none">
|
||||
<names variable="editor" delimiter=", " prefix=" (" suffix=")">
|
||||
<name and="symbol" initialize-with=". " delimiter=", "/>
|
||||
<label form="short" prefix=", " text-case="capitalize-first" suffix="."/>
|
||||
</names>
|
||||
</if>
|
||||
</choose>
|
||||
</macro>
|
||||
|
||||
<macro name="translator">
|
||||
<text value="Tradução "/>
|
||||
<names variable="translator" delimiter=", ">
|
||||
<name delimiter="; " sort-separator=" " delimiter-precedes-last="always">
|
||||
<name-part name="given" text-case="capitalize-first" />
|
||||
<name-part name="family" text-case="capitalize-first" />
|
||||
</name>
|
||||
<et-al prefix=" " font-style="italic"/>
|
||||
</names>
|
||||
</macro>
|
||||
|
||||
<macro name="author">
|
||||
<names variable="author">
|
||||
<name name-as-sort-order="all" sort-separator=", " initialize-with=". " delimiter="; " delimiter-precedes-last="always">
|
||||
<name-part name="family" text-case="uppercase" />
|
||||
<name-part name="given" text-case="uppercase" />
|
||||
</name>
|
||||
<et-al prefix=" " font-style="italic"/>
|
||||
<label form="short" prefix=" (" suffix=".)" text-case="uppercase"/>
|
||||
<substitute>
|
||||
<names variable="editor"/>
|
||||
<names variable="translator"/>
|
||||
<text macro="title"/>
|
||||
</substitute>
|
||||
</names>
|
||||
</macro>
|
||||
|
||||
<macro name="author-short">
|
||||
<names variable="author">
|
||||
<name form="short" name-as-sort-order="all" sort-separator=", " initialize-with=". " delimiter="; " delimiter-precedes-last="always">
|
||||
<name-part name="family" text-case="uppercase" />
|
||||
<name-part name="given" text-case="uppercase" />
|
||||
</name>
|
||||
<et-al prefix=" " font-style="italic"/>
|
||||
<substitute>
|
||||
<names variable="editor"/>
|
||||
<names variable="translator"/>
|
||||
<choose>
|
||||
<if type="book">
|
||||
<text variable="title" form="short" />
|
||||
</if>
|
||||
<else>
|
||||
<text variable="title" form="short" quotes="true"/>
|
||||
</else>
|
||||
</choose>
|
||||
</substitute>
|
||||
</names>
|
||||
</macro>
|
||||
|
||||
<macro name="access">
|
||||
<text variable="URL" prefix="Disponível em: <" suffix=">"/>
|
||||
<date variable="accessed" prefix=". Acesso em: " >
|
||||
<date-part name="day" suffix=" "/>
|
||||
<date-part name="month" form="short" suffix=". " text-case="lowercase" />
|
||||
<date-part name="year"/>
|
||||
</date>
|
||||
</macro>
|
||||
|
||||
<macro name="title">
|
||||
<choose>
|
||||
<if type="chapter bill" match="any">
|
||||
<text variable="title" />
|
||||
</if>
|
||||
<else-if type="book thesis" match="any">
|
||||
<text variable="title" font-weight="bold"/>
|
||||
</else-if>
|
||||
<else-if type="article-newspaper article-magazine article-journal" match="any">
|
||||
<text variable="title" />
|
||||
</else-if>
|
||||
<else>
|
||||
<text variable="title" font-weight="bold"/>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
|
||||
<macro name="container-title">
|
||||
<choose>
|
||||
<if type="paper-conference" match="any">
|
||||
<text variable="container-title" suffix=". "/>
|
||||
<text value="Anais" font-weight="bold"/>
|
||||
<text value="..." />
|
||||
</if><else>
|
||||
<text variable="container-title" font-weight="bold"/>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
|
||||
<macro name="publisher">
|
||||
<choose>
|
||||
<if match="any" variable="publisher-place publisher">
|
||||
<group delimiter=": ">
|
||||
<choose>
|
||||
<if variable="publisher-place">
|
||||
<text variable="publisher-place"/>
|
||||
</if>
|
||||
<else>
|
||||
<text value="[S.l.]"/>
|
||||
</else>
|
||||
</choose>
|
||||
<choose>
|
||||
<if variable="publisher">
|
||||
<text variable="publisher"/>
|
||||
</if>
|
||||
<else>
|
||||
<text value="[s.n.]"/>
|
||||
</else>
|
||||
</choose>
|
||||
</group>
|
||||
</if>
|
||||
<else>
|
||||
<text value="[S.l: s.n.]"/>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
|
||||
<macro name="event">
|
||||
<text variable="event"/>
|
||||
<text variable="event-place" prefix=", "/>
|
||||
</macro>
|
||||
|
||||
<macro name="issued">
|
||||
<choose>
|
||||
<if variable="issued" match="any">
|
||||
<group>
|
||||
<choose>
|
||||
<if type="book chapter" match="none">
|
||||
<date variable="issued">
|
||||
<date-part name="day" suffix=" "/>
|
||||
<date-part name="month" form="short" suffix=" " strip-periods="true" />
|
||||
</date>
|
||||
</if>
|
||||
</choose>
|
||||
<date variable="issued">
|
||||
<date-part name="year"/>
|
||||
</date>
|
||||
</group>
|
||||
</if>
|
||||
<else>
|
||||
<text value="[S.d.]"/>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
|
||||
<macro name="issued-year">
|
||||
<choose>
|
||||
<if variable="issued" match="any">
|
||||
<date variable="issued">
|
||||
<date-part name="year"/>
|
||||
</date>
|
||||
</if>
|
||||
<else>
|
||||
<text value="[S.d.]"/>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
|
||||
<macro name="edition">
|
||||
<choose>
|
||||
<if type="book chapter" match="any">
|
||||
<choose>
|
||||
<if is-numeric="edition">
|
||||
<group delimiter=" ">
|
||||
<number variable="edition" form="numeric" suffix="."/>
|
||||
<text term="edition" form="short" suffix="."/>
|
||||
</group>
|
||||
</if>
|
||||
<else>
|
||||
<text variable="edition" suffix=" ed."/>
|
||||
</else>
|
||||
</choose>
|
||||
</if>
|
||||
</choose>
|
||||
</macro>
|
||||
|
||||
<macro name="locators">
|
||||
<choose>
|
||||
<if type="bill">
|
||||
<group prefix=". " suffix="" delimiter=", ">
|
||||
<date variable="issued">
|
||||
<date-part name="day"/>
|
||||
<date-part prefix=" " name="month" form="short"/>
|
||||
<date-part prefix=" " name="year"/>
|
||||
</date>
|
||||
<text variable="section" prefix="Sec. "/>
|
||||
<text variable="page" prefix="p. " suffix="."/>
|
||||
</group>
|
||||
</if>
|
||||
<else-if match="any" type="article-journal article-magazine article-newspaper">
|
||||
<group delimiter=", ">
|
||||
<group delimiter=", ">
|
||||
<text variable="volume" prefix="v. "/>
|
||||
<text variable="issue" prefix="n. " suffix=""/>
|
||||
</group>
|
||||
<text variable="page" prefix="p. "/>
|
||||
</group>
|
||||
</else-if>
|
||||
<else-if match="any" type="book chapter">
|
||||
<group delimiter=", ">
|
||||
<group>
|
||||
<text variable="volume" prefix="v. " />
|
||||
<text variable="page" prefix="p. "/>
|
||||
</group>
|
||||
</group>
|
||||
</else-if>
|
||||
</choose>
|
||||
</macro>
|
||||
|
||||
<macro name="citation-locator">
|
||||
<group>
|
||||
<label variable="locator" form="short"/>
|
||||
<text variable="locator" prefix=" "/>
|
||||
</group>
|
||||
</macro>
|
||||
|
||||
<macro name="genre">
|
||||
<text variable="genre"/>
|
||||
</macro>
|
||||
|
||||
<macro name="abstract">
|
||||
<text variable="abstract"/>
|
||||
</macro>
|
||||
|
||||
<macro name="place">
|
||||
<choose>
|
||||
<if match="any" variable="publisher-place">
|
||||
<text variable="publisher-place"/>
|
||||
</if>
|
||||
</choose>
|
||||
</macro>
|
||||
|
||||
<macro name="archive">
|
||||
<group>
|
||||
<text variable="archive" prefix=" "/>
|
||||
</group>
|
||||
</macro>
|
||||
|
||||
<macro name="ISBN">
|
||||
<group>
|
||||
<text variable="ISBN" prefix="ISBN "/>
|
||||
</group>
|
||||
</macro>
|
||||
|
||||
<citation et-al-min="3" et-al-use-first="1" et-al-subsequent-min="3" et-al-subsequent-use-first="1"
|
||||
disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true"
|
||||
collapse="year">
|
||||
<sort>
|
||||
<key macro="author"/>
|
||||
<key variable="issued"/>
|
||||
</sort>
|
||||
<layout prefix="(" suffix=")" delimiter="; ">
|
||||
<group>
|
||||
<text suffix = ", " macro="author-short"/>
|
||||
<text macro="issued-year"/>
|
||||
<text prefix =", " macro="citation-locator"/>
|
||||
</group>
|
||||
</layout>
|
||||
</citation>
|
||||
|
||||
<bibliography hanging-indent="false" et-al-min="6" et-al-use-first="3" entry-spacing="0">
|
||||
<sort>
|
||||
<key macro="author"/>
|
||||
<key variable="issued"/>
|
||||
</sort>
|
||||
<layout>
|
||||
<choose>
|
||||
<if type="bill">
|
||||
<group>
|
||||
<text macro="author" suffix=". "/>
|
||||
<text variable="number" suffix=". "/>
|
||||
<text macro="title" suffix=". "/>
|
||||
<!-- use field 'history' to publisher -->
|
||||
<text variable="references" suffix=", " font-weight="bold" />
|
||||
<!-- use field 'extra' place -->
|
||||
<text variable="note" />
|
||||
<text macro="locators" suffix=". " />
|
||||
</group>
|
||||
</if>
|
||||
<else-if type="map">
|
||||
<group>
|
||||
<text macro="author" suffix=". "/>
|
||||
<text macro="title" suffix=", "/>
|
||||
<text macro="issued" suffix=". "/>
|
||||
<text variable="note" suffix=". "/>
|
||||
</group>
|
||||
</else-if>
|
||||
<else-if type="book">
|
||||
<group>
|
||||
<text macro="author" suffix=". "/>
|
||||
<text macro="title" suffix=". "/>
|
||||
<text macro="translator" suffix=". "/>
|
||||
<text macro="edition" suffix=". "/>
|
||||
<text macro="publisher" suffix=", "/>
|
||||
<text macro="issued-year" suffix=". "/>
|
||||
<text macro="locators" />
|
||||
</group>
|
||||
</else-if>
|
||||
<else-if type="chapter"><!-- paper in conference too -->
|
||||
<group>
|
||||
<text macro="author" suffix=". "/>
|
||||
<text macro="title" suffix=". "/>
|
||||
<text macro="container-contributors" suffix=". "/>
|
||||
<text macro="secondary-contributors" suffix=". "/>
|
||||
<text macro="container-title" suffix=". "/>
|
||||
<text variable="collection-title" suffix=". "/>
|
||||
<text macro="translator" suffix=". "/>
|
||||
<text macro="edition" suffix=". "/>
|
||||
<group suffix=". ">
|
||||
<text macro="publisher" suffix=", "/>
|
||||
<text macro="issued" suffix=". "/>
|
||||
<text macro="locators" />
|
||||
</group>
|
||||
</group>
|
||||
</else-if>
|
||||
<else-if type="article-newspaper article-magazine article-journal" match="any">
|
||||
<group>
|
||||
<text macro="author" suffix=". "/>
|
||||
<text macro="title" suffix=". "/>
|
||||
<text macro="container-title" suffix=", "/>
|
||||
<text variable="collection-title" suffix=". " />
|
||||
<text macro="edition" suffix=", "/>
|
||||
<text macro="locators" suffix=", " />
|
||||
<text macro="issued" suffix=". "/>
|
||||
</group>
|
||||
</else-if>
|
||||
<else-if type="thesis">
|
||||
<group>
|
||||
<text macro="author" suffix=". "/>
|
||||
<text macro="title" suffix=". "/>
|
||||
<text macro="edition" suffix=". "/>
|
||||
<text macro="publisher" suffix=", "/>
|
||||
<text macro="issued-year" suffix=". "/>
|
||||
</group>
|
||||
</else-if>
|
||||
<else-if type="manuscript">
|
||||
<!-- There is no ABNT norm for manuscripts -->
|
||||
<group>
|
||||
<text macro="author" suffix=". "/>
|
||||
<text macro="title" suffix=". "/>
|
||||
<text macro="edition" suffix=". "/>
|
||||
<text macro="abstract" suffix=". "/>
|
||||
<text macro="place" suffix=", "/>
|
||||
<text macro="issued" suffix=". "/>
|
||||
<text macro="access" suffix=". "/>
|
||||
<text macro="archive" suffix=". "/>
|
||||
</group>
|
||||
</else-if>
|
||||
<else-if type="webpage">
|
||||
<group>
|
||||
<text macro="author" suffix=". "/>
|
||||
<text macro="title" suffix=". "/>
|
||||
<text macro="genre" suffix=". "/>
|
||||
<text macro="access" suffix=". "/>
|
||||
</group>
|
||||
</else-if>
|
||||
<else>
|
||||
<text macro="author" suffix=". "/>
|
||||
<text macro="title" suffix=". "/>
|
||||
<text macro="container-contributors"/>
|
||||
<text macro="secondary-contributors"/>
|
||||
<text macro="container-title"/>
|
||||
<text variable="collection-title" prefix=", " suffix="."/>
|
||||
<text macro="locators"/>
|
||||
<group delimiter=". " prefix=". " suffix=". ">
|
||||
<text macro="publisher"/>
|
||||
<text macro="access"/>
|
||||
</group>
|
||||
<text macro="issued" prefix=", "/>
|
||||
</else>
|
||||
</choose>
|
||||
</layout>
|
||||
</bibliography>
|
||||
</style>
|
||||
10
davfs2/fstab
Normal file
10
davfs2/fstab
Normal file
@@ -0,0 +1,10 @@
|
||||
# renato@cloud.silveirarosa.com (Nextcloud Webdav)
|
||||
https://cloud.silveirarosa.com/remote.php/webdav /media/renato/cloud.silveirarosa.com davfs rw,user,uid=renato,noauto,_netdev 0 0
|
||||
|
||||
# renato@cloud.renatorosa.com (Nextcloud Webdav)
|
||||
https://cloud.renatorosa.com/remote.php/webdav /media/renato/cloud.renatorosa.com davfs rw,user,uid=renato,noauto,_netdev 0 0
|
||||
|
||||
# renato@sp.renatorosa.com (SSH FS)
|
||||
sshfs#renato@sp.renatorosa.com /media/renato/sp.renatorosa.com fuse rw,user,uid=renato,gid=renato,allow_other,defer_permissions,noauto,_netdev 0 0
|
||||
|
||||
|
||||
677
polybar/config.fc29.vjf15511x
Normal file
677
polybar/config.fc29.vjf15511x
Normal file
@@ -0,0 +1,677 @@
|
||||
;=====================================================
|
||||
;
|
||||
; To learn more about how to configure Polybar
|
||||
; go to https://github.com/jaagr/polybar
|
||||
;
|
||||
; The README contains alot of information
|
||||
;
|
||||
;=====================================================
|
||||
|
||||
[colors]
|
||||
;background = ${xrdb:color0:#222}
|
||||
background = #222
|
||||
;background = #0222
|
||||
background-alt = #444
|
||||
;foreground = ${xrdb:color7:#222}
|
||||
foreground = #dfdfdf
|
||||
foreground-alt = #555
|
||||
primary = #ffb52a
|
||||
secondary = #e60053
|
||||
alert = #bd2c40
|
||||
|
||||
[bar/general]
|
||||
locale = pt_BR.UTF-8
|
||||
|
||||
[bar/default]
|
||||
inherit = bar/general
|
||||
;monitor = ${env:MONITOR:HDMI-1}
|
||||
width = 100%
|
||||
height = 27
|
||||
;offset-x = 1%
|
||||
;offset-y = 1%
|
||||
;radius = 6.0
|
||||
fixed-center = false
|
||||
bottom=true
|
||||
|
||||
background = ${colors.background}
|
||||
foreground = ${colors.foreground}
|
||||
|
||||
line-size = 3
|
||||
line-color = #f00
|
||||
|
||||
;border-size = 4
|
||||
border-size = 0
|
||||
border-color = #0888
|
||||
|
||||
padding-left = 0
|
||||
padding-right = 2
|
||||
|
||||
module-margin-left = 1
|
||||
module-margin-right = 2
|
||||
|
||||
;font-0 = fixed:pixelsize=10;1
|
||||
;font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
|
||||
;font-2 = siji:pixelsize=10;1
|
||||
font-0 = DejaVuSansMono:antialias=false:size=9;1
|
||||
font-1 = DejaVuSans:size=9:antialias=false;0
|
||||
font-2 = FontAwesome:size=9;0
|
||||
font-3 = "Font Awesome 5 Free:style=Regular:pixelsize=9;1"
|
||||
font-4 = "Font Awesome 5 Free:style=Solid:pixelsize=9;1"
|
||||
font-5 = "Font Awesome 5 Brands:pixelsize=9;1"
|
||||
font-6 = siji:pixelsize=9;1
|
||||
|
||||
modules-left = i3 xwindow
|
||||
;modules-left = i3
|
||||
|
||||
;modules-center = mpd
|
||||
modules-right = filesystem backlight volume xkeyboard memory cpu eth wlan wg temperature battery date powermenu
|
||||
|
||||
tray-position = right
|
||||
tray-padding = 2
|
||||
;tray-transparent = true
|
||||
tray-transparent = false
|
||||
;tray-background = #0063ff
|
||||
tray-background = ${colors.background}
|
||||
|
||||
;wm-restack = bspwm
|
||||
wm-restack = i3
|
||||
|
||||
;override-redirect = true
|
||||
|
||||
;scroll-up = bspwm-desknext
|
||||
;scroll-down = bspwm-deskprev
|
||||
|
||||
scroll-up = i3wm-wsnext
|
||||
scroll-down = i3wm-wsprev
|
||||
|
||||
cursor-click = pointer
|
||||
cursor-scroll = ns-resize
|
||||
|
||||
;;;;;;;;;;;;;;;;
|
||||
; ; ; ;
|
||||
; ; xwindow ; ;
|
||||
; ; ; ;
|
||||
[module/xwindow]
|
||||
type = internal/xwindow
|
||||
|
||||
; Available tags:
|
||||
; <label> (default)
|
||||
format = <label>
|
||||
format-background = #3c3c3c
|
||||
format-foreground = #eee
|
||||
format-padding = 4
|
||||
|
||||
; Available tokens:
|
||||
; %title%
|
||||
; Default: %title%
|
||||
label = %title:0:50:…%
|
||||
;label-maxlen = 50
|
||||
|
||||
; Used instead of label when there is no window title
|
||||
; Available tokens:
|
||||
; None
|
||||
label-empty = Empty
|
||||
label-empty-foreground = #707880
|
||||
|
||||
[module/xkeyboard]
|
||||
type = internal/xkeyboard
|
||||
blacklist-0 = num lock
|
||||
|
||||
format-prefix = " "
|
||||
format-prefix-foreground = ${colors.foreground-alt}
|
||||
format-prefix-underline = ${colors.secondary}
|
||||
|
||||
label-layout = %layout%
|
||||
label-layout-underline = ${colors.secondary}
|
||||
|
||||
label-indicator-padding = 2
|
||||
label-indicator-margin = 1
|
||||
label-indicator-background = ${colors.secondary}
|
||||
label-indicator-underline = ${colors.secondary}
|
||||
|
||||
[module/filesystem]
|
||||
type = internal/fs
|
||||
interval = 25
|
||||
|
||||
mount-0 = /
|
||||
mount-1 = /home
|
||||
#mount-2 = /media/renato/cloud.renatorosa.com
|
||||
#mount-3 = /media/renato/cloud.silveirarosa.com
|
||||
|
||||
#label-mounted = %fsname%:%{F#0a81f5}%mountpoint%%{F-}: %percentage_used%%
|
||||
label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%%
|
||||
label-unmounted = (N/A)
|
||||
label-unmounted-foreground = ${colors.foreground-alt}
|
||||
|
||||
[module/bspwm]
|
||||
type = internal/bspwm
|
||||
|
||||
label-focused = %index%
|
||||
label-focused-background = ${colors.background-alt}
|
||||
label-focused-underline= ${colors.primary}
|
||||
label-focused-padding = 2
|
||||
|
||||
label-occupied = %index%
|
||||
label-occupied-padding = 2
|
||||
|
||||
label-urgent = %index%!
|
||||
label-urgent-background = ${colors.alert}
|
||||
label-urgent-padding = 2
|
||||
|
||||
label-empty = %index%
|
||||
label-empty-foreground = ${colors.foreground-alt}
|
||||
label-empty-padding = 2
|
||||
|
||||
[module/i3]
|
||||
type = internal/i3
|
||||
format = <label-state> <label-mode>
|
||||
index-sort = true
|
||||
wrapping-scroll = false
|
||||
|
||||
; Only show workspaces on the same output as the bar
|
||||
;pin-workspaces = true
|
||||
|
||||
label-mode-padding = 2
|
||||
label-mode-foreground = #000
|
||||
label-mode-background = ${colors.primary}
|
||||
|
||||
; focused = Active workspace on focused monitor
|
||||
label-focused = %index%
|
||||
label-focused-background = ${module/bspwm.label-focused-background}
|
||||
label-focused-underline = ${module/bspwm.label-focused-underline}
|
||||
label-focused-padding = ${module/bspwm.label-focused-padding}
|
||||
|
||||
; unfocused = Inactive workspace on any monitor
|
||||
label-unfocused = %index%
|
||||
label-unfocused-padding = ${module/bspwm.label-occupied-padding}
|
||||
|
||||
; visible = Active workspace on unfocused monitor
|
||||
label-visible = %index%
|
||||
label-visible-background = ${self.label-focused-background}
|
||||
label-visible-underline = ${self.label-focused-underline}
|
||||
label-visible-padding = ${self.label-focused-padding}
|
||||
|
||||
; urgent = Workspace with urgency hint set
|
||||
label-urgent = %index%
|
||||
label-urgent-background = ${module/bspwm.label-urgent-background}
|
||||
label-urgent-padding = ${module/bspwm.label-urgent-padding}
|
||||
|
||||
[module/mpd]
|
||||
type = internal/mpd
|
||||
format-online = <label-song> <icon-prev> <icon-stop> <toggle> <icon-next>
|
||||
|
||||
icon-prev =
|
||||
icon-stop =
|
||||
icon-play =
|
||||
icon-pause =
|
||||
icon-next =
|
||||
|
||||
label-song-maxlen = 25
|
||||
label-song-ellipsis = true
|
||||
|
||||
[module/backlight]
|
||||
;type = internal/xbacklight
|
||||
type = internal/backlight
|
||||
card = intel_backlight
|
||||
|
||||
#format = <label> <ramp> <bar>
|
||||
format = <label>
|
||||
label = %{A1:brightnessctl set 10%-:}%{A3:brightnessctl set +10%:}%{A5:brightnessctl set 10%-:}%{A4:brightnessctl set +10%:}%percentage%% %{A}%{A}%{A}%{A}
|
||||
|
||||
format-prefix = "%{A1:brightnessctl set 10%-:}%{A5:brightnessctl set 10%-:}%{A3:brightnessctl set +10%:}%{A4:brightnessctl set +10%:}BL %{A}%{A}%{A}%{A}"
|
||||
format-prefix-foreground = ${colors.foreground-alt}
|
||||
format-underline = #f90000
|
||||
|
||||
bar-width = 5
|
||||
bar-indicator = |
|
||||
bar-indicator-foreground = #ff
|
||||
;bar-indicator-font = 2
|
||||
|
||||
bar-fill = ─
|
||||
;bar-fill-font = 2
|
||||
bar-fill-foreground = #9f78e1
|
||||
|
||||
; Only applies if <ramp> is used
|
||||
ramp-0 = 🌕
|
||||
ramp-1 = 🌔
|
||||
ramp-2 = 🌓
|
||||
ramp-3 = 🌒
|
||||
ramp-4 = 🌑
|
||||
|
||||
bar-empty = ─
|
||||
;bar-empty-font = 2
|
||||
bar-empty-foreground = ${colors.foreground-alt}
|
||||
|
||||
|
||||
[module/backlight-acpi]
|
||||
inherit = module/backlight
|
||||
type = internal/backlight
|
||||
card = intel_backlight
|
||||
|
||||
[module/cpu]
|
||||
type = internal/cpu
|
||||
interval = 2
|
||||
format-prefix = " "
|
||||
format-prefix-foreground = ${colors.foreground-alt}
|
||||
format-underline = #f90000
|
||||
label = %percentage:2%%
|
||||
|
||||
[module/memory]
|
||||
type = internal/memory
|
||||
interval = 2
|
||||
format-prefix = " "
|
||||
format-prefix-foreground = ${colors.foreground-alt}
|
||||
format-underline = #4bffdc
|
||||
label = %percentage_used%%
|
||||
|
||||
[module/memory-alt]
|
||||
type = internal/memory
|
||||
|
||||
; Seconds to sleep between updates
|
||||
; Default: 1
|
||||
interval = 3
|
||||
|
||||
|
||||
; Available tags:
|
||||
; <label> (default)
|
||||
; <bar-used>
|
||||
; <bar-free>
|
||||
; <ramp-used>
|
||||
; <ramp-free>
|
||||
; <bar-swap-used> (unreleased)
|
||||
; <bar-swap-free> (unreleased)
|
||||
; <ramp-swap-used> (unreleased)
|
||||
; <ramp-swap-free> (unreleased)
|
||||
format = <label> <ramp-used>
|
||||
|
||||
; Available tokens:
|
||||
; %percentage_used% (default)
|
||||
; %percentage_free%
|
||||
; %gb_used%
|
||||
; %gb_free%
|
||||
; %gb_total%
|
||||
; %mb_used%
|
||||
; %mb_free%
|
||||
; %mb_total%
|
||||
; %percentage_swap_used%
|
||||
; %percentage_swap_free%
|
||||
; %mb_swap_total%
|
||||
; %mb_swap_free%
|
||||
; %mb_swap_used%
|
||||
; %gb_swap_total%
|
||||
; %gb_swap_free%
|
||||
; %gb_swap_used%
|
||||
|
||||
label = RAM %gb_used%/%gb_free%
|
||||
|
||||
; Only applies if <bar-used> is used
|
||||
bar-used-indicator =
|
||||
bar-used-width = 50
|
||||
bar-used-foreground-0 = #55aa55
|
||||
bar-used-foreground-1 = #557755
|
||||
bar-used-foreground-2 = #f5a70a
|
||||
bar-used-foreground-3 = #ff5555
|
||||
bar-used-fill = ▐
|
||||
bar-used-empty = ▐
|
||||
bar-used-empty-foreground = #444444
|
||||
|
||||
; Only applies if <ramp-used> is used
|
||||
ramp-used-0 = ▁
|
||||
ramp-used-1 = ▂
|
||||
ramp-used-2 = ▃
|
||||
ramp-used-3 = ▄
|
||||
ramp-used-4 = ▅
|
||||
ramp-used-5 = ▆
|
||||
ramp-used-6 = ▇
|
||||
ramp-used-7 = █
|
||||
|
||||
; Only applies if <ramp-free> is used
|
||||
ramp-free-0 = ▁
|
||||
ramp-free-1 = ▂
|
||||
ramp-free-2 = ▃
|
||||
ramp-free-3 = ▄
|
||||
ramp-free-4 = ▅
|
||||
ramp-free-5 = ▆
|
||||
ramp-free-6 = ▇
|
||||
ramp-free-7 = █
|
||||
|
||||
|
||||
[module/wlan]
|
||||
type = internal/network
|
||||
interface = wlp2s0
|
||||
interval = 3.0
|
||||
|
||||
format-connected = <ramp-signal> <label-connected>
|
||||
format-connected-underline = #9f78e1
|
||||
label-connected = %signal%%: %essid% (%local_ip%)
|
||||
|
||||
;format-disconnected = W:
|
||||
format-disconnected = <label-disconnected>
|
||||
format-disconnected-underline = ${self.format-connected-underline}
|
||||
label-disconnected = %ifname%
|
||||
label-disconnected-foreground = ${colors.foreground-alt}
|
||||
|
||||
ramp-signal-0 =
|
||||
ramp-signal-1 =
|
||||
ramp-signal-2 =
|
||||
ramp-signal-3 =
|
||||
ramp-signal-4 =
|
||||
ramp-signal-foreground = ${colors.foreground-alt}
|
||||
|
||||
[module/eth]
|
||||
type = internal/network
|
||||
interface = enp1s0f1
|
||||
interval = 3.0
|
||||
|
||||
format-connected-underline = #55aa55
|
||||
format-connected-prefix = " "
|
||||
format-connected-prefix-foreground = ${colors.foreground-alt}
|
||||
label-connected = %local_ip% (%linkspeed%)
|
||||
|
||||
;format-disconnected =
|
||||
format-disconnected = <label-disconnected>
|
||||
format-disconnected-underline = ${self.format-connected-underline}
|
||||
label-disconnected = %ifname%
|
||||
label-disconnected-foreground = ${colors.foreground-alt}
|
||||
|
||||
[module/wg]
|
||||
type = custom/script
|
||||
exec = ~/src/sysadmin/polybar/wg.sh
|
||||
interval = 5
|
||||
# tail = true
|
||||
|
||||
|
||||
[module/wg0]
|
||||
inherit = module/eth
|
||||
interface = wg0
|
||||
unknown-as-up = true
|
||||
label-connected = wg0: %local_ip% (U: %upspeed% D: %downspeed%)
|
||||
format-connected-underline = #aa5555
|
||||
|
||||
[module/wg1]
|
||||
inherit = module/eth
|
||||
interface = wg1
|
||||
unknown-as-up = true
|
||||
label-connected = wg1: %local_ip% (U: %upspeed% D: %downspeed%)
|
||||
format-connected-underline = #aa5555
|
||||
|
||||
[module/date]
|
||||
type = internal/date
|
||||
interval = 1.0
|
||||
|
||||
date = " %d/%m/%y"
|
||||
date-alt = " %A %d de %B de %Y"
|
||||
|
||||
time = %H:%M
|
||||
time-alt = %H:%M:%S
|
||||
|
||||
format-prefix =
|
||||
format-prefix-foreground = ${colors.foreground-alt}
|
||||
format-underline = #0a6cf5
|
||||
|
||||
label = %date% %time%
|
||||
|
||||
[module/date-alt]
|
||||
type = internal/date
|
||||
|
||||
; Seconds to sleep between updates
|
||||
interval = 1.0
|
||||
|
||||
; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string
|
||||
; NOTE: if you want to use syntax tags here you need to use %%{...}
|
||||
;date = %Y-%m-%d%
|
||||
date = %d/%m/%y%
|
||||
|
||||
; Optional time format
|
||||
time = %H:%M
|
||||
|
||||
; if `date-alt` or `time-alt` is defined, clicking
|
||||
; the module will toggle between formats
|
||||
date-alt = %A, %d %B %Y
|
||||
time-alt = %H:%M:%S
|
||||
|
||||
; Available tags:
|
||||
; <label> (default)
|
||||
format = 🕓 <label>
|
||||
;format-background = #55ff3399
|
||||
;format-foreground = #fff
|
||||
format-prefix-foreground = ${colors.foreground-alt}
|
||||
format-underline = #0a6cf5
|
||||
|
||||
; Available tokens:
|
||||
; %date%
|
||||
; %time%
|
||||
; Default: %date%
|
||||
label = %date% %time%
|
||||
;label-font = 2
|
||||
;label-foreground = #9A32DB
|
||||
|
||||
|
||||
[module/volume]
|
||||
type = internal/volume
|
||||
|
||||
#format-volume = <ramp-volume> <label-volume> <bar-volume>
|
||||
format-volume = <label-volume>
|
||||
|
||||
format-volume-prefix-foreground = ${colors.foreground-alt}
|
||||
format-volume-underline = #f90000
|
||||
format-volume-prefix = "Vol "
|
||||
|
||||
label-volume = %percentage%%
|
||||
label-volume-foreground = ${root.foreground}
|
||||
|
||||
; Only applies if <ramp-volume> is used
|
||||
ramp-volume-0 = 🔈
|
||||
ramp-volume-1 = 🔉
|
||||
ramp-volume-2 = 🔊
|
||||
|
||||
format-muted-prefix = " "
|
||||
format-muted-foreground = ${colors.foreground-alt}
|
||||
label-muted = sound muted
|
||||
|
||||
bar-volume-width = 5
|
||||
bar-volume-foreground-0 = #55aa55
|
||||
bar-volume-foreground-1 = #55aa55
|
||||
bar-volume-foreground-2 = #55aa55
|
||||
bar-volume-foreground-3 = #55aa55
|
||||
bar-volume-foreground-4 = #55aa55
|
||||
bar-volume-foreground-5 = #f5a70a
|
||||
bar-volume-foreground-6 = #ff5555
|
||||
bar-volume-gradient = false
|
||||
bar-volume-indicator = |
|
||||
;bar-volume-indicator-font = 2
|
||||
bar-volume-fill = ─
|
||||
;bar-volume-fill-font = 2
|
||||
bar-volume-empty = ─
|
||||
;bar-volume-empty-font = 2
|
||||
bar-volume-empty-foreground = ${colors.foreground-alt}
|
||||
|
||||
[module/battery]
|
||||
type = internal/battery
|
||||
battery = BAT0
|
||||
adapter = AC
|
||||
full-at = 98
|
||||
|
||||
; If an inotify event haven't been reported in this many
|
||||
; seconds, manually poll for new values.
|
||||
;
|
||||
; Needed as a fallback for systems that don't report events
|
||||
; on sysfs/procfs.
|
||||
;
|
||||
; Disable polling by setting the interval to 0.
|
||||
;
|
||||
; Default: 5
|
||||
poll-interval = 5
|
||||
|
||||
; see "man date" for details on how to format the time string
|
||||
; NOTE: if you want to use syntax tags here you need to use %%{...}
|
||||
; Default: %H:%M:%S
|
||||
time-format = %H:%M
|
||||
|
||||
format-charging = <animation-charging> <label-charging>
|
||||
format-charging-underline = #ffb52a
|
||||
|
||||
format-discharging = <ramp-capacity> <label-discharging>
|
||||
format-discharging-underline = ${self.format-charging-underline}
|
||||
|
||||
format-full-prefix = " "
|
||||
format-full-prefix-foreground = ${colors.foreground-alt}
|
||||
format-full-underline = ${self.format-charging-underline}
|
||||
|
||||
ramp-capacity-0 =
|
||||
ramp-capacity-1 =
|
||||
ramp-capacity-2 =
|
||||
ramp-capacity-foreground = ${colors.foreground-alt}
|
||||
|
||||
animation-charging-0 =
|
||||
animation-charging-1 =
|
||||
animation-charging-2 =
|
||||
animation-charging-foreground = ${colors.foreground-alt}
|
||||
animation-charging-framerate = 750
|
||||
|
||||
label-charging = %percentage%% (%time%)
|
||||
label-discharging = %percentage%% (%time%)
|
||||
label-full = FULL
|
||||
|
||||
[module/battery-alt]
|
||||
type = internal/battery
|
||||
battery = BAT0
|
||||
adapter = AC
|
||||
full-at = 98
|
||||
|
||||
; If an inotify event haven't been reported in this many
|
||||
; seconds, manually poll for new values.
|
||||
;
|
||||
; Needed as a fallback for systems that don't report events
|
||||
; on sysfs/procfs.
|
||||
;
|
||||
; Disable polling by setting the interval to 0.
|
||||
;
|
||||
; Default: 5
|
||||
poll-interval = 5
|
||||
|
||||
; Available tags:
|
||||
; <label-charging> (default)
|
||||
; <bar-capacity>
|
||||
; <ramp-capacity>
|
||||
; <animation-charging>
|
||||
format-charging = <animation-charging> <label-charging>
|
||||
|
||||
; Available tags:
|
||||
; <label-discharging> (default)
|
||||
; <bar-capacity>
|
||||
; <ramp-capacity>
|
||||
; <animation-discharging>
|
||||
format-discharging = <ramp-capacity> <label-discharging>
|
||||
|
||||
; Available tags:
|
||||
; <label-full> (default)
|
||||
; <bar-capacity>
|
||||
; <ramp-capacity>
|
||||
format-full = <ramp-capacity> <label-full>
|
||||
|
||||
; Available tokens:
|
||||
; %percentage% (default)
|
||||
; %time%
|
||||
; %consumption% (shows current charge rate in watts)
|
||||
label-charging = "⚡ percentage%% (%time%)"
|
||||
|
||||
; Available tokens:
|
||||
; %percentage% (default)
|
||||
; %time%
|
||||
; %consumption% (shows current discharge rate in watts)
|
||||
label-discharging = "🔋 %percentage%% (%time%)"
|
||||
|
||||
; Available tokens:
|
||||
; %percentage% (default)
|
||||
;label-full = "☻ Full"
|
||||
label-full = "100%"
|
||||
|
||||
; Only applies if <ramp-capacity> is used
|
||||
ramp-capacity-0 =
|
||||
ramp-capacity-1 =
|
||||
ramp-capacity-2 =
|
||||
ramp-capacity-3 =
|
||||
ramp-capacity-4 =
|
||||
|
||||
; Only applies if <bar-capacity> is used
|
||||
bar-capacity-width = 10
|
||||
|
||||
; Only applies if <animation-charging> is used
|
||||
animation-charging-0 =
|
||||
animation-charging-1 =
|
||||
animation-charging-2 =
|
||||
animation-charging-3 =
|
||||
animation-charging-4 =
|
||||
; Framerate in milliseconds
|
||||
animation-charging-framerate = 750
|
||||
|
||||
; Only applies if <animation-discharging> is used
|
||||
animation-discharging-0 =
|
||||
animation-discharging-1 =
|
||||
animation-discharging-2 =
|
||||
animation-discharging-3 =
|
||||
animation-discharging-4 =
|
||||
; Framerate in milliseconds
|
||||
animation-discharging-framerate = 500
|
||||
|
||||
[module/temperature]
|
||||
type = internal/temperature
|
||||
thermal-zone = 0
|
||||
warn-temperature = 60
|
||||
|
||||
format = <ramp> <label>
|
||||
format-underline = #f50a4d
|
||||
format-warn = <ramp> <label-warn>
|
||||
format-warn-underline = ${self.format-underline}
|
||||
|
||||
label = %temperature%
|
||||
label-warn = %temperature%
|
||||
label-warn-foreground = ${colors.secondary}
|
||||
|
||||
ramp-0 =
|
||||
ramp-1 =
|
||||
ramp-2 =
|
||||
ramp-foreground = ${colors.foreground-alt}
|
||||
|
||||
[module/powermenu]
|
||||
type = custom/menu
|
||||
|
||||
expand-right = true
|
||||
|
||||
format-spacing = 1
|
||||
|
||||
label-open =
|
||||
label-open-foreground = ${colors.secondary}
|
||||
label-close = cancel
|
||||
label-close-foreground = ${colors.secondary}
|
||||
label-separator = |
|
||||
label-separator-foreground = ${colors.foreground-alt}
|
||||
|
||||
menu-0-0 = reboot
|
||||
menu-0-0-exec = menu-open-1
|
||||
menu-0-1 = power off
|
||||
menu-0-1-exec = menu-open-2
|
||||
|
||||
menu-1-0 = cancel
|
||||
menu-1-0-exec = menu-open-0
|
||||
menu-1-1 = reboot
|
||||
menu-1-1-exec = sudo reboot
|
||||
|
||||
menu-2-0 = power off
|
||||
menu-2-0-exec = sudo poweroff
|
||||
menu-2-1 = cancel
|
||||
menu-2-1-exec = menu-open-0
|
||||
|
||||
[settings]
|
||||
screenchange-reload = true
|
||||
;compositing-background = xor
|
||||
;compositing-background = screen
|
||||
;compositing-foreground = source
|
||||
;compositing-border = over
|
||||
|
||||
[global/wm]
|
||||
margin-top = 5
|
||||
margin-bottom = 5
|
||||
|
||||
; vim:ft=dosini
|
||||
10
polybar/polybar.desktop
Normal file
10
polybar/polybar.desktop
Normal file
@@ -0,0 +1,10 @@
|
||||
#/home/renato/src/sysadmin/polybar/launch.sh
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Name=Polybar
|
||||
GenericName=Polybar
|
||||
Comment=A fast and easy-to-use status bar https://polybar.github.io
|
||||
Exec=/home/renato/src/sysadmin/polybar/launch.sh
|
||||
Terminal=false
|
||||
Type=Application
|
||||
X-GNOME-Autostart=true
|
||||
1
sudoers/renato
Normal file
1
sudoers/renato
Normal file
@@ -0,0 +1 @@
|
||||
renato ALL=(ALL) NOPASSWD: ALL
|
||||
398
sway/config.vaio-vjf155f11x.fc29
Normal file
398
sway/config.vaio-vjf155f11x.fc29
Normal file
@@ -0,0 +1,398 @@
|
||||
# Default config for sway
|
||||
#
|
||||
# Copy this to ~/.config/sway/config and edit it to your liking.
|
||||
#
|
||||
# Read `man 5 sway` for a complete reference.
|
||||
|
||||
### Variables
|
||||
#
|
||||
# Logo key. Use Mod1 for Alt.i
|
||||
|
||||
set $mod Mod4
|
||||
|
||||
|
||||
## ARROW ALTERNATE KEYS ##
|
||||
set $Left j
|
||||
set $Down k
|
||||
set $Up l
|
||||
set $Right ccedilla
|
||||
|
||||
# Your preferred terminal emulator
|
||||
#set $term urxvt256c-ml
|
||||
set $term konsole
|
||||
|
||||
# Your preferred application launcher
|
||||
set $menu-alt dmenu_run
|
||||
#set $menu-alt gnome-terminal --title Menu --hide-menubar --command "bash -c 'compgen -c | sort -u | fzf | xargs -r swaymsg -t command exec'", for_window [app_id="gnome-terminal-server" title="Menu"] border pixel 0, for_window [app_id="gnome-terminal-server" title="Menu"] floating enable
|
||||
set $menu i3-dmenu-desktop
|
||||
|
||||
# Termite
|
||||
#bindsym $mod+r exec termite --name=launcher -e "bash -c 'compgen -c | sort -u | fzf --no-extended --print-query | tail -n1 | xargs -r swaymsg -t command exec'"
|
||||
#for_window [app_id="^launcher$"] floating enable, border none
|
||||
|
||||
|
||||
# Font for window titles. Will also be used by the bar unless a different font
|
||||
# is used in the bar {} block below.
|
||||
#font pango:monospace 8
|
||||
|
||||
# This font is widely installed, provides lots of unicode glyphs, right-to-left
|
||||
# text rendering and scalability on retina/hidpi displays (thanks to pango).
|
||||
font pango:DejaVu Sans Mono 10
|
||||
|
||||
gaps 20
|
||||
|
||||
### SWAY SETUP ###
|
||||
|
||||
### Output configuration
|
||||
#
|
||||
# output HDMI-A-1 resolution 1920x1080 position 1920,0
|
||||
# You can get the names of your outputs by running:
|
||||
# `swaymsg -t get_outputs`
|
||||
|
||||
# Tela Principal
|
||||
#output eDP-1 resolution 1920x1080 position 0,0
|
||||
output eDP-1 resolution 1980x1080 position 0,0
|
||||
|
||||
# Default wallpaper (more resolutions are available in
|
||||
# `/usr/share/backgrounds/sway/`)
|
||||
output "*" bg /usr/share/backgrounds/f29/default/normalish/f29.png fill
|
||||
output "*" bg ~/src/wallpapers/default.jpg fill
|
||||
|
||||
### Input configuration
|
||||
#
|
||||
input "2:7:SynPS\/2_Synaptics_TouchPad" {
|
||||
dwt enabled
|
||||
tap enabled
|
||||
scroll_method two_finger
|
||||
natural_scroll enabled
|
||||
middle_emulation enabled
|
||||
}
|
||||
|
||||
# You can get the names of your inputs by running:
|
||||
# `swaymsg -t get_inputs`
|
||||
# Read `man 5 sway-input` for more information about this section.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### KEYBINDINGS ###
|
||||
|
||||
# Use Mouse+$mod to drag floating windows to their wanted position
|
||||
floating_modifier $mod
|
||||
|
||||
# start a terminal
|
||||
# bindsym $mod+Return exec i3-sensible-terminal
|
||||
bindsym $mod+Return exec $term
|
||||
bindsym $mod+c exec $term
|
||||
|
||||
# kill focused window
|
||||
bindsym $mod+Shift+q kill
|
||||
|
||||
# change focus
|
||||
bindsym $mod+$Left focus left
|
||||
bindsym $mod+$Down focus down
|
||||
bindsym $mod+$Up focus up
|
||||
bindsym $mod+$Right focus right
|
||||
|
||||
# alternatively, you can use the cursor keys:
|
||||
bindsym $mod+Left focus left
|
||||
bindsym $mod+Down focus down
|
||||
bindsym $mod+Up focus up
|
||||
bindsym $mod+Right focus right
|
||||
|
||||
# move focused window
|
||||
bindsym $mod+Shift+$Left move left
|
||||
bindsym $mod+Shift+$Down move down
|
||||
bindsym $mod+Shift+$Up move up
|
||||
bindsym $mod+Shift+$Right move right
|
||||
|
||||
# alternatively, you can use the cursor keys:
|
||||
bindsym $mod+Shift+Left move left
|
||||
bindsym $mod+Shift+Down move down
|
||||
bindsym $mod+Shift+Up move up
|
||||
bindsym $mod+Shift+Right move right
|
||||
|
||||
# split in horizontal orientation
|
||||
bindsym $mod+h split h
|
||||
|
||||
# split in vertical orientation
|
||||
bindsym $mod+v split v
|
||||
|
||||
# enter fullscreen mode for the focused container
|
||||
bindsym $mod+f fullscreen toggle
|
||||
|
||||
# change container layout (stacked, tabbed, toggle split)
|
||||
bindsym $mod+s layout stacking
|
||||
bindsym $mod+w layout tabbed
|
||||
bindsym $mod+e layout toggle split
|
||||
|
||||
# toggle tiling / floating
|
||||
bindsym $mod+Shift+space floating toggle
|
||||
|
||||
# change focus between tiling / floating windows
|
||||
bindsym $mod+space focus mode_toggle
|
||||
|
||||
# focus the parent container
|
||||
bindsym $mod+a focus parent
|
||||
|
||||
# focus the child container
|
||||
bindsym $mod+Shift+a focus child
|
||||
|
||||
# Define names for default workspaces for which we configure key bindings later on.
|
||||
# We use variables to avoid repeating the names in multiple places.
|
||||
set $ws1 "1"
|
||||
set $ws2 "2"
|
||||
set $ws3 "3"
|
||||
set $ws4 "4"
|
||||
set $ws5 "5"
|
||||
set $ws6 "6"
|
||||
set $ws7 "7"
|
||||
set $ws8 "8"
|
||||
set $ws9 "9"
|
||||
set $ws10 "10"
|
||||
|
||||
# switch to workspace
|
||||
bindsym $mod+1 workspace $ws1
|
||||
bindsym $mod+2 workspace $ws2
|
||||
bindsym $mod+3 workspace $ws3
|
||||
bindsym $mod+4 workspace $ws4
|
||||
bindsym $mod+5 workspace $ws5
|
||||
bindsym $mod+6 workspace $ws6
|
||||
bindsym $mod+7 workspace $ws7
|
||||
bindsym $mod+8 workspace $ws8
|
||||
bindsym $mod+9 workspace $ws9
|
||||
bindsym $mod+0 workspace $ws10
|
||||
|
||||
# move focused container to workspace
|
||||
bindsym $mod+Shift+1 move container to workspace $ws1
|
||||
bindsym $mod+Shift+2 move container to workspace $ws2
|
||||
bindsym $mod+Shift+3 move container to workspace $ws3
|
||||
bindsym $mod+Shift+4 move container to workspace $ws4
|
||||
bindsym $mod+Shift+5 move container to workspace $ws5
|
||||
bindsym $mod+Shift+6 move container to workspace $ws6
|
||||
bindsym $mod+Shift+7 move container to workspace $ws7
|
||||
bindsym $mod+Shift+8 move container to workspace $ws8
|
||||
bindsym $mod+Shift+9 move container to workspace $ws9
|
||||
bindsym $mod+Shift+0 move container to workspace $ws10
|
||||
|
||||
# reload the configuration file
|
||||
bindsym $mod+Shift+c reload
|
||||
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
||||
#bindsym $mod+Shift+r restart
|
||||
|
||||
|
||||
# exit i3 (logs you out of your X session)
|
||||
#bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
|
||||
|
||||
# resize window (you can also use the mouse for that)
|
||||
mode "resize" {
|
||||
# These bindings trigger as soon as you enter the resize mode
|
||||
|
||||
# Pressing left will shrink the window’s width.
|
||||
# Pressing right will grow the window’s width.
|
||||
# Pressing up will shrink the window’s height.
|
||||
# Pressing down will grow the window’s height.
|
||||
bindsym $Left resize shrink width 10 px or 10 ppt
|
||||
bindsym $Down resize grow height 10 px or 10 ppt
|
||||
bindsym $Up resize shrink height 10 px or 10 ppt
|
||||
bindsym $Right resize grow width 10 px or 10 ppt
|
||||
|
||||
# same bindings, but for the arrow keys
|
||||
bindsym Left resize shrink width 10 px or 10 ppt
|
||||
bindsym Down resize grow height 10 px or 10 ppt
|
||||
bindsym Up resize shrink height 10 px or 10 ppt
|
||||
bindsym Right resize grow width 10 px or 10 ppt
|
||||
|
||||
# back to normal: Enter or Escape or $mod+r
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
bindsym $mod+r mode "default"
|
||||
}
|
||||
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
# Start i3bar to display a workspace bar (plus the system information i3status
|
||||
# finds out, if available)
|
||||
#bar {
|
||||
# font pango:DejaVu Sans Mono 9
|
||||
# status_command i3status
|
||||
#}
|
||||
#
|
||||
# Status Bar:
|
||||
#
|
||||
# Read `man 5 sway-bar` for more information about this section.
|
||||
bar {
|
||||
position bottom
|
||||
colors {
|
||||
statusline #ffffff
|
||||
background #323232
|
||||
inactive_workspace #32323200 #32323200 #5c5c5c
|
||||
}
|
||||
# Polybar
|
||||
#status_command $HOME/.config/polybar/launch.sh
|
||||
#status_command i3status
|
||||
}
|
||||
|
||||
for_window [class="Polybar"] sticky enable, floating enable, border none
|
||||
|
||||
include /etc/sway/config.d/*
|
||||
|
||||
|
||||
## RENATO ##
|
||||
|
||||
|
||||
## Screenshot Lock Screen
|
||||
# $ scrot /tmp/screenshot.png
|
||||
# $ convert /tmp/screenshot.png -blur 0x5 /tmp/screenshotblur.png
|
||||
# $ i3lock -i /tmp/screenshotblur.png
|
||||
# OLD: set $lock import -window root -colorspace gray /tmp/i3lock.png; convert /tmp/i3lock.png -blur 0x5 /tmp/i3lock-blur.png; i3lock -i /tmp/i3lock-blur.png -c 00001e -e -f -p win
|
||||
set $lock import -window root -colorspace gray /tmp/i3lock.png; convert /tmp/i3lock.png -blur 0x5 /tmp/i3lock-blur.png; swaylock -i /tmp/i3lock-blur.png -c 00001e -e -f -p win
|
||||
|
||||
### KEYBINDINGS ###
|
||||
## xmodmap -pke
|
||||
bindsym $mod+z exec $lock
|
||||
bindsym $mod+Shift+z mode "$mode_exit"
|
||||
|
||||
# Exit
|
||||
#bindsym $mod+Shift+e mode "$mode_exit"
|
||||
|
||||
# exit sway (logs you out of your wayland session)
|
||||
bindsym $mod+Shift+e exit
|
||||
bindsym $mod+Shift+Escape exit
|
||||
|
||||
# dmenu
|
||||
bindsym $mod+d exec --no-startup-id $menu
|
||||
# Move: `Mod+\` Show: `Mod+|`
|
||||
bindsym $mod+backslash move scratchpad
|
||||
bindsym $mod+Shift+bar scratchpad show
|
||||
# Move: `Mod+,` Show: `Mod+.`
|
||||
bindsym $mod+comma move scratchpad
|
||||
bindsym $mod+period scratchpad show
|
||||
|
||||
|
||||
# start dmenu (a program launcher)
|
||||
bindsym $mod+Shift+d exec $menu-alt
|
||||
|
||||
|
||||
# mode Exit - requires i3exit script
|
||||
#
|
||||
set $mode_exit System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (Shift+s) shutdown
|
||||
mode "$mode_exit" {
|
||||
bindsym l exec --no-startup-id /home/renato/src/sysadmin/i3wm/i3exit.sh lock, mode "default"
|
||||
bindsym e exec --no-startup-id /home/renato/src/sysadmin/i3wm/i3exit.sh logout, mode "default"
|
||||
bindsym s exec --no-startup-id /home/renato/src/sysadmin/i3wm/i3exit.sh suspend, mode "default"
|
||||
bindsym h exec --no-startup-id /home/renato/src/sysadmin/i3wm/i3exit.sh hibernate, mode "default"
|
||||
bindsym r exec --no-startup-id /home/renato/src/sysadmin/i3wm/i3exit.sh reboot, mode "default"
|
||||
bindsym Shift+s exec --no-startup-id /home/renato/src/sysadmin/i3wm/i3exit.sh shutdown, mode "default"
|
||||
|
||||
# back to normal: Enter or Escape
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
|
||||
# exit i3 (logs you out of your X session)
|
||||
#bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
|
||||
|
||||
# XKBOPTIONS compose key
|
||||
exec_always --no-startup-id setxkbmap -option "compose:menu"
|
||||
|
||||
|
||||
# Pulse Audio controls
|
||||
# bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% #increase sound volume
|
||||
# bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% #decrease sound volume
|
||||
# bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound
|
||||
|
||||
# Alsa Mixer Audio controls
|
||||
bindsym XF86AudioRaiseVolume exec amixer -q set Master 4%+ unmute
|
||||
bindsym XF86AudioLowerVolume exec amixer -q set Master 4%- unmute
|
||||
bindsym XF86AudioMute exec amixer -q set Master toggle
|
||||
|
||||
# Screen brightness controls
|
||||
# `brightnessctl set [+]x%[-]`
|
||||
# xbacklight [ inc | dec ] x%
|
||||
# increase screen brightness
|
||||
bindsym XF86MonBrightnessUp exec brightnessctl set +10%
|
||||
# decrease screen brightness
|
||||
bindsym XF86MonBrightnessDown exec brightnessctl set 10%-
|
||||
|
||||
# Touchpad controls
|
||||
# bindsym XF85TouchpadToggle exec /some/path/toggletouchpad.sh # toggle touchpad
|
||||
|
||||
# Media player controls
|
||||
bindsym XF86AudioPlay exec playerctl play
|
||||
bindsym XF86AudioPause exec playerctl pause
|
||||
bindsym XF86AudioNext exec playerctl next
|
||||
bindsym XF86AudioPrev exec playerctl previous
|
||||
|
||||
### EXEC ###
|
||||
|
||||
|
||||
# Tapping Enabled
|
||||
#exec_always xinput set-prop "SynPS/2 Synaptics TouchPad" 302 1
|
||||
#exec_always xinput set-prop "SynPS/2 Synaptics TouchPad" "libinput Tapping Enabled" 1
|
||||
|
||||
# KDE Connect
|
||||
#exec kdeconnect-indicator
|
||||
#exec_always --no-startup-id killall -9 kdeconnectd
|
||||
#exec_always --no-startup-id /usr/lib/libexec/kdeconnectd -platform offscreen
|
||||
#exec --no-startup-id kdeconnect-indicator
|
||||
|
||||
# Joplin
|
||||
exec --no-startup-id /home/renato/.joplin/Joplin.AppImage
|
||||
|
||||
# Mattermost Desktop
|
||||
#exec /opt/Mattermost/mattermost-desktop --hidden
|
||||
|
||||
# Skype For Linux
|
||||
#exec /usr/bin/skypeforlinux
|
||||
|
||||
# Remmina Applet
|
||||
#exec remmina -i
|
||||
|
||||
# Wallpaper
|
||||
#exec --no-startup-id feh --bg-scale ~/src/wallpapers/default.jpg
|
||||
|
||||
# NetworkManager Tray Icon
|
||||
exec --no-startup-id nm-tray
|
||||
|
||||
# Numlock On
|
||||
#exec --no-startup-id numlockx on
|
||||
|
||||
# Window Rules
|
||||
|
||||
#assign [title="Área de Trabalho — Plasma"] 0
|
||||
#for_window [class="plasmashell"] floating enable, border none
|
||||
for_window [class="(?i)skype"] floating enable, border none
|
||||
for_window [class="(?i)galculator"] floating enable
|
||||
|
||||
#for_window [class="Firefox"] border none
|
||||
|
||||
# Float by type
|
||||
#for_window [window_role="pop-up"] floating enable
|
||||
#for_window [window_role="task_dialog"] floating enable
|
||||
#for_window [window_type="dialog"] floating enable
|
||||
#for_window [window_type="menu"] floating enable
|
||||
|
||||
|
||||
# Use Mouse+$mod to drag floating windows to their wanted position
|
||||
#floating_modifier $mod
|
||||
|
||||
#bindsym $mod+m exec i3-msg focus_follows_mouse no
|
||||
#bindsym $mod+Shift+m exec i3-msg focus_follows_mouse yes
|
||||
|
||||
|
||||
#---( focus related )---)
|
||||
#focus_follows_mouse no
|
||||
|
||||
no_focus [class="plasmashell"]
|
||||
#no_focus [window_role="pop-up"]
|
||||
#no_focus [window_type="notification"]
|
||||
|
||||
# focus_on_window_activation none
|
||||
|
||||
#exec_always --no-startup-id compton -b
|
||||
exec_always --no-startup-id compton --config /dev/null --backend glx --vsync opengl -i=0.5 -f -m 0.9 -e 0.5 -D 6
|
||||
|
||||
|
||||
### FIM ###
|
||||
2
zshrc/cheat.sh
Normal file
2
zshrc/cheat.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
wget -O - https://github.com/cheat/cheat/raw/master/cheat/autocompletion/cheat.zsh | sudo tee /usr/share/zsh/site-functions/_cheat
|
||||
194
zshrc/zshrc.fc29.vjf15511x
Normal file
194
zshrc/zshrc.fc29.vjf15511x
Normal file
@@ -0,0 +1,194 @@
|
||||
######################################################################
|
||||
# mako's zshrc file, v0.1
|
||||
#
|
||||
#
|
||||
######################################################################
|
||||
|
||||
# next lets set some enviromental/shell pref stuff up
|
||||
# setopt NOHUP
|
||||
#setopt NOTIFY
|
||||
#setopt NO_FLOW_CONTROL
|
||||
setopt APPEND_HISTORY
|
||||
# setopt AUTO_LIST # these two should be turned off
|
||||
# setopt AUTO_REMOVE_SLASH
|
||||
# setopt AUTO_RESUME # tries to resume command of same name
|
||||
unsetopt BG_NICE # do NOT nice bg commands
|
||||
setopt CORRECT # command CORRECTION
|
||||
setopt EXTENDED_HISTORY # puts timestamps in the history
|
||||
# setopt HASH_CMDS # turns on hashing
|
||||
setopt HIST_ALLOW_CLOBBER
|
||||
setopt HIST_REDUCE_BLANKS
|
||||
setopt INC_APPEND_HISTORY SHARE_HISTORY
|
||||
setopt ALL_EXPORT
|
||||
|
||||
setopt MENUCOMPLETE
|
||||
# Set/unset shell options
|
||||
setopt notify globdots correct pushdtohome cdablevars autolist
|
||||
setopt correctall autocd recexact longlistjobs
|
||||
setopt autoresume histignoredups pushdsilent noclobber
|
||||
setopt autopushd pushdminus extendedglob rcquotes mailwarning
|
||||
unsetopt bgnice autoparamslash
|
||||
|
||||
# Autoload zsh modules when they are referenced
|
||||
zmodload -a zsh/stat stat
|
||||
zmodload -a zsh/zpty zpty
|
||||
zmodload -a zsh/zprof zprof
|
||||
|
||||
# mapfile : parameter already exists
|
||||
#zmodload -ap zsh/mapfile mapfile
|
||||
|
||||
|
||||
PATH="/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/local/sbin/:$PATH"
|
||||
TZ="America/Sao_Paulo"
|
||||
HISTFILE=$HOME/.zhistory
|
||||
HISTSIZE=1000
|
||||
SAVEHIST=1000
|
||||
HOSTNAME="`hostname`"
|
||||
PAGER='less'
|
||||
EDITOR='vim'
|
||||
autoload colors zsh/terminfo
|
||||
if [[ "$terminfo[colors]" -ge 8 ]]; then
|
||||
colors
|
||||
fi
|
||||
for color in RED GREEN YELLOW BLUE MAGENTA CYAN WHITE; do
|
||||
eval PR_$color='%{$terminfo[bold]$fg[${(L)color}]%}'
|
||||
eval PR_LIGHT_$color='%{$fg[${(L)color}]%}'
|
||||
(( count = $count + 1 ))
|
||||
done
|
||||
PR_NO_COLOR="%{$terminfo[sgr0]%}"
|
||||
PS1="[$PR_MAGENTA%n$PR_NO_COLOR@$PR_GREEN%U%m%u$PR_NO_COLOR:$PR_RED%2c$PR_NO_COLOR]%(!.#.$) "
|
||||
RPS1="$PR_MAGENTA(%D{%d-%m-%y %H:%M})$PR_NO_COLOR"
|
||||
#LANGUAGE=
|
||||
LC_ALL='pt_BR.UTF-8'
|
||||
LANG='pt_BR.UTF-8'
|
||||
LC_CTYPE=C
|
||||
DISPLAY=:0
|
||||
|
||||
if [ $SSH_TTY ]; then
|
||||
MUTT_EDITOR=vim
|
||||
else
|
||||
MUTT_EDITOR=emacsclient.emacs-snapshot
|
||||
fi
|
||||
|
||||
unsetopt ALL_EXPORT
|
||||
# # --------------------------------------------------------------------
|
||||
# # aliases
|
||||
# # --------------------------------------------------------------------
|
||||
alias slrn="slrn -n"
|
||||
alias man='LC_ALL=pt_BR.UTF-8 LANG=pt_BR.UTF-8 man'
|
||||
alias f=finger
|
||||
alias ll='ls -ashpGl --color '
|
||||
alias ls='ls -G --color '
|
||||
alias offlineimap-tty='offlineimap -u TTY.TTYUI'
|
||||
alias hnb-partecs='hnb $HOME/partecs/partecs-hnb.xml'
|
||||
alias rest2html-css='rst2html --embed-stylesheet --stylesheet-path=/usr/share/python-docutils/s5_html/themes/default/print.css'
|
||||
alias dmesg="sudo dmesg"
|
||||
#if [[ $HOSTNAME == "kamna" ]] {
|
||||
# alias emacs='emacs -l ~/.emacs.kamna'
|
||||
#}
|
||||
|
||||
# alias =clear
|
||||
stty erase ^H &>/dev/null
|
||||
bindkey "^[[3~" delete-char
|
||||
#chpwd() {
|
||||
# [[ -t 1 ]] || return
|
||||
# case $TERM in
|
||||
# sun-cmd) print -Pn "\e]l%~\e\\"
|
||||
# ;;
|
||||
# *xterm*|screen|rxvt|(dt|k|E)term) print -Pn "\e]2;%~\a"
|
||||
# ;;
|
||||
# esac
|
||||
#}
|
||||
|
||||
#chpwd
|
||||
|
||||
autoload -U compinit
|
||||
compinit
|
||||
bindkey '^r' history-incremental-search-backward
|
||||
bindkey "^[[5~" up-line-or-history
|
||||
bindkey "^[[6~" down-line-or-history
|
||||
bindkey "^[[H" beginning-of-line
|
||||
bindkey "^[[1~" beginning-of-line
|
||||
bindkey "^[[F" end-of-line
|
||||
bindkey "^[[4~" end-of-line
|
||||
bindkey ' ' magic-space # also do history expansion on space
|
||||
bindkey '^I' complete-word # complete on tab, leave expansion to _expand
|
||||
|
||||
zstyle ':completion::complete:*' use-cache on
|
||||
zstyle ':completion::complete:*' cache-path ~/.zsh/cache/$HOST
|
||||
|
||||
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
|
||||
zstyle ':completion:*' list-prompt '%SAt %p: Hit TAB for more, or the character to insert%s'
|
||||
zstyle ':completion:*' menu select=1 _complete _ignored _approximate
|
||||
zstyle -e ':completion:*:approximate:*' max-errors \
|
||||
'reply=( $(( ($#PREFIX+$#SUFFIX)/2 )) numeric )'
|
||||
zstyle ':completion:*' select-prompt '%SScrolling active: current selection at %p%s'
|
||||
zstyle ':completion:*:processes' command 'ps -axw'
|
||||
zstyle ':completion:*:processes-names' command 'ps -awxho command'
|
||||
# Completion Styles
|
||||
zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31'
|
||||
# list of completers to use
|
||||
zstyle ':completion:*::::' completer _expand _complete _ignored _approximate
|
||||
|
||||
# allow one error for every three characters typed in approximate completer
|
||||
zstyle -e ':completion:*:approximate:*' max-errors \
|
||||
'reply=( $(( ($#PREFIX+$#SUFFIX)/2 )) numeric )'
|
||||
|
||||
# insert all expansions for expand completer
|
||||
zstyle ':completion:*:expand:*' tag-order all-expansions
|
||||
#
|
||||
#NEW completion:
|
||||
# 1. All /etc/hosts hostnames are in autocomplete
|
||||
# 2. If you have a comment in /etc/hosts like #%foobar.domain,
|
||||
# then foobar.domain will show up in autocomplete!
|
||||
zstyle ':completion:*' hosts $(awk '/^[^#]/ {print $2 $3" "$4" "$5}' /etc/hosts | grep -v ip6- && grep "^#%" /etc/hosts | awk -F% '{print $2}')
|
||||
# formatting and messages
|
||||
zstyle ':completion:*' verbose yes
|
||||
zstyle ':completion:*:descriptions' format '%B%d%b'
|
||||
zstyle ':completion:*:messages' format '%d'
|
||||
zstyle ':completion:*:warnings' format 'No matches for: %d'
|
||||
zstyle ':completion:*:corrections' format '%B%d (errors: %e)%b'
|
||||
zstyle ':completion:*' group-name ''
|
||||
|
||||
# match uppercase from lowercase
|
||||
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}'
|
||||
|
||||
# offer indexes before parameters in subscripts
|
||||
zstyle ':completion:*:*:-subscript-:*' tag-order indexes parameters
|
||||
|
||||
# command for process lists, the local web server details and host completion
|
||||
#zstyle ':completion:*:processes' command 'ps -o pid,s,nice,stime,args'
|
||||
#zstyle ':completion:*:urls' local 'www' '/var/www/htdocs' 'public_html'
|
||||
zstyle '*' hosts $hosts
|
||||
|
||||
# Filename suffixes to ignore during completion (except after rm command)
|
||||
zstyle ':completion:*:*:(^rm):*:*files' ignored-patterns '*?.o' '*?.c~' \
|
||||
'*?.old' '*?.pro'
|
||||
# the same for old style completion
|
||||
#fignore=(.o .c~ .old .pro)
|
||||
|
||||
# ignore completion functions (until the _ignored completer)
|
||||
zstyle ':completion:*:functions' ignored-patterns '_*'
|
||||
zstyle ':completion:*:scp:*' tag-order \
|
||||
files users 'hosts:-host hosts:-domain:domain hosts:-ipaddr"IP\ Address *'
|
||||
zstyle ':completion:*:scp:*' group-order \
|
||||
files all-files users hosts-domain hosts-host hosts-ipaddr
|
||||
zstyle ':completion:*:ssh:*' tag-order \
|
||||
users 'hosts:-host hosts:-domain:domain hosts:-ipaddr"IP\ Address *'
|
||||
zstyle ':completion:*:ssh:*' group-order \
|
||||
hosts-domain hosts-host users hosts-ipaddr
|
||||
zstyle '*' single-ignored show
|
||||
|
||||
source $HOME/.bash_aliases
|
||||
|
||||
source $HOME/.profile
|
||||
|
||||
test -r $HOME/.opam/opam-init/init.sh && . $HOME/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true
|
||||
|
||||
#source /home/renato/WebApp/silvrosa.llm-node.google-api.sh
|
||||
|
||||
#mount | grep "${HOME}/drive.silveirarosa.com" > /dev/null || $HOME/.opam/default/bin/google-drive-ocamlfuse -label renato@silveirarosa.com $HOME/drive.silveirarosa.com
|
||||
|
||||
test -r $HOME/cloud.silveirarosa.com && mount $HOME/cloud.silveirarosa.com
|
||||
|
||||
#
|
||||
Reference in New Issue
Block a user