From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760052AbcJTPPi (ORCPT ); Thu, 20 Oct 2016 11:15:38 -0400 Received: from smtp2.goneo.de ([85.220.129.33]:32948 "EHLO smtp2.goneo.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759961AbcJTPPg (ORCPT ); Thu, 20 Oct 2016 11:15:36 -0400 X-Spam-Flag: NO X-Spam-Score: -2.764 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: The downside of math:: From: Markus Heiser In-Reply-To: <877f93qdd2.fsf@intel.com> Date: Thu, 20 Oct 2016 17:15:22 +0200 Cc: Mauro Carvalho Chehab , Jonathan Corbet , LKML , linux-doc@vger.kernel.org Content-Transfer-Encoding: 7bit Message-Id: References: <20161019170246.339eff9d@lwn.net> <20161019222618.154434f3@vento.lan> <877f93qdd2.fsf@intel.com> To: Jani Nikula X-Mailer: Apple Mail (2.1510) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 20.10.2016 um 16:55 schrieb Jani Nikula : >> So, I really prefer not removing math support. > > I wonder if we could cook up a nice way to make the math:: usage > conditional on actually being able to render it. > > I would rather have the math:: directive produce just the preformatted > indented block as-is in the html output, instead of failing, when latex > is not available. > > Adapt to the environment, produce the prettiest thing when you can, but > fallback to something uglier if all the dependencies are not there. See > what I did with the sphinx_rtd_theme in conf.py - we use it if it's > there, but it's not a hard dependency. Hi Jani, you are right. I will add this point to my TODO list. Give me just a view days / ATM I'am working on a other project. --Markus--