multiple name and title declarations in Texmacs.Rd

View: New views
2 Messages — Rating Filter:   Alert me  

multiple name and title declarations in Texmacs.Rd

by kamaraju kusumanchi-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This bug was reported by a debian user
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=551254

Texmacs 1.0.7.2 fails to build on amd64 machine running Debian with the
following errors.

> make[1]: Entering directory
`/build/user-texmacs_1.0.7.2-1-amd64-pGAPKf/texmacs-1.0.7.2'
> for i
in ./config.guess ./misc/autotroll/config.guess ./config.sub ./misc/autotroll/config.sub  ;
do \
>               if test -e $i.cdbs-orig ; then \
>                       mv $i.cdbs-orig $i ; \
>               fi ; \
>       done
> make[1]: Leaving directory
`/build/user-texmacs_1.0.7.2-1-amd64-pGAPKf/texmacs-1.0.7.2'
> dpatch apply-all
> applying patch 01_american to ./ ... ok.
> applying patch 03_mupad to ./ ... ok.
> applying patch 04_axiom to ./ ... ok.
> applying patch 06_rebuild-r to ./ ...* installing *source*
package 'TeXmacs' ...
> ** R
> ** demo
> ** preparing package for lazy loading
> ** help
> Warning: ./man/TeXmacs.Rd:44: unexpected UNKNOWN '\eof'
> Warning: ./man/TeXmacs.Rd:84: unexpected UNKNOWN '\eof'
> Warning: ./man/TeXmacs.Rd:23: All text must be in a section
> Warning: ./man/TeXmacs.Rd: Only one \examples section is allowed: the
first will be used
> Error : ./man/TeXmacs.Rd: Sections \title, and \name must exist and be
unique in Rd files
> ERROR: installing Rd objects failed for package 'TeXmacs'
> *
removing '/build/user-texmacs_1.0.7.2-1-amd64-pGAPKf/texmacs-1.0.7.2/plugins/r/r/TeXmacs'
> * restoring
previous '/build/user-texmacs_1.0.7.2-1-amd64-pGAPKf/texmacs-1.0.7.2/plugins/r/r/TeXmacs'
>  failed.
> make: *** [debian/stamp-patched] Error 1

The problem appears to be with the multiple declarations of \name, \title.
For example, commenting out lines 45 and 50, fixes the problem. The new
Texmacs.Rd is attached for your reference. However, I do not know if this
is the right fix. If there is a better solution, could you please let me
know?


hth
raju

--
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/

\name{TeXmacsView}
\alias{start.view}
\alias{end.view}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{ function to start postscript TeXmacs interface  }
\description{
   Usually one uses the X11 device when interacting with TeXmacs. When
  X11 is not available (for example in a remote login, start.view() will
  open a postscript file with all defaults set correctly. end.view()
  will close that file. While working, use v() to insert the current
  file into the TeXmacs buffer.
}
\usage{
start.view()
end.view()
}
%- maybe also 'usage' for other objects documented here.
\details{
   
}
\author{ Michael Lachmann Tamarlin }

Make other sections like Warning with \section{Warning }{....}
\seealso{ See also \code{\link{TeXmacs}},  }
\examples{
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##-- or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function()
  {
    dev.off()
    op <- options("texmacs")$texmacs
    op$nox11 <- F
    options(texmacs=op)
    unlink(op$file)
  }
}
\keyword{ TeXmacs }% at least one, from doc/KEYWORDS
\keyword{ view }% __ONLY ONE__ keyword per line
\keyword{ device }
\keyword{ graphics }
EOF
%\name{view}
\alias{v}
\alias{plotv}
\alias{pointsv}
\alias{linev}
% \title{ Insert current graphic into TeXmacs }
\description{
  Once a graph is plotted and ready to go into the TeXmacs buffer,
  you insert it into the buffer using the v() function. The plotv,
  linev, and pointsv are just shortcuts for plot and then v.
}
\usage{
v(width = 4, height = 4, ...)
plotv(...)
pointsv(...)
linev(...)
}
%- maybe also 'usage' for other objects documented here.
\arguments{
  \item{width}{ Width of graph in inches. }
  \item{height}{ Height of graph in inches. }
  \item{\dots}{ Additional arguments for postscript. }
}
\author{ Michael Lachmann Tamarlin }

\seealso{ See Also \code{\link{TeXmacs}},  }
\examples{
x<-(0:600)/100;
plot(x,sin(x),type="l");
lines(x,cos(x),col=2);
legend(0,-0.5,c("sin(x)","cos(x)"),lty=1,col=c(1:2));
v();
plotv(x,sin(60/x),type="l");
}
\keyword{ TeXmacs }% at least one, from doc/KEYWORDS
\keyword{ graphics }% __ONLY ONE__ keyword per line
\keyword{ view }% __ONLY ONE__ keyword per line
\keyword{ device }% __ONLY ONE__ keyword per line
\keyword{ plot }% __ONLY ONE__ keyword per line
EOF


_______________________________________________
Texmacs-dev mailing list
Texmacs-dev@...
http://lists.gnu.org/mailman/listinfo/texmacs-dev

Version control and collaboration

by Peter RapĨan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi everyone,

I am not sure whether this is the right place for my post, but let me  
say the following.

I recently tried a current version of Lyx and I was impressed by how  
version control works - at least on a Mac OS X system it works out of  
the box, absolutely no setup is needed. That is, if you have Xcode  
installed (again with no setup), lyx uses the version control system  
used by xcode. Could this functionality (open source code) be just  
taken from Lyx and applied easily into texmacs?

Speaking of version control, collaboration comes to my mind. I recall  
reading something on plans having a texmacs server to facilitate this.  
Does anyone has info on when this is going to happen? I have seen a  
demo on google wave technology (open-source and extensible  
collaboration) recently... and with that in mind, could one maybe use  
their technology (writing a texmacs extension for wave or, even  
better, vice versa, using wave functionality from within texmacs)?

Sorry, I am not a "real" programmer, so maybe my suggestions are naive  
and most probably you are all more informed than I am. It just seems  
to be a logical thing not to invent a wheel, but use what seems to be  
promising and evolving quickly...

Cheers,

Peter


_______________________________________________
Texmacs-dev mailing list
Texmacs-dev@...
http://lists.gnu.org/mailman/listinfo/texmacs-dev