From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id OPQAHh29Cl/4SgAA0tVLHw (envelope-from ) for ; Sun, 12 Jul 2020 07:34:53 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 4GCvGR29Cl+KVAAAbx9fmQ (envelope-from ) for ; Sun, 12 Jul 2020 07:34:53 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 551AD9403CA for ; Sun, 12 Jul 2020 07:34:52 +0000 (UTC) Received: from localhost ([::1]:52542 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1juWVd-0005dc-T1 for larch@yhetil.org; Sun, 12 Jul 2020 03:34:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48828) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1juWVJ-0005dG-LP for emacs-orgmode@gnu.org; Sun, 12 Jul 2020 03:34:29 -0400 Received: from mail-pj1-x1029.google.com ([2607:f8b0:4864:20::1029]:40337) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1juWVH-0007gJ-NU for emacs-orgmode@gnu.org; Sun, 12 Jul 2020 03:34:29 -0400 Received: by mail-pj1-x1029.google.com with SMTP id t15so4669811pjq.5 for ; Sun, 12 Jul 2020 00:34:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ruanxiang.net; s=google; h=user-agent:from:to:subject:date:message-id:mime-version; bh=/GUpN8gzHhDLm/H3POHTThmzTh7m7CCrnBUHTuZDAGI=; b=m4kVsQhdxUIkzCt7bRVoZluBAIaD1vJnu6M5Kx6igeo3/GMCnlUAW36xpUn6ZTBGrK xCwhfEnh19C+QvUczJZ3/cG0q6EQJZ2t8kjNuGxC1gNm4cWaIdrpw3OTqszKk1D+4LJg f8DX0ru91B9eBl0R72krGCLZyLYQSwMtD+PiHZ2IVnw7xOr/ta40vM8/F65id3dcdfV4 YJEP/FQjX4DwTIH8HYZinFWc39WKUngMRMN7IycikeO4idEXrY02SOiYpzWipCTLhfNz GChqjvvPbqFFHlKAbkWEgnxyJmO5YGAHMKF7rUOLmM8XiIXHaLbItNcpPsSLA2gtlf2Z or0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=/GUpN8gzHhDLm/H3POHTThmzTh7m7CCrnBUHTuZDAGI=; b=ZuPjmCwnbemN905eCY0qsismp+W+2hF+j58ulp3WrFA6goSn91VYdzYu19aogp2TLL hji8clJ6APc4c/VY/HsQ2s+M/YwhYQmgs6AUgEpMmr7B8/SZ4hDJI+FUveNQo3tU9mZg vUaKxXAo2iFxV/elf7SHOY5MY7XuaV6fIAy3IyO2EKPHif6Lr/iQSKnX+AcAg0EwD9Ol ZsERCLHq4qVoy3WrYnbOdlFGXDdQJovrSeM6hCyeB7k7vf9es2XA1hU1lOHNS75E9tcr ZrmweYOBAT9IgSaTZIiv/1JU5RePbSHo3y2/FYlrEPZKrtjzhsIBE4Db8Q3KdJgnHx4q 02Jg== X-Gm-Message-State: AOAM533SNVE1R6emfu0xWluAl4ifCJy7Xc3ax9caaoZqQVS+ncWaCkkQ gmzKUUobnuX0q6yX7J8aamPpgTLF9Ws= X-Google-Smtp-Source: ABdhPJwcl95cskA15LABwV6EXYCqgG9+GcZw3+geFEXTpfLWe6NaCY/YWRVmoqxGuJWxbnDjzFeVjQ== X-Received: by 2002:a17:90a:b00e:: with SMTP id x14mr14367956pjq.57.1594539265310; Sun, 12 Jul 2020 00:34:25 -0700 (PDT) Received: from localhost (p654d72.fukiff01.ap.so-net.ne.jp. [121.101.77.114]) by smtp.gmail.com with ESMTPSA id w1sm10472830pfc.55.2020.07.12.00.34.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Jul 2020 00:34:24 -0700 (PDT) User-agent: mu4e 1.4.1; emacs 26.3 From: Xiang Ruan To: emacs-orgmode@gnu.org Subject: How to export agenda view with html style Date: Sun, 12 Jul 2020 16:34:22 +0900 Message-ID: <87blkltce9.fsf@ruanxiang.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1029; envelope-from=ruanxiang@ruanxiang.net; helo=mail-pj1-x1029.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ruanxiang.net header.s=google header.b=m4kVsQhd; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.21 X-TUID: HY7+zbCAlktp Hi, all I am using org-agenda for GTD. For easy confirming the information on devices like mobile phone, I export my agenda view to HTML file which locates at my personal server. However, the exported html does not have style information. For general org file, I know it is easy to add #+HTML_HEADER to specify css information for exporting, unfortunately there is no way to add head information in agenda view. I did some googles, found there are two possible solutions. One is to use org-agenda-write to store agenda view to org file and add head information to the file for exporting. Though I didn't try it, I believe it work well. However, it is not the way I have expected, I want to do it with one step. I also tried to use org-agenda-export-html-style and did a simple test by adding the below code to my .emacs (setq org-agenda-export-html-style " ) I found org-agenda-export-html-style inserts text in block of HTML header that makes the above css including invalid. Actually all my personal webpages are made by org-mode with theme-readtheory. The org files have head information: #+SETUPFILE: theme-readtheorg.setup I wonder if I can also include theme-readtheorg.setup in agenda view exporting? Could somebody help and advice me a good solution? Thank you in advance.