File: jcl-env.tex

package info (click to toggle)
latex2html 2008-debian1-10
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 11,176 kB
  • ctags: 3,925
  • sloc: perl: 30,941; makefile: 429; sh: 155
file content (51 lines) | stat: -rw-r--r-- 2,157 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Item:
%% Test suite for l2h bug.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Bug description (add references to further descriptive files if possible):
%% In LaTeX, \begin{environment} opens a group which is ended by
%% \end{environment}, making definitions or font changes local within
%% this group. This was not seen by l2h.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Bug caused this behaviour (may be several descriptions):
%% Changes to the font (style, size) made within the environment are not
%% reverted after the environment closed.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Bug severity (low|bothers|problematic|urgent -- fixed|open -- message):
%% bothers -- fixed --
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Bug fix identification
%% (id -- l2h release (or releases for multiple fixes) -- location in file(s)):
%% jcl(env) -- 96.1h -- latex2html
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Author: Jens Lippmann <http://www-jb.cs.uni-sb.de/~www/people/lippmann>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Change log (Mon/DD/YY -- author -- message):
%% jcl = Jens Lippmann
%%
%% Aug/13/96 -- jcl -- created
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Test suite decription:
%% Uses an itemize environment and makes font changes within this environment.
%% Has control text after the environment to check l2h's behaviour.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Expected output of this suit:
%% The output is self-explaining.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%\documentstyle[12pt]{article}
\documentclass[12pt]{article}
\usepackage{html}

\begin{document}

\itshape
italic text not bold

\begin{itemize}
\bfseries
\item bold text
\end{itemize}

italic text not bold
\end{document}