13
11

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

VSCodeで制御文字を表示する

Last updated at Posted at 2018-04-29

技術書典のテンプレからpdfを作ろうとnpm run pdf を走らせたところ次のエラーになってしまい。

./preface.tex:7: Package inputenc Error: Unicode character ^^H (U+0008)
(inputenc)                not set up for use with LaTeX.

macで制御文字(�)が入力されてしまう問題 にハマっていたようなので記録します。

Macの場合ですが、⌘,で設定を開き、Userタブ -> Extensions -> Edit in settings.jsonから開くか、

コマンドパレットで Open Settings(JSON) を検索してsettings.jsonを開いて次の設定を追加します。

 "editor.renderControlCharacters": true,

すると制御文字が表示されるようになります。
スクリーンショット 2018-04-29 17.59.35.png

13
11
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
13
11

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?