summaryrefslogtreecommitdiff
path: root/support/makeglossariesgui/src/java
diff options
context:
space:
mode:
Diffstat (limited to 'support/makeglossariesgui/src/java')
-rw-r--r--support/makeglossariesgui/src/java/AppSelector.java2
-rw-r--r--support/makeglossariesgui/src/java/AuxFileFilter.java10
-rw-r--r--support/makeglossariesgui/src/java/DiagnosticPanel.java18
-rw-r--r--support/makeglossariesgui/src/java/FileField.java18
-rw-r--r--support/makeglossariesgui/src/java/Glossaries.java97
-rw-r--r--support/makeglossariesgui/src/java/GlossariesPanel.java18
-rw-r--r--support/makeglossariesgui/src/java/Glossary.java18
-rw-r--r--support/makeglossariesgui/src/java/GlossaryBatchMessage.java18
-rw-r--r--support/makeglossariesgui/src/java/GlossaryException.java18
-rw-r--r--support/makeglossariesgui/src/java/GlossaryMessage.java18
-rw-r--r--support/makeglossariesgui/src/java/GlsTransferHandler.java18
-rw-r--r--support/makeglossariesgui/src/java/InvalidSyntaxException.java2
-rw-r--r--support/makeglossariesgui/src/java/MakeGlossariesDictionary.java2
-rw-r--r--support/makeglossariesgui/src/java/MakeGlossariesGUI.java30
-rw-r--r--support/makeglossariesgui/src/java/MakeGlossariesInvoker.java24
-rw-r--r--support/makeglossariesgui/src/java/MakeGlossariesProperties.java18
-rw-r--r--support/makeglossariesgui/src/java/PropertiesDialog.java18
-rw-r--r--support/makeglossariesgui/src/java/ViewEntries.java18
-rw-r--r--support/makeglossariesgui/src/java/ViewFile.java18
-rw-r--r--support/makeglossariesgui/src/java/XindyModule.java18
20 files changed, 386 insertions, 15 deletions
diff --git a/support/makeglossariesgui/src/java/AppSelector.java b/support/makeglossariesgui/src/java/AppSelector.java
index 6ef120af17..5717f76a2f 100644
--- a/support/makeglossariesgui/src/java/AppSelector.java
+++ b/support/makeglossariesgui/src/java/AppSelector.java
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2013 Nicola L.C. Talbot
+ Copyright (C) 2013-2020 Nicola L.C. Talbot
www.dickimaw-books.com
This program is free software; you can redistribute it and/or modify
diff --git a/support/makeglossariesgui/src/java/AuxFileFilter.java b/support/makeglossariesgui/src/java/AuxFileFilter.java
index 813d82e746..fa88a6e5a7 100644
--- a/support/makeglossariesgui/src/java/AuxFileFilter.java
+++ b/support/makeglossariesgui/src/java/AuxFileFilter.java
@@ -1,13 +1,10 @@
-// File : AuxFileFilter.java
-// Author : Nicola L.C. Talbot
-// http://www.dickimaw-books.com/
-
/*
- Copyright (C) 2006 Nicola L.C. Talbot
+ Copyright (C) 2013-2020 Nicola L.C. Talbot
+ www.dickimaw-books.com
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
@@ -19,7 +16,6 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-
package com.dickimawbooks.makeglossariesgui;
import java.io.*;
diff --git a/support/makeglossariesgui/src/java/DiagnosticPanel.java b/support/makeglossariesgui/src/java/DiagnosticPanel.java
index b84eaa6d6f..18e4ee8ad0 100644
--- a/support/makeglossariesgui/src/java/DiagnosticPanel.java
+++ b/support/makeglossariesgui/src/java/DiagnosticPanel.java
@@ -1,3 +1,21 @@
+/*
+ Copyright (C) 2013-2020 Nicola L.C. Talbot
+ www.dickimaw-books.com
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+*/
package com.dickimawbooks.makeglossariesgui;
import java.awt.*;
diff --git a/support/makeglossariesgui/src/java/FileField.java b/support/makeglossariesgui/src/java/FileField.java
index 77441fd5bc..5bb0fdc2a8 100644
--- a/support/makeglossariesgui/src/java/FileField.java
+++ b/support/makeglossariesgui/src/java/FileField.java
@@ -1,3 +1,21 @@
+/*
+ Copyright (C) 2013-2020 Nicola L.C. Talbot
+ www.dickimaw-books.com
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+*/
package com.dickimawbooks.makeglossariesgui;
import java.io.*;
diff --git a/support/makeglossariesgui/src/java/Glossaries.java b/support/makeglossariesgui/src/java/Glossaries.java
index 8d25ca7748..a8a40329c0 100644
--- a/support/makeglossariesgui/src/java/Glossaries.java
+++ b/support/makeglossariesgui/src/java/Glossaries.java
@@ -1,3 +1,21 @@
+/*
+ Copyright (C) 2013-2020 Nicola L.C. Talbot
+ www.dickimaw-books.com
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+*/
package com.dickimawbooks.makeglossariesgui;
import java.util.*;
@@ -588,6 +606,9 @@ public class Glossaries
String build = null;
+ int makeglossDisabledLine = -1;
+ int makeglossRestoredLine = -1;
+
try
{
reader = new BufferedReader(new InputStreamReader(
@@ -599,6 +620,58 @@ public class Glossaries
{
Matcher m;
+ if (istName == null && line.startsWith("Package glossaries Info:") && !line.endsWith("."))
+ {
+ String nextLine;
+
+ while ((nextLine = reader.readLine()) != null)
+ {
+ line += nextLine;
+
+ if (nextLine.endsWith("."))
+ {
+ break;
+ }
+ }
+
+ // Need to determine which option was the last in
+ // effect but line numbers may refer to different files.
+
+ m = makeglossDisabledPattern.matcher(line);
+
+ if (m.matches())
+ {
+ String lineRef = m.group(1);
+
+ addDiagnosticMessage(invoker.getLabelWithValues(
+ "diagnostics.makeglossdisabled", lineRef));
+
+ makeglossDisabledLine = 1;
+
+ if (makeglossRestoredLine > -1)
+ {
+ makeglossRestoredLine = 0;
+ }
+ }
+
+ m = makeglossRestoredPattern.matcher(line);
+
+ if (m.matches())
+ {
+ String lineRef = m.group(1);
+
+ addDiagnosticMessage(invoker.getLabelWithValues(
+ "diagnostics.makeglossrestored", lineRef));
+
+ makeglossRestoredLine = 1;
+
+ if (makeglossDisabledLine > -1)
+ {
+ makeglossDisabledLine = 0;
+ }
+ }
+ }
+
if (latexFormat == null)
{
m = formatPattern.matcher(line);
@@ -971,6 +1044,24 @@ public class Glossaries
}
}
+ if (makeglossDisabledLine > -1)
+ {
+ if (makeglossRestoredLine == -1)
+ {
+ addDiagnosticMessage(invoker.getLabel("diagnostics.restoremakegloss"));
+ }
+ else if (makeglossRestoredLine < makeglossDisabledLine)
+ {
+ addDiagnosticMessage(
+ invoker.getLabel("diagnostics.restoremakegloss.cancelled"));
+ }
+ else
+ {
+ addDiagnosticMessage(
+ invoker.getLabel("diagnostics.restoremakegloss.late"));
+ }
+ }
+
if (vers == null)
{
addDiagnosticMessage(invoker.getLabel(
@@ -1439,6 +1530,12 @@ public class Glossaries
private static final Pattern glsGroupHeadingPattern
= Pattern.compile(".*\\\\glsgroupheading\\{(.+?)\\}.*");
+ private static final Pattern makeglossDisabledPattern = Pattern.compile(
+ "Package glossaries Info: \\\\makeglossaries and \\\\makenoidxglossaries have been disabled on input line ([0-9]+)\\.");
+
+ private static final Pattern makeglossRestoredPattern = Pattern.compile(
+ "Package glossaries Info: \\\\makeglossaries and \\\\makenoidxglossaries have been restored on input line ([0-9]+)\\.");
+
private Vector<String> problemGroupLabels = new Vector<String>();
private static final String[] fields =
diff --git a/support/makeglossariesgui/src/java/GlossariesPanel.java b/support/makeglossariesgui/src/java/GlossariesPanel.java
index 4498c81639..372dc2b6bd 100644
--- a/support/makeglossariesgui/src/java/GlossariesPanel.java
+++ b/support/makeglossariesgui/src/java/GlossariesPanel.java
@@ -1,3 +1,21 @@
+/*
+ Copyright (C) 2013-2020 Nicola L.C. Talbot
+ www.dickimaw-books.com
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+*/
package com.dickimawbooks.makeglossariesgui;
import java.io.*;
diff --git a/support/makeglossariesgui/src/java/Glossary.java b/support/makeglossariesgui/src/java/Glossary.java
index 8f129a5ab2..0435155bc1 100644
--- a/support/makeglossariesgui/src/java/Glossary.java
+++ b/support/makeglossariesgui/src/java/Glossary.java
@@ -1,3 +1,21 @@
+/*
+ Copyright (C) 2013-2020 Nicola L.C. Talbot
+ www.dickimaw-books.com
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+*/
package com.dickimawbooks.makeglossariesgui;
import java.io.*;
diff --git a/support/makeglossariesgui/src/java/GlossaryBatchMessage.java b/support/makeglossariesgui/src/java/GlossaryBatchMessage.java
index 250c7f7156..30b8985bb2 100644
--- a/support/makeglossariesgui/src/java/GlossaryBatchMessage.java
+++ b/support/makeglossariesgui/src/java/GlossaryBatchMessage.java
@@ -1,3 +1,21 @@
+/*
+ Copyright (C) 2013-2020 Nicola L.C. Talbot
+ www.dickimaw-books.com
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+*/
package com.dickimawbooks.makeglossariesgui;
import java.io.File;
diff --git a/support/makeglossariesgui/src/java/GlossaryException.java b/support/makeglossariesgui/src/java/GlossaryException.java
index 5df439f719..92ef36b87f 100644
--- a/support/makeglossariesgui/src/java/GlossaryException.java
+++ b/support/makeglossariesgui/src/java/GlossaryException.java
@@ -1,3 +1,21 @@
+/*
+ Copyright (C) 2013-2020 Nicola L.C. Talbot
+ www.dickimaw-books.com
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+*/
package com.dickimawbooks.makeglossariesgui;
public class GlossaryException extends Exception
diff --git a/support/makeglossariesgui/src/java/GlossaryMessage.java b/support/makeglossariesgui/src/java/GlossaryMessage.java
index 910dbd9130..71aea4c0c7 100644
--- a/support/makeglossariesgui/src/java/GlossaryMessage.java
+++ b/support/makeglossariesgui/src/java/GlossaryMessage.java
@@ -1,3 +1,21 @@
+/*
+ Copyright (C) 2013-2020 Nicola L.C. Talbot
+ www.dickimaw-books.com
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+*/
package com.dickimawbooks.makeglossariesgui;
import java.io.File;
diff --git a/support/makeglossariesgui/src/java/GlsTransferHandler.java b/support/makeglossariesgui/src/java/GlsTransferHandler.java
index 1d39af46d6..17e3185bab 100644
--- a/support/makeglossariesgui/src/java/GlsTransferHandler.java
+++ b/support/makeglossariesgui/src/java/GlsTransferHandler.java
@@ -1,3 +1,21 @@
+/*
+ Copyright (C) 2013-2020 Nicola L.C. Talbot
+ www.dickimaw-books.com
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+*/
package com.dickimawbooks.makeglossariesgui;
import java.util.ArrayList;
diff --git a/support/makeglossariesgui/src/java/InvalidSyntaxException.java b/support/makeglossariesgui/src/java/InvalidSyntaxException.java
index ae7e8eb51d..1dbcdbc7fd 100644
--- a/support/makeglossariesgui/src/java/InvalidSyntaxException.java
+++ b/support/makeglossariesgui/src/java/InvalidSyntaxException.java
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2018 Nicola L.C. Talbot
+ Copyright (C) 2018-2020 Nicola L.C. Talbot
www.dickimaw-books.com
This program is free software; you can redistribute it and/or modify
diff --git a/support/makeglossariesgui/src/java/MakeGlossariesDictionary.java b/support/makeglossariesgui/src/java/MakeGlossariesDictionary.java
index 98540e256c..458342457d 100644
--- a/support/makeglossariesgui/src/java/MakeGlossariesDictionary.java
+++ b/support/makeglossariesgui/src/java/MakeGlossariesDictionary.java
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2018 Nicola L.C. Talbot
+ Copyright (C) 2018-2020 Nicola L.C. Talbot
www.dickimaw-books.com
This program is free software; you can redistribute it and/or modify
diff --git a/support/makeglossariesgui/src/java/MakeGlossariesGUI.java b/support/makeglossariesgui/src/java/MakeGlossariesGUI.java
index 4fa64a1455..b809c8f329 100644
--- a/support/makeglossariesgui/src/java/MakeGlossariesGUI.java
+++ b/support/makeglossariesgui/src/java/MakeGlossariesGUI.java
@@ -1,3 +1,21 @@
+/*
+ Copyright (C) 2013-2020 Nicola L.C. Talbot
+ www.dickimaw-books.com
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+*/
package com.dickimawbooks.makeglossariesgui;
import java.io.*;
@@ -121,6 +139,11 @@ public class MakeGlossariesGUI extends JFrame
scrollPane = new JScrollPane(mainPanel);
scrollPane.setPreferredSize(new Dimension(800,600));
+ /*
+ * The font is only set for the main window not for the
+ * manual. HelpBroker.setFont(Font) is lost whenever a new
+ * HTML file is loaded.
+ */
setFont(new Font(invoker.getProperties().getFontName(),
invoker.getProperties().getFontStyle(),
invoker.getProperties().getFontSize()));
@@ -656,8 +679,11 @@ public class MakeGlossariesGUI extends JFrame
public void updateFont()
{
MakeGlossariesProperties properties = invoker.getProperties();
- setFont(new Font(properties.getFontName(),
- properties.getFontStyle(), properties.getFontSize()));
+
+ Font f = new Font(properties.getFontName(),
+ properties.getFontStyle(), properties.getFontSize());
+
+ setFont(f);
updateAll();
}
diff --git a/support/makeglossariesgui/src/java/MakeGlossariesInvoker.java b/support/makeglossariesgui/src/java/MakeGlossariesInvoker.java
index f9ffad4144..cd2ec7b6e9 100644
--- a/support/makeglossariesgui/src/java/MakeGlossariesInvoker.java
+++ b/support/makeglossariesgui/src/java/MakeGlossariesInvoker.java
@@ -1,3 +1,21 @@
+/*
+ Copyright (C) 2013-2020 Nicola L.C. Talbot
+ www.dickimaw-books.com
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+*/
package com.dickimawbooks.makeglossariesgui;
import java.io.*;
@@ -698,7 +716,7 @@ public class MakeGlossariesInvoker
System.out.println(getLabelWithValues("about.copyright",
"Nicola L. C. Talbot",
String.format("2011-%s", APP_DATE.substring(0, 4))));
- System.out.println("http://www.dickimaw-books.com/");
+ System.out.println("https://www.dickimaw-books.com/");
if (translator != null && !translator.isEmpty())
{
@@ -826,9 +844,9 @@ public class MakeGlossariesInvoker
public static final String APP_NAME = "MakeGlossariesGUI";
- public static final String APP_VERSION = "2.1";
+ public static final String APP_VERSION = "2.2";
- public static final String APP_DATE = "2018-05-23";
+ public static final String APP_DATE = "2020-03-09";
private boolean quiet=false, debug=false, batchMode=false, dryRun=false;
diff --git a/support/makeglossariesgui/src/java/MakeGlossariesProperties.java b/support/makeglossariesgui/src/java/MakeGlossariesProperties.java
index 560d87f894..33dbf947c6 100644
--- a/support/makeglossariesgui/src/java/MakeGlossariesProperties.java
+++ b/support/makeglossariesgui/src/java/MakeGlossariesProperties.java
@@ -1,3 +1,21 @@
+/*
+ Copyright (C) 2013-2020 Nicola L.C. Talbot
+ www.dickimaw-books.com
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+*/
package com.dickimawbooks.makeglossariesgui;
import java.io.*;
diff --git a/support/makeglossariesgui/src/java/PropertiesDialog.java b/support/makeglossariesgui/src/java/PropertiesDialog.java
index 0f9fe72e8d..a10b99ac5f 100644
--- a/support/makeglossariesgui/src/java/PropertiesDialog.java
+++ b/support/makeglossariesgui/src/java/PropertiesDialog.java
@@ -1,3 +1,21 @@
+/*
+ Copyright (C) 2013-2020 Nicola L.C. Talbot
+ www.dickimaw-books.com
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+*/
package com.dickimawbooks.makeglossariesgui;
import java.io.*;
diff --git a/support/makeglossariesgui/src/java/ViewEntries.java b/support/makeglossariesgui/src/java/ViewEntries.java
index de59b3d458..a4bf768273 100644
--- a/support/makeglossariesgui/src/java/ViewEntries.java
+++ b/support/makeglossariesgui/src/java/ViewEntries.java
@@ -1,3 +1,21 @@
+/*
+ Copyright (C) 2013-2020 Nicola L.C. Talbot
+ www.dickimaw-books.com
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+*/
package com.dickimawbooks.makeglossariesgui;
import java.net.URL;
diff --git a/support/makeglossariesgui/src/java/ViewFile.java b/support/makeglossariesgui/src/java/ViewFile.java
index 06db7fdf86..0822e4bcc0 100644
--- a/support/makeglossariesgui/src/java/ViewFile.java
+++ b/support/makeglossariesgui/src/java/ViewFile.java
@@ -1,3 +1,21 @@
+/*
+ Copyright (C) 2013-2020 Nicola L.C. Talbot
+ www.dickimaw-books.com
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+*/
package com.dickimawbooks.makeglossariesgui;
import java.awt.*;
diff --git a/support/makeglossariesgui/src/java/XindyModule.java b/support/makeglossariesgui/src/java/XindyModule.java
index 550fd26e21..fd9d53091d 100644
--- a/support/makeglossariesgui/src/java/XindyModule.java
+++ b/support/makeglossariesgui/src/java/XindyModule.java
@@ -1,3 +1,21 @@
+/*
+ Copyright (C) 2013-2020 Nicola L.C. Talbot
+ www.dickimaw-books.com
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+*/
package com.dickimawbooks.makeglossariesgui;
import java.util.HashMap;