Sign inSign up

professormahi/texmaker-2017

By professormahi

•Updated about 9 years ago

Texmaker container having texlive 2017 and xetex.

Image
0

199

professormahi/texmaker-2017 repository overview

⁠Texmaker 2017

You can have texmaker with latex (texlive 2017) redirected to your X.

⁠To run

docker run -it --rm=true \
    -e USER=$USER -e USERID=$UID \		# bind user for file permissions
	-v /tmp/.X11-unix:/tmp/.X11-unix \ 	# mount the X11 socket
	-e DISPLAY=unix$DISPLAY \ 			# pass the display
	--device /dev/dri \
	-v $HOME:/home/texmaker \			# mount $HOME
	--name texmaker professormahi/texmaker-2017

or you can create an alias:

alias texmaker-docker='docker run -it --rm=true -e USER=$USER -e USERID=$UID -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=unix$DISPLAY --device /dev/dri -v $HOME:/home/texmaker --name texmaker professormahi/texmaker-2017'

⁠Possible Problems

If you have this error:

QXcbConnection: Could not connect to display unix:0.0

you can must use xhost + to allow using of display.

Tag summary

Content type

Image

Digest

Size

382.2 MB

Last updated

about 9 years ago

docker pull professormahi/texmaker-2017