To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 411a7f19 authored by Bengt Giger's avatar Bengt Giger
Browse files

Updated README

parent 2060a3b4
Pipeline #87975 failed with stage
in 30 minutes and 53 seconds
......@@ -8,6 +8,7 @@ image: docker:19.03.0-dind
stages:
- build
- push
# Use this if your GitLab runner does not use socket binding
services:
......@@ -50,3 +51,20 @@ Build docker image:
--tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
.
- docker push $CI_REGISTRY_IMAGE:latest
# The goal here is to Docker tag any Git tag
# GitLab will start a new pipeline everytime a Git tag is created, which is pretty awesome
Push tag:
variables:
# Again, we do not need the source code here. Just playing with Docker.
GIT_STRATEGY: none
stage: push
tags:
- k8s-runner
only:
# We want this job to be run on tags only.
- tags
script:
- docker pull $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
- docker tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME
......@@ -2,19 +2,46 @@
Wrapper for htlatex, with MathJax support.
This is a tool designed to create a HTML file which can be converted to a
Wordpress import XML file. Images are converted to embedded base64 code.
This is a tool designed to transform a LaTeX source into a HTML file which
can be
[converted to a Wordpress import XML file](https://gitlab.ethz.ch/laweb/laweb2pressbooks).
# Usage
In the background, it uses `tex4ht` for conversion.
# Installation
## Command Line
Copy the files
- `laweb`
- `laweb.sty`
- `laweb.cfg`
to the directory containing your LaTeX main file. Then issue
to the directory containing your LaTeX main file.
As dependencies, install the packages
- tex4ht
- tikz
and a comprehensive installation of LaTeX. I.e. on Fedora this will prepare the environment:
```
dnf install -y texlive-tikz-dependency texlive-tex4ht texlive-scheme-full texlive-ifluatex
```
# Usage
In your preamble, add
```
\usepackage{laweb}
```
## Command Line
Issue
```./laweb <BASENAME>```
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment