Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can the adsphd class be used in Overleaf? #107

Open
dudris opened this issue Jan 4, 2022 · 4 comments
Open

Can the adsphd class be used in Overleaf? #107

dudris opened this issue Jan 4, 2022 · 4 comments

Comments

@dudris
Copy link

dudris commented Jan 4, 2022

No description provided.

@khendrickx
Copy link

Yes, I can confirm that Overleaf is compatible with the template. Simply copying this repository to an Overleaf project should work if thesis.tex is set as the main document.

@Mbrchnelova
Copy link

Dear @khendrickx , I have tried using it on overleaf but get multiple errors of the form:


I can't write on file `chapters/preface/preface.aux'.

‪adsphd-master2/thesis.tex, 117‬
\@include ...mmediate \openout \@partaux "#1.aux" 
                                                  \immediate \write \@partau...
l.117 \includepreface{preface}
                              
(Press Enter to retry, or Control-D to exit; default file extension is `.tex')
Please type another output file name
! Emergency stop.
\@include ...mmediate \openout \@partaux "#1.aux" 
                                                  \immediate \write \@partau...
l.117 \includepreface{preface}

even older compilers (down to 2016) do not work. Do you please know how to resolve these issues?

Best,

@p-ortmann
Copy link

Had the same issue. For me, it had to do with the directory structure.
If you have a folder in overleaf, which contains all the repository files, like this:

.
    ├── upperfolder                  
    │   ├── chapters        
    │   └── thesis.tex              
    │   ├── adsphd.cls         
    │   ├── ...          

The /include statements in adsphd.cls break. The chapters folder doesn't exist in the upper directory.
To fix this you can either change the chaptersdir variable in adsphd.cls to upperfolder/chapters or just upload a zip with a flat directory structure.

Hope this helps!

@Mbrchnelova
Copy link

Yes, it worked, thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants