From ba73c7edc85ac1310d82920c5f432993f8a9af23 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Fri, 25 Aug 2023 03:00:47 +0000 Subject: CTAN sync 202308250300 --- dviware/dviasm/README | 2 +- dviware/dviasm/dviasm.1 | 2 +- dviware/dviasm/dviasm.py | 11 +++++------ 3 files changed, 7 insertions(+), 8 deletions(-) (limited to 'dviware/dviasm') diff --git a/dviware/dviasm/README b/dviware/dviasm/README index 94440ada62..c9f2482d4d 100644 --- a/dviware/dviasm/README +++ b/dviware/dviasm/README @@ -12,7 +12,7 @@ https://github.com/aminophen/dviasm It is fully documented at -http://tug.org/TUGboat/Articles/tb28-2/tb89cho.pdf (TUGboat) +https://tug.org/TUGboat/Articles/tb28-2/tb89cho.pdf (TUGboat) http://ajt.ktug.kr/assets/2008/5/1/0201cho.pdf (Asian Journal of TeX) Previous maintainer of DVIasm: Khaled Hosny diff --git a/dviware/dviasm/dviasm.1 b/dviware/dviasm/dviasm.1 index e5f67116cc..3e2f2af301 100644 --- a/dviware/dviasm/dviasm.1 +++ b/dviware/dviasm/dviasm.1 @@ -105,7 +105,7 @@ This option would be useful for example when using CJK package. Documentation of .B DVIasm by the original author Jin-Hwan Cho is published as: - http://tug.org/TUGboat/Articles/tb28-2/tb89cho.pdf (TUGboat) + https://tug.org/TUGboat/Articles/tb28-2/tb89cho.pdf (TUGboat) http://ajt.ktug.kr/assets/2008/5/1/0201cho.pdf (Asian Journal of TeX) .SH AUTHORS The first version was written in Python 2 by Jin-Hwan Cho in 2007. diff --git a/dviware/dviasm/dviasm.py b/dviware/dviasm/dviasm.py index 4a60f874d5..046306035a 100755 --- a/dviware/dviasm/dviasm.py +++ b/dviware/dviasm/dviasm.py @@ -6,7 +6,7 @@ # Copyright (C) 2007-2008 by Jin-Hwan Cho # Copyright (C) 2011-2017 by Khaled Hosny # Copyright (C) 2019 by Arthur Reutenauer -# Copyright (C) 2019-2022 by Hironobu Yamashita +# Copyright (C) 2019-2023 by Hironobu Yamashita # # 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 @@ -19,7 +19,7 @@ # 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, see . +# along with this program. If not, see . import sys, os.path from optparse import OptionParser @@ -315,8 +315,7 @@ class DVI(object): id = GetByte(fp) if not ValidID(id): warning("ID byte is %d; use the default %d!" % (id, DVI_ID)) - else: - self.id = id + self.id = id numerator = SignedQuad(fp) if numerator <= 0: warning('numerator is %d; use the default 25400000!' % numerator) @@ -1169,13 +1168,13 @@ def ProcessOptions(): DVIasm is a Python script to support changing or creating DVI files via disassembling into text, editing, and then reassembling into binary format. It is fully documented at - http://tug.org/TUGboat/Articles/tb28-2/tb89cho.pdf + https://tug.org/TUGboat/Articles/tb28-2/tb89cho.pdf http://ajt.ktug.kr/assets/2008/5/1/0201cho.pdf Please report bugs to https://github.com/aminophen/dviasm""" - version = """This is %prog-20220918 + version = """This is %prog-20230823 Copyright (C) 2007-2008 by Jin-Hwan Cho Copyright (C) 2011-2017 by Khaled Hosny -- cgit v1.2.3