Skip to main content

Questions tagged [git]

{git} is an extremely fast, efficient, distributed version control system ideal for the collaborative development of TeX documents. However, please consider that questions unrelated to the TeX use itself may be off-topic here.

Filter by
Sorted by
Tagged with
0 votes
1 answer
204 views

Problem I am encountering a problem which has already been raised in this site: Can't locate Algorithm/Diff.pm in @INC (you may need to install the Algorithm::Diff module) Can't locate Algorithm/Diff....
Daneel Olivaw's user avatar
0 votes
1 answer
54 views

Say we have a LaTeX document for beamer presentation \documentclass{beamer} ... \end{document} Now if I want to make a handout of it, I have to manually change this file to \documentclass[handout]{...
null's user avatar
  • 383
2 votes
1 answer
121 views

I'm looking for a Git GUI to work with diffs of LaTeX texts. Typically, Git tools are designed for source code, where we don't have long lines of text. This is not the case for LaTeX documents, where ...
radix's user avatar
  • 123
0 votes
1 answer
601 views

I get this error when I try to push to or pull from github: "Must supply either tree.sha or tree.content. Request will be rejected if both are present." How could I fix this? There doesn't ...
berlaga's user avatar
0 votes
1 answer
110 views

Using gitinfo2 (or another solution), can I loop through the list of git tags to create a full revision table for the one tex file I am compiling ? (if need be, it can be scripted and then integrated ...
22decembre's user avatar
1 vote
0 answers
246 views

I am using TeXstudio with LaTex on Windows I also know about Git. In fact, I use Git to collaborate on RStudio but on TeXstudio I cannot. While typing on TeXstudio on my own without collaboration, I ...
Daniel James's user avatar
  • 1,049
0 votes
1 answer
782 views

I'm used to typing typographically correct English quotation marks as follows: ``text goes here" In usual LaTeX documents this will work, no questions asked. When I use Markdown in Jupyter ...
TiMauzi's user avatar
  • 879
1 vote
1 answer
644 views

I can’t make LyX work with Git. I followed the guidelines in section 7.2.6 in the "Additional Features" LyX manual, but once the git repo is created for the document, and I try to register ...
Louis's user avatar
  • 335
1 vote
0 answers
104 views

I want to git add file.tex and git commit -m ‘successful compile’ (or similar) every time LatexMk successfully completes building a PDF. I'm guessing I can put something in latexmkrc, but my Perl-foo ...
gaelicWizard's user avatar
2 votes
2 answers
2k views

I would like to update my CV and add also icons for linking, google schola, email, git and website. I would like to be in the top right place, something like that Name IconWebsite ...
John Angelopoulos's user avatar
4 votes
0 answers
408 views

How do you use texstudio with github now that texstudio have native git support I don't know what are the options as the answers relate to older versions of texstudio without git support. Thank you.
Adrik Ivanov's user avatar
2 votes
1 answer
2k views

I'm writing my master thesis in LaTeX and I'm using Git and Github for version control. To compile it on my laptop, I have this Makefile and to compile it -- I just run make and everything works fine. ...
Z123's user avatar
  • 53
1 vote
0 answers
321 views

I am currently working with a team to create a large latex report document (over 200 pages) where we need to include many images. We are supposed to use Git as version control to collaborate better. (...
molly's user avatar
  • 11
1 vote
0 answers
2k views

I have installed Overleaf in the free version on my server. Everything works fine. Is it anyhow possible to connect Overleaf with my Github and hence store my paper there as well? Just in case my ...
user avatar
2 votes
1 answer
416 views

I am working on a macro which will build revision history table in my document using Git tags. Each published version of my document has a tag with short description. I want to use them to ...
MaciekS's user avatar
  • 297
0 votes
0 answers
38 views

I am looking for a LaTeX IDE for Windows 10. I see that only TexStudio has an SVN/Git option in the menu. However, it is unable to checkout from BitBucket. Which LaTeX IDE is freeware, has a built-in ...
user366312's user avatar
0 votes
0 answers
286 views

I have a package of commands commands.sty on github. Is there a way that I can point TexLive to this github repository so that I can use \includepackage{commands} in any local document? So far, I've ...
rrrrr's user avatar
  • 523
0 votes
2 answers
314 views

I've forked the github repo for a package that is on CTAN and distributed with TeXLive. I'd like to do some development on it, and use it locally before committing back. This seems a pretty standard ...
Colin's user avatar
  • 243
0 votes
0 answers
44 views

Is there a integration between LaTeX and git to handle proper documentation versioning? My goal would be to track changes and revision of a document in git. And when the document is built the goal ...
ygini's user avatar
  • 11
1 vote
1 answer
328 views

For the last few years I have successfully used A TeXstudio script on a Fedora Linux system, inspired by https://ritm.knu.ua/general/how-to-use-git-with-texstudio/ that allowed me to commit changes to ...
ingli's user avatar
  • 939
1 vote
1 answer
741 views

What is the best way to get git-latexdiff to work nicely with texcount to view changed and deleted word counts between two commits?
Paul's user avatar
  • 616
0 votes
0 answers
501 views

I use the git feature in Overleaf to mirror the repo containing the document to my own server. We have a code review system where every commit has to be confirmed by another team member. Overleaf ...
mnagel's user avatar
  • 129
1 vote
1 answer
218 views

Completely new to LaTeX environment. So I'm using TexMaker for my Masters thesis. I thought I set it up correctly but this issue keeps cropping up. First, there is one instance if when I use \gls{...
user244717's user avatar
0 votes
1 answer
336 views

I've stumbled upon Madoko that merges markdown and LaTeX features into a kind of markdown syntax beefed up with $\LaTeX$ superpowers for maths, structuring, x-references, bibliography, etc. I am ...
Samusz's user avatar
  • 13
1 vote
2 answers
4k views

I am using GitHub to manage my Latex project. When I want to commit my .tex files, git will change the line endings from "LF" to "CRLF". Can this cause any kind of problems? I use ...
mariusr's user avatar
  • 13
4 votes
1 answer
3k views

I am writing a project on Overleaf and have a local copy via git. I did some local changes and now my local version is out of sync with the Overleaf one. I tried to git push --force my local changes (...
a06e's user avatar
  • 1,148
0 votes
1 answer
582 views

I am working on a LaTeX document with LuaLaTeX and try to include git information in the document to make it easier to find the correct version once I stumble over a printed copy. With the help of ...
Gunter's user avatar
  • 473
0 votes
2 answers
2k views

My friend and I, are going to work on a paper. I'm using overleaf right now. However, due to some limitation, we prefer to switch to Texstudio. The problem is how to sync the .tex file in my computer ...
Majid's user avatar
  • 219
5 votes
1 answer
710 views

I am collaborating in an Overleaf project where I use git to work locally while my colleagues work directly on the browser. On top of editing, they also use Overleaf's comments (see url) to talk to ...
Claudenir Fonseca's user avatar
3 votes
1 answer
689 views

Suppose I have a LaTeX repo, which contains main file and lots of image files, also in LaTeX format (with tikz inside). I would like to achieve multiple goals: Separate compilation. All images can be ...
Nikita Rudenko's user avatar
2 votes
0 answers
166 views

I am running latexdiff on a file in a git repository with the following command latexdiff-vc --git --force -r Versioning.tex --pdf it starts but then the following message appears Generated difference ...
Szymon's user avatar
  • 41
9 votes
1 answer
5k views

I came across a comment under this answer https://tex.stackexchange.com/a/26530/133604 : What's the difference between pdfproducer and pdfcreator? Now, a lot of examples regarding the usage of ...
el_tenedor's user avatar
1 vote
0 answers
1k views

I use latexdiff-vc -r paper\paper.tex to diff my current .tex file relative to the version most recently committed to a Git repo. If citations do not change between versions, this command works great. ...
Richard Herron's user avatar
1 vote
0 answers
298 views

Which online latex editor is capable of synchronizing with a github repository containing latex sources?
Atiyah Elsheikh's user avatar
1 vote
2 answers
2k views

Is there a way to use git commands with an overleaf project? Currently, I see an option to push and pull from github, but nothing more. I have workaround (listed below) for some commands, but I was ...
Vipin Verma's user avatar
0 votes
2 answers
366 views

I am facing this issue while I am trying to use \import command from latex. I have nested document which is compiling on GitLab pipeline. My configuration uses sub-modules also. Please see the error ...
Onur Gürdoğan's user avatar
0 votes
0 answers
62 views

I created my own class and style files and have them in my $HOME/texmf/tex/latex/local/ directory. They form the basis for all my documents. The problem is, these style files are changing often, as I ...
Manuel Schmidt's user avatar
0 votes
0 answers
1k views

Has TexStudio a kind of integration with git or any other software for control version? Wanted Feature: I would like to select a specific commit and then compile the code. I normally do this manually: ...
Leos313's user avatar
  • 729
5 votes
1 answer
2k views

I want to write some of my notes in blog format. I want to use my own domain with an github.io-provided static website. I don't know whether I can setup Wordpress there, so Trevisan's latex2wp is ...
Daniel Paleka's user avatar
1 vote
0 answers
347 views

Is there a predefined highlighting style that I could use with package listings so that output from git commands like git diff, git log can be highlighted as they show up on the terminal (added lines, ...
eftshift0's user avatar
  • 175
1 vote
1 answer
191 views

I managed to get SVG to work with LuaTeX. However, in my working folder, there's a new folder named svg-inkscape. Is this a mandatory folder? Can I ignore it, and if so, is there a proper .gitignore ...
Minh Nghĩa's user avatar
0 votes
0 answers
2k views

I tried to add some basic git commands to my TexStudio build step. Unfortunately, this does not seem to be as straightforward as I thought. As you can see in the picture, I tried adding my custom ...
AndiLeni's user avatar
  • 301
1 vote
1 answer
3k views

I don't know if this is a stupid question. Since now GitHub allows unlimited private repositories and I often write reports with LaTeX, I'd like to push my local repositories to GitHub as backups. ...
C.K.'s user avatar
  • 158
0 votes
0 answers
170 views

I have TL2019 installed. Is it possible to clone and build the latest luatex from git, rebuild the lualatex format, and then work with that instead of TL2019's own lualatex? I'm specifically ...
Mark van Atten's user avatar
3 votes
0 answers
453 views

So, I made this shell script that can be called from TexStudio, The scripts calls git to add and commit files with the current date, and then push them to GitHub. I want to improve it's functionality ...
Pål Bjartan's user avatar
0 votes
1 answer
472 views

I am discussing code which is in version control and would like to specify which version of the code to include. I did some research and found packages like gitlatex and gitinfo, but though useful, ...
927589452's user avatar
  • 118
11 votes
1 answer
3k views

I linked an Overleaf project to GitHub. Then I changed the name of the repository on GitHub. How does one change or unlink an Overleaf project from GitHub once it's been linked?
biochemist's user avatar
10 votes
1 answer
17k views

I have a github page. I have a school project that I want to display in my Github page. There are several equations and figures related to this project. How could I write down this equation and draw ...
Encipher's user avatar
  • 548
23 votes
4 answers
6k views

I use Git to track changes on my TEX files. When producing a PDF, it would be nice to include the current branch and commit ID somewhere in the document (e.g. on the title page or in a footer). I ...
CL.'s user avatar
  • 931
2 votes
2 answers
1k views

I write my PhD thesises in LaTeX. Now I try to use git to track my project. Can somebody advice me good workflow of this process? Is it good idea to track image files and resulting .pdf by git?
Ybrs's user avatar
  • 75