A year ago, I was using msysgit on M$ Win* 7. Its support for
Unicode characters isn’t so good, and I can’t write a text file
with accents like “café” in the Vim editor that shipped with msysgit.
As a result, I needed GVim for editing my $\rm \LaTeX$ documents.
Unluckily, unlike Linux, the GVim can never have forward control.
Therefore, I needed to switch windows between GVim and Git Bash.
More importantly, if I want to apply the Linux skills and the tools on
M$ Win*, I need portable programs excutable on a USB unless I
carry my laptop.
Luckily, the bash shell in Git for Windows has improved a lot. The
accents are well supported. Then, I have switched from GVim to the
embedded Vim in Git for Windows. Luckily, the setup of Vundle was
smooth. Most of the installed plugins work fine in terminal Vim.
In the post Git Portable Home Path, a BAT file is included so
that the home folder and the
HOMEDRIVE environment are automatically
set. Since the same Git repository can be shared among multiple
devices, such as my Linux desktop, my M$ Win* 7 laptop, and my USB
stick, a bare repository is needed for efficient pulling and pushing
of Git commits. Since I work outside home, I place a bare Git repo in
my USB stick. However, for each local Git repository stored in the
USB stick (under
$HOMEDRIVE/PortableGit/home/owner/local_repo), I need to run the
following command for each time I use Git Bash.
After making some changes on a $\rm \TeX$ file, I compiled the file
using Mik$\rm \TeX$ Portable.
- Browse the folder
- Double-click on
- In the Command Prompt popped up, switch to
This sounds really slow. The goal is to find a more efficient $\rm
\LaTeX$ editing workflow.
That’s not the end. Another bad news came from
got error similar to fengbaobao6’s. The compilation was
...\tex\latex\euenc\eu1lmr.fd. Then an error was shown:
“Fontconfig error: Cannot load config file”.