sudo apt install php-gd
sudo systemctl restart apache2
2019年12月29日 星期日
2019年12月28日 星期六
If drupal cannot work after cloning, then ... try this
Some error messages:Error: Class 'DOMDocument' not found in Drupal\Component\Utility\Html::load() (line 286 of core/lib/Drupal/Component/Utility/Html.php) sudo apt-get install php-xmlsudo systemctl restart apache2
Using root login mysql with password
sudo mysql
ALTER USER 'root'@'localhost%' IDENTIFIED WITH mysql_native_password BY 'your-password';
FLUSH PRIVILEGES;
exit;
2019年12月6日 星期五
cwtex with bkai and bsmi fonts
LyX source file
LaTeX source file
\documentclass{extarticle}
\renewcommand{\familydefault}{\rmdefault}
\usepackage[T1]{fontenc}
\usepackage{CJKutf8}
\usepackage[a4paper]{geometry}
\geometry{verbose,tmargin=0.75in,bmargin=0.75in,lmargin=0.75in,rmargin=0.75in}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amssymb}
\usepackage[authoryear]{natbib}
\begin{document}
\begin{CJK}{UTF8}{}%
\section{\CJKencfamily{UTF8}{bkai}
}
\CJKencfamily{UTF8}{bsmi}這是本文
{\Huge{}這是本文(最大字)}{\Huge\par}
\end{CJK}
\end{document}
LaTeX source file
\documentclass{extarticle}
\renewcommand{\familydefault}{\rmdefault}
\usepackage[T1]{fontenc}
\usepackage{CJKutf8}
\usepackage[a4paper]{geometry}
\geometry{verbose,tmargin=0.75in,bmargin=0.75in,lmargin=0.75in,rmargin=0.75in}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amssymb}
\usepackage[authoryear]{natbib}
\begin{document}
\begin{CJK}{UTF8}{}%
\section{\CJKencfamily{UTF8}{bkai}
\CJKencfamily{UTF8}{bsmi}這是本文
{\Huge{}這是本文(最大字)}{\Huge\par}
\end{CJK}
\end{document}
2019年12月5日 星期四
cwfsu61 trouble solved!
Do not use
\CJKencfamily{UTF8}{cwfsu}
use
\CJKencfamily{UTF8}{cwfsc}
Also, inside text contents use
\CJKencfamily{UTF8}{cwkc}
\CJKencfamily{UTF8}{cwfsu}
use
\CJKencfamily{UTF8}{cwfsc}
Also, inside text contents use
\CJKencfamily{UTF8}{cwkc}
訂閱:
文章 (Atom)
-
cf: https://ubuntuhandbook.org/index.php/2022/01/default-torrent-app-magnet-links-ubuntu/ Set “QBittorrent” as default app for magnet link,...
-
cf: https://stackoverflow.com/questions/54184707/warning-continue-targeting-switch-is-equivalent-to-break-did-you-mean-to-u Error while...
-
composer update (YES, simply run this command. That's good enough. It will update everything including core drupal 9.1.5.) If this not w...