From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oi1-f180.google.com (mail-oi1-f180.google.com [209.85.167.180]) by fantadrom.bsd.lv (OpenSMTPD) with ESMTP id b3b34521 for ; Mon, 12 Nov 2018 20:23:18 -0500 (EST) Received: by mail-oi1-f180.google.com with SMTP id p82-v6so8882418oih.11 for ; Mon, 12 Nov 2018 17:23:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mforney-org.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=eX5ODFBNi9WilrlBlTkf+1YAtBcgDQGR8mRvi19sG64=; b=SsenMCziycymHsiZcqHtE8Txc0842IlfAFuAjjgN+lwj2KsE4cMpyT90YL4apCFchT YtcU5GubeYxxDpevzNsFtkVENG9OUe2YXAOt8lsn5+3riVZsgUisQiNP2qJiyIOXiYsC bhL9pqItwSZBncF2sGuwyuleRV/S1IhXB4RdQ7Rh7gHrkWU+iviNZI+OKPqXmybuMYbk WY7/WyI/VXadnUQ5V/rN5b0KANyCtI+18g0SeDhnKEI0gNyEj+25P6AYQ2ETKDE9WHKR odLwEmeMS3PCyVW3f1fvoSozqL8peVIz9q6q3BcwoSpRfCNGFAesIv60grg/st5ua/Tb 2Cgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=eX5ODFBNi9WilrlBlTkf+1YAtBcgDQGR8mRvi19sG64=; b=mE3XH1D8vLcE5Sde/yYVufeoncI097DmA+njdGGP+zK6/jsU2Ajv3tIjPvNYiG6ecU 2A8ABEEnrSKhdZBmtQrOxVsm1y4+eCwkRGPE02egWwpqBq+YUm6FVNSgK8ReMaQ8wft0 85o8SdnC4U+kBfX0F2uBnT7b7yPFX0/sUw0UQEu20madPUePyQBGYTPWNa1GajcnlCVK jv3FWIe3EPa6LyspdfKw3IkBq+F4vJdHIawhmZ8myqy9ounkuc0DeIT6ZHS8zXPqV5JA heWBRDR1Vc8QPPmIERBK/u1HRKqB5kImy0zEB1+6wghauVOV5zdXDzoH0MyPx34rVWXE XUZw== X-Gm-Message-State: AGRZ1gI82fkDBK6F4+U2OtSi1tlZ+Ho5D/dUnR9gnmV/PYx2MJwewsqT etLGuUznscHZ19ysosnWAWraqAFaTVfqVVRF+LCtyka19nmDgQ== X-Google-Smtp-Source: AJdET5cE0n3//KNCiSdtRvIUySYOHirOjic6E2a1LVNd1Dp4qNFwLZAfr0FQTZxqXxwDw/ru29NA25fHFSQXOGSHuPc= X-Received: by 2002:a54:4607:: with SMTP id p7-v6mr1816653oip.126.1542072194862; Mon, 12 Nov 2018 17:23:14 -0800 (PST) X-Mailinglist: mandoc-tech Reply-To: tech@mandoc.bsd.lv MIME-Version: 1.0 Received: by 2002:a4a:d182:0:0:0:0:0 with HTTP; Mon, 12 Nov 2018 17:23:14 -0800 (PST) X-Originating-IP: [2601:647:5180:35d7::a50] From: Michael Forney Date: Mon, 12 Nov 2018 17:23:14 -0800 Message-ID: Subject: [texi2mdoc] Documents without @node To: tech@mandoc.bsd.lv Content-Type: text/plain; charset="UTF-8" In preparing the texi2mdoc patch I just sent, I noticed a couple of things with the latest CVS version compared to 0.1.2. First, since ffmpeg.texi[0] does not contain a `@node Top` line, I get an essentially blank (see below) output. I'm not very familiar with texinfo, but the manual seems to suggest that this is an invalid document[1]. Should texi2mdoc try to support documents with no top node by creating one implicitly upon @top? If not, should it fail with an error message rather than just producing an empty document? Actually, the output document is not completely blank, it contains quite a few `.Pp` lines. It looks like this is because the `fputs(".Pp\n", p->outfile)` in parseword is not guarded by a check of p->ign, which I believe is a bug. [0] https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/HEAD:/doc/ffmpeg.texi [1] https://www.gnu.org/software/texinfo/manual/texinfo/html_node/The-Top-Node.html#The-Top-Node -- To unsubscribe send an email to tech+unsubscribe@mandoc.bsd.lv