changeset 131:bd0a9177e5e7 dev

About [prefix] t e.
author yuuji@gentei.org
date Thu, 27 May 2010 20:02:32 +0900
parents 8703f090c628
children 5aa94d64cc35
files docs/yatexe docs/yatexe.tex docs/yatexj docs/yatexj.tex
diffstat 4 files changed, 149 insertions(+), 129 deletions(-) [+]
line wrap: on
line diff
--- a/docs/yatexe	Thu May 27 16:37:44 2010 +0900
+++ b/docs/yatexe	Thu May 27 20:02:32 2010 +0900
@@ -170,9 +170,14 @@
 the cursor on the line of error message and type `SPACE' key.  This makes
 the cursor move to corresponding source line.
 
-  Since `[prefix] tr' pastes the region into the file `texput.tex' in the
-current directory, you should be careful of overwriting.  The method of
-specification of the region is shown in the section *Note %#notation::.
+  YaTeX-typeset-region invoked by `[prefix] tr' call typesetter for
+region.  The region is specified by standard point and mark, or by
+`%#BEGIN' and `%#END' marks.  Selected region will be copied to the
+temporary file `texput.tex' with the same preamble as the main file of
+current editing sources.  Be sure to put all local macro settings in
+preamble, not after `\begin{document}'.
+  The method of specification of the region is shown in the section *Note
+%#notation::.
 
   The documentclass for typeset-region is the same as that of editing file
 if you edit one file, and is the same as main file's if you edit splitting
