You can subscribe to this list here.
2004 |
Jan
|
Feb
(2) |
Mar
(3) |
Apr
(7) |
May
(7) |
Jun
(2) |
Jul
|
Aug
(20) |
Sep
|
Oct
|
Nov
(13) |
Dec
(11) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(1) |
Feb
(5) |
Mar
(8) |
Apr
(21) |
May
(25) |
Jun
(32) |
Jul
(6) |
Aug
|
Sep
(9) |
Oct
(9) |
Nov
|
Dec
(2) |
2006 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
(3) |
Jul
|
Aug
(5) |
Sep
|
Oct
|
Nov
(7) |
Dec
|
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(7) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(8) |
Sep
(2) |
Oct
|
Nov
|
Dec
|
2010 |
Jan
(1) |
Feb
(1) |
Mar
(5) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(3) |
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(1) |
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Tomer A. <ta...@AI...> - 2009-07-30 16:35:10
|
In hyperlatex-format-newcommand: hyperlatex.el:1241:42:Warning: `string-to-int' is an obsolete function (as of Emacs 22.1); use `string-to-number' instead. In hyperlatex-format-providecommand: hyperlatex.el:1254:46:Warning: `string-to-int' is an obsolete function (as of Emacs 22.1); use `string-to-number' instead. In hyperlatex-format-newenvironment: hyperlatex.el:1277:48:Warning: `string-to-int' is an obsolete function (as of Emacs 22.1); use `string-to-number' instead. In hyperlatex-format-makemenu: hyperlatex.el:2121:17:Warning: `string-to-int' is an obsolete function (as of Emacs 22.1); use `string-to-number' instead. In hyperlatex-format-setcounter: hyperlatex.el:3391:18:Warning: `string-to-int' is an obsolete function (as of Emacs 22.1); use `string-to-number' instead. In hyperlatex-format-addtocounter: hyperlatex.el:3408:18:Warning: `string-to-int' is an obsolete function (as of Emacs 22.1); use `string-to-number' instead. Wrote /usr/local/lib/hyperlatex/hyperlatex.elc GNU Emacs 22.3.1 Copyright (C) 2008 Free Software Foundation, Inc. GNU Emacs comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of Emacs under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. -- Tomer Altman ta...@ai... (650)859-2692 http://www.ai.sri.com/people/taltman Bioinformatics Research Group Artificial Intelligence Center SRI, International http://bioinformatics.ai.sri.com/ |
From: Roland S. <st...@an...> - 2008-04-20 10:12:31
|
Hi, a Debian user reported the following: =============================================================== '\W\htmlcaption{{\bf{BUILD HISTORY}}}' in version 2.9a-3 wrongly generates: <table border><caption><b>BUILD HISTORY</b></caption><t<p>body><tr><td colspan="1" align="left"> </p> which places a spurious 'body>' above 'BUILD HISTORY' In version 2.8b-3 it generated correctly: <table border><caption><b>BUILD HISTORY</b></caption><tbody><tr><td colspan="1" align="left"> I apologize if this is not a hyperlatex matter but something emacs did. I attach the entire file that is used with the hyperlatex command: 'hyperlatex this_build.tex' =============================================================== See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=473795 bye, Roland |
From: John C. L. <lu...@cs...> - 2007-06-15 21:05:52
|
On Fri, 2007-06-15 at 14:46 -0400, tom sgouros wrote: > John C. Lusth <lu...@cs...> wrote: > > The link still rendered in blue. > > Fidget with that stuff in the CSS. If you need it to vary, give the > link its own class with \xmlattributes. Some day... I did get things to work after a fashion using HlxEval. Here is my latest version which I am sure can be greatly improved! The \see{thisPage} macro call looks for 'thisPage.tex' and if it finds the page, it renders the name in blue (and makes it a link in html); otherwise it renders the name as plain text in red. \newcommand{\see}[1] { \IfFileExists{#1.tex} {\textcolor{blue}{#1}} {\textcolor{red}{#1?}} } \T\begin{ifhtml} \HlxEval{ (put 'HlxSee 'hyperlatex 'hyperlatex-See) (defun hyperlatex-See () (let ((name (hyperlatex-parse-required-argument))) (cond ((file-exists-p (concat name ".tex")) (hyperlatex-insert-URL name) ) (t (hyperlatex-insert-name name "red") ) ) ) ) (defun hyperlatex-insert-name (filename color) (insert hyperlatex-meta-< "font color=" color hyperlatex-meta->) (insert filename "?") (insert hyperlatex-meta-< "/font" hyperlatex-meta->) ) (defun hyperlatex-insert-URL (filename) (insert hyperlatex-meta-< "a href=" hyperlatex-meta-dq) (insert filename ".html" hyperlatex-meta-dq) (insert hyperlatex-meta->) (insert filename) (insert hyperlatex-meta-< "/a" hyperlatex-meta->) ) } \newcommand{\see}{\HlxSee} \T\end{ifhtml} |
From: tom s. <to...@as...> - 2007-06-15 18:47:43
|
John C. Lusth <lu...@cs...> wrote: > Hey, while I'm at it, is it possible to easily change > the link color in certain instances? This didn't work: > > \textcolor{red}{\xlink{thisPage}{thisPage.html}} > > The link still rendered in blue. Fidget with that stuff in the CSS. If you need it to vary, give the link its own class with \xmlattributes. -tom -- ------------------------ tomfool at as220 dot org http://sgouros.com http://whatcheer.net |
From: John C. L. <lu...@cs...> - 2007-06-15 18:30:29
|
Well in the meantime, I used this m4 macro-processor hack... %define(see,`syscmd(test -e $1.tex) ifelse(sysval,0,\xlink{$1}{$1.html}, \textcolor{red}{$1})') The above should be entered on a single line, not multiple lines as shown. The advantage? You can bring the entire power of Linux to bear via the syscmd macro in m4. The disadvantage? You should run your latex source through m4 before running latex/hyperlatex. Since I'm using make to generate and upload the html pages, this is not too big of a deal. However, I will try the HlxEval trick for a cleaner solution... Hey, while I'm at it, is it possible to easily change the link color in certain instances? This didn't work: \textcolor{red}{\xlink{thisPage}{thisPage.html}} The link still rendered in blue. Thanks for all your help, john |
From: tom s. <to...@as...> - 2007-06-15 16:07:02
|
John C. Lusth <lu...@cs...> wrote: > > On the other hand, you could also add a command like IfFileExists to > > hyperlatex by writing a bit of emacs-lisp code (if you want to go to > > that level of coding). > > I'm familiar with lisp/scheme/guile so I could do this. I assume I > edit hyperlatex.el? Is there a tutorial on exactly how to do this > or is there a particular extension from which I could analogize? You don't need to edit the big file. Put the definition inside \HlxEval{ ... }, and include it in your text. You can use \usepackage{XXX}, too, which will look for a XXX.hlx file. Look at any .hlx file in the distribution for examples. There's a little bit in the manual about extending hyperlatex. -tom -- ------------------------ tomfool at as220 dot org http://sgouros.com http://whatcheer.net |
From: John C. L. <lu...@cs...> - 2007-06-15 15:30:35
|
On Thu, 2007-06-14 at 15:09 -0400, Dan Corkill wrote: > > The latex output shows the missing page names in red, > > as desired, but hyperlatex chokes on the IfFileExists > > command. Is there anyway to "pass-through" latex macros > > that hyperlatex doesn't understand? > > John, > > What I do is define hyperlatex only versions of commands that what is > reasonable in the hyperlatex version of the document. For example, > you could define IfFileExists to simply always return true (or false) > when hyperlatex'ing. Hi Dan, Thanks for the reply. What I am aiming for is the html versions signalling somehow that the link doesn't exist; I don't care as much if the latex/pdf versions do. > On the other hand, you could also add a command like IfFileExists to > hyperlatex by writing a bit of emacs-lisp code (if you want to go to > that level of coding). I'm familiar with lisp/scheme/guile so I could do this. I assume I edit hyperlatex.el? Is there a tutorial on exactly how to do this or is there a particular extension from which I could analogize? thanks again, john |
From: John C. L. <lu...@cs...> - 2007-06-14 19:00:09
|
Hi all, I'm trying to setup my documentation pages for a project to automatically detect missing pages. I've defined this macro to indicate missing links in red: \newcommand{\see}[1] { \IfFileExists{#1.tex} {\xlink{#1}{#1.html}} {\textcolor{red}{\xlink{#1}{#1.html}}} } I use the macro like this: See also: \see{thisPage},\see{thatPage} The latex output shows the missing page names in red, as desired, but hyperlatex chokes on the IfFileExists command. Is there anyway to "pass-through" latex macros that hyperlatex doesn't understand? If I knew anything at all about latex/hyperlatex, I guess I would implement the following strategy for hyperlatex. If I didn't understand a macro call, I would pipe it through latex as a preprocessor to expand that un-understood macro and then hyperlatex the result. Of course, I don't even know if latex can be used to provide limited levels of expansion... john |
From: Hugo V. <hvw...@ya...> - 2007-06-02 15:29:51
|
Hi, Trying to use \rowcolor I get an error. This is with Debian Sid Hyperlatex 2.9a-2. I attach the error log(typescript) and the tex file. Thanks! Hugo Yahoo! Mail has very limited reply options. You can top-post or bottom-post and that's it! Hugo ____________________________________________________________________________________ Pinpoint customers who are looking for what you sell. http://searchmarketing.yahoo.com/ |
From: Dan C. <co...@GB...> - 2006-11-21 03:48:18
|
Tom, 2.9a fixes a number of paragraph problems that I formerly needed to compensate for under 2.8 (kudos!). However, I've encountered a regression with tabular environments that is giving problems. Simple test example: \begin{tabular}{ll} nonlink-slot-name ::= & slot-name\\ link-slot-name ::= & slot-name\\ \end{tabular} Produces: > <table><tbody><tr><td colspan="1" align="left"> > <p>nonlink-slot-name ::= </td><td colspan="1" align="left"> slot-name</td></tr> > <tr><td colspan="1" align="left"> > link-slot-name ::= </td><td colspan="1" align="left"> slot-name</td></tr> > <tr><td colspan="1" align="left"> > </td></tr></tbody></table> > </p> The <p> and </p> is improperly nested within the <table>, <tr>, and <td>. I'd be happy with no <p> </p> at all in this situation. Any ideas on a fix? Again, many thanks for the big improvement in Hyperlatex! -- Dan Corkill |
From: tom s. <to...@as...> - 2006-11-20 13:42:23
|
Roland Stigge <st...@an...> wrote: > HlxIcons should contain a trailing slash, otherwise the referenced image > filenames end up like "picsblank.png" which doesn't exist. This problem > was present before hyperlatex 2.9. Thank you again. This is fixed in CVS, and will be in the next tar file I make up, which will be 2.9b, and will include some other documentation improvements. -tom -- ------------------------ tomfool at as220 dot org http://sgouros.com http://whatcheer.net |
From: Roland S. <st...@an...> - 2006-11-20 10:16:09
|
Hi, another point: According to README: Edit the file "siteinit.hlx". Right at the beginning is the definition of "\HlxIcons". Change it to the URL of the directory where you put the icons (you must include the trailing slash "/"). If the URL for that directory contains a "~", you'll have to write that as "\~{}". HlxIcons should contain a trailing slash, otherwise the referenced image filenames end up like "picsblank.png" which doesn't exist. This problem was present before hyperlatex 2.9. The fix: --- hyperlatex-2.9a.orig/hlx/contrib/rhxhlx/rhxdoc.tex +++ hyperlatex-2.9a/hlx/contrib/rhxhlx/rhxdoc.tex @@ -16,7 +16,7 @@ %\T\newcommand{\CVSDATE}{\W} %\CVSDATE $Date: 2006/11/20 02:31:51 $ \pagecolor[gray]{0.9} -\W\newcommand{\HlxIcons}{pics} +\W\newcommand{\HlxIcons}{pics/} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \htmldirectory{hyperlatex} --- hyperlatex-2.9a.orig/hlx/contrib/rhxhlx/rhxpanel.hlx +++ hyperlatex-2.9a/hlx/contrib/rhxhlx/rhxpanel.hlx @@ -53,7 +53,7 @@ %-- command %-- \newcommand{\HlxIcons}{http://www.cs.uu.nl/\~{}otfried/img/} %-- The following setting is the default. -%-- \renewcommand{\HlxIcons}{pics} +%-- \renewcommand{\HlxIcons}{pics/} %-- Whereas the first specifies a fixed place in the Internet, the %-- second form describes a local directory starting at %-- \htmldirectory. A slash will be added automatically to the path if @@ -341,7 +341,7 @@ %\newcommand{\HlxPanelTextColor}{black} %\newcommand{\HlxPanelColor}{##D0D0D0} -\newcommand{\HlxIcons}{pics} +\newcommand{\HlxIcons}{pics/} \newcommand{\HlxIconExtension}{png} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% bye, Roland |
From: tom s. <to...@as...> - 2006-11-20 02:57:55
|
Roland Stigge <st...@an...> wrote: > Hyperlatex ERROR: Empty hyperlatex-mode-stack in hyperlatex-set-state. > Hint: Try running Latex, it may give a better error message. > > Error discovered here: > >>>Ralf Hemmecke/a \Xlink{\MyHomePage}{\MyHomePage} > \today\HlxBlk\xml{/address}\\ > \HlxBottomPanel{} ... > ========================================================================= > > A bugfix release should at least also fix bugs in the own docs... > How embarrassing. This bug has been fixed (and those docs, which I had forgotten about have been updated to remove features no longer available). Version 2.9a is now available and works on everything I know about. Between version 2.8 and 2.9, there was a fundamental change in the underpinnings, made in order to produce html that passes the validations. It seems to work, but we're still interested in feedback and testing before calling it the stable release. Many thanks, -tom -- ------------------------ tomfool at as220 dot org http://sgouros.com http://whatcheer.net |
From: Roland S. <st...@an...> - 2006-11-19 14:52:34
|
Hi, Tom Sgouros wrote: > Due primarily to the kindness and hard work of Ryszard Kubiak, and in > spite of my lamentably dilatory testing, we may have a new release > available that fixes some of the extant <p> issues. You'll find releas= e > 2.9 on the download page at hyperlatex.sourceforge.net, and we would > appreciate any feedback you have on its performance or flaws. Some regression here (Compiling Ralf Hemmecke's docs): =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D [...] Wrote /tmp/buildd/hyperlatex-2.9/hlx/contrib/rhxhlx/hyperlatex/navigationpanel.= html Hyperlatex ERROR: Empty hyperlatex-mode-stack in hyperlatex-set-state. Hint: Try running Latex, it may give a better error message. Error discovered here: >>>Ralf Hemmecke=EF=BF=BD=EF=BF=BD/a=EF=BF=BD \Xlink{\MyHomePage}{\MyHome= Page} \today=EF=BF=BD\HlxBlk\xml{/address}\\ \HlxBottomPanel{} ... =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D A bugfix release should at least also fix bugs in the own docs... Thanks, bye, Roland |
From: Tom S. <to...@as...> - 2006-11-10 04:31:21
|
** reposted with a less stupid subject line ** Hello all: Due primarily to the kindness and hard work of Ryszard Kubiak, and in spite of my lamentably dilatory testing, we may have a new release available that fixes some of the extant <p> issues. You'll find release 2.9 on the download page at hyperlatex.sourceforge.net, and we would appreciate any feedback you have on its performance or flaws. This release appears to work better than 2.8, but in some cases may be somewhat more brittle, failing on issues that used to pass unacknowledged. But since those issues were mostly LaTeX errors, it still seems like a step forward. The documentation online is still for version 2.8. Best, -tom -- ------------------------ tomfool at as220 dot org http://sgouros.com http://whatcheer.net |
From: Ardi <bo...@ya...> - 2006-08-21 07:46:22
|
Hello Tom, thanks for the quick answer and for the explanation. 1. I have realized that I made an error: namely I wanted to use color attribute for H1-H6 tags but for these tags align is the only parameter. 2. Using \xml{} \xml{} is great: f.e. \xml{table border=-1 bgcolor="#ffff99" bordercolor=green WIDTH="100%" CELLPADDING = "0" CELLSPACING = "0"} \xml{TR} \xml{TH align="left" valign="middle"} hahaha... \xml{/TR} \xml{/table}\\ Using this example I am able to set the background for my verbatim output: f.e. \xml{table border=-1 bgcolor="#ffff99" bordercolor=green WIDTH="100%" CELLPADDING = "0" CELLSPACING = "0"} \xml{TR} \xml{TH align="left" valign="middle"} \begin{verbatim}./hyperlatex -html ard.tex\end{verbatim}\xml{/TR} \xml{/table}\\ 3. So far I have not tried composing an init.hlx but I will try it. 4. I will play also with this.css and use the path: \htmlcss{this.css} Regards, Ardi __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: tom s. <to...@as...> - 2006-08-18 13:01:22
|
Ardi <bo...@ya...> wrote: > Hello Tom, > > thanks for the answer. > > 0. > You write that there is a problem with <p> tag. So I tried to > change > the <h1>, <h2> tags in the preamble to get something colored. > > \xmlattributes{h1}{color="#ffcc44",align="center"} > \xmlattributes{h2}{color="#112233",align="right"} > \xmlattributes{h3}{color="#555555",align="left"} > > and > > ... > \begin{ifhtml} > \section{Intro} > The basic idea of Hyperlatex is to make it possible to write.\\ > \textcolor{red}{The basic idea of Hyperlatex is to make it > possible to write.} > <h2>this is with h2.</h2> > <h1>this is with h1.</h1> > <h3>this is with h3.</h3> > \end{ifhtml} > ... Don't do that. Do this: \section{this is with h1} \subsection{this is with h2} and so on. If you really need to use an XML tag directly, do this: \xml{h1} \xml{/h1} or: \xml{h1 color="red"} > > Are h1 and h2 attributes used automatically for section and > subsection setting? It depends on how many sections your document is divided into. > > 2. > >HTML 3.2 allows you to specify the background color of an HTML > >node using an attribute that you can set as follows. (If you do > >this in init.hlx or the preamble of your file, all nodes of your > >document will be colored this way.) > > But I do not have file init.hlx (only siteinit.hlx) in the > Hyperlatex-2.8b.tar. init.hlx is a file you can write, and hyperlatex will look for it. Write it and put it in ~/.hyperlatex. You'll probably find it simpler to put things in the preamble of your document, though. > > 3. > What I would like to achieve is to have a background of either > some commands or some verbatim outputs be with given color with > full width. > Is it possible to do it with <p> tag with color attribute or > tabular environment is needed? Neither. Try using \begin{verbatim} and set the attributes of the <PRE> XML tag. > > 4. > > Is \htmlcss{this.css} better than > \htmlcss{d:/assa/Hyperlatex-2.8/bin/this.css}? Well, since one looks like a relative URL that a browser could interpret and the other looks like a specific file reference that no browser could interpret, I'd say to go with the first. > If I use this.css then what is the point of using > \xmlattributes*{h1}{align="center"} > \xmlattributes*{p}{class="dotted"}... etc.? None. Use the CSS wherever possible and your life will be simpler, work will be simpler, and you'll wonder what to do with your spare time. -tom -- ------------------------ tomfool at as220 dot org http://sgouros.com http://whatcheer.net |
From: Ardi <bo...@ya...> - 2006-08-18 08:10:01
|
Hello Tom, thanks for the answer. 0. You write that there is a problem with <p> tag. So I tried to change the <h1>, <h2> tags in the preamble to get something colored. \xmlattributes{h1}{color="#ffcc44",align="center"} \xmlattributes{h2}{color="#112233",align="right"} \xmlattributes{h3}{color="#555555",align="left"} and ... \begin{ifhtml} \section{Intro} The basic idea of Hyperlatex is to make it possible to write.\\ \textcolor{red}{The basic idea of Hyperlatex is to make it possible to write.} <h2>this is with h2.</h2> <h1>this is with h1.</h1> <h3>this is with h3.</h3> \end{ifhtml} ... but nothing is affected. Am I using wrongly the three lines with h1,h2,h3 tags? According hyperlatex manual (Setting Html attributes section): 1. >The following attributes make section and subsection headings be >centered. > > \xmlattributes{h1}{align="center"} > \xmlattributes{h2}{align="center"} Are h1 and h2 attributes used automatically for section and subsection setting? What is the case for subsubsections? 2. >HTML 3.2 allows you to specify the background color of an HTML >node using an attribute that you can set as follows. (If you do >this in init.hlx or the preamble of your file, all nodes of your >document will be colored this way.) But I do not have file init.hlx (only siteinit.hlx) in the Hyperlatex-2.8b.tar. 3. What I would like to achieve is to have a background of either some commands or some verbatim outputs be with given color with full width. Is it possible to do it with <p> tag with color attribute or tabular environment is needed? 4. Is \htmlcss{this.css} better than \htmlcss{d:/assa/Hyperlatex-2.8/bin/this.css}? If I use this.css then what is the point of using \xmlattributes*{h1}{align="center"} \xmlattributes*{p}{class="dotted"}... etc.? Thanks and regards, Ardi __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: tom s. <to...@as...> - 2006-08-17 14:33:46
|
Ardi <bo...@ya...> wrote: > Hello all, > what is the correct setting if I want to use external css file > this.css inside example.tex? > Is \htmlcss{d:/assa/Hyperlatex-2.8/bin/css.css} enough? - since > if I add inside example.tex This is right, though "d:/assa/Hyperlatex..." doesn't look like a valid URL or local reference to me. If you use this command, you'll get <link rel="stylesheet" href="d:/assa/..." type="text/css"> in your output, which ought to do what you want. > > ... > \begin{ifhtml} > \section{Intro} > The basic idea of Hyperlatex is to make it possible to write.\\ > \textcolor{red}{The basic idea of Hyperlatex is to make it > possible to write.} > <p class="dotted">A dotted borderfafaf.</p> > <h2>this is with h2.</h2> > \end{ifhtml} > ... This isn't right. Use \xmlattributes*{p}{class="dotted"} to generate <p class="dotted"> in the next <p> tag, or use \xmlattributes{p}{class="whatever"} to change it in all of them. But a caveat: <p> generation, unlike the other tags, is a bit unreliable. We are now testing a new release that fixes the problem, and I expect it to be released within a few weeks. -tom -- ------------------------ tomfool at as220 dot org http://sgouros.com http://whatcheer.net |
From: Ardi <bo...@ya...> - 2006-08-17 13:44:36
|
Hello all, what is the correct setting if I want to use external css file this.css inside example.tex? Is \htmlcss{d:/assa/Hyperlatex-2.8/bin/css.css} enough? - since if I add inside example.tex ... \begin{ifhtml} \section{Intro} The basic idea of Hyperlatex is to make it possible to write.\\ \textcolor{red}{The basic idea of Hyperlatex is to make it possible to write.} <p class="dotted">A dotted borderfafaf.</p> <h2>this is with h2.</h2> \end{ifhtml} ... then the lines with tags <> are displayed without change. The content of this.css: p.dotted {border-style: dotted} p.dashed {border-style: dashed} p.solid {border-style: solid} h2 {h2 {color: #dda0dd}} Thanks and regards, Ardi __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Ardi <bo...@ya...> - 2006-06-29 06:17:36
|
Hello, can sy help me to get Hyperlatex-28b.tar.gz running under WinXP? I changed gs to gswin32.exe (with path) a bit in file ps2image but I have error when running: $ ./hyperlatex -image tryx7.tex This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4) entering extended mode LaTeX2e <2003/12/01> Loading CZ hyphenation patterns: Pavel Sevecek, v3, 1995 Loading SK hyphenation patterns: Jana Chlebikova, 1992 Babel <v3.8g> and hyphenation patterns for english, usenglishmax, dumylang, noh yphenation, basque, welsh, czech, slovak, german, ngerman, danish, spanish, cat alan, estonian, finnish, french, croatian, hungarian, italian, latin, dutch, no rsk, polish, portuguese, romanian, russian, slovene, serbian, swedish, turkish, loaded. (tryx7.tex (D:\A_home\texmf\tex\latex\base\article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (D:\A_home\texmf\tex\latex\base\size10.clo)) (hyperlatex.sty Package: 'hyperlatex' v2.7 Otfried Cheong (D:\A_home\texmf\tex\latex\tools\verbatim.sty) ****************************************** * Making bitmaps from Hyperlatex source! * ****************************************** ) (D:\A_home\texmf\tex\latex\tools\xspace.sty) (D:\A_home\texmf\tex\latex\graphics\graphicx.sty (D:\A_home\texmf\tex\latex\graphics\keyval.sty) (D:\A_home\texmf\tex\latex\graphics\graphics.sty (D:\A_home\texmf\tex\latex\graphics\trig.sty) (D:\A_home\texmf\tex\latex\00miktex\graphics.cfg) (D:\A_home\texmf\tex\latex\graphics\dvips.def))) (D:\A_home\texmf\tex\generic\babel\babel.sty (D:\A_home\texmf\tex\generic\babel\germanb.ldf (D:\A_home\texmf\tex\generic\babel\babel.def)) (D:\A_home\texmf\tex\generic\babel\english.ldf)) Writing index file tryx7.idx No file tryx7.aux. <this.png> [10001] [1] [2] LaTeX Font Warning: Font shape `OT1/cmr/bx/sc' undefined (Font) using `OT1/cmr/bx/n' instead on input line 213. [3] [10002] [10003] [4] [10004] [10005] [5] (D:\A_home\texmf\tex\latex\base\omscmr.fd) (hyperlatex.ind [6] [7] [8]) No file tryx7.toc. [9] (tryx7.aux) LaTeX Font Warning: Some font shapes were not available, defaults substituted. LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right. ) Output written on tryx7.dvi (14 pages, 24220 bytes). Transcript written on tryx7.log. This is dvips(k) 5.94b Copyright 2004 Radical Eye Software (www.radicaleye.com) ' TeX output 2006.06.29:0811' -> <tex.pro><texps.pro>. <cmr10.pfb><cmmi10.pfb><cmr7.pfb><cmex10.pfb> <cmmi7.pfb>[10001] d:\netpbm\bin\pnmcrop.exe: Unable to create temporary file. mkstemp() failed with errno 22 (Invalid argument) d:\netpbm\bin\pnmtopng.exe: Unable to create temporary file. mkstemp() failed with errno 22 (Invalid argument) Done This is dvips(k) 5.94b Copyright 2004 Radical Eye Software (www.radicaleye.com) ' TeX output 2006.06.29:0811' -> <tex.pro><texps.pro><special.pro>. <cmr10.pfb><cmmi10.pfb><cmr7.pfb> <cmex10.pfb><cmmi7.pfb>[10002] d:\netpbm\bin\pnmcrop.exe: Unable to create temporary file. mkstemp() failed with errno 22 (Invalid argument) d:\netpbm\bin\pnmtopng.exe: Unable to create temporary file. mkstemp() failed with errno 22 (Invalid argument) Done This is dvips(k) 5.94b Copyright 2004 Radical Eye Software (www.radicaleye.com) ' TeX output 2006.06.29:0811' -> <tex.pro><texps.pro><special.pro>. <lcircle1.pfb><line10.pfb><cmsy10.pfb> <cmr10.pfb><cmmi10.pfb><cmr7.pfb><cmmi7.pfb>[10003] d:\netpbm\bin\pnmcrop.exe: Unable to create temporary file. mkstemp() failed with errno 22 (Invalid argument) d:\netpbm\bin\pnmtopng.exe: Unable to create temporary file. mkstemp() failed with errno 22 (Invalid argument) Done This is dvips(k) 5.94b Copyright 2004 Radical Eye Software (www.radicaleye.com) ' TeX output 2006.06.29:0811' -> <tex.pro><texps.pro><special.pro>. <cmr10.pfb><cmmi10.pfb><cmr7.pfb> <cmex10.pfb><cmmi7.pfb>[10004] d:\netpbm\bin\pnmcrop.exe: Unable to create temporary file. mkstemp() failed with errno 22 (Invalid argument) d:\netpbm\bin\pnmtopng.exe: Unable to create temporary file. mkstemp() failed with errno 22 (Invalid argument) Done This is dvips(k) 5.94b Copyright 2004 Radical Eye Software (www.radicaleye.com) ' TeX output 2006.06.29:0811' -> <tex.pro><texps.pro><special.pro>. <lcircle1.pfb><line10.pfb><cmsy10.pfb> <cmr10.pfb><cmmi10.pfb><cmr7.pfb><cmmi7.pfb>[10005] d:\netpbm\bin\pnmcrop.exe: Unable to create temporary file. mkstemp() failed with errno 22 (Invalid argument) d:\netpbm\bin\pnmtopng.exe: Unable to create temporary file. mkstemp() failed with errno 22 (Invalid argument) Done user@pc ~/assa/Hyperlatex-2.8/bin ********* ps2image: $ cat ps2image #! /bin/sh # convert ps file to Gif # resolution=95 quantcmd="cat" transcmd="-transparent #ffffff " antialiasing="" # usage() { echo "Usage:" 1>&2 echo " ps2image [ -res RESOLUTION ] [ -notrans ] psfile.ps file.png" 1>&2 echo " ps2image [ -res RESOLUTION ] [ -notrans ] psfile.ps file.gif" 1>&2 echo " " 1>&2 exit 1 } [ $# -lt 2 ] && usage while [ $# -gt 0 ]; do case $1 in -quant) quantcmd="ppmquant 50" ;; -notrans) transcmd="" ;; -antialiasing) antialiasing="-dTextAlphaBits=4 -dGraphicsAlphaBits=4" ;; -res) shift if [ $# -eq 0 ]; then echo "ps2image: no resolution specified" 1>&2 exit 1 fi resolution=$1 ;; -*) usage;; *.ps) fig=$1;; *.png) image=$1; convertcommand="pnmtopng";; *.gif) image=$1; convertcommand="pnmtogif";; esac shift done #-q -dNOPAUSE -r$resolution $antialiasing -sDEVICE=ppm -sOutputFile= cat $fig \ | /d/GS853/gs/gs8.53/bin/gswin32.exe -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -dBATCH -dNOPAUSE -sDEVICE=ppm -r$resolution -sOutputFile=- - \ | pnmcrop | $quantcmd | $convertcommand -interlace $transcmd > $image echo "Done" ************************* Can sy give me an advice? note: netpbm10-27.exe was installed to d:\netpbm (is it possible to check whether it is installed correctly?) Thanks for the help. Ardi __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: tom s. <to...@as...> - 2006-06-27 16:57:09
|
Ardi <bo...@ya...> wrote: > Hello, > > sorry, but somehow I do not understand the explanation for > including a simple image (f.e. exampleimage.png) into example.tex > to get > > a) resulting dvi file via: latex example.tex) > and > b) resulting hyperlatex html files: example.html, example0.html, > ...etc) > There isn't really a general-purpose converter. Do something like this: \texorhtml{% \includegraphics{example.ps}% }{% \htmlimage{example.png}% } If you want something more automatic, you can do something like what's below, and change copy-file to execute ImageMagick's "convert" function. I put the following into a .hlx file. The corresponding code for the latex version of the class is below. Hope this helps, -tom \HlxEval{ (put 'figpath 'hyperlatex 'hyperlatex-set-figurepath) (put 'figuremove 'hyperlatex 'hyperlatex-figuremove) (defvar hyperlatex-figurepath) (defun hyperlatex-set-figurepath () (setq hyperlatex-figurepath (hyperlatex-parse-required-argument))) (defun hyperlatex-figuremove () (if hyperlatex-final-pass (let ((infile (hyperlatex-parse-required-argument)) (outfile (hyperlatex-parse-required-argument))) (let ((inpath (concat hyperlatex-figurepath "/" infile)) (outpath (concat hyperlatex-html-directory "/" outfile))) (message "Copying %s to %s" inpath outpath) (copy-file inpath outpath t))))) } \newcommand{\figureplace}[4]{ \figuremove{#4}{#5} \begin{figure}[#1] \label{#2} \begin{center}\xmlattributes{img}{border="0"} \htmlimage{#5} \caption{#3} \end{center} \end{figure}} LaTeX version: \newcommand{\figureplace}[4]{ \begin{figure}[#1] \includegraphics{#4} \caption{#3} \label{#2} \end{figure}} -- ------------------------ tomfool at as220 dot org http://sgouros.com http://whatcheer.net |
From: Ardi <bo...@ya...> - 2006-06-27 15:47:03
|
Hello, sorry, but somehow I do not understand the explanation for including a simple image (f.e. exampleimage.png) into example.tex to get a) resulting dvi file via: latex example.tex) and b) resulting hyperlatex html files: example.html, example0.html, ...etc) Can somebody show me how to do this? Thanks very much in advance. Regards, Ardi __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: tom s. <to...@as...> - 2006-04-12 04:23:13
|
Hi Nigel: To my knowledge, \verbatiminput wasn't part of hyperlatex, though \begin/\end{verbatim} certainly is. You could do something like this: (put 'verbatiminput 'hyperlatex 'hyperlatex-format-verbatiminput) (defun hyperlatex-format-verbatiminput () (let ((file (hyperlatex-parse-required-argument))) (insert "\\begin{verbatim}") (insert-file-literally file) (insert "\\end{verbatim}"))) I think that would work. I'd be interested to see the file that works at home but not in the new installation. Hope this helps, -tom -- ------------------------ tomfool at as220 dot org http://sgouros.com http://whatcheer.net |
From: Nigel B. <nig...@ad...> - 2006-04-12 03:40:46
|
Hi, I have used hyperlatex for quite a few years now, but only on a roughly annual basis. I use it to create html-based presentation material for a lecture course. This year when I went to recreate the material, I found that hyperlatex responded with Hyperlatex ERROR: Unknown command: verbatiminput Hint: Try running Latex, it may give a better error message. Latex has no problems (the correct version of verbatim.sty is available and found by latex). The file has not changed since last year, when it hyperlatex'ed fine (it also still works on my machine at home!). The only change is that I have a new computer at work (MacOS 10.4.5) and so had to reinstall hyperlatex. I presume I have missed out some minor detail, but can't find out what it is. Has anyone seen this problem before or got any ideas? Thanks very much, Nigel. |