.gitignore untuk TeX

170 aturan pengabaian untuk TeX, siap disalin ke repositori Anda.

Sistem tata letak teks

.gitignore lengkap untuk TeX

# Dibuat oleh LFGitignore - https://lfgitignore.com
# Dibuat: 2026-10-31 21:51:17 UTC
# Teknologi: TeX

### TeX ###
*.lof
*.lot
*.fls
*.toc
*.fmt
*.fot
# Berkas catatan
*.log
*.cb
*.cb2
.*.lb
*.dvi
*.xdv
*-converted-to.*
*.aux
.pdf
*.bbl
*.bbl-SAVE-ERROR
# Keluaran berkas eksekusi umum
*.out
*.bcf
*.bcf-SAVE-ERROR
*.blg
*-blx.aux
*-blx.bib
*.run.xml
*.fdb_latexmk
*.synctex
*.synctex(busy)
*.synctex.gz
*.synctex.gz(busy)
*.pdfsync
*.rubbercache
rubber.cache
latex.out/
*.alg
*.loa
acs-*.bib
*.thm
*.atfi
*.nav
*.pre
*.snm
*.vrb
*.soc
*.loc
*.cut
*.cpt
*.tuc
*.spl
*.tui
*.ent
*.tuo
*.lox
*.mf
*.mp
*.t[1-9]
*.t[1-9][0-9]
*.tfm
*.end
*.?end
*.[1-9]
*.[1-9][0-9]
*.[1-9][0-9][0-9]
*.[1-9]R
*.[1-9][0-9]R
*.[1-9][0-9][0-9]R
*.eledsec[1-9]
*.eledsec[1-9]R
*.eledsec[1-9][0-9]
*.eledsec[1-9][0-9]R
*.eledsec[1-9][0-9][0-9]
*.eledsec[1-9][0-9][0-9]R
*.acn
*.acr
*.glg
*.glg-abr
*.glo
*.glo-abr
*.gls
*.gls-abr
*.glsdefs
*.lzo
*.lzs
*.slg
*.slo
*.sls
*.gnuplot
*.table
*-gnuplottex-*
*.gaux
*.glog
*.gtex
*.4ct
*.4tc
*.idv
*.lg
*.trc
*.xref
*.hd
*.brf
*-concordance.tex
*-tikzDictionary
*.lol
*.ltjruby
*.idx
*.ilg
*.ind
*.maf
*.mlf
*.mlt
*.mtc[0-9]*
*.slf[0-9]*
*.slt[0-9]*
*.stc[0-9]*
_minted*
*.data.minted
*.pyg
*.mw
*.newpax
*.nlg
*.nlo
*.nls
*.pax
*.pdfpc
*.sagetex.sage
*.sagetex.py
*.sagetex.scmd
*.wrt
*.spell.bad
*.spell.txt
svg-inkscape/
*.sout
*.sympy
sympy-plots-for-*.tex/
*.upa
*.upb
*.pytxcode
pythontex-files-*/
*.listing
*.loe
*.dpth
*.md5
*.auxlock
*.ptc
*.tdo
*.hst
*.ver
*.lod
*.xcp
*.xmpi
*.xdy
*.xyc
*.xyd
*.ttt
*.fff
TSWLatexianTemp*
# berkas cadangan
*.bak
*.sav
*.bak[0-9]*
.texpadtmp
*.lyx~
# berkas cadangan
*.backup
# Berkas swap tersembunyi Vim
.*.swp
*~[0-9]*
*.tps
./auto/*
*.el
*-tags.tex
*.sta
*.lpz
*.xwm

Apa yang sebenarnya diabaikan oleh aturan TeX ini

Setiap pola berikut beserta alasan untuk memasukkannya ke .gitignore.

Umum

Pola Yang diabaikan
*.lof Umum
*.lot Umum
*.fls Umum
*.toc Umum
*.fmt Umum
*.fot Umum
*.log Berkas catatan
*.cb Umum
*.cb2 Umum
.*.lb Umum
*.dvi # Dokumen perantara:
*.xdv Umum
*-converted-to.* Umum
.pdf # Dihasilkan jika string kosong diberikan pada "Silakan ketik nama berkas lain untuk keluaran:"
*.aux Umum
*.bbl # berkas bantu daftar pustaka (bibtex/biblatex/biber):
*.bbl-SAVE-ERROR Umum
*.out Keluaran berkas eksekusi umum
*.bcf Umum
*.bcf-SAVE-ERROR Umum
*.blg Umum
*-blx.aux Umum
*-blx.bib Umum
*.run.xml Umum
*.fdb_latexmk # berkas tambahan alat Build:
*.synctex Umum
*.synctex(busy) Umum
*.synctex.gz Umum
*.synctex.gz(busy) Umum
*.pdfsync Umum
*.rubbercache Umum
rubber.cache Umum
latex.out/ # Direktori alat Build untuk berkas tambahan latexrun
*.alg # berkas tambahan dan perantara dari paket lain: algoritma
*.loa Umum
acs-*.bib achemso
*.thm amsthm
*.atfi attachfile2
*.nav beamer
*.pre Umum
*.snm Umum
*.vrb Umum
*.soc Perubahan
*.loc Umum
*.cut Komentar
*.cpt cprotect
*.tuc Konteks
*.spl elsarticle (kelas dokumen jurnal Elsevier)
*.tui Umum
*.ent endnotes
*.tuo Umum
*.lox fixme
*.mf feynmf/feynmp
*.mp Umum
*.t[1-9] Umum
*.t[1-9][0-9] Umum
*.tfm Umum
*.end (r)(e)ledmac/(r)(e)ledpar
*.?end Umum
*.[1-9] Umum
*.[1-9][0-9] Umum
*.[1-9][0-9][0-9] Umum
*.[1-9]R Umum
*.[1-9][0-9]R Umum
*.[1-9][0-9][0-9]R Umum
*.eledsec[1-9] Umum
*.eledsec[1-9]R Umum
*.eledsec[1-9][0-9] Umum
*.eledsec[1-9][0-9]R Umum
*.eledsec[1-9][0-9][0-9] Umum
*.eledsec[1-9][0-9][0-9]R Umum
*.acn glossaries
*.acr Umum
*.glg Umum
*.glg-abr Umum
*.glo Umum
*.glo-abr Umum
*.gls Umum
*.gls-abr Umum
*.glsdefs Umum
*.lzo Umum
*.lzs Umum
*.slg Umum
*.slo Umum
*.sls Umum
*.gnuplot gnuplot
*.table Umum
*-gnuplottex-* gnuplottex
*.gaux gregoriotex
*.glog Umum
*.gtex Umum
*.4ct htlatex
*.4tc Umum
*.idv Umum
*.lg Umum
*.trc Umum
*.xref Umum
*.hd hypdoc
*.brf hyperref
*-concordance.tex knitr
*-tikzDictionary TODO Hapus tanda komentar pada baris berikut jika menggunakan knitr dan ingin mengabaikan berkas tikz yang dihasilkannya *.tikz
*.lol listings
*.ltjruby luatexja-ruby
*.idx makeidx
*.ilg Umum
*.ind Umum
*.maf minitoc
*.mlf Umum
*.mlt Umum
*.mtc[0-9]* Umum
*.slf[0-9]* Umum
*.slt[0-9]* Umum
*.stc[0-9]* Umum
_minted* minted
*.data.minted Umum
*.pyg Umum
*.mw morewrites
*.newpax newpax
*.nlg nomencl
*.nlo Umum
*.nls Umum
*.pax pax
*.pdfpc pdfpcnotes
*.sagetex.sage sagetex
*.sagetex.py Umum
*.sagetex.scmd Umum
*.wrt scrwfile
*.spell.bad Ejaan
*.spell.txt Umum
svg-inkscape/ svg
*.sout sympy
*.sympy Umum
sympy-plots-for-*.tex/ Umum
*.upa pdfcomment
*.upb Umum
*.pytxcode pythontex
pythontex-files-*/ Umum
*.listing tcolorbox
*.loe thmtools