@@ -182,7 +187,11 @@
 inner math mode and then call typeset-region with marked region.  This is
 convenient to quick view of current tabular environment or current editing
 formulas.  Keeping previewer window for `texput.dvi' is handy for
-debugging.
+debugging.  Since `[prefix] te' selects the inner-most environment as
+region, it is not suitable for partial typesetting of doubly or more
+composed environment.  If you want to do partial typesetting for a nested
+environment, use `[prefix] tr' for static-region, which is described in
+the section *Note %#notation::.
 
 
 File: yatexe, Node: Calling previewer, Next: Printing out, Prev: Calling typesetter, Up: Typesetting
@@ -2094,60 +2103,60 @@
 Node: Installation3456
 Node: Typesetting4232
 Node: Calling typesetter5300
-Node: Calling previewer6945
-Node: Printing out7305
-Node: %#notation7596
-Node: Changing typesetter7971
-Node: Splitting input files8334
-Node: Static region for typesetting9761
-Node: Lpr format10889
-Node: Editing %# notation11945
-Node: Completion12463
-Node: Begin-type completion13022
-Node: Section-type completion16065
-Node: view-sectioning18499
-Node: Large-type completion20078
-Node: Maketitle-type completion20808
-Node: Arbitrary completion21359
-Node: End completion21748
-Node: Accent completion22217
-Node: Image completion22833
-Node: Greek letters completion25089
-Node: Local dictionaries25815
-Node: Commenting out26751
-Node: Cursor jump28209
-Node: Jump to corresponding object28520
-Node: Invoking image processor29920
-Node: Jump to main file31262
-Node: Jumping around the environment31626
-Node: Jumping to last completion position32043
-Node: Changing and Deleting32551
-Node: Changing LaTeX commands32942
-Node: Killing LaTeX commands34118
-Node: Filling35302
-Node: Updation of includeonly37152
-Node: What column37948
-Node: Intelligent newline39032
-Node: Usepackage checker40692
-Node: Online help41282
-Node: Browsing file hierarchy42956
-Node: Cooperation with other packages44692
-Node: Customizations45396
-Node: Lisp variables45729
-Node: All customizable variables46732
-Node: Sample definitions56615
-Node: Hook variables57127
-Node: Hook file57830
-Node: Add-in functions58168
-Node: How the add-in function works59027
-Node: Defining option-add-in61225
-Node: Defining argument-add-in61946
-Node: Defining enclosing-add-in62827
-Node: How the function is called63680
-Node: Useful functions for creating add-in64355
-Node: Contribution65759
-Node: Add-in generator66032
-Node: Etcetera71425
-Node: Copying72029
+Node: Calling previewer7504
+Node: Printing out7864
+Node: %#notation8155
+Node: Changing typesetter8530
+Node: Splitting input files8893
+Node: Static region for typesetting10320
+Node: Lpr format11448
+Node: Editing %# notation12504
+Node: Completion13022
+Node: Begin-type completion13581
+Node: Section-type completion16624
+Node: view-sectioning19058
+Node: Large-type completion20637
+Node: Maketitle-type completion21367
+Node: Arbitrary completion21918
+Node: End completion22307
+Node: Accent completion22776
+Node: Image completion23392
+Node: Greek letters completion25648
+Node: Local dictionaries26374
+Node: Commenting out27310
+Node: Cursor jump28768
+Node: Jump to corresponding object29079
+Node: Invoking image processor30479
+Node: Jump to main file31821
+Node: Jumping around the environment32185
+Node: Jumping to last completion position32602
+Node: Changing and Deleting33110
+Node: Changing LaTeX commands33501
+Node: Killing LaTeX commands34677
+Node: Filling35861
+Node: Updation of includeonly37711
+Node: What column38507
+Node: Intelligent newline39591
+Node: Usepackage checker41251
+Node: Online help41841
+Node: Browsing file hierarchy43515
+Node: Cooperation with other packages45251
+Node: Customizations45955
+Node: Lisp variables46288
+Node: All customizable variables47291
+Node: Sample definitions57174
+Node: Hook variables57686
+Node: Hook file58389
+Node: Add-in functions58727
+Node: How the add-in function works59586
+Node: Defining option-add-in61784
+Node: Defining argument-add-in62505
+Node: Defining enclosing-add-in63386
+Node: How the function is called64239
+Node: Useful functions for creating add-in64914
+Node: Contribution66318
+Node: Add-in generator66591
+Node: Etcetera71984
+Node: Copying72588
 
 End tag table
--- a/docs/yatexe.tex	Thu May 27 16:37:44 2010 +0900
+++ b/docs/yatexe.tex	Thu May 27 20:02:32 2010 +0900
@@ -5,7 +5,7 @@
 
 @iftex
 @c @syncodeindex fn cp
-@c Last modified Thu May 27 16:25:29 2010 on firestorm
+@c Last modified Thu May 27 18:04:10 2010 on firestorm
 @syncodeindex vr cp
 @end iftex
 
@@ -195,9 +195,13 @@
 the cursor on the line of error message and type @kbd{SPACE} key.  This
 makes the cursor move to corresponding source line.
 
-  Since @kbd{[prefix] tr} pastes the region into the file
-@file{texput.tex} in the current directory, you should be careful of
-overwriting.  The method of specification of the region is shown in the
+  YaTeX-typeset-region invoked by @kbd{[prefix] tr} call typesetter
+for region.  The region is specified by standard point and mark, or
+by @code{%#BEGIN} and @code{%#END} marks.  Selected region will be
+copied to the temporary file @file{texput.tex} with the same preamble
+as the main file of current editing sources.  Be sure to put
+all local macro settings in preamble, not after @code{\begin{document}}.
+  The method of specification of the region is shown in the
 section @xref{%#notation}.
 
   The documentclass  for typeset-region is the same as that of editing
@@ -207,8 +211,12 @@
   The @kbd{[prefix] te} key automatically marks current inner environment
 or inner math mode and then call typeset-region with marked region.  This
 is convenient to quick view of current tabular environment or current
-editing formulas.  Keeping previewer window for @file{texput.dvi} is
-handy for debugging.
+editing formulas.  Keeping previewer window for @file{texput.dvi} is handy
+for debugging.  Since @kbd{[prefix] te} selects the inner-most environment
+as region, it is not suitable for partial typesetting of doubly or more
+composed environment.  If you want to do partial typesetting for a nested
+environment, use @kbd{[prefix] tr} for static-region, which is described
+in the section @xref{%#notation}.
 
 @node Calling previewer, Printing out, Calling typesetter, Typesetting
 @comment  node-name,  next,  previous,  up
--- a/docs/yatexj	Thu May 27 16:37:44 2010 +0900
+++ b/docs/yatexj	Thu May 27 20:02:32 2010 +0900
@@ -241,11 +241,12 @@
 
   $B%]%$%s%H$H%^!<%/$N4V!"$"$k$$$O%F%-%9%HCf$KKd$a9~$s$@(B `%#BEGIN' $B$H(B`%#END'
 $B$N4V$NNN0h(B(*Note %#notation::)$B$@$1$r@Z$j<h$C$F%?%$%W%;%C%H$9$k$3$H$,$G$-$^(B
-$B$9!#$3$N>l9g$N(B documentclass $B$O!"C10l%U%!%$%k$N(B LaTeX $B%=!<%9$NJT=8;~$K$O$=(B
-$B$N%U%!%$%k$N(B documentclass $B$,!"JL%U%!%$%k$+$i(B include $B$7$F$$$k>l9g$K$O%a%$(B
-$B%s%U%!%$%k$N(B documentclass $B$,<+F0E*$KA*Br$5$l$^$9!#;XDjNN0h$O!"%a%$%s%U%!(B
-$B%$%k$N$"$k%G%#%l%/%H%j$N(B`texput.tex'$B$H$$$&NW;~%U%!%$%k$K=PNO$5$l$^$9$N$G!"(B
-$B>e=q$-$K$OCm0U$7$F$/$@$5$$!#(B
+$B$9!#$3$N>l9g%a%$%s%U%!%$%k$N%W%j%"%s%V%k$,0l;~%U%!%$%k$N%W%j%"%s%V%k$H$7$F(B
+$B;H$o$l$^$9!#$7$?$,$C$F%W%j%"%s%V%k$K$J$$%^%/%mDj5A$,NN0hFb$K$"$k$H%(%i!<$K(B
+$B$J$j$^$9!#NN0h%?%$%W%;%C%H$r;H$&>l9g!"I,$:%^%/%mDj5A$O%W%j%"%s%V%k(B
+(`\begin{document}'$B$h$jA0(B)$B$KCV$/$h$&$K$7$F2<$5$$!#0l;~%U%!%$%k$O%a%$%s%U%!(B
+$B%$%k$N$"$k%G%#%l%/%H%j$N(B`texput.tex'$B$H$$$&L>A0$G=PNO$5$l$k$N$G!">e=q$-$K$O(B
+$BCm0U$7$F$/$@$5$$!#(B
 
 
 $B4D6-%?%$%W%;%C%H(B
@@ -2018,58 +2019,58 @@
 Node: Installation5035
 Node: Invocation7121
 Node: Calling typesetter8352
-Node: Calling previewer11116
-Node: Print out11713
-Node: %#notation12158
-Node: Changing typesetter12725
-Node: Splitting input files13114
-Node: Fix region for typesetting15019
-Node: lpr format16764
-Node: Editing %# notation18164
-Node: Completion18916
-Node: begin$B7?Jd40(B19560
-Node: section$B7?Jd40(B23690
-Node: 2$B8D0J>e$N0z?t$r$H$k(B section$B7?%3%^%s%I(B25476
-Node: Enclose section-type command26974
-Node: Recursive completion27374
-Node: view-sectioning27926
-Node: label-generation30387
-Node: large$B7?Jd40(B31132
-Node: maketitle$B7?Jd40(B32259
-Node: Arbitrary completion32741
-Node: end$BJd40(B33347
-Node: Accent mark completion33984
-Node: Image completion34715
-Node: Greek letter completion38249
-Node: Local dictionary39244
-Node: Commenting out40484
-Node: Cursor jump42716
-Node: $BBP1~%*%V%8%'%/%H$X$N%8%c%s%W(B43090
-Node: $B$*3(IA$-%D!<%k5/F0(B44987
-Node: $B%a%$%s%U%!%$%k$X$N%8%c%s%W(B46952
-Node: $B4D6-$rC10L$H$7$?%8%c%s%W(B47621
-Node: $B:G8e$NJd400LCV$X$N%8%c%s%W(B48285
-Node: Modifying/Deleting48763
-Node: Changing LaTeX command49417
-Node: Killing LaTeX command50433
-Node: Filling51866
-Node: Includeonly54335
-Node: What column55424
-Node: Intelligent newline56773
-Node: Usepackage cheker58708
-Node: Changing mode of YaTeX59489
-Node: Online help60636
-Node: Inclusion hierarchy browser62779
-Node: Cooperation with other packages65234
-Node: Customizations65992
-Node: Lisp variables66478
-Node: All customizable variables67512
-Node: Sample definitions78641
-Node: Hook variables79220
-Node: Hook file80580
-Node: Add-in functions80915
-Node: Etc81333
-Node: Copying81974
-Node: Concept Index83419
+Node: Calling previewer11223
+Node: Print out11820
+Node: %#notation12265
+Node: Changing typesetter12832
+Node: Splitting input files13221
+Node: Fix region for typesetting15126
+Node: lpr format16871
+Node: Editing %# notation18271
+Node: Completion19023
+Node: begin$B7?Jd40(B19667
+Node: section$B7?Jd40(B23797
+Node: 2$B8D0J>e$N0z?t$r$H$k(B section$B7?%3%^%s%I(B25583
+Node: Enclose section-type command27081
+Node: Recursive completion27481
+Node: view-sectioning28033
+Node: label-generation30494
+Node: large$B7?Jd40(B31239
+Node: maketitle$B7?Jd40(B32366
+Node: Arbitrary completion32848
+Node: end$BJd40(B33454
+Node: Accent mark completion34091
+Node: Image completion34822
+Node: Greek letter completion38356
+Node: Local dictionary39351
+Node: Commenting out40591
+Node: Cursor jump42823
+Node: $BBP1~%*%V%8%'%/%H$X$N%8%c%s%W(B43197
+Node: $B$*3(IA$-%D!<%k5/F0(B45094
+Node: $B%a%$%s%U%!%$%k$X$N%8%c%s%W(B47059
+Node: $B4D6-$rC10L$H$7$?%8%c%s%W(B47728
+Node: $B:G8e$NJd400LCV$X$N%8%c%s%W(B48392
+Node: Modifying/Deleting48870
+Node: Changing LaTeX command49524
+Node: Killing LaTeX command50540
+Node: Filling51973
+Node: Includeonly54442
+Node: What column55531
+Node: Intelligent newline56880
+Node: Usepackage cheker58815
+Node: Changing mode of YaTeX59596
+Node: Online help60743
+Node: Inclusion hierarchy browser62886
+Node: Cooperation with other packages65341
+Node: Customizations66099
+Node: Lisp variables66585
+Node: All customizable variables67619
+Node: Sample definitions78748
+Node: Hook variables79327
+Node: Hook file80687
+Node: Add-in functions81022
+Node: Etc81440
+Node: Copying82081
+Node: Concept Index83526
 
 End tag table
--- a/docs/yatexj.tex	Thu May 27 16:37:44 2010 +0900
+++ b/docs/yatexj.tex	Thu May 27 20:02:32 2010 +0900
@@ -10,7 +10,7 @@
 @c ノードいじったら C-l C-u C-n 全部のノード更新 C-l C-u C-e
 @c メニュー増やしたら C-l C-u C-m 全部のメニュー更新 C-l C-u C-a
 @c フォーマットするときは C-l C-e C-b
-@c Last modified Thu May 27 16:31:56 2010 on firestorm
+@c Last modified Thu May 27 18:24:30 2010 on firestorm
 @syncodeindex vr cp
 @end iftex
 
@@ -282,11 +282,13 @@
 
   ポイントとマークの間、あるいはテキスト中に埋め込んだ @code{%#BEGIN} と
 @code{%#END}の間の領域(@ref{%#notation})だけを切り取ってタイプセットすることが
-できます。この場合の documentclass は、単一ファイルの La@TeX{} ソースの編
-集時にはそのファイルの documentclass が、別ファイルから include している場
-合にはメインファイルの documentclass が自動的に選択されます。指定領域は、
-メインファイルのあるディレクトリの@file{texput.tex}という臨時ファイルに出
-力されますので、上書きには注意してください。
+できます。この場合メインファイルのプリアンブルが一時ファイルの
+プリアンブルとして使われます。したがってプリアンブルにないマクロ定義が
+領域内にあるとエラーになります。領域タイプセットを使う場合、
+必ずマクロ定義はプリアンブル(@code{\begin{document}}より前)に置くよう
+にして下さい。一時ファイルはメインファイルのある
+ディレクトリの@file{texput.tex}という名前で出力されるので、
+上書きには注意してください。
 
 @subsection{環境タイプセット}
 

yatex.org