vdrhtc / InLaTeXbot

Customizable LaTeX bot for Telegram messenger
http://t.me/InLaTeXbot
GNU General Public License v3.0
211 stars 11 forks source link

/setcustompreamble not working (or bad documented) #5

Closed JackBluff closed 5 years ago

JackBluff commented 5 years ago

Hi; straight to the point. InLaTexBot conversation:

/setcustompreamble

Great. Let's register a custom preamble for you. Just message me the code, and I'll deal with everything else.

\documentclass{article} \usepackage[a6paper]{geometry} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage{textcomp} \usepackage{lastpage} \usepackage{amsmath} \usepackage{physics} \usepackage{lipsum} \usepackage{mathbb} \pagenumbering{gobble} [NOTE: it's the output of /getmypreable + \usepackage{mathbb}]

Cool. Let me check it...

An empty file with your preamble results in a compilation error. Check your code!

And the new preamble doesn't become the default one.

Is it broken or am I supposed to provide the cone in another way?

vdrhtc commented 5 years ago

default I've added the error message to the bot's response -- it seems that there's no such package

Demonstrandum commented 5 years ago

You need the amsfonts package no? Not mathbb on its own.

vdrhtc commented 5 years ago

Yes, indeed