From d17415709d3436f0af5e92e8b0205ffa313ed088 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 17 May 2019 20:56:56 +0000 Subject: hagenberg-thesis (17may19) git-svn-id: svn://tug.org/texlive/trunk@51150 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/tex/latex/hagenberg-thesis/hgb.sty | 55 ++++-- .../tex/latex/hagenberg-thesis/hgbabbrev.sty | 2 +- .../tex/latex/hagenberg-thesis/hgbalgo.sty | 2 +- .../tex/latex/hagenberg-thesis/hgbarticle.cls | 34 +--- .../tex/latex/hagenberg-thesis/hgbbib.sty | 2 +- .../tex/latex/hagenberg-thesis/hgbheadings.sty | 2 +- .../tex/latex/hagenberg-thesis/hgblistings.sty | 202 ++++++++++++++++++++- .../tex/latex/hagenberg-thesis/hgbmath.sty | 2 +- .../tex/latex/hagenberg-thesis/hgbreport.cls | 35 +--- .../tex/latex/hagenberg-thesis/hgbthesis.cls | 42 ++--- 10 files changed, 263 insertions(+), 115 deletions(-) (limited to 'Master/texmf-dist/tex/latex/hagenberg-thesis') diff --git a/Master/texmf-dist/tex/latex/hagenberg-thesis/hgb.sty b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgb.sty index cc3029ebe03..276eba02ed5 100644 --- a/Master/texmf-dist/tex/latex/hagenberg-thesis/hgb.sty +++ b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgb.sty @@ -5,26 +5,31 @@ %% File encoding: ASCII \NeedsTeXFormat{LaTeX2e} -\newcommand{\hgbDate}{2018/11/28} % version string +\newcommand{\hgbDate}{2019/05/11} % version string \ProvidesPackage{hgb}[\hgbDate] +\typeout{******************* hgb.sty (options=\@nameuse{opt@hgb.sty}) ***********************} % Create a default/fallback main language so it is set no matter what \providecommand{\hgb@MainLanguage}{german} -% Then pass the language options (german/ngerman/english) from the class file +\RequirePackage{xifthen} +\newboolean{hgb@SmartQuotesOn} +\setboolean{hgb@SmartQuotesOn}{false} + +% Handle package options passed from the class file \DeclareOption{english}{\renewcommand{\hgb@MainLanguage}{english}} \DeclareOption{german}{\renewcommand{\hgb@MainLanguage}{german}} \DeclareOption{ngerman}{\renewcommand{\hgb@MainLanguage}{german}} +\DeclareOption{smartquotes}{\setboolean{hgb@SmartQuotesOn}{true}} \ProcessOptions* - %% Required Packages ---------------------------------------------------------- -\RequirePackage{lmodern} % use Latin Modern Fonts -\RequirePackage{cmap} % make generated PDF files "searchable and copyable" -\RequirePackage[T1]{fontenc} % T1 font encoding for improved hyphenation -\RequirePackage{xifthen} +\RequirePackage{lmodern} % use Latin Modern Fonts +\RequirePackage{cmap} % make generated PDF files "searchable and copyable" +\RequirePackage[utf8]{inputenc} +\RequirePackage[T1]{fontenc} % T1 font encoding for improved hyphenation % Set main language by selectively loading babel with the 'main' parameter (babel 3.9+) \ifthenelse{\equal{\hgb@MainLanguage}{german}}% @@ -32,6 +37,29 @@ \ifthenelse{\equal{\hgb@MainLanguage}{english}}% {\RequirePackage[main=english,ngerman]{babel}}{} +%% Setup for smart quotes (csquotes package) -- experimental! ---------------------------------- + +\ifthenelse{\boolean{hgb@SmartQuotesOn}}{ + \languageshorthands{none}% %% turn off babel's shorthands (permanently) + \usepackage[autostyle=true,german=quotes]{csquotes}% + \MakeOuterQuote{"}% + \EnableQuotes}{} + +%% Language environments ------------------------------------------------------ + +% Switch from German to English (babel) +\newenvironment{english}% +{\begin{otherlanguage}{english}% + \ifthenelse{\boolean{hgb@SmartQuotesOn}}{\EnableQuotes}{}}% +{\end{otherlanguage}\ignorespacesafterend}% + +% Switch from English to German (babel) +\newenvironment{german}% +{\begin{otherlanguage}{ngerman}% + \ifthenelse{\boolean{hgb@SmartQuotesOn}}{\EnableQuotes}{}}% +{\end{otherlanguage}}% + +%% ------------------------------------------------------ \RequirePackage{datetime} \RequirePackage{upquote} % uses "right" quotes in the verbatim environment @@ -82,19 +110,6 @@ \RequirePackage[figure,table,table*]{hypcap} % do not redefine figure* for use in article (without captions) -%% Language environments ------------------------------------------------------ - -% Switch from German to English (babel) -\newenvironment{english}% -{\begin{otherlanguage}{english}}% -{\end{otherlanguage}} - -% Switch from English to German (babel) -\newenvironment{german}% -{\begin{otherlanguage}{ngerman}}% -{\end{otherlanguage}} - - %% Miscellaneous Utility Commands --------------------------------------------- \newcommand\trennstrich{% diff --git a/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbabbrev.sty b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbabbrev.sty index e5c7713949b..85284609fe0 100644 --- a/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbabbrev.sty +++ b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbabbrev.sty @@ -4,7 +4,7 @@ %% GitHub: https://github.com/Digital-Media/HagenbergThesis %% File encoding: ASCII -\ProvidesPackage{hgbabbrev}[2018/11/28] +\ProvidesPackage{hgbabbrev}[2019/05/11] \newcommand{\latex}{La\-TeX\xspace} % no ornamental LaTeX anymore \newcommand{\tex}{TeX\xspace} % no ornamental LaTeX anymore diff --git a/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbalgo.sty b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbalgo.sty index dba066f605e..fdf6e52f491 100644 --- a/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbalgo.sty +++ b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbalgo.sty @@ -11,7 +11,7 @@ %% GitHub: https://github.com/Digital-Media/HagenbergThesis %% File encoding: ASCII -\ProvidesPackage{hgbalgo}[2018/11/28] +\ProvidesPackage{hgbalgo}[2019/05/11] \RequirePackage[]{algpseudocode} % imports algpseudocode + algorithmicx (use 'noend' to turn off 'end') \RequirePackage{calc} % for numeric calculations diff --git a/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbarticle.cls b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbarticle.cls index dc5393195f0..00797a09d81 100644 --- a/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbarticle.cls +++ b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbarticle.cls @@ -8,7 +8,7 @@ %% Package Information -------------------------------------------------------- \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{hgbarticle}[2018/11/28] +\ProvidesClass{hgbarticle}[2019/05/11] \RequirePackage{xifthen} @@ -17,33 +17,15 @@ \else{\errmessage{hgbarticle: *** LaTeX NOT running in PDF mode ***}} \fi +%% Handling class options -------------------------------------------------------------- -%% Command for language defintion --------------------------------------------- - -\newcommand{\hgb@MainLanguage}{german} % also referenced in hgb.sty - - -%% Class options -------------------------------------------------------------- - -\DeclareOption{twocolumn}{% - \PassOptionsToClass{\CurrentOption}{article} -} - -\DeclareOption{english}{% - \renewcommand{\hgb@MainLanguage}{english} -} - -\DeclareOption{german}{% - \renewcommand{\hgb@MainLanguage}{german} -} - -\DeclareOption*{% - \ClassWarning{hgbarticle}{Unknown document option '\CurrentOption'.} -} - +\DeclareOption{twocolumn}{\PassOptionsToClass{\CurrentOption}{article}} +\DeclareOption{english}{\PassOptionsToPackage{\CurrentOption}{hgb}} +\DeclareOption{german}{\PassOptionsToPackage{\CurrentOption}{hgb}} +\DeclareOption{smartquotes}{\PassOptionsToPackage{\CurrentOption}{hgb}} +\DeclareOption*{\ClassWarning{hgbarticle}{Unknown document option '\CurrentOption'.}} \ProcessOptions - %% Paper options and style file ----------------------------------------------- \LoadClass[a4paper,11pt]{article} @@ -54,7 +36,7 @@ \RequirePackage[top=36mm,bottom=40mm,left=32mm,right=32mm]{geometry} %showframe \fi% -\RequirePackage{hgb} % load associated style file hgb.sty +\RequirePackage{hgb} % load style file hgb.sty with options registered above %% Set title font to SF diff --git a/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbbib.sty b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbbib.sty index 74d5a8761ca..2cb82d39613 100644 --- a/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbbib.sty +++ b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbbib.sty @@ -5,7 +5,7 @@ %% GitHub: https://github.com/Digital-Media/HagenbergThesis %% File encoding: ASCII -\ProvidesPackage{hgbbib}[2018/11/28] +\ProvidesPackage{hgbbib}[2019/05/11] \usepackage{csquotes} % recommended for biblatex diff --git a/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbheadings.sty b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbheadings.sty index ff7ab43b18f..7c3120cd5f0 100644 --- a/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbheadings.sty +++ b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbheadings.sty @@ -5,7 +5,7 @@ %% GitHub: https://github.com/Digital-Media/HagenbergThesis %% File encoding: ASCII -\ProvidesPackage{hgbheadings}[2018/11/28] +\ProvidesPackage{hgbheadings}[2019/05/11] \RequirePackage{fancyhdr} \pagestyle{fancy} diff --git a/Master/texmf-dist/tex/latex/hagenberg-thesis/hgblistings.sty b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgblistings.sty index 8af45888cef..cf4c5cd5046 100644 --- a/Master/texmf-dist/tex/latex/hagenberg-thesis/hgblistings.sty +++ b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgblistings.sty @@ -4,7 +4,7 @@ %% GitHub: https://github.com/Digital-Media/HagenbergThesis %% File encoding: UTF-8 -\ProvidesPackage{hgblistings}[2018/11/28] +\ProvidesPackage{hgblistings}[2019/05/11] \RequirePackage{ifthen} \RequirePackage{textcomp} %% required for upquote option @@ -130,13 +130,199 @@ keepspaces=true,% % Language Definition and Code Environment for JavaScript -\lstdefinelanguage{JavaScript} -{ keywords={attributes, class, classend, do, empty, endif, endwhile, fail, function,% - functionend, if, implements, in, inherit, inout, not, of, operations, out,% - return, set, then, types, while, use}, - sensitive=false, - morecomment=[l]{//}, - morecomment=[s]{/*}{*/} +\lstdefinelanguage{JavaScript}{ + alsoletter={.}, + keywords={arguments, await, break, case, catch, class, const, continue, debugger,% + default, delete, do, else, enum, eval, export, extends, false, finally, for,% + function, if, implements, import, in, instanceof, interface, let, new, null,% + package, private, protected, public, return, static, super, switch, this,% + throw, true, try, typeof, var, void, while, with, yield}, % JavaScript ES6 keywords + morekeywords={add, apply, args, Array, Array.from, Array.isArray, Array.of,% + Array.prototype, ArrayBuffer, bind, Boolean, call, charAt, charCodeAt, clear,% + codePointAt, concat, constructor, copyWithin, DataView, Date, Date.now,% + Date.parse, Date.prototype, Date.UTC, decodeURI, decodeURIComponent, encodeURI,% + encodeURIComponent, endsWith, entries, Error, Error.prototype, EvalError, every,% + false, fill, filter, find, findIndex, Float32Array, Float64Array, forEach,% + FulfillPromise, Function, Function.length, get, getDate, getDay, getFullYear,% + getHours, getMilliseconds, getMinutes, getMonth, getSeconds, getTime,% + getTimezoneOffset, getUTCDate, getUTCDay, getUTCFullYear, getUTCHours,% + getUTCMilliseconds, getUTCMinutes, getUTCMonth, getUTCSeconds, has,hasInstance,% + hasOwnProperty, ignoreCase, includes, indexOf, indexOf, Infinity, Int8Array,% + Int16Array, Int32Array, isConcatSpreadable, isFinite, isNaN, IsPromise,% + isPrototypeOf, Iterable, iterator, join, JSON, JSON.parse, JSON.stringify, keys,% + lastIndexOf, lastIndexOf, length, localeCompare, map, Map, match, match, Math,% + Math.abs , Math.acos, Math.acosh, Math.asin, Math.asinh, Math.atan, Math.atan2,% + Math.atanh, Math.cbrt, Math.ceil, Math.clz32, Math.cos, Math.cosh, Math.E,% + Math.exp, Math.expm1, Math.floor, Math.fround, Math.hypot, Math.imul, Math.LN2,% + Math.LN10, Math.log, Math.log1p, Math.log2, Math.LOG2E, Math.log10, Math.LOG10E,% + Math.max, Math.min, Math.PI, Math.pow, Math.random, Math.round, Math.sign,% + Math.sin, Math.sinh, Math.sqrt, Math.SQRT1_2, Math.SQRT2, Math.tan, Math.tanh,% + Math.trunc, message, multiline, name, NaN, NewPromiseCapability, next, normalize,% + null, Number, Number.EPSILON, Number.isFinite, Number.isInteger, Number.isNaN,% + Number.isSafeInteger, Number.MAX_SAFE_INTEGER, Number.MAX_VALUE,% + Number.MIN_SAFE_INTEGER, Number.MIN_VALUE, Number.NaN, Number.NEGATIVE_INFINITY,% + Number.parseFloat, Number.parseInt, Number.POSITIVE_INFINITY, Number.prototype,% + Object, Object, Object.assign, Object.create, Object.defineProperties,% + Object.defineProperty, Object.freeze, Object.getOwnPropertyDescriptor,% + Object.getOwnPropertyNames, Object.getOwnPropertySymbols, Object.getPrototypeOf,% + Object.is, Object.isExtensible, Object.isFrozen, Object.isSealed, Object.keys,% + Object.preventExtensions, Object.prototype, Object.seal, Object.setPrototypeOf,% + of, parseFloat, parseInt, pop, Promise, Promise.all , Promise.race,% + Promise.reject, Promise.resolve, PromiseReactionJob, propertyIsEnumerable,% + prototype, Proxy, Proxy.revocable , push, RangeError, reduce, reduceRight,% + ReferenceError, Reflect, Reflect.apply, Reflect.construct,% + Reflect.defineProperty, Reflect.deleteProperty, Reflect.enumerate, Reflect.get,% + Reflect.getOwnPropertyDescriptor, Reflect.getPrototypeOf, Reflect.has,% + Reflect.isExtensible, Reflect.ownKeys, Reflect.preventExtensions, Reflect.set,% + Reflect.setPrototypeOf, Reflection, RegExp, RegExp, RegExp.prototype, repeat,% + replace, replace, reverse, search, search, Set, set, setDate, setFullYear,% + setHours, setMilliseconds, setMinutes, setMonth, setSeconds, setTime, setUTCDate,% + setUTCFullYear, setUTCHours, setUTCMilliseconds, setUTCMinutes, setUTCMonth,% + setUTCSeconds, shift, slice, slice, some, sort, species, splice, split, split,% + startsWith, String, String.fromCharCode, String.fromCodePoint, String.raw,% + substring, Symbol, Symbol.for, Symbol.hasInstance, Symbol.isConcatSpreadable,% + Symbol.iterator, Symbol.keyFor, Symbol.match, Symbol.prototype, Symbol.replace,% + Symbol.replace, Symbol.search, Symbol.species, Symbol.split, Symbol.toPrimitive,% + Symbol.toStringTag, Symbol.unscopables, SyntaxError, then, toDateString,% + toExponential, toFixed, toISOString, toJSON, toLocaleDateString,% + toLocaleLowerCase, toLocaleString, toLocaleString, toLocaleString, toLocaleString,% + toLocaleTimeString, toLocaleUpperCase, toLowerCase, toPrecision, toPrimitive,% + toString, toStringTag, toTimeString, toUpperCase, toUTCString,% + TriggerPromiseReactions, trim, true, TypeError, Uint8Array, Uint8ClampedArray,% + Uint16Array, Uint32Array, undefined, unscopables, unshift, URIError, valueOf,% + WeakMap, WeakSet}, % JavaScript extended keywords + morekeywords={app.all, app.delete, app.disable, app.disabled, app.enable, app.enabled,% + app.engine, app.get, app.listen, app.locals, app.METHOD, app.mountpath, app.param,% + app.path, app.post, app.put, app.render, app.route, app.set, app.use, express,% + express.Router, express.static, req.acceptLanguages, req.accepts,% + req.acceptsCharsets, req.acceptsEncodings, req.app, req.baseUrl, req.body,% + req.cookies, req.fresh, req.get, req.hostname, req.ip, req.ips, req.is,% + req.method, req.originalUrl, req.param, req.params, req.path, req.protocol,% + req.query, req.range, req.route, req.secure, req.signedCookies, req.stale,% + req.subdomains, req.xhr, res.app, res.append, res.attachment, res.clearCookie,% + res.cookies, res.download, res.end, res.format, res.get, res.headersSent,% + res.json, res.jsonp, res.links, res.locals, res.location, res.redirect,% + res.render, res.sendFile, res.sendStatus, res.set, res.status, res.type, res.vary,% + router.all, router.METHOD, router.param, router.route, router.use}, % express keywords + morekeywords={agent.createConnection, agent.destroy, agent.freeSockets, agent.getName,% + agent.maxFreeSockets, agent.maxSockets, agent.requests, agent.sockets,% + certificate.exportChallenge, certificate.exportPublicKey, certificate.verifySpkac,% + child.channel, child.connected, child.disconnect, child.kill, child.pid,% + child.send, child.stderr, child.stdin, child.stdio, child.stdout,% + child_process.exec, child_process.execFile, child_process.execFileSync,% + child_process.execSync, child_process.fork, child_process.spawn,% + child_process.spawnSync, cipher.final, cipher.getAuthTag, cipher.setAAD,% + cipher.setAutoPadding, cipher.update, clearImmediate, clearImmediate,% + clearInterval, clearInterval, clearTimeout, clearTimeout, console, console.assert,% + console.dir, console.error, console.info, console.log, console.time,% + console.timeEnd, console.trace, console.warn, decipher.final, decipher.setAAD,% + decipher.setAuthTag, decipher.setAutoPadding, decipher.update, dgram.createSocket,% + dgram.createSocket, diffieHellman.computeSecret, diffieHellman.generateKeys,% + diffieHellman.getGenerator, diffieHellman.getPrime, diffieHellman.getPrivateKey,% + diffieHellman.getPublicKey, diffieHellman.setPrivateKey,% + diffieHellman.setPublicKey, diffieHellman.verifyError, dns.getServers,% + dns.getServers, dns.lookup, dns.lookup, dns.lookupService, dns.resolve,% + dns.resolve4, dns.resolve6, dns.resolveCname, dns.resolveMx, dns.resolveNaptr,% + dns.resolveNs, dns.resolvePtr, dns.resolveSoa, dns.resolveSrv, dns.resolveTxt,% + dns.reverse, dns.setServers, ecdh.computeSecret, ecdh.generateKeys,% + ecdh.getPrivateKey, ecdh.getPublicKey, ecdh.setPrivateKey, ecdh.setPublicKey,% + error.address, error.code, error.errno, error.message, error.path, error.port,% + error.stack, error.syscall, exports, fs.access, fs.accessSync, fs.appendFile,% + fs.appendFileSync, fs.chmod, fs.chmodSync, fs.chown, fs.chownSync, fs.close,% + fs.closeSync, fs.constants, fs.createReadStream, fs.createWriteStream,% + fs.exists, global, http.createServer, http.get, http.globalAgent,% + http.request, https.createServer, https.get, https.globalAgent, https.request,% + message.destroy, message.headers, message.httpVersion, message.method,% + message.rawHeaders, message.rawTrailers, message.setTimeout, message.socket,% + message.statusCode, message.statusMessage, message.trailers, message.url,% + module, module.children, module.exports, module.filename, module.id,% + module.loaded, module.parent, module.require, os.arch, os.constants,% + os.cpus, os.endianness, os.EOL, os.freemem, os.homedir, os.hostname,% + os.loadavg, os.networkInterfaces, os.platform, os.release, os.tmpdir,% + os.totalmem, os.type, os.uptime, os.userInfo, path.basename, path.delimiter,% + path.dirname, path.extname, path.format, path.isAbsolute, path.join,% + path.normalize, path.parse, path.posix, path.relative, path.resolve,% + path.sep, path.win32, process, process.abort, process.arch, process.argv,% + process.argv0, process.channel, process.chdir, process.config,% + process.connected, process.cpuUsage, process.cwd, process.disconnect,% + process.emitWarning, process.env, process.execArgv, process.execPath,% + process.exit, process.exitCode, process.getegid, process.geteuid,% + process.getgid, process.getgroups, process.getuid, process.hrtime,% + process.initgroups, process.kill, process.mainModule, process.memoryUsage,% + process.nextTick, process.pid, process.platform, process.release,% + process.send, process.setegid, process.seteuid, process.setgid,% + process.setgroups, process.setuid, process.stderr, process.stdin,% + process.stdout, process.title, process.umask, process.uptime,% + process.version, process.versions, querystring.escape, querystring.parse,% + querystring.stringify, querystring.unescape, r.clearLine, readable.pause,% + readable.pipe, readable.push, readable.push, readable.read, readable.read,% + readable.resume, readable.setEncoding, readable.unpipe, readable.unshift,% + readable.wrap, readable._read, readStream.bytesRead, readStream.isRaw,% + readStream.path, readStream.setRawMode, repl.start, request.abort,% + request.aborted, request.end, request.flushHeaders, request.setNoDelay,% + request.setSocketKeepAlive, request.setTimeout, request.write, require,% + require.cache, require.extensions, response.addTrailers, response.end,% + response.finished, response.getHeader, response.getHeaderNames,% + response.getHeaders, response.hasHeader, response.headersSent,% + response.removeHeader, response.sendDate, response.setHeader,% + response.setTimeout, response.statusCode, response.statusMessage,% + response.write, response.writeContinue, response.writeHead,% + rl.clearScreenDown, rl.close, rl.createInterface, rl.cursorTo,% + rl.emitKeypressEvents, rl.moveCursor, rl.pause, rl.prompt, rl.question,% + rl.resume, rl.setPrompt, rl.write, script.runInNewContext,% + script.runInThisContext, server.addContext, server.address,% + server.address, server.close, server.close, server.connections,% + server.getTicketKeys, server.listen, server.listen, server.setTicketKeys,% + server.setTimeout, server.setTimeout, server.timeout, server.timeout,% + setImmediate, setInterval, setTimeout, socket.addMembership,% + socket.address, socket.bind, socket.bind, socket.close,% + socket.dropMembership, socket.ref, socket.send, socket.setBroadcast,% + socket.setMulticastLoopback, socket.setMulticastTTL, socket.setTTL,% + socket.unref, stream.Readable, stringDecoder.end, stringDecoder.write,% + timeout.ref, timeout.unref, tls.connect, tls.createSecureContext,% + tls.createServer, tls.getCiphers, tlsSocket.address,% + tlsSocket.authorizationError, tlsSocket.authorized, tlsSocket.encrypted,% + tlsSocket.getCipher, tlsSocket.getEphemeralKeyInfo,% + tlsSocket.getPeerCertificate, tlsSocket.getProtocol, tlsSocket.getSession,% + tlsSocket.getTLSTicket, tlsSocket.localAddress, tlsSocket.localPort,% + tlsSocket.remoteAddress, tlsSocket.remoteFamily, tlsSocket.remotePort,% + tlsSocket.renegotiate, tlsSocket.setMaxSendFragment, transform._flush,% + transform._transform, util.debuglog, util.deprecate, util.format,% + util.inherits, util.inspect, v8.getHeapStatistics, v8.setFlagsFromString,% + vm.createContext, vm.isContext, vm.runInContext, vm.runInDebugContext,% + vm.runInNewContext, vm.runInThisContext, watcher.close, worker.disconnect,% + worker.exitedAfterDisconnect, worker.id, worker.isConnected,% + worker.isDead, worker.kill, worker.process, worker.send, worker.suicide,% + writable.cork, writable.end, writable.setDefaultEncoding, writable.write,% + writeStream.bytesWritten, writeStream.columns, writeStream.path,% + writeStream.rows, zlib, zlib.createGunzip, zlib.createGzip, zlib.createInflate,% + zlib.createInflateRaw, zlib.createUnzip, zlib.deflate, zlib.deflateRaw,% + zlib.deflateRawSync, zlib.deflateSync, zlib.gunzip, zlib.gunzipSync,% + zlib.gzip, zlib.gzipSync, zlib.inflate, zlib.inflateRaw, zlib.inflateRawSync,% + zlib.inflateSync, zlib.unzip, zlib.unzipSync, __dirname, __filename}, % Node.js keywords + morekeywords={assert, assert.deepEqual, assert.deepStrictEqual,% + assert.doesNotThrow, assert.equal, assert.fail, assert.ifError,% + assert.notDeepEqual, assert.notDeepStrictEqual, assert.notEqual,% + assert.notStrictEqual, assert.ok, assert.strictEqual, assert.throws, describe,% + toBe, it, xdescribe, beforeEach, afterEach, beforeAll, afterAll, expect, it,% + xit, xdiscribe, pending, and.callThrough, and.returnValue, and.returnValues,% + and.callFake, and.throwError, and.stub, .not, .calls.any, .calls.count,% + .calls.argsFor, .calls.allArgs, .calls.all, .calls.mostRecent, .calls.first,% + .calls.reset, jasmine.createSpy, jasmine.createSpyObj, jasmine.any,% + jasmine.anything, jasmine.objectContaining, jasmine.arrayContaining,% + jasmine.stringMatching, asymmetricMatch, jasmine.clock, .not.toBeTruthy,% + .toBeTruthy, .not.toBeFalsy, .toBeFalsy, .not.toBeDefined .toBeDefined,% + .not.toBeNull .toBeNull, .not.toEqual .toEqual, .not.toBeCloseTo .toBeCloseTo,% + .not.toContain, .toContain, .not.toMatch, .toMatch, .not.toBeGreaterThan,% + .toBeGreaterThan, .not.toBeLessThan, .toBeLessThan, .toThrow, .not.toThrow,% + .toBeNull, .not.toBeNull, .toBeDefined, .not.toBeDefined}, % Node.js Assert, Jasmine, ... keywords + sensitive=true, + morestring=[b]", + morestring=[d]', + morestring=[s]{`}{`}, + morecomment=[l]{//}, + morecomment=[s]{/*}{*/}, + morecomment=[s]{/**}{*/} } \lstnewenvironment{JsCode}[1][] diff --git a/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbmath.sty b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbmath.sty index c7838bb890e..068eb2c553f 100644 --- a/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbmath.sty +++ b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbmath.sty @@ -5,7 +5,7 @@ %% File encoding: ASCII \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{hgbmath}[2018/11/28] +\ProvidesPackage{hgbmath}[2019/05/11] \RequirePackage{amsmath,amsfonts,amssymb,amsbsy} \RequirePackage{subdepth} % for positioning of sub and super scripts diff --git a/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbreport.cls b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbreport.cls index 3f97910462c..e53d369b5a7 100644 --- a/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbreport.cls +++ b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbreport.cls @@ -8,7 +8,9 @@ %% Package Information -------------------------------------------------------- \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{hgbreport}[2018/11/28] +\ProvidesClass{hgbreport}[2019/05/11] + +\typeout{****************** hgbreport.cls (options=\@nameuse{opt@hgbreport.cls}) ***********************} \RequirePackage{xifthen} @@ -17,30 +19,13 @@ \else{\errmessage{hgbreport: *** LaTeX NOT running in PDF mode ***}} \fi +%% Handling class options -------------------------------------------------------------- -%% Command for language defintion --------------------------------------------- - -\newcommand{\hgb@MainLanguage}{german} % also referenced in hgb.sty - - -%% Class options -------------------------------------------------------------- - -\DeclareOption{notitlepage}{% - \PassOptionsToClass{\CurrentOption}{report} -} - -\DeclareOption{english}{% - \renewcommand{\hgb@MainLanguage}{english} -} - -\DeclareOption{german}{% - \renewcommand{\hgb@MainLanguage}{german} -} - -\DeclareOption*{% - \ClassWarning{hgbreport}{Unknown document option '\CurrentOption'.} -} - +\DeclareOption{notitlepage}{\PassOptionsToClass{\CurrentOption}{report}} +\DeclareOption{english}{\PassOptionsToPackage{\CurrentOption}{hgb}} +\DeclareOption{german}{\PassOptionsToPackage{\CurrentOption}{hgb}} +\DeclareOption{smartquotes}{\PassOptionsToPackage{\CurrentOption}{hgb}} +\DeclareOption*{\ClassWarning{hgbreport}{Unknown document option '\CurrentOption'.}} \ProcessOptions @@ -49,7 +34,7 @@ \LoadClass[a4paper,11pt,onecolumn]{report} \RequirePackage[top=36mm,bottom=40mm,left=32mm,right=32mm]{geometry} %showframe -\RequirePackage{hgb} % load associated style file hgb.sty +\RequirePackage{hgb} % load style file hgb.sty with options registered above %% Set title font to SF diff --git a/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbthesis.cls b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbthesis.cls index 4a2ef21f5b1..2d99fe7e17d 100644 --- a/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbthesis.cls +++ b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbthesis.cls @@ -8,7 +8,7 @@ %% Package Information -------------------------------------------------------- \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{hgbthesis}[2018/11/28] +\ProvidesClass{hgbthesis}[2019/05/11] \RequirePackage{xifthen} @@ -30,55 +30,35 @@ \newcommand{\@titlepagefont}{\sffamily} -%% Class options -------------------------------------------------------------- - -\DeclareOption{master}{ - \renewcommand{\@maketitlepages}{\@mastertitlepages} -} +%% Handling class options -------------------------------------------------------------- \DeclareOption{diplom}{% \renewcommand{\@maketitlepages}{\@diplomatitlepages} \ClassWarning{hgbthesis}{Deprecated: Document option '\CurrentOption' is deprecated, use 'diploma' instead.} } -\DeclareOption{diploma}{% - \renewcommand{\@maketitlepages}{\@diplomatitlepages} -} - -\DeclareOption{bachelor}{% - \renewcommand{\@maketitlepages}{\@bachelortitlepages} -} - \DeclareOption{praktikum}{% \renewcommand{\@maketitlepages}{\@internshiptitlepages} \ClassWarning{hgbthesis}{Deprecated: Document option '\CurrentOption' is deprecated, use 'internship' instead.} } -\DeclareOption{internship}{% - \renewcommand{\@maketitlepages}{\@internshiptitlepages} -} - -\DeclareOption{english}{% - \renewcommand{\hgb@MainLanguage}{english} -} - -\DeclareOption{german}{% - \renewcommand{\hgb@MainLanguage}{german} -} - -\DeclareOption*{% - \ClassWarning{hgbthesis}{Unknown document option '\CurrentOption'.} -} +\DeclareOption{master}{\renewcommand{\@maketitlepages}{\@mastertitlepages}} +\DeclareOption{diploma}{\renewcommand{\@maketitlepages}{\@diplomatitlepages}} +\DeclareOption{bachelor}{\renewcommand{\@maketitlepages}{\@bachelortitlepages}} +\DeclareOption{internship}{\renewcommand{\@maketitlepages}{\@internshiptitlepages}} +\DeclareOption{english}{\PassOptionsToPackage{\CurrentOption}{hgb}} +\DeclareOption{german}{\PassOptionsToPackage{\CurrentOption}{hgb}} +\DeclareOption{smartquotes}{\PassOptionsToPackage{\CurrentOption}{hgb}} +\DeclareOption*{\ClassWarning{hgbthesis}{Unknown document option '\CurrentOption'.}} \ProcessOptions - %% Paper Options and Style File ----------------------------------------------- \LoadClass[a4paper,11pt,oneside]{book} \RequirePackage[top=36mm,bottom=40mm,left=32mm,right=32mm]{geometry} %showframe -\RequirePackage{hgb} % load associated style file hgb.sty +\RequirePackage{hgb} % load style file hgb.sty with options registered above %% Setup for Pages in the Front Matter ---------------------------------------- -- cgit v1.2.3