Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated the book build

  • Loading branch information...
commit 41e166469a152cb47f9234b62061b3491f9a4a75 1 parent 4319687
@tobrien tobrien authored
View
8 book-nexus.doc
@@ -7340,6 +7340,7 @@ solution. NuGet copies everything and makes any required changes to
your project setup and configuration files. Removing a package will
clean up any changes as required.
+[[nuget-nuget_proxy_repositories]]
=== NuGet Proxy Repositories
To proxy an external NuGet repository you simply create a new Proxy
@@ -7392,6 +7393,7 @@ configuration and manually trigger the Scheduled Task.
Deleting the proxy repository will remove the scheduled task.
+[[nuget-nuget_hosted_repositories]]
=== NuGet Hosted Repositories
A hosted repository for NuGet can be used to upload your own
@@ -7439,6 +7441,7 @@ deleted from the shadowed repository. If for some reason you ever need
to rebuild the feed for a virtual NuGet repository you can manually
schedule a Synchronize Shadow Repository task.
+[[nuget-nuget_group_repositories]]
=== NuGet Group Repositories
A repository group allows you to expose the aggregated content of
@@ -7459,6 +7462,7 @@ Using the Repository Path of the repository group as your NuGet
repository URL in your client tool will give you access to the
packages in all three repositories with one URL.
+[[nuget-accessing_packages_in_repositories_and_groups]]
=== Accessing Packages in Repositories and Groups
Once you have set up you hosted and proxy repositories for NuGet
@@ -7480,8 +7484,7 @@ After this source was added you can list the available packages with
nuget list
----
-
-
+[[nuget-deploying_packages_to_nuget_hosted_repositories]]
=== Deploying Packages to NuGet Hosted Repositories
In order to authenticate a client against a NuGet repository NuGet uses
@@ -7543,6 +7546,7 @@ Further information about the command line tool is available in the
http://docs.nuget.org/docs/reference/command-line-reference[on-line
help].
+[[nuget-integration_of_nexus_nuget_repositories_in_visual_studio]]
=== Integration of Nexus NuGet Repositories in Visual Studio
In order to access a Nexus NuGet repository or preferable all Nexus
View
7 build.sh
@@ -15,7 +15,12 @@ rm -rf target/images
rm -rf target/figs
cp -r figs target
cp -r images target
-a2x -v -k -fpdf -dbook --dblatex-opts=" -P latex.output.revhistory=0" -D target book-nexus.doc
+
+a2x --no-xmllint -v -k -fpdf -dbook --xsl-file=docbook-xsl/fo.xsl --dblatex-opts=" -P latex.output.revhistory=0 -s ./latex/custom-docbook.sty" -D target book-nexus.doc
+
+gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=target/tmp.pdf pdf/nexus-book-cover.pdf pdf/title-page.pdf pdf/blank-page.pdf target/book-nexus.pdf
+
+mv target/tmp.pdf target/book-nexus.pdf
# Build the Chunked HTML
a2x -v -k -fchunked --xsl-file=docbook-xsl/custom-chunked.xsl --xsltproc-opts "--stringparam chunk.section.depth 1" -dbook --dblatex-opts=" -P latex.output.revhistory=0" -D target book-nexus.doc
View
3  docbook-xsl/custom-chunked.xsl
@@ -58,6 +58,9 @@
<!-- Place callout marks at this column in annotated areas -->
<xsl:param name="callout.graphics">1</xsl:param>
<xsl:param name="callout.defaultcolumn">90</xsl:param>
+
+
+
<!--###################################################
Misc
################################################### -->
View
43 latex/custom-docbook.sty
@@ -0,0 +1,43 @@
+%%
+%% This style is derivated from the docbook one
+%%
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{custom-docbook}[2011/09/28 US Trade]
+
+\RequirePackageWithOptions{docbook}
+
+\setlength{\paperwidth}{7.444in}
+\setlength{\paperheight}{9.681in}
+\setlength{\textwidth}{5.8in}
+\setlength{\textheight}{7.5in}
+\setlength{\topmargin}{0.5in}
+\setlength{\headheight}{0.5in}
+\setlength{\headwidth}{5.8in}
+\setlength{\headsep}{0.20in}
+\setlength{\oddsidemargin}{0.8in}
+\setlength{\evensidemargin}{0.8in}
+\setlength{\parindent}{0in}
+\setlength{\parskip}{0.25in}
+
+% Fancy header/footer for the front matter
+
+\def\DBKcheadfront{%
+ \begin{tabular}{
+ >{\raggedright}p{2.5in} >{\centering}p{0.1in} >{\raggedleft}p{2.7in}} %
+ \multirow{1}{2.5in}{\DBKtitle}
+ & & \textsf{\thepage}
+ \tabularnewline%
+ \end{tabular}%
+}
+
+% Fancy header/footer for the doc body
+
+\def\DBKcheadbody{%
+ \begin{tabular}{
+ >{\raggedright}p{2.5in} >{\centering}p{0.1in} >{\raggedleft}p{2.7in}} %
+ \multirow{1}{2.5in}{\DBKtitle}
+ & & \textsf{\thepage{}}
+ \tabularnewline%
+ \end{tabular}%
+}
+
View
26 latex/headfoot.sty
@@ -0,0 +1,26 @@
+% ##############################################################################
+% ### Header and Footer Page
+% ##############################################################################
+
+\pagestyle{fancyplain}
+\renewcommand{\headrulewidth}{0.5pt}
+\renewcommand{\footrulewidth}{0.5pt}
+\renewcommand{\plainheadrulewidth}{0.5pt}
+\renewcommand{\plainfootrulewidth}{0.5pt}
+\setcounter{page}{1}
+
+\def\releasebox{%
+ \ifthenelse{\equal{\DBKreleaseinfo}{}}{}%
+ {\framebox{\textsc{\textsf{\DBKreleaseinfo}}}}%
+}
+
+% Define front/main/back matter if not available
+\@ifundefined{frontmatter}{
+ \def\frontmatter{\cleardoublepage\pagenumbering{roman}\chead[]{\DBKcheadfront}}
+}{}
+\@ifundefined{mainmatter}{
+ \def\mainmatter{\cleardoublepage\pagenumbering{arabic}\chead[]{\DBKcheadbody}}
+}{}
+\@ifundefined{backmatter}{
+ \def\backmatter{\if@openright\cleardoublepage\else\clearpage\fi}
+}{}
View
BIN  nxbook-pdf.pdf
Binary file not shown
View
BIN  pdf/blank-page.pdf
Binary file not shown
View
4,433 pdf/nexus-book-cover.ai
4,433 additions, 0 deletions not shown
View
BIN  pdf/nexus-book-cover.pdf
Binary file not shown
View
BIN  pdf/title-page.pdf
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.