> For the complete documentation index, see [llms.txt](https://overleaf-pro.ayaka.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://overleaf-pro.ayaka.space/on-premises/tr/bakim/extending-tex-live.md).

# TeX Live'ı genişletme

Mevcut bir TeX Live imajını yeni bir Dockerfile kullanarak genişletmek ve uygulamayı yeni imajı kullanacak şekilde yapılandırmak mümkündür.

Burada yeni paketler veya yazı tipleri kurmak için bazı yönergeler sunuyoruz, ancak özel bir imajın yapılandırılması destek kapsamımızda değildir.

TeX Live imajları seyrek güncelleme alır. Server Pro'yu yükseltirken özel imajları yeniden oluşturmanızı öneririz.

{% hint style="danger" %}
Aşağıdaki bölümler Server Pro ve [Korumalı Derlemeler](broken://pages/e85dee05d4a1e0c3c0c485db7d507310f21a7743) yalnızca.
{% endhint %}

### Yeni paketlerin kurulması ve güncellenmesi

Şunu kullanabilirsiniz `tlmgr` gibi komutları `tlmgr install` ve `tlmgr update` aşağıdaki örnekteki gibi Tex Live paketlerini yönetmek için:

```dockerfile
FROM ghcr.io/ayaka-notes/texlive-full:2023.1

RUN tlmgr update --force ebproof
```

### Kullanma `tlmgr` eski bir TeX Live imajında

Varsayılan olarak `tlmgr` en son TeX Live sürümünden kaynakları indirir. Eski bir TeX Live imajı yamalanırken, indirmelerin ilgili arşive yönlendirilmesi gerekir. Arşivlerin listesini şurada görün <https://www.tug.org/historic/> arşiv aynaları için.

```dockerfile
FROM ghcr.io/ayaka-notes/texlive-full:2022.1

RUN tlmgr option repository <MIRROR>/systems/texlive/<YEAR>/tlnet-final
# örn. RUN tlmgr option repository ftp://tug.org/historic/systems/texlive/2022/tlnet-final

RUN tlmgr update --force ebproof
```

### Yeni yazı tiplerinin kurulması

Bir Tex Live dağıtımına yeni yazı tipleri kurmak için farklı yöntemler vardır ve özel bir yazı tipi kurmak birkaç adım gerektirebilir. Şu kaynağı kontrol etmek [TeX yazı tiplerini kurma talimatları](https://tug.org/fonts/fontinstall.html) resmî Tex Live belgelerinde muhtemelen iyi bir başlangıç noktasıdır.

Aşağıdaki `Dockerfile` mevcut bir Tex Live 2022 imajının üzerine bir TrueType yazı tipi kurmaya örnek gösterir:

```dockerfile
FROM ghcr.io/ayaka-notes/texlive-full:2022.1

COPY ./myfonts/*.ttf /usr/share/fonts/truetype/myfont/

# yazı tipi bilgi önbelleğini yeniden oluştur
RUN fc-cache
```

### Server Pro'nun yeni imajları kullanacak şekilde yapılandırılması

Şu adı kullanın `ghcr.io/ayaka-notes/texlive-full` ve yeni imajı oluşturmak için özel bir etiket kullanın, örneğin:

```bash
docker build -t ghcr.io/ayaka-notes/texlive-full:2023.1-custom
```

Artık Server Pro'yu yeni `2023.1-custom` imajı kullanacak şekilde, şu öğeleri güncelleyerek yapılandırabiliriz: `TEX_LIVE_DOCKER_IMAGE` ve `ALL_TEX_LIVE_DOCKER_IMAGES` ortam değişkenleri:

{% code overflow="wrap" %}

```
TEX_LIVE_DOCKER_IMAGE: "ghcr.io/ayaka-notes/texlive-full:2023.1-custom"
ALL_TEX_LIVE_DOCKER_IMAGES: "ghcr.io/ayaka-notes/texlive-full:2023.1,ghcr.io/ayaka-notes/texlive-full:2023.1-custom"
```

{% endcode %}

Yukarıdaki örnekte, yeni projeler varsayılan olarak yeni `2023.1-custom` imajı kullanacak şekilde ayarlanır, iken `2023.1` gerektiğinde hâlâ kullanılabilir.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://overleaf-pro.ayaka.space/on-premises/tr/bakim/extending-tex-live.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