TikZ & PGF

Pola Yang diabaikan
*.dpth TikZ & PGF
*.md5 TikZ & PGF
*.auxlock TikZ & PGF
*.ptc titletoc
*.tdo todonotes
*.hst vhistory
*.ver TikZ & PGF
*.lod easy-todo
*.xcp xcolor
*.xmpi xmpincl
*.xdy xindy
*.xyc Matriks dan kerangka xypic yang diprakompilasi
*.xyd TikZ & PGF
*.ttt endfloat
*.fff TikZ & PGF

Latexian

Pola Yang diabaikan
TSWLatexianTemp* Latexian

WinEdt

Pola Yang diabaikan
*.bak berkas cadangan
*.sav WinEdt
*.bak[0-9]* latexindent.pl

Texpad

Pola Yang diabaikan
.texpadtmp Texpad

LyX

Pola Yang diabaikan
*.lyx~ LyX

Kile

Pola Yang diabaikan
*.backup berkas cadangan
.*.swp Berkas swap tersembunyi Vim

KBibTeX

Pola Yang diabaikan
*~[0-9]* KBibTeX

TeXnicCenter

Pola Yang diabaikan
*.tps TeXnicCenter
./auto/* Folder otomatis saat menggunakan emacs dan auctex
*.el TeXnicCenter
*-tags.tex Referensi maju expex dengan \gathertags
*.sta Paket mandiri

Berkas log Makeindex

Pola Yang diabaikan
*.lpz Berkas log Makeindex
*.xwm Paket xwatermark

Cara menggunakan .gitignore ini untuk TeX

  1. Salin aturan TeX di atas atau unduh langsung berkasnya.
  2. Buat berkas bernama .gitignore di direktori utama repositori Git Anda dan tempelkan aturannya.
  3. Jika sebagian berkas tersebut sudah dilacak, jalankan git rm -r --cached . lalu buat commit baru — Git hanya menerapkan aturan pengabaian pada berkas yang belum dilacak.
  4. Commit .gitignore agar seluruh anggota tim menggunakan aturan yang sama.

Templat .gitignore Alat lainnya

Lihat semua templat Alat