From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/23248 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Daniel Staal Newsgroups: gmane.text.pandoc Subject: =?UTF-8?Q?Re=3a_Isn=e2=80=99t_there_a_plain_text_reader=3f_Why=3f?= Date: Thu, 15 Aug 2019 13:29:07 -0400 Message-ID: <4be8dffb-2e8c-3ba3-d584-a06928a48af7@usa.net> References: <255f893b-1048-4de9-aaeb-e9778187e701@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="57226"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCGYLPE23UARBZFM23VAKGQEGGSCLRQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Aug 15 19:29:12 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-pl1-f184.google.com ([209.85.214.184]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1hyJYl-000EdL-Np for gtp-pandoc-discuss@m.gmane.org; Thu, 15 Aug 2019 19:29:11 +0200 Original-Received: by mail-pl1-f184.google.com with SMTP id y22sf1693369plr.20 for ; Thu, 15 Aug 2019 10:29:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1565890150; cv=pass; d=google.com; s=arc-20160816; b=YmIGYezT3gF9DL4hVMTxWlutJMFD+WwdXanOqY3bGy0D0nIF4FodHDdjLkUILNclo7 ccDcLLKbdO8LFYDpVrkX8apEd7yv5vqbFJOEEF+VJDdleHo294JukMtO7FpF3bWlfwNm QBvdDgy2Y35XLkgyJfypcbwoSAh/ml35O8Vv0gUfEZcANxmWlQJfpqDk4awA0vccgn4+ oC45/dDEC987JM3o5lPKcCeKCx6MrhcojI2PLzpIsTGoYkABeRgvWrzcWEfKY6M/5FFm 1KkKr5mGg1RgZx60P5+C/ICORJ4YoOG1ZOyYxbOwqOaAzvkSwfE98bVg7LXISq92VoBn kQ/Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :to:subject:sender:dkim-signature; bh=QB8q1+JFKOZMZXjs14pAYMRHoqoZzB4xsMd7eixp400=; b=Z3H+3IVOaHGFoJvN7NLYBzlac61ASwdjvQ0+t2X9nBE8pweDe7eQGhH/X27w3b5ke6 wgxaeJTjtttKvM1HxAziAwxAiwe8BxbT+jDoX0+60R20b8fKp2V7BTKJuYFXiepUeLNv vgOqHpUQtbIeiNMu3shb74o8RRd8dyO/WMTYzvqzMkffnTpdxd8xnmc48XP/CS4VB9zR Xv6efU462x1oR0NzSgkqg7AWXEpRtnqVpM/7N+oNWXFnWwT6wI2VUa4h/jJN9/HMFohI /HXAhr+J2R0MBAclhVWar7oxDaQS9vDgaQibwIbALeqdAgbROnoM2s2goTlHoGbzed8Y KngQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=neutral (google.com: 71.191.170.84 is neither permitted nor denied by domain of dstaal-Jdbf3xiKgS8@public.gmane.org) smtp.mailfrom=DStaal-Jdbf3xiKgS8@public.gmane.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=usa.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=QB8q1+JFKOZMZXjs14pAYMRHoqoZzB4xsMd7eixp400=; b=oecK7oO3tlNM34yUD9oidGyK4MPGMAis4XaDrf3CjgrXRqaFHmAEqJ2ko4xWfTe/AM jepoesFBYn3yWGLjAlwuSCS0XwarSrYfUnQ1IIlfGqe7unxHqxL6fzBNOCnJ76bS01lR UYnqWueuNoWBbqRRxDS9qwvnRyXftusidBxdY8gpcdp0Bj15P/rkiO0KcNmv9r7EAS33 DY/ODo63ZrbA/TSz00Ansk07CRYZzhg0pkf+bAzTgryXIdaNx1JkhynDRJQO0jWS1fKW yEFx4A6kdYOCD2mL5qEYHGOx75NIb3EX0un9zxIuw3B4/9GupLyMP7fyS0/ImeqqO9DL W+Hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=QB8q1+JFKOZMZXjs14pAYMRHoqoZzB4xsMd7eixp400=; b=PtdTtwsNmJOfKYHTgxgstpdziEXOpsYVMncWL/imAMXayzBgI+M+SRdMOAY3zJW1kY jAS3Z9Sk9oEjiExEPs9FrAWp5peYvb2CeNQOZ0TGhdta4WG1gBupZW9qoJTrd6Sq13Dc YkAxHTSNloyvU/2Iog5vH8Us4cyDI6BqNBUGhj5BpZR/iwRf5kyEJliR986Y/Zjv7dPd 1weq+LB/p5ceQphWzp4wVHVb/9JG9dJjX68DyQufM8Qm2RcHSh7OWcnhbsr/GhmwpQzh JbNmrIDRmmK1fYq16eKYOirXdcVSl83FIuHgVP6JXuRm2Ruilqy8K2Y99gBi65/27dVZ Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APjAAAXhSAIQTVupjl/i+WclWjp0XzeyDTopTGVunFyWsFfRQEoXgdDx sw5/6+CyaXxD9mNjyKfsWdg= X-Google-Smtp-Source: APXvYqw7aVFbX3RSO0b4xoZzN0uyZQgjyNp+MsvR/u0fVbrnRJU+/sSW5cb4HZ0peXdtPNc3IBRY1Q== X-Received: by 2002:a17:90a:9282:: with SMTP id n2mr332040pjo.0.1565890149717; Thu, 15 Aug 2019 10:29:09 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:902:680d:: with SMTP id h13ls1391775plk.13.gmail; Thu, 15 Aug 2019 10:29:08 -0700 (PDT) X-Received: by 2002:a17:902:bb81:: with SMTP id m1mr5369463pls.125.1565890148724; Thu, 15 Aug 2019 10:29:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565890148; cv=none; d=google.com; s=arc-20160816; b=Tb1ufW6sbWVMJDPwA/MunwcwW+Hy+Us5gIUN5zhmn7Esw9Do4kRUSktGk7kgbejF3o +wp+co0zIkt5j4nO/ZHtqe6EdJUACCqGWDd57vvIAqxWAdPDnxInpCLO1Rw02bFOPbb2 EeOxtoqwL3RPw/LYiWObjw5vss125ivlQbo6RnvO9eloIM6ZVSDn6Sk2M73CPuzgdguQ SqkuEB6QrIStkIzLmQVnEtAHjF7M+3Ydh74aVv/Bn0bYS0XVNNeJcqEZ1/IkVwWBzeAK 3yWyl+hgf5ugd9GA9levcLRprJzgdZVuOhAZ2A6sinJsOBnS+KLtL6GlzycvTFdSJtbY FEng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject; bh=EWZ3gKPtigCcbvCrQ2rUignQmybPNyGjQqgcFoTyQwQ=; b=U3wlmJUtHyqQqA8ZhmgNstMzQwkJYGa7B5PgQP7llYWMetI15L4KkZkpf5A5f0ACrF u/UGefxyoyP6BMNASbYxO4c4s7Kujkjc/OdJqFL252jWIXi1dGQDpbHOGmN8UH6uHdy6 fVk9WPeuKHu1zkRlMxatRJQkBFbNc/Adp86y0HKaQShZiK2MZ2spGYA2bCKoCd1W0dzC +FeO+geJiwaFf+8W5hxl/U7a9HCAvO1nRWFHmy3dTXy7Ll1d1DpsJdDp8kPFUM+nz5Kz 62sdgz8uSgumRxOSQESiOFkYexs9bgji9iNu8Ca0g99a3Z/tYPK+bXUC4emrEVys3t60 bZLQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 71.191.170.84 is neither permitted nor denied by domain of dstaal-Jdbf3xiKgS8@public.gmane.org) smtp.mailfrom=DStaal-Jdbf3xiKgS8@public.gmane.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=usa.net Original-Received: from mail.magehandbook.com (static-71-191-170-84.washdc.fios.verizon.net. [71.191.170.84]) by gmr-mx.google.com with ESMTP id i184si174695pge.5.2019.08.15.10.29.08 for ; Thu, 15 Aug 2019 10:29:08 -0700 (PDT) Received-SPF: neutral (google.com: 71.191.170.84 is neither permitted nor denied by domain of dstaal-Jdbf3xiKgS8@public.gmane.org) client-ip=71.191.170.84; Original-Received: from MacBook-Pro.fios-router.home (hamakua.magehandbook.com [192.168.1.1]) by mail.magehandbook.com (Postfix) with ESMTP id 468YN34pjjz10M for ; Thu, 15 Aug 2019 13:29:07 -0400 (EDT) In-Reply-To: <255f893b-1048-4de9-aaeb-e9778187e701-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> Content-Language: en-US X-Original-Sender: DStaal-Jdbf3xiKgS8@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 71.191.170.84 is neither permitted nor denied by domain of dstaal-Jdbf3xiKgS8@public.gmane.org) smtp.mailfrom=DStaal-Jdbf3xiKgS8@public.gmane.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=usa.net Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:23248 Archived-At: On 8/15/19 1:08 PM, Rudi C wrote: > I want to read source code on my Kindle, and I was hoping to just use `pandoc -s -f txt *.py -o a.mobi` but it seems pandoc lacks a plain text reader?! > Define plain text. Do you just want it passed through with no changes? Do you want emphasis? Do you want indents? Do you want wrapping? Wrapping in some places but not others? Pandoc reads several different formats that look like plain text. In your case, I'd probably create a couple of files, each with just one line: 00000.py: ~~~{.python} ZZZZZZ.py ~~~~ Then use `-f markdown` - that should enclose the whole thing inside a fenced code block and have it treat the interior as python code. Daniel T. Staal -- --------------------------------------------------------------- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. ---------------------------------------------------------------