Questions tagged [versions]
About the versions package that allows optionally including/excluding {environments}.
40
questions
0
votes
0
answers
53
views
texlive incompatible version
I am trying to install TexLive 2019 by:
Download install-tl-unx.tar.gz from http://tug.org/texlive/pkginstall.html
gunzip install-tl-unx.tar.gz
tar -xf install*
./install-tl --no-verify-downloads
...
0
votes
0
answers
15
views
Redefine commands with the versions package [duplicate]
The versions package doesn't seem to allow you to renew commands. Is there a way around this?
\documentclass{standalone}
\usepackage{versions}
\newcommand{\test}{original}
\includeversion{updated}
\...
0
votes
0
answers
34
views
Automatic change tracking and version with git? [duplicate]
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 ...
0
votes
0
answers
32
views
How to make different versions of a document
P.S.
If my title looks confusing I would appreciate if someone can phrase it better.
I am in the process of making around 3 manuals that have the same introduction, and the first few sections. ...
1
vote
0
answers
37
views
passing version option to package loaded by class
With the latest changes made to siunitx, I would like the pass the version option =v2 to the package. However the class I use is the one loading the package not my document.
I know I can use \...
0
votes
2
answers
59
views
How can I make my source adapt to changes in the names of commands in different versions of a package?
I am trying to compile a document on two systems (one is Overleaf) and they appear to have differences in their texlive installation, specifically in the version of the acro package. On one system, I ...
0
votes
0
answers
292
views
Has TexStudio an integration with git for control version?
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: ...
0
votes
0
answers
107
views
How to Change Latex texlive/2020 but not 2019?
I installed the 2020 version from the official source via MacTex.pkg on MacOS. But the latex version is still 2019.
I need a package called capt-of.sty but not found, showed as below:
! LaTeX Error: ...
0
votes
1
answer
218
views
latex conditional include input files
I have the following latex file structure (for a good reason) and I would like to use preamble in both main.tex and other_main.tex
|-main.tex
|-subsections
|-preamble.tex
|-input1.tex
|-...
1
vote
1
answer
3k
views
Error related to latexmk when compiling with LaTeX Workshop
I work with LaTeX Workshop in VS Code and have just switched from MikTex to TexLive. But it seems that there is something wrong when I compile with the LaTeX Workshop like this:
The output is as ...
1
vote
1
answer
83
views
Latex versions package with a "shortcut" command
I want to create multiple versions of the same exercises sheets (teacher, students, solutions, hints,...). So I'm trying to use the "versions" package.
As I have to do it twice a week, I want to ...
0
votes
0
answers
50
views
Typesetting with different values of a boolean [duplicate]
In my document I have defined a few booleans (like etu in order to hide some parts of the document for the students, or mono which activates the monochrome option of xcolor).
My aim is now to provide ...
1
vote
1
answer
107
views
How to maintain several versions of a document in a single LaTeX file?
I want to maintain several versions of my CV in a single LaTeX file, for example:
version "period1": from 2014 to 2016
version "period2": from 2017 to 2019
version "all": from 2014 to 2019
Until now ...
1
vote
1
answer
106
views
How do I get the new REVTEX style for APS Journals?
The style for REVTEX 4-1 does not match the style of the journal, or it does not have a style for newer journals such as Physical Review X or Physical Review Applied. How do I get the right style?
14
votes
3
answers
642
views
How can I detect which tikzmark version I'm using?
With \listfiles we can easily list the current version of all the packages loaded.
But it doesn't tell anything about the version of the TikZlibrary tikzmark.
How can I detect it?
The problem is, ...
3
votes
1
answer
1k
views
What pdflatex version and what arguments does overleaf use? [closed]
I have a code which works fine in overleaf but not on my local computer. Regardless of what is wrong with my code, What pdflatex version and what arguments does overleaf use?
I followed the log that ...
0
votes
0
answers
47
views
Tex version and overfull boxes
I'm working on a paper with a collaborator and I've noticed that the number of overfull boxes is different whether I compile the document or he does. It's also not the same whether I compile it from ...
7
votes
1
answer
228
views
Understanding CTAN versions, release dates and announcements
I am looking at https://ctan.org/pkg/sciposter where I see that the package version is 1.18 but the most recent announcement in the right sidebar is that of v1.17.
I am trying to understand how these ...
0
votes
0
answers
682
views
Install LyX 2.3 through Cygwin on Windows
When I tried to open a document on my office's computer (Windows) that I had previously modified on my personal one (Ubuntu), I couldn't because the Ubuntu version of LyX was more recent (2.3.0 ...
0
votes
0
answers
382
views
The same tex file working in old version is not running in latest version [duplicate]
A very old version of LaTeX was installed in my computer. Recently, I removed that old version and have installed the latest TeXstudio 2.12.8. But the files which were running in the old version ...
3
votes
1
answer
4k
views
Biblatex version too high (3.10) for biber version (2.7) [closed]
I am using TexMaker in High Sierra MacOS with mactex and TexLive installed and apparently updated. When I try to compile, I have the message that the versions of Biblatex (3.10) and Biber (2.7) are ...
0
votes
1
answer
48
views
ShareLaTeX - Nested 'Main'
I'm trying to create the version / revision copies within the ShareLatex structure itself. I would like to know if there is a way to nest 'main' inside each folder and compile that folder alone. If ...
2
votes
1
answer
596
views
how to update a versioned \RequirePackage
After an upgrade of Texlive from Debian/testing, the following no longer works:
\RequirePackage[ngerman=ngerman-x-2014-05-21]{hyphsubst}
How to update this command?
How to find out the date of the ...
0
votes
1
answer
86
views
How can I use versions.sty to change a section header?
I am trying to have different section headers in different versions of a document using versions.sty (0.55). I get and error while compiling; here is a MWE :
%!TEX encoding = UTF-8 Unicode
%!TEX TS-...
0
votes
1
answer
533
views
Need to point "pdflatex" etc. to the official install rather than Apt install
I have just installed the texlive-full 2016 using install-tl on Ubuntu 16.04. I then installed TeXMaker, which appears to have installed the basic texlive 2015 version over the top of the 2016 ...
2
votes
2
answers
690
views
Latex optional text and footnotes
Sometimes I am writing for two audiences. I have a complete document with extra footnotes and perhaps extra background paragraphs for an ordinary reader. And another version that omits this background ...
1
vote
1
answer
63
views
Reference to figures with conditional caption (depending on the version)
I use the versions package for conditional content. However it doesn't work for references with varying captions (i.e., which depend on the version). Here is a MWE
\documentclass[a4paper,11pt]{...
0
votes
1
answer
767
views
Minted / xkeyval packages version issue? numberblanklines undefined
In a completely fresh and updated installation of MikTeX (minted v2.4 and xkeyval v2.7a) I run into a problem using the numberblanklines argument. I guess it is version issue because in an older ...
5
votes
3
answers
2k
views
Two versions from same tex file
I'm writing a LaTeX text, but I need two versions of the same text, one normal and one with some more comments inside the text. How can I write both the versions using the same TEX file?
To be more ...
2
votes
1
answer
72
views
How to maintain LaTeX environment, packages, etc. between different machines?
I have several different computers that I work from; local workstations, remote servers, home personal machines, etc. How do you maintain some semblance of software version control across them so that ...
15
votes
2
answers
11k
views
How to use fixltx2e only when necessary
I've been using the fixltx2e package for a while, with a tweak described here on the site. Recently, this has gotten me the following error message:
Package fixltx2e Warning: fixltx2e is not ...
3
votes
0
answers
1k
views
Using latexdiff with TortoiseHg
I am using TortoiseHg to track my Thesis document, and latexdiff to track differences in the document. To avoid saving the previous versions, I would like to combine latexdiff with tortoise (...
8
votes
2
answers
5k
views
Am I using LaTex2e?
I am about to prepare a paper for a conference. In the template that given to me from the conference owner says " Only if you use \LaTeXe{} can hyperlinks be generated in the online version of your ...
4
votes
1
answer
185
views
Package `Versions' Warning: Redefining environment
I am using the versions.sty package and would like to process some text twice (or more times) in a different version configuration, but within the same document. So I use \excludeversion and \...
28
votes
2
answers
2k
views
What does the output of TeX/LaTeX depend on (in the sense of version and distribution)
I knew in advance that the output of tex, pdftex, latex, pdflatex and so on, depends on the version of that given program. This, of course, makes a lot of sense. Until now, I have not given it a lot ...
1
vote
1
answer
265
views
Multiple LaTeX installations [duplicate]
The first time I installed LaTeX was in /usr/share/texmf-texlive (~600MB).
Yesterday I installed TeX Live from apt-get, I simply don't know where it has been installed (~1GB).
Today I installed Tex ...
1
vote
1
answer
144
views
Versions package producing unexpected behavior
I want to create a package for formatting problem sets. Also, I want an easy way to produce versions with the problem statement and the solutions and versions with only the problem statements. I have ...
9
votes
1
answer
1k
views
Automatic branching for versions and git
I am writing my PhD thesis and as I am not the least chaotic guy I also add notes for future reference. Surely, this means it is not production grade, or how you would like to call it.
There is a ...
3
votes
2
answers
612
views
How to use an environment defined by the versions-package inside another environment
When I use the versions package to conditionally exclude content like this:
\documentclass{article}
\usepackage{color}% just as example
\usepackage[tracing]{versions}
\excludeversion{vers}% opposite ...
7
votes
2
answers
560
views
marking conditional versions with line in margin
I have two versions of a document, which I have implemented using the versions package. So I can use \includeversion/\excludeversion to generate the different versions from the same source.
I would ...