[LON-CAPA-cvs] cvs: loncom /html/adm/help/tex Course_Chat.tex Course_Face_To_Face_Records.tex Course_Maximum_Collaborators.tex Course_Modify_Student_Data.tex Course_Set_Start_End_Date.tex Course_User_Evaluation.tex Developer_Tutorial.tex Docs_Main_Course_Documents.tex Docs_Supplemental.tex Guts_Apache.tex Guts_Apache_Env.tex Guts_Authentication.tex Guts_Coding_Guidelines.tex Leaving_Feedback.tex Prefs_Screen_Name_Nickname.tex Print_Resource.tex /interface lonhelp.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Mon, 17 May 2004 22:08:56 -0000
This is a MIME encoded message
--albertel1084831736
Content-Type: text/plain
albertel Mon May 17 18:08:56 2004 EDT
Modified files:
/loncom/html/adm/help/tex Course_Chat.tex
Course_Face_To_Face_Records.tex
Course_Maximum_Collaborators.tex
Course_Modify_Student_Data.tex
Course_Set_Start_End_Date.tex
Course_User_Evaluation.tex
Developer_Tutorial.tex
Docs_Main_Course_Documents.tex
Docs_Supplemental.tex Guts_Apache.tex
Guts_Apache_Env.tex
Guts_Authentication.tex
Guts_Coding_Guidelines.tex
Leaving_Feedback.tex
Prefs_Screen_Name_Nickname.tex
Print_Resource.tex
/loncom/interface lonhelp.pm
Log:
- add missing \label
- add errormessage generation to lonhelp.pm in case it does not find a label for
the reference
- This should fix #3016, and make it easier to find these errors in the fututre
--albertel1084831736
Content-Type: text/plain
Content-Disposition: attachment; filename="albertel-20040517180856.txt"
Index: loncom/html/adm/help/tex/Course_Chat.tex
diff -u loncom/html/adm/help/tex/Course_Chat.tex:1.3 loncom/html/adm/help/tex/Course_Chat.tex:1.4
--- loncom/html/adm/help/tex/Course_Chat.tex:1.3 Tue Sep 2 14:28:36 2003
+++ loncom/html/adm/help/tex/Course_Chat.tex Mon May 17 18:08:56 2004
@@ -1,3 +1,5 @@
+\label{Course_Chat}
+
To use the course chat feature do the following:
\begin{enumerate}
Index: loncom/html/adm/help/tex/Course_Face_To_Face_Records.tex
diff -u loncom/html/adm/help/tex/Course_Face_To_Face_Records.tex:1.3 loncom/html/adm/help/tex/Course_Face_To_Face_Records.tex:1.4
--- loncom/html/adm/help/tex/Course_Face_To_Face_Records.tex:1.3 Mon May 10 09:59:40 2004
+++ loncom/html/adm/help/tex/Course_Face_To_Face_Records.tex Mon May 17 18:08:56 2004
@@ -1,3 +1,5 @@
+\label{Course_Face_To_Face_Records}
+
To save records of face-to-face discussions, which will only be
visible to course faculty and staff, do the following:
Index: loncom/html/adm/help/tex/Course_Maximum_Collaborators.tex
diff -u loncom/html/adm/help/tex/Course_Maximum_Collaborators.tex:1.2 loncom/html/adm/help/tex/Course_Maximum_Collaborators.tex:1.3
--- loncom/html/adm/help/tex/Course_Maximum_Collaborators.tex:1.2 Mon May 10 09:59:40 2004
+++ loncom/html/adm/help/tex/Course_Maximum_Collaborators.tex Mon May 17 18:08:56 2004
@@ -1,3 +1,5 @@
+\label{Course_Maximum_Collaborators}
+
To set the Maximum Number of Collaborators for a specific problem, do the
following:
Index: loncom/html/adm/help/tex/Course_Modify_Student_Data.tex
diff -u loncom/html/adm/help/tex/Course_Modify_Student_Data.tex:1.2 loncom/html/adm/help/tex/Course_Modify_Student_Data.tex:1.3
--- loncom/html/adm/help/tex/Course_Modify_Student_Data.tex:1.2 Fri Jul 18 10:44:28 2003
+++ loncom/html/adm/help/tex/Course_Modify_Student_Data.tex Mon May 17 18:08:56 2004
@@ -1,3 +1,5 @@
+\label{Course_Modify_Student_Data}
+
To modify student data the user must be the Course Coordinator for the course.
\begin{enumerate}
Index: loncom/html/adm/help/tex/Course_Set_Start_End_Date.tex
diff -u loncom/html/adm/help/tex/Course_Set_Start_End_Date.tex:1.1 loncom/html/adm/help/tex/Course_Set_Start_End_Date.tex:1.2
--- loncom/html/adm/help/tex/Course_Set_Start_End_Date.tex:1.1 Fri Jun 20 14:40:27 2003
+++ loncom/html/adm/help/tex/Course_Set_Start_End_Date.tex Mon May 17 18:08:56 2004
@@ -1,3 +1,5 @@
+\label{Course_Set_Start_End_Date}
+
Only Course Coordinators have the permissions to set the Starting
Dates and Ending Dates for a class. They can allow a class to start
before the beginning of the semester, or stay open after the end of
Index: loncom/html/adm/help/tex/Course_User_Evaluation.tex
diff -u loncom/html/adm/help/tex/Course_User_Evaluation.tex:1.2 loncom/html/adm/help/tex/Course_User_Evaluation.tex:1.3
--- loncom/html/adm/help/tex/Course_User_Evaluation.tex:1.2 Fri Jun 20 15:41:30 2003
+++ loncom/html/adm/help/tex/Course_User_Evaluation.tex Mon May 17 18:08:56 2004
@@ -1,3 +1,5 @@
+\label{Course_User_Evaluation}
+
To submit an evaluation for a course, do the following:
\begin{enumerate}
Index: loncom/html/adm/help/tex/Developer_Tutorial.tex
diff -u loncom/html/adm/help/tex/Developer_Tutorial.tex:1.4 loncom/html/adm/help/tex/Developer_Tutorial.tex:1.5
--- loncom/html/adm/help/tex/Developer_Tutorial.tex:1.4 Fri May 14 10:56:59 2004
+++ loncom/html/adm/help/tex/Developer_Tutorial.tex Mon May 17 18:08:56 2004
@@ -1,3 +1,5 @@
+\label{Developer_Tutorial}
+
\section{Adding a Handler to LON-CAPA}
In this section, we will add a brand new {}``handler'' to LON-CAPA.
Index: loncom/html/adm/help/tex/Docs_Main_Course_Documents.tex
diff -u loncom/html/adm/help/tex/Docs_Main_Course_Documents.tex:1.3 loncom/html/adm/help/tex/Docs_Main_Course_Documents.tex:1.4
--- loncom/html/adm/help/tex/Docs_Main_Course_Documents.tex:1.3 Tue Sep 2 14:28:36 2003
+++ loncom/html/adm/help/tex/Docs_Main_Course_Documents.tex Mon May 17 18:08:56 2004
@@ -1,3 +1,5 @@
+\label{Docs_Main_Course_Documents}
+
Main Course Documents are the {}``top-level'' documents of your course. They are the
documents the user will use the navigation controls to move through, and
makeup the course itself. When a user enters the course they will be taken to
Index: loncom/html/adm/help/tex/Docs_Supplemental.tex
diff -u loncom/html/adm/help/tex/Docs_Supplemental.tex:1.5 loncom/html/adm/help/tex/Docs_Supplemental.tex:1.6
--- loncom/html/adm/help/tex/Docs_Supplemental.tex:1.5 Wed Apr 14 14:31:50 2004
+++ loncom/html/adm/help/tex/Docs_Supplemental.tex Mon May 17 18:08:56 2004
@@ -1,3 +1,5 @@
+\label{Docs_Supplemental}
+
Supplemental Course Documents are auxiliary files the course
coordinator wants the student to have access to that are not
necessarily part of the course, such as reference material, handouts,
Index: loncom/html/adm/help/tex/Guts_Apache.tex
diff -u loncom/html/adm/help/tex/Guts_Apache.tex:1.1 loncom/html/adm/help/tex/Guts_Apache.tex:1.2
--- loncom/html/adm/help/tex/Guts_Apache.tex:1.1 Wed Aug 20 12:17:40 2003
+++ loncom/html/adm/help/tex/Guts_Apache.tex Mon May 17 18:08:56 2004
@@ -1,3 +1,5 @@
+\label{Guts_Apache}
+
The standard mode in which the Apache web server is used is that a
URL corresponds to some static file on the file system, which then
more or less gets sent out as-is. Slight deviations from that simple
Index: loncom/html/adm/help/tex/Guts_Apache_Env.tex
diff -u loncom/html/adm/help/tex/Guts_Apache_Env.tex:1.1 loncom/html/adm/help/tex/Guts_Apache_Env.tex:1.2
--- loncom/html/adm/help/tex/Guts_Apache_Env.tex:1.1 Wed Aug 20 12:17:40 2003
+++ loncom/html/adm/help/tex/Guts_Apache_Env.tex Mon May 17 18:08:56 2004
@@ -1,3 +1,5 @@
+\label{Guts_Apache_Env}
+
The environment is accessible through the global hash named \%ENV.
In addition to the standard variables placed in the environment by
the Apache server, LON-CAPA places a lot of information in the \%ENV.
Index: loncom/html/adm/help/tex/Guts_Authentication.tex
diff -u loncom/html/adm/help/tex/Guts_Authentication.tex:1.1 loncom/html/adm/help/tex/Guts_Authentication.tex:1.2
--- loncom/html/adm/help/tex/Guts_Authentication.tex:1.1 Wed Aug 20 12:17:40 2003
+++ loncom/html/adm/help/tex/Guts_Authentication.tex Mon May 17 18:08:56 2004
@@ -1,3 +1,5 @@
+\label{Guts_Authentication}
+
On the library servers, it is a routine in \texttt{lond} that does
the authentication. It checks if this is the user's homeserver, checks
the password, and answers with {}``unknown\_user'', {}``authorized''
Index: loncom/html/adm/help/tex/Guts_Coding_Guidelines.tex
diff -u loncom/html/adm/help/tex/Guts_Coding_Guidelines.tex:1.1 loncom/html/adm/help/tex/Guts_Coding_Guidelines.tex:1.2
--- loncom/html/adm/help/tex/Guts_Coding_Guidelines.tex:1.1 Wed Aug 20 12:17:40 2003
+++ loncom/html/adm/help/tex/Guts_Coding_Guidelines.tex Mon May 17 18:08:56 2004
@@ -1,3 +1,5 @@
+\label{Guts_Coding_Guidelines}
+
Things to keep in mind while coding handlers for LON-CAPA:
\begin{enumerate}
Index: loncom/html/adm/help/tex/Leaving_Feedback.tex
diff -u loncom/html/adm/help/tex/Leaving_Feedback.tex:1.3 loncom/html/adm/help/tex/Leaving_Feedback.tex:1.4
--- loncom/html/adm/help/tex/Leaving_Feedback.tex:1.3 Thu May 13 16:55:18 2004
+++ loncom/html/adm/help/tex/Leaving_Feedback.tex Mon May 17 18:08:56 2004
@@ -1,3 +1,5 @@
+\label{Leaving_Feedback}
+
To submit feedback for a specific page, do the following:
\begin{enumerate}
Index: loncom/html/adm/help/tex/Prefs_Screen_Name_Nickname.tex
diff -u loncom/html/adm/help/tex/Prefs_Screen_Name_Nickname.tex:1.2 loncom/html/adm/help/tex/Prefs_Screen_Name_Nickname.tex:1.3
--- loncom/html/adm/help/tex/Prefs_Screen_Name_Nickname.tex:1.2 Fri Jun 20 15:38:57 2003
+++ loncom/html/adm/help/tex/Prefs_Screen_Name_Nickname.tex Mon May 17 18:08:56 2004
@@ -1,3 +1,5 @@
+\label{Prefs_Screen_Name_Nickname}
+
To create a Screen Name or Nickname, do the following:
\begin{enumerate}
Index: loncom/html/adm/help/tex/Print_Resource.tex
diff -u loncom/html/adm/help/tex/Print_Resource.tex:1.1 loncom/html/adm/help/tex/Print_Resource.tex:1.2
--- loncom/html/adm/help/tex/Print_Resource.tex:1.1 Wed Sep 3 16:42:32 2003
+++ loncom/html/adm/help/tex/Print_Resource.tex Mon May 17 18:08:56 2004
@@ -1,3 +1,5 @@
+\label{Print_Resource}
+
To print a resource, do the following:
\begin{enumerate}
Index: loncom/interface/lonhelp.pm
diff -u loncom/interface/lonhelp.pm:1.14 loncom/interface/lonhelp.pm:1.15
--- loncom/interface/lonhelp.pm:1.14 Wed Jan 14 22:18:19 2004
+++ loncom/interface/lonhelp.pm Mon May 17 18:08:56 2004
@@ -101,7 +101,11 @@
# LaTeX .aux files
# absolute paths for use with help.loncapa.org
$tex =~ s| \\ref\{([^}]*)\}
- |'\\begin{html}<a href="http://' . $serverroot ."/adm/help/".
+ |
+ if (not(exists($fragmentLabels{$1}))) {
+ &Apache::lonnet::logthis("ERROR: $1 not a valid help label");
+ };
+ '\\begin{html}<a href="http://' . $serverroot ."/adm/help/".
substr($fragmentLabels{$1}, 0, -4) .
'.hlp#' . processLabelName($1) .
'"><img src="http://' . $serverroot . '/adm/help/gif/smallHelp.gif" border="0" /></a>' .
--albertel1084831736--