overleaf / overleaf/toolkit

KOMA-Script package not installed for Overleaf local instance

Open
#202 4 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
1.3k
Forks
310
Avg merge
3d 12h
Merged PRs (30d)
1

Description

Steps to Reproduce

Compile a project that uses "scrreprt" for example

Expected Behaviour

The project would compile

Observed Behaviour

The project compilation ends in fatal error and no pdf output:

This is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023) (preloaded format=pdflatex 2023.11.7)  17 NOV 2023 23:32
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**main.tex
(./main.tex
LaTeX2e <2023-11-01>
L3 programming layer <2023-11-01>

! LaTeX Error: File `scrreprt.cls' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: cls)

Enter file name: 
! Emergency stop.
<read *> 
         
l.47 ^^M
        
*** (cannot \read from terminal in nonstop modes)

 
Here is how much of TeX's memory you used:
 22 strings out of 476232
 459 string characters out of 5796466
 1923530 words of memory out of 5000000
 22072 multiletter control sequences out of 15000+600000
 558069 words of font info for 36 fonts, out of 8000000 for 9000
 14 hyphenation exceptions out of 8191
 19i,0n,29p,152b,17s stack positions out of 10000i,1000n,20000p,200000b,200000s
!  ==> Fatal error occurred, no output PDF file produced!

Context

I just followed the Quick Start Guide and everything went fine. I can compile simple projects. But any project that depends on KOMA-Script package doesn't work. I tried to add "scrreprt.cls" manually and then I got another error related to another KOMA-Script package dependency like "scrkbase.sty".

Technical Info

Windows 10

Code

This is where the error occours:

\documentclass[ twoside,openright,titlepage,numbers=noenddot,headinclude,%1headlines,% letterpaper a4paper
                footinclude=true,cleardoublepage=plain,abstractoff, % <--- obsolete, remove (todo)
                BCOR=5mm,paper=a4,fontsize=11pt,%11pt,a4paper,%
                portuguese,
                dottedtoc, % adicionar pontinhos na lista de conteúdos
                ]{scrreprt}

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with doc/quick-start-guide.md and reproduce the failure using the main.tex example that loads scrreprt. Trace how the local instance supplies TeX packages and check the KOMA-Script dependencies, including scrkbase.sty. Done means a project using scrreprt compiles without manually adding class or style files.

Written by the indexing model from the issue text.

Assessment

Tech stack
latex
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.