Overleaf: Compile does not work if files are included through git submodules

Created on 4 Nov 2015  路  5Comments  路  Source: overleaf/overleaf

I use a common Settings repo for multiple other repos, which contains several tex files.
If I include this repo (as a submodule) in one of my project repos and try to compile it with sharelatex, the compilation fails due to missing files (the files from that setings repo).

enhancement

Most helpful comment

This would be a hugely important feature for me. I have a bunch of related documents that I would like to share some common styling files. I use GitHub sync and added the common files as a submodule locally on my PC only to realise there is no way to call git submodule update --init from within Overleaf.

The .gitmodules file appears in Overleaf, so perhaps Overleaf could provide an Initialise button (git submodule update --init) and an Update button (git submodule update) somewhere, perhaps under Menu>Sync>Git, if such a file is present.

If just those two options were available I could manage all other aspects of the submodules locally on my PC.

All 5 comments

What is the status of this? It has now been over 1.5 years and the sync feature is kind of useless when you have standardised files as part of a submodule.

Personally, missing this feature was a deal breaker for me, so I stopped using sharelatex (long ago).

Are there any plans to support git submodules in overleaf? A lot of latex projects reuse bib files across repositories with the help of submodules.

This would be a hugely important feature for me. I have a bunch of related documents that I would like to share some common styling files. I use GitHub sync and added the common files as a submodule locally on my PC only to realise there is no way to call git submodule update --init from within Overleaf.

The .gitmodules file appears in Overleaf, so perhaps Overleaf could provide an Initialise button (git submodule update --init) and an Update button (git submodule update) somewhere, perhaps under Menu>Sync>Git, if such a file is present.

If just those two options were available I could manage all other aspects of the submodules locally on my PC.

I use the git submodule to store BibTeX files for reusing. But after I paid for the subscription, I found it does not support submodules at all.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

marcAC picture marcAC  路  6Comments

neel picture neel  路  6Comments

ferdn4ndo picture ferdn4ndo  路  5Comments

adrianvb picture adrianvb  路  5Comments

vinaysb picture vinaysb  路  8Comments