From ede3b032cfb6e9e32714bfb9ec323ae627963731 Mon Sep 17 00:00:00 2001 From: Henry Jin Date: Tue, 3 Mar 2015 11:43:27 -0800 Subject: [PATCH] Moved History to Appendix, set version number and release date --- Title_Page.tex | 6 +++--- openmp-examples.tex | 7 ++++++- openmp.sty | 2 ++ sources/Example_default_none.1c.c | 3 ++- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/Title_Page.tex b/Title_Page.tex index 7ae8845..f8c786b 100644 --- a/Title_Page.tex +++ b/Title_Page.tex @@ -17,7 +17,7 @@ \vspace{1.0in} - \textbf{Version 4.0.2rv3 -- February, 2015} + \textbf{Version 4.0.2 -- March, 2015} \end{center} \end{adjustwidth} @@ -39,7 +39,7 @@ permission of OpenMP Architecture Review Board.\end{adjustwidth} \phantom{a} \emph{This page intentionally left blank} -This working version enacted the following tickets: 180, 295, 299, 342, 381, -and a few other editorial changes. +%This working version enacted the following tickets: 180, 295, 299, 342, 381, +%and a few other editorial changes. \vfill diff --git a/openmp-examples.tex b/openmp-examples.tex index d73adc9..cd0fa46 100644 --- a/openmp-examples.tex +++ b/openmp-examples.tex @@ -48,7 +48,7 @@ \documentclass[10pt,letterpaper,twoside,makeidx,hidelinks]{scrreprt} % Text to appear in the footer on even-numbered pages: -\newcommand{\footerText}{OpenMP Examples Version 4.0.2 - February 2015} +\newcommand{\footerText}{OpenMP Examples Version 4.0.2 - March 2015} % Unified style sheet for OpenMP documents: \input{openmp.sty} @@ -135,6 +135,11 @@ \input{Examples_array_sections} \input{Examples_device} \input{Examples_associate} + + \setcounter{chapter}{0} % restart chapter numbering with "letter A" + \renewcommand{\thechapter}{\Alph{chapter}}% + \appendix + \input{History} \end{document} diff --git a/openmp.sty b/openmp.sty index 4bfa384..29327be 100644 --- a/openmp.sty +++ b/openmp.sty @@ -399,6 +399,8 @@ % Clickable links in TOC and index: \usepackage[hyperindex=true,linktocpage=true]{hyperref} \hypersetup{ + bookmarksnumbered = true, + bookmarksopen = false, colorlinks = true, % Colors links instead of red boxes urlcolor = blue, % Color for external links linkcolor = blue % Color for internal links diff --git a/sources/Example_default_none.1c.c b/sources/Example_default_none.1c.c index f5ca968..e7037e4 100644 --- a/sources/Example_default_none.1c.c +++ b/sources/Example_default_none.1c.c @@ -20,7 +20,8 @@ void default_none(int a) { a = z[j]; /* O.K. - a is listed in private clause */ /* - z is listed in shared clause */ x = c; /* O.K. - x is threadprivate */ - /* - c has const-qualified type and is listed in shared */ + /* - c has const-qualified type and + is listed in shared clause */ z[i] = y; /* Error - cannot reference i or y here */ #pragma omp for firstprivate(y)