Questions tagged [ifplatform]

The package `ifplatform` provides means to have switches for the operating systems `OS`, `Linux` and `Windows` in order to maintain package or template\document code according to platform specific settings.

Filter by
Sorted by
Tagged with
1 vote
1 answer
515 views

ifplatform.sty error after installing MiKTeX on Ubuntu Mate 16.04

I can't tell if this is Windows or *nix; you appear to be neither. The error above is what I receive even when I try to compile something as simple as this: \documentclass[11pt]{article} \...
Romtromon's user avatar
1 vote
1 answer
531 views

Asana-Math versus asana-math

I am using TexLive 2016 with LuaTeX on Linux, but I believe that my question is generally applicable to LaTeX on any platform. I cannot switch to XeTeX. Before coming here, I found Is there a way to ...
user avatar
1 vote
2 answers
238 views

How to make image insertion platform independent?

When I wrote my LaTeX file in windows, I have just given the name of the image without extension to add it anywhere like the following. \begin{figure}[h] \centering \includegraphics[scale=0.6]...
Enamul Hassan's user avatar
2 votes
1 answer
8k views

shell escape is disabled

I am trying to use minted for code highlighting. Now to use this package I need to enable shell escape. So I have set the compiler options as follows: However, I am still getting the same error from ...
Sayan Pal's user avatar
  • 135
4 votes
1 answer
166 views

Set draft depending on operating system

I'm working on two different operating systems - MacOS and Windows. While the main part of my work is done on OSX, I sometimes switch to windows for several reasons. Problem is: Windows and OSX don'...
Rico's user avatar
  • 6,077
6 votes
1 answer
2k views

XeLaTeX and ifplatform/catchfile (loaded by "minted"): Errors on compilation [closed]

FOR THE RECORD I was unable to test any of the solutions provided, as I changed my main system last year. After that, no more problems arose. I suspect the old system had problems with the hard drive....
logo_writer's user avatar
3 votes
1 answer
293 views

LaTeX OS recognition [duplicate]

Let's say I want to create a document class. Is there a way to make LaTex choose between packages (or package options) depending on the OS I'm working on? More precisely, I want LaTeX to switch ...
makreto's user avatar
  • 31
21 votes
1 answer
2k views

Is there a macro telling which OS we're using?

I got some LaTeX documents that I have to compile them under different TeX Live, such as MacTeX or TeX Live. But in different OS, the font seems different too, for example, while in Windows, I prefer ...
coanor's user avatar
  • 535