> 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/latex/sv/fragor-och-svar/78-my-submission-was-rejected-by-the-journal-because-font-xyz-is-not-embedded-.-what-can-i-do.md).

# Min inlämning avslogs av tidskriften eftersom "Teckensnitt XYZ är inte inbäddat". Vad kan jag göra?

Detta orsakas sannolikt av det mycket fruktade problemet "font-not-embedded" med vissa PDF-/EPS-grafikfiler i ditt projekt, eftersom programmet som skapade dem inte bäddade in typsnitten i typsnitten: se [den här länken för några bakgrundsdetaljer (särskilt punkt nr 2)](http://tex.stackexchange.com/a/255097/226).

> När det gäller typsnitten: Här är det mest sannolikt grafikfiler, antingen i eps- eller pdf-format. Om du har en grafik med text som inte också innehåller typsnittet, kommer typsnittet också att saknas i dokumentet. Du har i princip två val här: a) I det verktyg du använder för att skapa grafikfilerna, leta efter ett alternativ för att uttryckligen bädda in typsnitten i den exporterade grafiken. b) Exportera texten inte som text utan som kurvor. Om det inte finns någon text kan inga typsnitt saknas (ful lösning).

Mer information:

* <https://machinelearning1.wordpress.com/2013/03/22/create-eps-file-from-matlab-figures-with-embedded-fonts/>
* <https://sites.google.com/site/xyzliwen/resource/embed_font_ieee_pdf_explore>

Den bästa lösningen är att se till att dina PDF-bilder exporterades från sina ursprungliga program med [alternativet att bädda in alla typsnitt](http://www.latex-community.org/forum/viewtopic.php?p=43537\&sid=bb0b021e3acac54742fecbcb91713fed#p43537). Om du till exempel genererar bilder med R kan du använda [`embedFonts` metoden](https://stat.ethz.ch/R-manual/R-devel/library/grDevices/html/embedFonts.html) (även [här](http://zevross.com/blog/2014/07/30/tired-of-using-helvetica-in-your-r-graphics-heres-how-to-use-the-fonts-you-like-2/) och [här](http://r.789695.n4.nabble.com/Automatic-way-to-embed-fonts-into-all-pdf-output-td4666773.html)).

Alternativt kan du låta Overleaf efterbehandla PDF:en åt dig, även om detta kan göra att ditt projekt tar lite längre tid att kompilera. Först lägger du till en fil som heter `latexmkrc` (utan filändelse) i ditt projekt, och klistra sedan in följande rad i den filen:

```
$pdflatex = 'pdflatex %O %S; ps2pdf14 -dPDFSETTINGS=/prepress %B.pdf %B-embed.pdf; mv %B-embed.pdf %B.pdf';
```

Du kan behöva göra någon liten ändring i din `.tex` fil för att utlösa en omkompilering och för att efterbehandlingen ska ske.


---

# 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/latex/sv/fragor-och-svar/78-my-submission-was-rejected-by-the-journal-because-font-xyz-is-not-embedded-.-what-can-i-do.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.
