Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [versions]

About the versions package that allows optionally including/excluding {environments}.

Filter by
Sorted by
Tagged with
0 votes
0 answers
35 views

How to mask \begin and \end in the versions package?

With the versions package, a version switch foo can be created to turn on/off the text that is written within the foo environment. My goal is to create new commands \mybegin and \myend, which mask the ...
cero's user avatar
  • 221
1 vote
1 answer
22 views

How to add tikz-cd diagrams together with the package "versions"? [duplicate]

I would like to know how to use tikz-cd inside a "processifversion" environment. Compiling the following code, I get an error message saying "Undefined control sequence." \...
Doug Liu's user avatar
  • 155
1 vote
0 answers
107 views

Document with multiple versions

I would like to deal with two different versions of an exam, namely vA and vB. These two versions would differ by content and but also by title, as you can see from the example I included here below. ...
avati91's user avatar
  • 175
3 votes
2 answers
81 views

Color coding with versions package

I use the package versions to manage multiple similar versions of my tests and answer keys. I would like to be able to color code them so that I can easily compare each version while looking at one ...
VMarth's user avatar
  • 33
0 votes
1 answer
64 views

The left brace (\left{) is set in a different math version than the rest of the formula

I just want to get only $\left \{$ in "Spec math version", all inside and outside have to be back to "OK version". My attempt: \documentclass[a4paper,openany,12pt]{amsbook} \...
Chau Long's user avatar
3 votes
0 answers
45 views

Error with package versions

In a large document of mine I encountered a strange error, which I reduced to this MWE The environment NormalText is excluded, so I expect that nothing in it appears in the output. The peculiar thing ...
Jack's user avatar
  • 1,137
0 votes
2 answers
103 views

Linux Mint--Isolate or un-install synaptic-pkg TeXLive from "vanilla" TeXLive (from DVD)

This question is a follow-on from my prior question re: TLMGR (updating via TLMGR). Concise summary: Clean-install of Mint 21.1 (Cinnamon, 64-bit) performed an un-requested install of the synaptic-...
Birdman's user avatar
  • 145
2 votes
1 answer
63 views

Adding custom class version to document

I like to add the version information of my documentclass to the document. \ProvidesClass{myclass}[2022/10/27 v1.12 MyClass] In the PDF: 2022/10/27 v1.12 MyClass How can i do that?
flymg's user avatar
  • 179
3 votes
1 answer
192 views

Creating two versions of a slide deck

I use beamer to prepare lecture slide decks for my classes. The solution, after the initial pain (far in excess of Keynote), works well, as it allows slide re-use in a fairly straightforward manner. I ...
user2751530's user avatar
  • 1,102
0 votes
0 answers
190 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 ...
V Li's user avatar
  • 31
0 votes
0 answers
38 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 ...
ygini's user avatar
  • 11
0 votes
0 answers
63 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. ...
jxhyc's user avatar
  • 1,141
1 vote
0 answers
83 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 \...
ArTourter's user avatar
  • 17.4k
0 votes
2 answers
96 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 ...
EL_DON's user avatar
  • 231
0 votes
0 answers
860 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: ...
Leos313's user avatar
  • 649
0 votes
0 answers
209 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: ...
outsider's user avatar
  • 135
0 votes
1 answer
453 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 |-...
Tim's user avatar
  • 103
2 votes
2 answers
6k 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 ...
Haochen Sun's user avatar
1 vote
1 answer
156 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 ...
Julia Fatou's user avatar
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 ...
jowe_19's user avatar
  • 939
1 vote
1 answer
145 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 ...
mfrade's user avatar
  • 23
1 vote
1 answer
138 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?
Anonymous Physicist's user avatar
14 votes
3 answers
723 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, ...
CarLaTeX's user avatar
  • 64.3k
3 votes
1 answer
2k 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 ...
Dozam's user avatar
  • 33
0 votes
0 answers
50 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 ...
Seub's user avatar
  • 400
7 votes
1 answer
249 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 ...
Lone Learner's user avatar
  • 3,246
0 votes
0 answers
695 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 ...
bixiou's user avatar
  • 73
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 ...
user149054's user avatar
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 ...
Carmen's user avatar
  • 31
0 votes
1 answer
51 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 ...
Manny's user avatar
  • 21
2 votes
1 answer
647 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 ...
Joachim W's user avatar
  • 762
0 votes
1 answer
104 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-...
A.G.'s user avatar
  • 457
0 votes
1 answer
619 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 ...
GlenS's user avatar
  • 103
2 votes
2 answers
897 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 ...
Jay's user avatar
  • 815
1 vote
1 answer
69 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]{...
Esteban Zimanyi's user avatar
0 votes
1 answer
977 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 ...
Sickboy's user avatar
  • 239
7 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 ...
leonardo vet's user avatar
2 votes
1 answer
84 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 ...
user5359531's user avatar
14 votes
2 answers
13k 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 ...
einpoklum's user avatar
  • 12.4k
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 (...
user2536125's user avatar
  • 1,165
8 votes
2 answers
6k 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 ...
WhoCares's user avatar
  • 311
4 votes
1 answer
238 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 \...
Andrzej Wąsowski's user avatar
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 ...
Kristian's user avatar
  • 1,131
1 vote
1 answer
303 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 ...
HAL9000's user avatar
  • 493
1 vote
1 answer
174 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 ...
Stirling's user avatar
  • 1,439
11 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 ...
JT_NL's user avatar
  • 2,163
3 votes
2 answers
746 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 ...
Stephen's user avatar
  • 14.9k
7 votes
2 answers
619 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 ...
Matthew Leingang's user avatar