From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf0-f169.google.com (mail-pf0-f169.google.com [209.85.192.169]) by fantadrom.bsd.lv (OpenSMTPD) with ESMTP id e56e4ddf for ; Thu, 19 Apr 2018 22:11:08 -0500 (EST) Received: by mail-pf0-f169.google.com with SMTP id z9so3598879pfe.6 for ; Thu, 19 Apr 2018 20:11:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cathet-us.20150623.gappssmtp.com; s=20150623; h=sender:from:to:subject:mime-version:content-id:date:message-id; bh=CCMNuNt1bJ01kIHxLW7jRa0ezLS1F2874cqoU3yz+I0=; b=ewoFXOlwPGgD4ersgoK/Yq0GBbOzoES+MQJPlXUhCossA4AFp8r5crPfEs+iqRU9nO XgvVt/+tgGgHhkUoRhzkUn8uaGLSUnK/iL8Rk/wUdaHn/wy5Wra3FB8w7y7IAUalfist OV96s3AzZl7cvfejxv5d542gGwiVmBD9EEzh2c7Ax8Dgm5VrIUKf/8Fpt0w6bImsNi/V ZXIZxaThd2aSY1+f+zBX4axdJDizNi2uJJZg5nXuQF3Gqfnrxcc7+nVYqQlInfPK2nl2 nwiTLs0DAeyVLfZk7oes+SJBVr+QDXx1uhD1yKVgjXnx7I2JxWpG5uf7HxbzaxbKc00m LbEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:mime-version:content-id :date:message-id; bh=CCMNuNt1bJ01kIHxLW7jRa0ezLS1F2874cqoU3yz+I0=; b=CtmG2VPHBhLtph1Y5MHX5RYVKbKWzoWjigZvaKAYM9azy03o6nlHh81SqQRVICpPTV aXujvHQAjR0ABaHks4Ab2qyKRi6J9JGBT+DWJQvkYHfgyV7OLSog+RlsQbwkdqd2XLRM Sba3pqDErmBkXTH9BYLqi0lnJ8vhLRcJUh2qF7/zHa2uTuYdPocueR35IKg4J25319UA m3CC3djahvvI8aPQlgjk0kbIzS3lMg7pTM4WSZ0/gimUZQZXNFDdeFi2zs4igAiPpB8m CPkU9oVCx6etW4JgpmCVSZECdcy8U6z/rTTblEdvaiUldkJVLF7IjMryOpEg+J77OqcI cjkA== X-Gm-Message-State: ALQs6tBYfJR6twVG6BxKobygSElS5xJQAP1KAIo78m1cAaAjpEOstJFo /A6rzRKNN8PIn6M9T6B/nZxYwTd3 X-Google-Smtp-Source: AIpwx48yYSwWo/fVy1sWKrWKOpYAI43RJSQzX5gX6+Lh95Bgfnaw06KbNXjjVOjq1qJjM7USmfbXcw== X-Received: by 10.98.66.203 with SMTP id h72mr8076903pfd.156.1524193866622; Thu, 19 Apr 2018 20:11:06 -0700 (PDT) Received: from cathet.us. (75-161-123-152.albq.qwest.net. [75.161.123.152]) by smtp.gmail.com with ESMTPSA id z8sm8521502pgc.90.2018.04.19.20.11.05 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 19 Apr 2018 20:11:06 -0700 (PDT) Sender: "Anthony J. Bentley" Received: from cathet.us (localhost [127.0.0.1]) by cathet.us. (OpenSMTPD) with ESMTP id f50731c5 for ; Thu, 19 Apr 2018 21:11:04 -0600 (MDT) From: "Anthony J. Bentley" To: tech@mandoc.bsd.lv Subject: mandoc should warn on duplicate section names X-Mailinglist: mandoc-tech Reply-To: tech@mandoc.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <23497.1524193864.1@cathet.us> Date: Thu, 19 Apr 2018 21:11:04 -0600 Message-ID: <7207.1524193864@cathet.us> Hi, >From mdoc(7): [Section/Subsection] names should be unique so that they may be keyed by Sx. Breaking this rule has at least two negative effects: - Generates duplicate ID attributes in -Thtml, breaking HTML validation - Makes jumping to the second section impossible in less or a browser It would be nice to have this as a -Tlint rule. -- Anthony J. Bentley -- To unsubscribe send an email to tech+unsubscribe@mandoc.bsd.lv