TransWikia.com

Using a class document from the parent folder and prevent warnings

TeX - LaTeX Asked by jfernandz on June 22, 2021

Well, first I’m aware there are similar questions, in particular I’ve read this one and it was useful because I’ve solved my problem by using

ProvidesClass{../mydocumentclass}

But I’m not sure this is a real solution, my project tree is the following:

myproject
├── mydocumentclass.cls
├── english_version/main_english.tex
├── spanish_version/main_spanish.tex

So the point isn’t to have several document classes for the same project (stored in a folder called Classes as in the referenced question), but the same document class for two different versions.

Of course I’d like to share the document class between them and I wouldn’t like to have mydocumentclass.cls duplicated

Another option that I didn’t tried is to make symbolic links. The point is I don’t like this behaviour where you can provide a doc class called ../mydocumentclasss but then the command documentclass[]{} will interpret ../ as the parent folder.

What do you think?

EDIT:
I’ve seen also this other answer but my idea is to do this from the tex code itself, I mean, no depending on the environment.

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP