Download
Magazine
Develop
Account
Download
Magazine
Develop
Login
Forgot Account/Password
Create Account
Language
Help
Language
Help
×
Login
Login Name
Password
×
Forgot Account/Password
Category:
Software
People
PersonalForge
Magazine
Wiki
Search
OSDN
>
Find Software
>
LuaTeX-ja
>
Forums
>
公開討議/質問
>
ltjsarticle+listingsのtitle指定
LuaTeX-ja
Fork
Description
Project Summary
Developer Dashboard
Web Page
Developers
Image Gallery
List of RSS Feeds
Activity
Statistics
History
Source Code
Code Repository list
Git
luatexja
Ticket
Ticket List
Milestone List
Type List
Component List
List of frequently used tickets/RSS
Submit New Ticket
Documents
FrontPage
Title index
Recent changes
Communication
Forums
List of Forums
公開討議/質問 (143)
Mailing Lists
list of ML
Forums:
公開討議/質問
(Thread #36820)
Return to Thread list
RSS
ltjsarticle+listingsのtitle指定 (2015-05-26 00:07 by
Nymphium
#76223)
Reply
Create ticket
クラスをltjsarticleにしてlistingsパッケージを用い、\lstlistingsなどのオプションに`title=...`を渡すと"! Missing number, treated as zero. "が出てコンパイルエラーとなりました。
この問題について、TeX Live 2014に入っているltjsarticle.clsの1139行目、1141行目の`#1\hskip1\zw ...`を#1{}\hskip1\zw ...`とするとコンパイルが通り、想定通りの表示が得られました。
バグ報告はどこにすれば分からなかったので、とりあえずここに書いておきました。
また、バグではなく私の不手際等だったら、最適解などを教えていただけると幸いです。
Reply to #76223
×
Subject
Body
Reply To Message #76223 > クラスをltjsarticleにしてlistingsパッケージを用い、\lstlistingsなどのオプションに`title=...`を渡すと"! Missing number, treated as zero. "が出てコンパイルエラーとなりました。 > この問題について、TeX Live 2014に入っているltjsarticle.clsの1139行目、1141行目の`#1\hskip1\zw ...`を#1{}\hskip1\zw ...`とするとコンパイルが通り、想定通りの表示が得られました。 > バグ報告はどこにすれば分からなかったので、とりあえずここに書いておきました。 > また、バグではなく私の不手際等だったら、最適解などを教えていただけると幸いです。
You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.)
Login
Nickname
Preview
Post
Cancel
Re: ltjsarticle+listingsのtitle指定 (2015-05-26 05:07 by
h7k
#76224)
Reply
Create ticket
[メッセージ #76223 への返信]
> クラスをltjsarticleにしてlistingsパッケージを用い、\lstlistingsなどのオプションに`title=...`を渡すと"! Missing number, treated as zero. "が出てコンパイルエラーとなりました。
TeX フォーラム中の
「listingsパッケージのtitleオプションについて」
http://oku.edu.mie-u.ac.jp/tex/mod/forum/discuss.php?d=1543
と同じ原因のようです.後で直しますが,とりあえずは
{{{
\makeatletter
\def\lst@title@dropdelim\hskip1\zw{}
\makeatother
}}}
(上記スレッド中の前田さんの回答を ltjsarticle にあうようにしたものです)
をプリアンブルに記述すれば良さそうです.
Reply to
#76223
Reply to #76224
×
Subject
Body
Reply To Message #76224 > [メッセージ #76223 への返信] > > クラスをltjsarticleにしてlistingsパッケージを用い、\lstlistingsなどのオプションに`title=...`を渡すと"! Missing number, treated as zero. "が出てコンパイルエラーとなりました。 > TeX フォーラム中の > 「listingsパッケージのtitleオプションについて」 > http://oku.edu.mie-u.ac.jp/tex/mod/forum/discuss.php?d=1543 > と同じ原因のようです.後で直しますが,とりあえずは > {{{ > \makeatletter > \def\lst@title@dropdelim\hskip1\zw{} > \makeatother > }}} > (上記スレッド中の前田さんの回答を ltjsarticle にあうようにしたものです) > をプリアンブルに記述すれば良さそうです.
You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.)
Login
Nickname
Preview
Post
Cancel
Re: ltjsarticle+listingsのtitle指定 (2015-05-26 11:16 by
Nymphium
#76227)
Reply
Create ticket
ありがとうございます。
Reply to
#76224
Reply to #76227
×
Subject
Body
Reply To Message #76227 > ありがとうございます。
You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.)
Login
Nickname
Preview
Post
Cancel