Skip to content

💼 This is a latex template for article class and Tex4ht html converter.

Notifications You must be signed in to change notification settings

777uliahshafar/simart-templ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SIMART TEMPLATE

This template was created using article class in 10/11/2020. The purpose of this template is to create fabolous article. With the help of helpers4ht, the configuration of this template can turn the compilation to HTML. In case we need to create word file, we can easily copy text from html file or open html file with Microsoft word.

Attention!!

Before using latex for document typesetting, ask yourself can Microsoft word accomplish your task much easier? if yes then you had better not use latex. Beside that, writing in neovim is still good for raw text. Happy writing.

Change compiler engine

% Add this line below to the first fifth line in begginning main file. Specify the compiler engine.

%! TeX program = pdflatex for pdflatex or %! TeX program = lualatex for LuaLatex(recommended)

texmf directory for custom package

texmf directory was placed in ~/.config/mytexmf

this folder contents helpers4ht and datetime packages. The helpers4ht is used for converting tex to html.

Compile HTML

  • Command in terminal not in nvim command line.
  • It's recommended to convert it in simart-template or simple template to easily copying the text without format.

make4ht -ul filename.tex "confignameonly"

-u = compile with encoing utf-8 -l = cimpile with lualatex engine

Datetime2 for bahasai

The default datetime2 doesn't support DTMtoday Indonesian date format. In order to achive it, create/copy custom datetime2-bahasai.ldf package in texmf from dotfiles.

Set Main file for Subfiles packages

Sometimes, subfiles will not read the main files in the project directory which will not compile writed subfile in the main compiling. It's because the main file have not being introduced or set yet. Setting can be done by create file main.tex.latexmain.A

Issues

Can't find font

Ensure each paragraph or config have no additional unprovided font.

Japanese typesetting

The most recent method is using jlreq document class.

About

💼 This is a latex template for article class and Tex4ht html converter.

Resources

Stars

Watchers

Forks

Languages