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

Trying out latex "Includeonly" as a way to sync information #45

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

taiya
Copy link
Collaborator

@taiya taiya commented Sep 16, 2024

No description provided.

@cr333
Copy link
Collaborator

cr333 commented Sep 17, 2024

I am using TeXLive 2023 locally and main.tex does not build the bibliography.

Specifically, I see two errors when I call bibtex main.aux:

  1. "I couldn't open auxiliary file _supplementary.aux"
  2. "I couldn't open auxiliary file _rebuttal.aux"

After I build both other documents (using the appropriate _includeonly), I see 4 errors when running bibtex main.aux:

  1. "Illegal, another \bibstyle command---line 4 of file _supplementary.aux" (\bibstyle)
  2. "Illegal, another \bibdata command---line 5 of file _supplementary.aux" (\bibdata)
  3. "Illegal, another \bibstyle command---line 4 of file _rebuttal.aux" (\bibstyle)
  4. "Illegal, another \bibdata command---line 5 of file _rebuttal.aux" (\bibdata)

I can't get this to work. Looks like the chapterbib package doesn't like reusing a single document (main.pdf) for the paper/supplement/rebuttal. Maybe this works on Overleaf, but it doesn't work for me locally and I'd expect there will be hundreds of people running into these issues locally.

Perhaps, this would work if I used bibtex _paper.aux instead of bibtex main.aux? I haven't tested this.

The most confusing thing for me is to only have a single file main.pdf that changes content, rather than having 3 separate, clearly named files like paper.pdf, supplement.pdf, rebuttal.pdf, which would be more practical.

Moreover, this also seems to make it impossible to work on the paper and supplement at the same time, e.g. by different authors working in parallel on Overleaf. This would be an undesirable regression.

What do you think about creating three standalone documents that can optionally be included in the main document, so that Overleaf can show everything in one document?

@taiya
Copy link
Collaborator Author

taiya commented Sep 20, 2024

Let me take a look later, as I'll use this template for my own submissions to give it a try.
Indeed, overleaf was seamless, but have to check TeXLive23 as well.

Actually you can generate all three simultaneously (so co-editing works).
Only when you need to submit it you'd enable includeonly.

This is standard latex, I am sure we can get it to work :)
Let me do this post ECCV.

@taiya taiya mentioned this pull request Sep 21, 2024
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

Successfully merging this pull request may close these issues.

2 participants